|
| 1 | +parameters: |
| 2 | +ignoreErrors: |
| 3 | +- |
| 4 | +message: "#^Method Joomla\\\\Filesystem\\\\Clients\\\\FtpClient\\:\\:listDetails\\(\\) should return array\\<string\\> but returns array\\<int\\<0, max\\>, array\\<string, int\\|string\\>\\>\\.$#" |
| 5 | +count: 1 |
| 6 | +path: src/Clients/FtpClient.php |
| 7 | + |
| 8 | +- |
| 9 | +message: "#^Method Joomla\\\\Filesystem\\\\Clients\\\\FtpClient\\:\\:listDetails\\(\\) should return array\\<string\\> but returns string\\|null\\.$#" |
| 10 | +count: 1 |
| 11 | +path: src/Clients/FtpClient.php |
| 12 | + |
| 13 | +- |
| 14 | +message: "#^Method Joomla\\\\Filesystem\\\\Clients\\\\FtpClient\\:\\:listNames\\(\\) should return string but returns array\\.$#" |
| 15 | +count: 2 |
| 16 | +path: src/Clients/FtpClient.php |
| 17 | + |
| 18 | +- |
| 19 | +message: "#^Method Joomla\\\\Filesystem\\\\Clients\\\\FtpClient\\:\\:listNames\\(\\) should return string but returns array\\<int, string\\>\\.$#" |
| 20 | +count: 1 |
| 21 | +path: src/Clients/FtpClient.php |
| 22 | + |
| 23 | +- |
| 24 | +message: "#^Negated boolean expression is always false\\.$#" |
| 25 | +count: 1 |
| 26 | +path: src/Clients/FtpClient.php |
| 27 | + |
| 28 | +- |
| 29 | +message: "#^Parameter \\#1 \\$stream of function fclose expects resource, FTP\\\\Connection given\\.$#" |
| 30 | +count: 1 |
| 31 | +path: src/Clients/FtpClient.php |
| 32 | + |
| 33 | +- |
| 34 | +message: "#^Parameter \\#1 \\$stream of function fgets expects resource, FTP\\\\Connection given\\.$#" |
| 35 | +count: 1 |
| 36 | +path: src/Clients/FtpClient.php |
| 37 | + |
| 38 | +- |
| 39 | +message: "#^Parameter \\#1 \\$stream of function fwrite expects resource, FTP\\\\Connection given\\.$#" |
| 40 | +count: 1 |
| 41 | +path: src/Clients/FtpClient.php |
| 42 | + |
| 43 | +- |
| 44 | +message: "#^Parameter \\#2 \\$port of method Joomla\\\\Filesystem\\\\Clients\\\\FtpClient\\:\\:connect\\(\\) expects int, string given\\.$#" |
| 45 | +count: 1 |
| 46 | +path: src/Clients/FtpClient.php |
| 47 | + |
| 48 | +- |
| 49 | +message: "#^Property Joomla\\\\Filesystem\\\\Clients\\\\FtpClient\\:\\:\\$conn \\(FTP\\\\Connection\\) does not accept resource\\|false\\.$#" |
| 50 | +count: 1 |
| 51 | +path: src/Clients/FtpClient.php |
| 52 | + |
| 53 | +- |
| 54 | +message: "#^Property Joomla\\\\Filesystem\\\\Clients\\\\FtpClient\\:\\:\\$responseCode \\(int\\) does not accept string\\.$#" |
| 55 | +count: 2 |
| 56 | +path: src/Clients/FtpClient.php |
| 57 | + |
| 58 | +- |
| 59 | +message: "#^Ternary operator condition is always false\\.$#" |
| 60 | +count: 1 |
| 61 | +path: src/Clients/FtpClient.php |
| 62 | + |
| 63 | +- |
| 64 | +message: "#^Unsafe usage of new static\\(\\)\\.$#" |
| 65 | +count: 1 |
| 66 | +path: src/Clients/FtpClient.php |
| 67 | + |
| 68 | +- |
| 69 | +message: "#^Call to an undefined method Joomla\\\\Filesystem\\\\Stream\\:\\:getError\\(\\)\\.$#" |
| 70 | +count: 3 |
| 71 | +path: src/File.php |
| 72 | + |
| 73 | +- |
| 74 | +message: "#^Method Joomla\\\\Filesystem\\\\File\\:\\:move\\(\\) should return bool but returns string\\.$#" |
| 75 | +count: 1 |
| 76 | +path: src/File.php |
| 77 | + |
| 78 | +- |
| 79 | +message: "#^Parameter \\#1 \\$seconds of function set_time_limit expects int, string given\\.$#" |
| 80 | +count: 1 |
| 81 | +path: src/File.php |
| 82 | + |
| 83 | +- |
| 84 | +message: "#^Static property Joomla\\\\Filesystem\\\\File\\:\\:\\$canFlushFileCache \\(bool\\) in isset\\(\\) is not nullable\\.$#" |
| 85 | +count: 1 |
| 86 | +path: src/File.php |
| 87 | + |
| 88 | +- |
| 89 | +message: "#^Constant JPATH_ROOT not found\\.$#" |
| 90 | +count: 1 |
| 91 | +path: src/Folder.php |
| 92 | + |
| 93 | +- |
| 94 | +message: "#^Parameter \\#1 \\$seconds of function set_time_limit expects int, string given\\.$#" |
| 95 | +count: 3 |
| 96 | +path: src/Folder.php |
| 97 | + |
| 98 | +- |
| 99 | +message: "#^Parameter \\#3 \\$path of static method Joomla\\\\Filesystem\\\\Folder\\:\\:copy\\(\\) expects string, null given\\.$#" |
| 100 | +count: 1 |
| 101 | +path: src/Folder.php |
| 102 | + |
| 103 | +- |
| 104 | +message: "#^Binary operation \"\\*\" between string\\|null and int\\<1, max\\> results in an error\\.$#" |
| 105 | +count: 1 |
| 106 | +path: src/Helper.php |
| 107 | + |
| 108 | +- |
| 109 | +message: "#^Method Joomla\\\\Filesystem\\\\Helper\\:\\:getFileUploadMaxSize\\(\\) should return int but returns float\\.$#" |
| 110 | +count: 1 |
| 111 | +path: src/Helper.php |
| 112 | + |
| 113 | +- |
| 114 | +message: "#^Method Joomla\\\\Filesystem\\\\Helper\\:\\:getFileUploadMaxSizeWithUnit\\(\\) should return int but returns string\\.$#" |
| 115 | +count: 1 |
| 116 | +path: src/Helper.php |
| 117 | + |
| 118 | +- |
| 119 | +message: "#^Parameter \\#1 \\$num of function round expects float\\|int, string\\|null given\\.$#" |
| 120 | +count: 1 |
| 121 | +path: src/Helper.php |
| 122 | + |
| 123 | +- |
| 124 | +message: "#^Parameter \\#2 \\$associative of function get_headers expects bool, int given\\.$#" |
| 125 | +count: 1 |
| 126 | +path: src/Helper.php |
| 127 | + |
| 128 | +- |
| 129 | +message: "#^Strict comparison using \\=\\=\\= between float and 0 will always evaluate to false\\.$#" |
| 130 | +count: 1 |
| 131 | +path: src/Helper.php |
| 132 | + |
| 133 | +- |
| 134 | +message: "#^Static property Joomla\\\\Filesystem\\\\Patcher\\:\\:\\$instance \\(Joomla\\\\Filesystem\\\\Patcher\\) in isset\\(\\) is not nullable\\.$#" |
| 135 | +count: 1 |
| 136 | +path: src/Patcher.php |
| 137 | + |
| 138 | +- |
| 139 | +message: "#^Unsafe usage of new static\\(\\)\\.$#" |
| 140 | +count: 1 |
| 141 | +path: src/Patcher.php |
| 142 | + |
| 143 | +- |
| 144 | +message: "#^Variable \\$m might not be defined\\.$#" |
| 145 | +count: 1 |
| 146 | +path: src/Patcher.php |
| 147 | + |
| 148 | +- |
| 149 | +message: "#^Variable \\$root in isset\\(\\) always exists and is not nullable\\.$#" |
| 150 | +count: 1 |
| 151 | +path: src/Patcher.php |
| 152 | + |
| 153 | +- |
| 154 | +message: "#^Variable \\$srcLines in isset\\(\\) always exists and is not nullable\\.$#" |
| 155 | +count: 1 |
| 156 | +path: src/Patcher.php |
| 157 | + |
| 158 | +- |
| 159 | +message: "#^Variable \\$srcLines might not be defined\\.$#" |
| 160 | +count: 1 |
| 161 | +path: src/Patcher.php |
| 162 | + |
| 163 | +- |
| 164 | +message: "#^Binary operation \"&\" between non\\-empty\\-string and 1 results in an error\\.$#" |
| 165 | +count: 1 |
| 166 | +path: src/Path.php |
| 167 | + |
| 168 | +- |
| 169 | +message: "#^Binary operation \"&\" between non\\-empty\\-string and 2 results in an error\\.$#" |
| 170 | +count: 1 |
| 171 | +path: src/Path.php |
| 172 | + |
| 173 | +- |
| 174 | +message: "#^Binary operation \"&\" between non\\-empty\\-string and 4 results in an error\\.$#" |
| 175 | +count: 1 |
| 176 | +path: src/Path.php |
| 177 | + |
| 178 | +- |
| 179 | +message: "#^Constant JPATH_ROOT not found\\.$#" |
| 180 | +count: 1 |
| 181 | +path: src/Path.php |
| 182 | + |
| 183 | +- |
| 184 | +message: "#^Variable \\$filemode in isset\\(\\) always exists and is not nullable\\.$#" |
| 185 | +count: 2 |
| 186 | +path: src/Path.php |
| 187 | + |
| 188 | +- |
| 189 | +message: "#^Variable \\$foldermode in isset\\(\\) always exists and is not nullable\\.$#" |
| 190 | +count: 1 |
| 191 | +path: src/Path.php |
| 192 | + |
| 193 | +- |
| 194 | +message: "#^Constant JPATH_ROOT not found\\.$#" |
| 195 | +count: 4 |
| 196 | +path: src/Stream.php |
| 197 | + |
| 198 | +- |
| 199 | +message: "#^If condition is always true\\.$#" |
| 200 | +count: 4 |
| 201 | +path: src/Stream.php |
| 202 | + |
| 203 | +- |
| 204 | +message: "#^Invalid array key type resource\\.$#" |
| 205 | +count: 1 |
| 206 | +path: src/Stream.php |
| 207 | + |
| 208 | +- |
| 209 | +message: "#^Method Joomla\\\\Filesystem\\\\Stream\\:\\:getFileHandle\\(\\) should return Joomla\\\\Filesystem\\\\File but returns resource\\.$#" |
| 210 | +count: 1 |
| 211 | +path: src/Stream.php |
| 212 | + |
| 213 | +- |
| 214 | +message: "#^Negated boolean expression is always false\\.$#" |
| 215 | +count: 8 |
| 216 | +path: src/Stream.php |
| 217 | + |
| 218 | +- |
| 219 | +message: "#^Negated boolean expression is always true\\.$#" |
| 220 | +count: 1 |
| 221 | +path: src/Stream.php |
| 222 | + |
| 223 | +- |
| 224 | +message: "#^Parameter \\#2 \\$context of function unlink expects resource\\|null, string given\\.$#" |
| 225 | +count: 1 |
| 226 | +path: src/Stream.php |
| 227 | + |
| 228 | +- |
| 229 | +message: "#^Parameter \\#3 \\$context of function copy expects resource\\|null, string given\\.$#" |
| 230 | +count: 1 |
| 231 | +path: src/Stream.php |
| 232 | + |
| 233 | +- |
| 234 | +message: "#^Parameter \\#3 \\$context of function rename expects resource\\|null, string given\\.$#" |
| 235 | +count: 1 |
| 236 | +path: src/Stream.php |
| 237 | + |
| 238 | +- |
| 239 | +message: "#^Parameter \\#3 \\$use_include_path of function gzopen expects int, bool given\\.$#" |
| 240 | +count: 1 |
| 241 | +path: src/Stream.php |
| 242 | + |
| 243 | +- |
| 244 | +message: "#^Parameter \\#4 \\$context of function fopen expects resource\\|null, string given\\.$#" |
| 245 | +count: 1 |
| 246 | +path: src/Stream.php |
| 247 | + |
| 248 | +- |
| 249 | +message: "#^Property Joomla\\\\Filesystem\\\\Stream\\:\\:\\$context \\(string\\) does not accept null\\.$#" |
| 250 | +count: 1 |
| 251 | +path: src/Stream.php |
| 252 | + |
| 253 | +- |
| 254 | +message: "#^Property Joomla\\\\Filesystem\\\\Stream\\:\\:\\$context \\(string\\) does not accept resource\\.$#" |
| 255 | +count: 1 |
| 256 | +path: src/Stream.php |
| 257 | + |
| 258 | +- |
| 259 | +message: "#^Property Joomla\\\\Filesystem\\\\Stream\\:\\:\\$fh \\(resource\\) does not accept null\\.$#" |
| 260 | +count: 1 |
| 261 | +path: src/Stream.php |
| 262 | + |
| 263 | +- |
| 264 | +message: "#^Property Joomla\\\\Filesystem\\\\Stream\\:\\:\\$filename \\(string\\) in isset\\(\\) is not nullable\\.$#" |
| 265 | +count: 1 |
| 266 | +path: src/Stream.php |
| 267 | + |
| 268 | +- |
| 269 | +message: "#^Unsafe usage of new static\\(\\)\\.$#" |
| 270 | +count: 2 |
| 271 | +path: src/Stream.php |
| 272 | + |
| 273 | +- |
| 274 | +message: "#^Binary operation \"\\-\" between string and int results in an error\\.$#" |
| 275 | +count: 1 |
| 276 | +path: src/Stream/StringWrapper.php |
| 277 | + |
| 278 | +- |
| 279 | +message: "#^Property Joomla\\\\Filesystem\\\\Stream\\\\StringWrapper\\:\\:\\$len \\(string\\) does not accept int\\<0, max\\>\\.$#" |
| 280 | +count: 1 |
| 281 | +path: src/Stream/StringWrapper.php |
| 282 | + |
| 283 | +- |
| 284 | +message: "#^Property Joomla\\\\Filesystem\\\\Stream\\\\StringWrapper\\:\\:\\$pos \\(int\\) on left side of \\?\\? is not nullable\\.$#" |
| 285 | +count: 1 |
| 286 | +path: src/Stream/StringWrapper.php |
0 commit comments