|
| 1 | +parameters: |
| 2 | + ignoreErrors: |
| 3 | + - |
| 4 | + message: '#^Call to function is_string\(\) with non\-empty\-string will always evaluate to true\.$#' |
| 5 | + identifier: function.alreadyNarrowedType |
| 6 | + count: 4 |
| 7 | + path: src/File.php |
| 8 | + |
| 9 | + - |
| 10 | + message: '#^Call to function is_string\(\) with string will always evaluate to true\.$#' |
| 11 | + identifier: function.alreadyNarrowedType |
| 12 | + count: 2 |
| 13 | + path: src/File.php |
| 14 | + |
| 15 | + - |
| 16 | + message: '#^Comparison operation "\<" between 10 and 10 is always false\.$#' |
| 17 | + identifier: smaller.alwaysFalse |
| 18 | + count: 1 |
| 19 | + path: src/Halite.php |
| 20 | + |
| 21 | + - |
| 22 | + message: '#^Property ParagonIE\\Halite\\Key\:\:\$keyMaterial \(string\) does not accept null\.$#' |
| 23 | + identifier: assign.propertyType |
| 24 | + count: 1 |
| 25 | + path: src/Key.php |
| 26 | + |
| 27 | + - |
| 28 | + message: '#^Comparison operation "\<\=" between int\<1, max\> and 0 is always false\.$#' |
| 29 | + identifier: smallerOrEqual.alwaysFalse |
| 30 | + count: 1 |
| 31 | + path: src/Stream/MutableFile.php |
| 32 | + |
| 33 | + - |
| 34 | + message: '#^Comparison operation "\<\=" between int\<1, max\> and 0 is always false\.$#' |
| 35 | + identifier: smallerOrEqual.alwaysFalse |
| 36 | + count: 1 |
| 37 | + path: src/Stream/ReadOnlyFile.php |
| 38 | + |
| 39 | + - |
| 40 | + message: '#^Offset 1\|int\<3, max\> on array\<int, string\> on left side of \?\? always exists and is not nullable\.$#' |
| 41 | + identifier: nullCoalesce.offset |
| 42 | + count: 1 |
| 43 | + path: src/Structure/MerkleTree.php |
| 44 | + |
| 45 | + - |
| 46 | + message: '#^Parameter &\$var @param\-out type of method ParagonIE\\Halite\\Util\:\:memzero\(\) expects null, int given\.$#' |
| 47 | + identifier: paramOut.type |
| 48 | + count: 1 |
| 49 | + path: src/Util.php |
| 50 | + |
| 51 | + - |
| 52 | + message: '#^Comparison operation "\<" between 10 and 7 is always false\.$#' |
| 53 | + identifier: smaller.alwaysFalse |
| 54 | + count: 2 |
| 55 | + path: test/unit/AsymmetricTest.php |
| 56 | + |
| 57 | + - |
| 58 | + message: '#^Comparison operation "\<" between 3 and 5 is always true\.$#' |
| 59 | + identifier: smaller.alwaysTrue |
| 60 | + count: 2 |
| 61 | + path: test/unit/AsymmetricTest.php |
| 62 | + |
| 63 | + - |
| 64 | + message: '#^Loose comparison using \=\= between 10 and 7 will always evaluate to false\.$#' |
| 65 | + identifier: equal.alwaysFalse |
| 66 | + count: 2 |
| 67 | + path: test/unit/AsymmetricTest.php |
| 68 | + |
| 69 | + - |
| 70 | + message: '#^Result of && is always false\.$#' |
| 71 | + identifier: booleanAnd.alwaysFalse |
| 72 | + count: 2 |
| 73 | + path: test/unit/AsymmetricTest.php |
| 74 | + |
| 75 | + - |
| 76 | + message: '#^Result of \|\| is always false\.$#' |
| 77 | + identifier: booleanOr.alwaysFalse |
| 78 | + count: 2 |
| 79 | + path: test/unit/AsymmetricTest.php |
| 80 | + |
| 81 | + - |
| 82 | + message: '#^Access to an undefined property object\{abc\: int\}&ParagonIE\\Halite\\Config\:\:\$missing\.$#' |
| 83 | + identifier: property.notFound |
| 84 | + count: 1 |
| 85 | + path: test/unit/ConfigTest.php |
| 86 | + |
| 87 | + - |
| 88 | + message: '#^Dead catch \- ParagonIE\\Halite\\Alerts\\ConfigDirectiveNotFound is never thrown in the try block\.$#' |
| 89 | + identifier: catch.neverThrown |
| 90 | + count: 1 |
| 91 | + path: test/unit/ConfigTest.php |
| 92 | + |
| 93 | + - |
| 94 | + message: '#^Parameter \#1 \$key of static method ParagonIE\\Halite\\KeyFactory\:\:export\(\) expects ParagonIE\\Halite\\Key\|ParagonIE\\Halite\\KeyPair, stdClass given\.$#' |
| 95 | + identifier: argument.type |
| 96 | + count: 1 |
| 97 | + path: test/unit/KeyTest.php |
| 98 | + |
| 99 | + - |
| 100 | + message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertIsString\(\) with string will always evaluate to true\.$#' |
| 101 | + identifier: method.alreadyNarrowedType |
| 102 | + count: 3 |
| 103 | + path: test/unit/PasswordTest.php |
| 104 | + |
| 105 | + - |
| 106 | + message: '#^Parameter \#1 \$file of class ParagonIE\\Halite\\Stream\\MutableFile constructor expects resource\|string, int given\.$#' |
| 107 | + identifier: argument.type |
| 108 | + count: 1 |
| 109 | + path: test/unit/StreamTest.php |
| 110 | + |
| 111 | + - |
| 112 | + message: '#^Parameter \#1 \$file of class ParagonIE\\Halite\\Stream\\ReadOnlyFile constructor expects resource\|string, int given\.$#' |
| 113 | + identifier: argument.type |
| 114 | + count: 1 |
| 115 | + path: test/unit/StreamTest.php |
0 commit comments