2m 44s
Jan 25, 2025, 12:02 AM

filesystem

Updating phpstan to 2.0 (#73) * Updating phpstan to 2.0 * Adding PHP 8.3/8.4 everywhere

Hackwar
executed scheduled task
nightly-build-3-x

Pipeline stages

6 stages

Console Logs

1+ vendor/bin/phan 3s
2Parsing files... 6s
3░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 54 / 2476 ( 2%) 35MB 6s
4░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 108 / 2476 ( 8%) 37MB 6s
5░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 162 / 2476 ( 8%) 37MB 6s
6░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 216 / 2476 ( 8%) 59MB 7s
7░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 270 / 2476 ( 12%) 68MB 7s
8░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 324 / 2476 ( 16%) 75MB 7s
9░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 378 / 2476 ( 16%) 75MB 7s
10░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 432 / 2476 ( 20%) 79MB 7s
11░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 486 / 2476 ( 20%) 79MB 7s
12░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 540 / 2476 ( 22%) 98MB 7s
13░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 594 / 2476 ( 24%) 128MB 7s
14░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 648 / 2476 ( 26%) 162MB 8s
15░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 702 / 2476 ( 28%) 209MB 8s
16░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 756 / 2476 ( 31%) 233MB 8s
17░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 810 / 2476 ( 34%) 255MB 9s
18░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 864 / 2476 ( 35%) 268MB 9s
19░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 918 / 2476 ( 37%) 280MB 9s
20░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 972 / 2476 ( 40%) 291MB 9s
21░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1026 / 2476 ( 41%) 304MB 9s
22░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1080 / 2476 ( 44%) 313MB 9s
23░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1134 / 2476 ( 48%) 321MB 9s
24░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1188 / 2476 ( 48%) 321MB 9s
25░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1242 / 2476 ( 50%) 325MB 9s
26░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1296 / 2476 ( 55%) 333MB 9s
27░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1350 / 2476 ( 55%) 333MB 9s
28░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1404 / 2476 ( 58%) 345MB 9s
29░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1458 / 2476 ( 60%) 358MB 10s
30░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1512 / 2476 ( 63%) 361MB 10s
31░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1566 / 2476 ( 63%) 361MB 10s
32░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1620 / 2476 ( 66%) 366MB 10s
33░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1674 / 2476 ( 68%) 375MB 10s
34░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1728 / 2476 ( 72%) 390MB 10s
35░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1782 / 2476 ( 72%) 390MB 10s
36░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1836 / 2476 ( 75%) 400MB 10s
37░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1890 / 2476 ( 77%) 405MB 10s
38░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1944 / 2476 ( 79%) 413MB 11s
39░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1998 / 2476 ( 80%) 423MB 11s
40░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2052 / 2476 ( 84%) 443MB 11s
41░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2106 / 2476 ( 85%) 452MB 11s
42░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2160 / 2476 ( 87%) 464MB 11s
43░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2214 / 2476 ( 89%) 478MB 11s
44░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2268 / 2476 ( 91%) 489MB 11s
45░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2322 / 2476 ( 95%) 526MB 12s
46░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2376 / 2476 ( 97%) 533MB 12s
47░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2430 / 2476 ( 98%) 539MB 12s
48░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2476 / 2476 (100%) 549MB 12s
49Analyzing classes... 12s
50░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 632MB 14s
51Analyzing functions... 14s
52░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 633MB 14s
53Analyzing methods... 14s
54░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 647MB 18s
55Analyzing files... 18s
56░░░░░░░░░░░ 11 / 11 (100%) 653MB 19s
57src/Buffer.php:62 PhanTypePossiblyInvalidDimOffset Possibly invalid offset 'host' of $url of array type array{scheme?:string,host?:string,port?:int,user?:string,pass?:string,path?:string,query?:string,fragment?:string}|false 19s
58src/Clients/FtpClient.php:289 PhanTypeMismatchProperty Assigning @ftp_connect($host, $port, $this->timeout) of type false|resource to property but \Joomla\Filesystem\Clients\FtpClient->conn is \FTP\Connection 19s
59src/Clients/FtpClient.php:302 PhanTypeMismatchProperty Assigning @fsockopen($host, $port, $errno, $err, $this->timeout) of type false|resource to property but \Joomla\Filesystem\Clients\FtpClient->conn is \FTP\Connection 19s
60src/Clients/FtpClient.php:355 PhanTypeMismatchArgumentInternal Argument 1 ($ftp) is $this->conn of type \FTP\Connection but \ftp_login() takes resource 19s
61src/Clients/FtpClient.php:393 PhanTypeMismatchArgumentInternal Argument 1 ($ftp) is $this->conn of type \FTP\Connection but \ftp_close() takes resource 19s
62src/Clients/FtpClient.php:399 PhanTypeMismatchArgumentInternal Argument 1 ($stream) is $this->conn of type \FTP\Connection but \fwrite() takes resource 19s
63src/Clients/FtpClient.php:400 PhanTypeMismatchArgumentInternal Argument 1 ($stream) is $this->conn of type \FTP\Connection but \fclose() takes resource 19s
64src/Clients/FtpClient.php:417 PhanTypeMismatchArgumentInternal Argument 1 ($ftp) is $this->conn of type \FTP\Connection but \ftp_pwd() takes resource 19s
65src/Clients/FtpClient.php:450 PhanTypeMismatchArgumentInternal Argument 1 ($ftp) is $this->conn of type \FTP\Connection but \ftp_systype() takes resource 19s
66src/Clients/FtpClient.php:489 PhanTypeMismatchArgumentInternal Argument 1 ($ftp) is $this->conn of type \FTP\Connection but \ftp_chdir() takes resource 19s
67 19s
68src/Clients/FtpClient.php:520 PhanTypeMismatchArgumentInternal Argument 1 ($ftp) is $this->conn of type \FTP\Connection but \ftp_site() takes resource 19s
69src/Clients/FtpClient.php:550 PhanTypeMismatchArgumentInternal Argument 1 ($ftp) is $this->conn of type \FTP\Connection but \ftp_rename() takes resource 19s
70src/Clients/FtpClient.php:599 PhanTypeMismatchArgumentInternal Argument 1 ($ftp) is $this->conn of type \FTP\Connection but \ftp_site() takes resource 19s
71src/Clients/FtpClient.php:644 PhanTypeMismatchArgumentInternal Argument 1 ($ftp) is $this->conn of type \FTP\Connection but \ftp_delete() takes resource 19s
72src/Clients/FtpClient.php:645 PhanTypeMismatchArgumentInternal Argument 1 ($ftp) is $this->conn of type \FTP\Connection but \ftp_rmdir() takes resource 19s
73src/Clients/FtpClient.php:679 PhanTypeMismatchArgumentInternal Argument 1 ($ftp) is $this->conn of type \FTP\Connection but \ftp_mkdir() takes resource 19s
74src/Clients/FtpClient.php:710 PhanTypeMismatchArgumentInternal Argument 1 ($ftp) is $this->conn of type \FTP\Connection but \ftp_site() takes resource 19s
75src/Clients/FtpClient.php:747 PhanTypeMismatchArgumentInternal Argument 1 ($ftp) is $this->conn of type \FTP\Connection but \ftp_pasv() takes resource 19s
76src/Clients/FtpClient.php:753 PhanTypeMismatchArgumentInternal Argument 1 ($ftp) is $this->conn of type \FTP\Connection but \ftp_fput() takes resource 19s
77src/Clients/FtpClient.php:808 PhanTypeMismatchArgumentInternal Argument 1 ($ftp) is $this->conn of type \FTP\Connection but \ftp_pasv() takes resource 19s
78src/Clients/FtpClient.php:814 PhanTypeMismatchArgumentInternal Argument 1 ($ftp) is $this->conn of type \FTP\Connection but \ftp_fget() takes resource 19s
79src/Clients/FtpClient.php:902 PhanTypeMismatchArgumentInternal Argument 1 ($ftp) is $this->conn of type \FTP\Connection but \ftp_pasv() takes resource 19s
80src/Clients/FtpClient.php:906 PhanTypeMismatchArgumentInternal Argument 1 ($ftp) is $this->conn of type \FTP\Connection but \ftp_get() takes resource 19s
81src/Clients/FtpClient.php:979 PhanTypeMismatchArgumentInternal Argument 1 ($ftp) is $this->conn of type \FTP\Connection but \ftp_pasv() takes resource 19s
82src/Clients/FtpClient.php:983 PhanTypeMismatchArgumentInternal Argument 1 ($ftp) is $this->conn of type \FTP\Connection but \ftp_put() takes resource 19s
83src/Clients/FtpClient.php:1064 PhanTypeMismatchArgumentInternal Argument 1 ($ftp) is $this->conn of type \FTP\Connection but \ftp_pasv() takes resource 19s
84src/Clients/FtpClient.php:1072 PhanTypeMismatchArgumentInternal Argument 1 ($ftp) is $this->conn of type \FTP\Connection but \ftp_fput() takes resource 19s
85src/Clients/FtpClient.php:1142 PhanTypeMismatchArgumentInternal Argument 1 ($ftp) is $this->conn of type \FTP\Connection but \ftp_pasv() takes resource 19s
86src/Clients/FtpClient.php:1146 PhanTypeMismatchArgumentInternal Argument 1 ($ftp) is $this->conn of type \FTP\Connection but \ftp_nlist() takes resource 19s
87src/Clients/FtpClient.php:1149 PhanTypeMismatchReturnProbablyReal Returning [] of type array{} but listNames() is declared to return string (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) 19s
88src/Clients/FtpClient.php:1163 PhanTypeMismatchReturn Returning $list of type associative-array<mixed,string>|string[] but listNames() is declared to return string 19s
89src/Clients/FtpClient.php:1181 PhanTypeMismatchReturnProbablyReal Returning [] of type array{} but listNames() is declared to return string (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) 19s
90src/Clients/FtpClient.php:1239 PhanTypeMismatchArgumentInternal Argument 1 ($ftp) is $this->conn of type \FTP\Connection but \ftp_pasv() takes resource 19s
91src/Clients/FtpClient.php:1243 PhanTypeMismatchArgumentInternal Argument 1 ($ftp) is $this->conn of type \FTP\Connection but \ftp_rawlist() takes resource 19s
92src/Clients/FtpClient.php:1292 PhanTypeMismatchReturnProbablyReal Returning $data of type ?string but listDetails() is declared to return string[] (no real type) (the inferred real return type has nothing in common with the declared phpdoc return type) 19s
93src/Clients/FtpClient.php:1341 PhanPossiblyUndeclaredVariable Variable $regexp is possibly undeclared 19s
94src/Clients/FtpClient.php:1342 PhanParamSuspiciousOrder Argument #2 of this call to \strpos is typically a literal or constant but isn't, but argument #1 (which is typically a variable) is a literal or constant. The arguments may be in the wrong order. 19s
95src/Clients/FtpClient.php:1345 PhanTypeArraySuspicious Suspicious array access to $tmpArray of type null 19s
96src/Clients/FtpClient.php:1358 PhanTypePossiblyInvalidDimOffset Possibly invalid offset 'type' of $tmpArray of array type ?array{type?:int,rights?:string,user?:string,group?:string,size?:string,date?:string,time?:string,name?:string}|?non-empty-mixed 19s
97src/Clients/FtpClient.php:1363 PhanTypePossiblyInvalidDimOffset Possibly invalid offset 'type' of $tmpArray of array type ?array{type?:int,rights?:string,user?:string,group?:string,size?:string,date?:string,time?:string,name?:string}|?non-empty-mixed 19s
98src/Clients/FtpClient.php:1367 PhanTypePossiblyInvalidDimOffset Possibly invalid offset 'name' of $tmpArray of array type array{type?:int,rights?:string,user?:string,group?:string,size?:string,date?:string,time?:string,name?:string}|non-empty-array<mixed,mixed> 19s
99src/Clients/FtpClient.php:1375 PhanPossiblyUndeclaredVariable Variable $regexp is possibly undeclared 19s
100src/Clients/FtpClient.php:1380 PhanTypeArraySuspicious Suspicious array access to $tmpArray of type null 19s
101src/Clients/FtpClient.php:1393 PhanTypePossiblyInvalidDimOffset Possibly invalid offset 'type' of $tmpArray of array type ?array{type?:int,rights?:'',user?:'',group?:'',size?:int,date?:string,time?:string,name?:string}|?non-empty-mixed 19s
102src/Clients/FtpClient.php:1398 PhanTypePossiblyInvalidDimOffset Possibly invalid offset 'type' of $tmpArray of array type ?array{type?:int,rights?:'',user?:'',group?:'',size?:int,date?:string,time?:string,name?:string}|?non-empty-mixed 19s
103src/Clients/FtpClient.php:1402 PhanTypePossiblyInvalidDimOffset Possibly invalid offset 'name' of $tmpArray of array type array{type?:int,rights?:'',user?:'',group?:'',size?:int,date?:string,time?:string,name?:string}|non-empty-array<mixed,mixed> 19s
104src/Clients/FtpClient.php:1456 PhanTypeMismatchArgumentInternal Argument 1 ($stream) is $this->conn of type \FTP\Connection but \fgets() takes resource 19s
105src/File.php:127 PhanUndeclaredMethod Call to undeclared method \Joomla\Filesystem\Stream::getError 19s
106src/File.php:207 PhanUndeclaredMethod Call to undeclared method \Joomla\Filesystem\Stream::getError 19s
107src/File.php:301 PhanUndeclaredMethod Call to undeclared method \Joomla\Filesystem\Stream::getError 19s
108src/Folder.php:523 PhanUndeclaredConstant Reference to undeclared constant \JPATH_ROOT. This will cause a thrown Error in php 8.0+. 19s
109src/Patcher.php:446 PhanTypeArraySuspiciousNullable Suspicious array access to $srcLines of nullable type ?array= 19s
110src/Path.php:128 PhanTypeMismatchBitwiseBinaryOperands Unexpected mix of int and string operands provided to operator '&' between types string and 4 (expected one type but not both) 19s
111src/Path.php:131 PhanTypeMismatchBitwiseBinaryOperands Unexpected mix of int and string operands provided to operator '&' between types string and 2 (expected one type but not both) 19s
112src/Path.php:134 PhanTypeMismatchBitwiseBinaryOperands Unexpected mix of int and string operands provided to operator '&' between types string and 1 (expected one type but not both) 19s
113src/Path.php:362 PhanUndeclaredConstant Reference to undeclared constant \JPATH_ROOT. This will cause a thrown Error in php 8.0+. 19s
114src/Stream.php:189 PhanUndeclaredConstant Reference to undeclared constant \JPATH_ROOT. This will cause a thrown Error in php 8.0+. 19s
115src/Stream.php:299 PhanTypeMismatchArgumentInternal Argument 4 ($context) is $this->context of type non-empty-string but \fopen() takes resource 19s
116src/Stream.php:890 PhanTypeMismatchProperty Assigning @stream_context_create($this->contextOptions) of type resource to property but \Joomla\Filesystem\Stream->context is string 19s
117src/Stream.php:1096 PhanTypeMismatchDimFetch When fetching an array index from a value of type array|array<int,false>|array<int,resource>|non-empty-array<int,''>|non-empty-array<int,false>|non-empty-array<int,resource>, found an array index of type resource, but expected the index to be of type int|string 19s
118src/Stream.php:1149 PhanTypeMismatchArgumentInternal Argument 3 ($context) is $this->context of type non-empty-string but \copy() takes resource 19s
119src/Stream.php:1195 PhanTypeMismatchArgumentInternal Argument 3 ($context) is $this->context of type non-empty-string but \rename() takes resource 19s
120src/Stream.php:1244 PhanTypeMismatchArgumentInternal Argument 2 ($context) is $this->context of type non-empty-string but \unlink() takes resource 19s
121src/Stream.php:1357 PhanUndeclaredConstant Reference to undeclared constant \JPATH_ROOT. This will cause a thrown Error in php 8.0+. 19s
122src/Stream.php:1360 PhanUndeclaredConstant Reference to undeclared constant \JPATH_ROOT. This will cause a thrown Error in php 8.0+. 19s
Exit Code 1