|
| 1 | +parameters: |
| 2 | + ignoreErrors: |
| 3 | + - |
| 4 | + message: "#^Unsafe usage of new static\\(\\)\\.$#" |
| 5 | + count: 1 |
| 6 | + path: src/Certificate.php |
| 7 | + |
| 8 | + - |
| 9 | + message: "#^Binary operation \"\\*\" between 40 and string results in an error\\.$#" |
| 10 | + count: 1 |
| 11 | + path: src/Certificate/Asn1.php |
| 12 | + |
| 13 | + - |
| 14 | + message: "#^Parameter \\#2 \\$qIn of static method NFePHP\\\\Common\\\\Certificate\\\\Asn1\\:\\:xBase128\\(\\) expects int, float given\\.$#" |
| 15 | + count: 1 |
| 16 | + path: src/Certificate/Asn1.php |
| 17 | + |
| 18 | + - |
| 19 | + message: "#^Unsafe usage of new static\\(\\)\\.$#" |
| 20 | + count: 1 |
| 21 | + path: src/Certificate/PublicKey.php |
| 22 | + |
| 23 | + - |
| 24 | + message: "#^Method NFePHP\\\\Common\\\\DOMImproved\\:\\:loadXMLFile\\(\\) should return bool but return statement is missing\\.$#" |
| 25 | + count: 1 |
| 26 | + path: src/DOMImproved.php |
| 27 | + |
| 28 | + - |
| 29 | + message: "#^Unsafe usage of new static\\(\\)\\.$#" |
| 30 | + count: 5 |
| 31 | + path: src/Exception/CertificateException.php |
| 32 | + |
| 33 | + - |
| 34 | + message: "#^Unsafe usage of new static\\(\\)\\.$#" |
| 35 | + count: 4 |
| 36 | + path: src/Exception/SignerException.php |
| 37 | + |
| 38 | + - |
| 39 | + message: "#^Unsafe usage of new static\\(\\)\\.$#" |
| 40 | + count: 2 |
| 41 | + path: src/Exception/SoapException.php |
| 42 | + |
| 43 | + - |
| 44 | + message: "#^Unsafe usage of new static\\(\\)\\.$#" |
| 45 | + count: 2 |
| 46 | + path: src/Exception/ValidatorException.php |
| 47 | + |
| 48 | + - |
| 49 | + message: "#^Binary operation \"\\*\" between string and 2\\|3\\|4\\|5\\|6\\|7\\|8\\|9 results in an error\\.$#" |
| 50 | + count: 1 |
| 51 | + path: src/Keys.php |
| 52 | + |
| 53 | + - |
| 54 | + message: "#^Parameter \\#1 \\$input of function str_pad expects string, int given\\.$#" |
| 55 | + count: 1 |
| 56 | + path: src/Keys.php |
| 57 | + |
| 58 | + - |
| 59 | + message: "#^Access to an undefined property SoapHeader\\:\\:\\$data\\.$#" |
| 60 | + count: 1 |
| 61 | + path: src/Soap/SoapBase.php |
| 62 | + |
| 63 | + - |
| 64 | + message: "#^Access to an undefined property SoapHeader\\:\\:\\$name\\.$#" |
| 65 | + count: 2 |
| 66 | + path: src/Soap/SoapBase.php |
| 67 | + |
| 68 | + - |
| 69 | + message: "#^Access to an undefined property SoapHeader\\:\\:\\$namespace\\.$#" |
| 70 | + count: 1 |
| 71 | + path: src/Soap/SoapBase.php |
| 72 | + |
| 73 | + - |
| 74 | + message: "#^Method NFePHP\\\\Common\\\\Files\\:\\:listContents\\(\\) invoked with 2 parameters, 0\\-1 required\\.$#" |
| 75 | + count: 1 |
| 76 | + path: src/Soap/SoapBase.php |
| 77 | + |
| 78 | + - |
| 79 | + message: "#^Method NFePHP\\\\Common\\\\Soap\\\\SoapBase\\:\\:randomName\\(\\) should return string but return statement is missing\\.$#" |
| 80 | + count: 1 |
| 81 | + path: src/Soap/SoapBase.php |
| 82 | + |
| 83 | + - |
| 84 | + message: "#^Method NFePHP\\\\Common\\\\Soap\\\\SoapBase\\:\\:uid\\(\\) should return string but returns int\\.$#" |
| 85 | + count: 1 |
| 86 | + path: src/Soap/SoapBase.php |
| 87 | + |
| 88 | + - |
| 89 | + message: "#^Method NFePHP\\\\Common\\\\Soap\\\\SoapBase\\:\\:uid\\(\\) should return string but returns int\\|false\\.$#" |
| 90 | + count: 1 |
| 91 | + path: src/Soap/SoapBase.php |
| 92 | + |
| 93 | + - |
| 94 | + message: "#^Parameter \\#1 \\$key of function openssl_pkey_export expects resource, NFePHP\\\\Common\\\\Certificate\\\\PrivateKey given\\.$#" |
| 95 | + count: 1 |
| 96 | + path: src/Soap/SoapBase.php |
| 97 | + |
| 98 | + - |
| 99 | + message: "#^Parameter \\#8 \\$soapheader \\(null\\) of method NFePHP\\\\Common\\\\Soap\\\\SoapBase\\:\\:send\\(\\) should be compatible with parameter \\$soapheader \\(SoapHeader\\) of method NFePHP\\\\Common\\\\Soap\\\\SoapInterface\\:\\:send\\(\\)$#" |
| 100 | + count: 1 |
| 101 | + path: src/Soap/SoapBase.php |
| 102 | + |
| 103 | + - |
| 104 | + message: "#^Parameter \\#8 \\$soapheader \\(SoapHeader\\) of method NFePHP\\\\Common\\\\Soap\\\\SoapCurl\\:\\:send\\(\\) should be compatible with parameter \\$soapheader \\(null\\) of method NFePHP\\\\Common\\\\Soap\\\\SoapBase\\:\\:send\\(\\)$#" |
| 105 | + count: 1 |
| 106 | + path: src/Soap/SoapCurl.php |
| 107 | + |
| 108 | + - |
| 109 | + message: "#^Parameter \\#8 \\$soapheader \\(null\\) of method NFePHP\\\\Common\\\\Soap\\\\SoapFake\\:\\:send\\(\\) should be compatible with parameter \\$soapheader \\(SoapHeader\\) of method NFePHP\\\\Common\\\\Soap\\\\SoapInterface\\:\\:send\\(\\)$#" |
| 110 | + count: 1 |
| 111 | + path: src/Soap/SoapFake.php |
| 112 | + |
| 113 | + - |
| 114 | + message: "#^Parameter \\#8 \\$soapheader \\(SoapHeader\\) of method NFePHP\\\\Common\\\\Soap\\\\SoapNative\\:\\:send\\(\\) should be compatible with parameter \\$soapheader \\(null\\) of method NFePHP\\\\Common\\\\Soap\\\\SoapBase\\:\\:send\\(\\)$#" |
| 115 | + count: 1 |
| 116 | + path: src/Soap/SoapNative.php |
| 117 | + |
| 118 | + - |
| 119 | + message: "#^Static method NFePHP\\\\Common\\\\Exception\\\\SoapException\\:\\:soapFault\\(\\) invoked with 1 parameter, 2 required\\.$#" |
| 120 | + count: 4 |
| 121 | + path: src/Soap/SoapNative.php |
| 122 | + |
| 123 | + - |
| 124 | + message: "#^Access to an undefined property NFePHP\\\\Common\\\\Tags\\\\MakeBase\\:\\:\\$emit\\.$#" |
| 125 | + count: 2 |
| 126 | + path: src/Tags/MakeBase.php |
| 127 | + |
| 128 | + - |
| 129 | + message: "#^Access to an undefined property NFePHP\\\\Common\\\\Tags\\\\MakeBase\\:\\:\\$ide\\.$#" |
| 130 | + count: 10 |
| 131 | + path: src/Tags/MakeBase.php |
| 132 | + |
| 133 | + - |
| 134 | + message: "#^Access to an undefined property NFePHP\\\\Common\\\\Tags\\\\MakeBase\\:\\:\\$infnfe\\.$#" |
| 135 | + count: 2 |
| 136 | + path: src/Tags/MakeBase.php |
| 137 | + |
| 138 | + - |
| 139 | + message: "#^Parameter \\#2 \\$value of method NFePHP\\\\Common\\\\Tags\\\\MakeBase\\:\\:createProperty\\(\\) expects NFePHP\\\\Common\\\\Tags\\\\TagInterface, NFePHP\\\\Common\\\\Tags\\\\className given\\.$#" |
| 140 | + count: 1 |
| 141 | + path: src/Tags/MakeBase.php |
| 142 | + |
| 143 | + - |
| 144 | + message: "#^Parameter \\#2 \\$value of method NFePHP\\\\Common\\\\Tags\\\\MakeBase\\:\\:createProperty\\(\\) expects NFePHP\\\\Common\\\\Tags\\\\TagInterface, array given\\.$#" |
| 145 | + count: 1 |
| 146 | + path: src/Tags/MakeBase.php |
| 147 | + |
| 148 | + - |
| 149 | + message: "#^Property NFePHP\\\\Common\\\\Tags\\\\MakeBase\\:\\:\\$dom \\(NFePHP\\\\Common\\\\Tags\\\\NFePHP\\\\Common\\\\DOMImproved\\) does not accept NFePHP\\\\Common\\\\DOMImproved\\.$#" |
| 150 | + count: 1 |
| 151 | + path: src/Tags/MakeBase.php |
| 152 | + |
| 153 | + - |
| 154 | + message: "#^Property NFePHP\\\\Common\\\\Tags\\\\MakeBase\\:\\:\\$dom has unknown class NFePHP\\\\Common\\\\Tags\\\\NFePHP\\\\Common\\\\DOMImproved as its type\\.$#" |
| 155 | + count: 1 |
| 156 | + path: src/Tags/MakeBase.php |
| 157 | + |
| 158 | + - |
| 159 | + message: "#^Return typehint of method NFePHP\\\\Common\\\\Tags\\\\MakeBase\\:\\:loadTagClass\\(\\) has invalid type NFePHP\\\\Common\\\\Tags\\\\className\\.$#" |
| 160 | + count: 1 |
| 161 | + path: src/Tags/MakeBase.php |
| 162 | + |
| 163 | + - |
| 164 | + message: "#^Undefined variable\\: \\$infId$#" |
| 165 | + count: 1 |
| 166 | + path: src/Tags/MakeBase.php |
| 167 | + |
| 168 | + - |
| 169 | + message: "#^Call to method addChild\\(\\) on an unknown class NFePHP\\\\Common\\\\Tags\\\\NFePHP\\\\Common\\\\DOMImproved\\.$#" |
| 170 | + count: 1 |
| 171 | + path: src/Tags/Tag.php |
| 172 | + |
| 173 | + - |
| 174 | + message: "#^Call to method createCDATASection\\(\\) on an unknown class NFePHP\\\\Common\\\\Tags\\\\NFePHP\\\\Common\\\\DOMImproved\\.$#" |
| 175 | + count: 1 |
| 176 | + path: src/Tags/Tag.php |
| 177 | + |
| 178 | + - |
| 179 | + message: "#^Call to method createElement\\(\\) on an unknown class NFePHP\\\\Common\\\\Tags\\\\NFePHP\\\\Common\\\\DOMImproved\\.$#" |
| 180 | + count: 1 |
| 181 | + path: src/Tags/Tag.php |
| 182 | + |
| 183 | + - |
| 184 | + message: "#^Call to method saveXML\\(\\) on an unknown class NFePHP\\\\Common\\\\Tags\\\\NFePHP\\\\Common\\\\DOMImproved\\.$#" |
| 185 | + count: 1 |
| 186 | + path: src/Tags/Tag.php |
| 187 | + |
| 188 | + - |
| 189 | + message: "#^Parameter \\#1 \\$number of function number_format expects float, string given\\.$#" |
| 190 | + count: 3 |
| 191 | + path: src/Tags/Tag.php |
| 192 | + |
| 193 | + - |
| 194 | + message: "#^Parameter \\#2 \\$num_decimal_places of function number_format expects int, string given\\.$#" |
| 195 | + count: 3 |
| 196 | + path: src/Tags/Tag.php |
| 197 | + |
| 198 | + - |
| 199 | + message: "#^Parameter \\$dom of method NFePHP\\\\Common\\\\Tags\\\\Tag\\:\\:__construct\\(\\) has invalid typehint type NFePHP\\\\Common\\\\Tags\\\\NFePHP\\\\Common\\\\DOMImproved\\.$#" |
| 200 | + count: 1 |
| 201 | + path: src/Tags/Tag.php |
| 202 | + |
| 203 | + - |
| 204 | + message: "#^Property NFePHP\\\\Common\\\\Tags\\\\Tag\\:\\:\\$dom \\(NFePHP\\\\Common\\\\Tags\\\\NFePHP\\\\Common\\\\DOMImproved\\) does not accept NFePHP\\\\Common\\\\DOMImproved\\.$#" |
| 205 | + count: 1 |
| 206 | + path: src/Tags/Tag.php |
| 207 | + |
| 208 | + - |
| 209 | + message: "#^Property NFePHP\\\\Common\\\\Tags\\\\Tag\\:\\:\\$dom has unknown class NFePHP\\\\Common\\\\Tags\\\\NFePHP\\\\Common\\\\DOMImproved as its type\\.$#" |
| 210 | + count: 1 |
| 211 | + path: src/Tags/Tag.php |
| 212 | + |
| 213 | + - |
| 214 | + message: "#^Variable \\$value in isset\\(\\) always exists and is not nullable\\.$#" |
| 215 | + count: 1 |
| 216 | + path: src/Tags/Tag.php |
| 217 | + |
| 218 | + - |
| 219 | + message: "#^Parameter \\#3 \\$xpath of method DOMNode\\:\\:C14N\\(\\) expects array, null given\\.$#" |
| 220 | + count: 1 |
| 221 | + path: tests/Certificate/PublicKeyTest.php |
| 222 | + |
| 223 | + - |
| 224 | + message: "#^Parameter \\#4 \\$nsPrefixes of method DOMNode\\:\\:C14N\\(\\) expects array, null given\\.$#" |
| 225 | + count: 1 |
| 226 | + path: tests/Certificate/PublicKeyTest.php |
| 227 | + |
| 228 | + - |
| 229 | + message: "#^Parameter \\#1 \\$cUF of static method NFePHP\\\\Common\\\\Keys\\:\\:build\\(\\) expects string, int given\\.$#" |
| 230 | + count: 2 |
| 231 | + path: tests/KeysTest.php |
| 232 | + |
| 233 | + - |
| 234 | + message: "#^Parameter \\#2 \\$ano of static method NFePHP\\\\Common\\\\Keys\\:\\:build\\(\\) expects string, int given\\.$#" |
| 235 | + count: 2 |
| 236 | + path: tests/KeysTest.php |
| 237 | + |
| 238 | + - |
| 239 | + message: "#^Parameter \\#3 \\$mes of static method NFePHP\\\\Common\\\\Keys\\:\\:build\\(\\) expects string, int given\\.$#" |
| 240 | + count: 2 |
| 241 | + path: tests/KeysTest.php |
| 242 | + |
| 243 | + - |
| 244 | + message: "#^Parameter \\#5 \\$mod of static method NFePHP\\\\Common\\\\Keys\\:\\:build\\(\\) expects string, int given\\.$#" |
| 245 | + count: 2 |
| 246 | + path: tests/KeysTest.php |
| 247 | + |
| 248 | + - |
| 249 | + message: "#^Parameter \\#6 \\$serie of static method NFePHP\\\\Common\\\\Keys\\:\\:build\\(\\) expects string, int given\\.$#" |
| 250 | + count: 2 |
| 251 | + path: tests/KeysTest.php |
| 252 | + |
| 253 | + - |
| 254 | + message: "#^Parameter \\#7 \\$numero of static method NFePHP\\\\Common\\\\Keys\\:\\:build\\(\\) expects string, int given\\.$#" |
| 255 | + count: 2 |
| 256 | + path: tests/KeysTest.php |
| 257 | + |
| 258 | + - |
| 259 | + message: "#^Parameter \\#8 \\$tpEmis of static method NFePHP\\\\Common\\\\Keys\\:\\:build\\(\\) expects string, int given\\.$#" |
| 260 | + count: 2 |
| 261 | + path: tests/KeysTest.php |
| 262 | + |
| 263 | + - |
| 264 | + message: "#^Parameter \\#1 \\$uf of static method NFePHP\\\\Common\\\\TimeZoneByUF\\:\\:get\\(\\) expects string, int given\\.$#" |
| 265 | + count: 1 |
| 266 | + path: tests/TimeZoneByUFTest.php |
| 267 | + |
| 268 | + - |
| 269 | + message: "#^Parameter \\#1 \\$content of static method NFePHP\\\\Common\\\\Validator\\:\\:isXML\\(\\) expects string, false given\\.$#" |
| 270 | + count: 1 |
| 271 | + path: tests/ValidatorTest.php |
| 272 | + |
| 273 | + - |
| 274 | + message: "#^Parameter \\#1 \\$content of static method NFePHP\\\\Common\\\\Validator\\:\\:isXML\\(\\) expects string, int given\\.$#" |
| 275 | + count: 1 |
| 276 | + path: tests/ValidatorTest.php |
| 277 | + |
| 278 | + - |
| 279 | + message: "#^Parameter \\#1 \\$content of static method NFePHP\\\\Common\\\\Validator\\:\\:isXML\\(\\) expects string, null given\\.$#" |
| 280 | + count: 1 |
| 281 | + path: tests/ValidatorTest.php |
| 282 | + |
0 commit comments