Skip to content

Update phpstan/phpstan requirement from 1.10.14 to 1.11.0 #392

Update phpstan/phpstan requirement from 1.10.14 to 1.11.0

Update phpstan/phpstan requirement from 1.10.14 to 1.11.0 #392

Triggered via pull request May 13, 2024 14:40
Status Failure
Total duration 46s
Artifacts

build.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

80 errors
PHP 8.1 --prefer-lowest: lib/Doctrine/Connection/Mssql.php#L1
Ignored error pattern #^Offset string does not exist on array\<int\<0, max\>, mixed\>\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Connection/Mssql.php was not matched in reported errors.
PHP 8.1 --prefer-lowest: lib/Doctrine/Event.php#L271
Method Doctrine_Event::__set() with return type void returns $this(Doctrine_Event) but should not return anything.
PHP 8.1 --prefer-lowest: lib/Doctrine/Lib.php#L78
Parameter #1 $state of static method Doctrine_Lib::getRecordStateAsString() expects int, int|null given.
PHP 8.1 --prefer-lowest: lib/Doctrine/Manager.php#L1
Ignored error pattern #^Cannot access offset 'dsn'\|'fragment'\|'host'\|'pass'\|'path'\|'port'\|'query'\|'scheme'\|'user' on array\<'dsn'\|'fragment'\|'host'\|'pass'\|'path'\|'port'\|'query'\|'scheme'\|'user', int\<0, 65535\>\|string\|null\>\|false\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Manager.php was not matched in reported errors.
PHP 8.1 --prefer-lowest: lib/Doctrine/Migration/Builder.php#L1
Ignored error pattern #^Parameter \#1 \$tableName of method Doctrine_Migration_Builder\:\:buildCreateForeignKey\(\) expects string, int\|string given\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Migration/Builder.php was not matched in reported errors.
PHP 8.1 --prefer-lowest: lib/Doctrine/Migration/Builder.php#L1
Ignored error pattern #^Parameter \#1 \$tableName of method Doctrine_Migration_Builder\:\:buildDropForeignKey\(\) expects string, int\|string given\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Migration/Builder.php was not matched in reported errors.
PHP 8.1 --prefer-lowest: lib/Doctrine/Pager/Layout.php#L1
Ignored error pattern #^Cannot cast string\|void to string\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Pager/Layout.php was not matched in reported errors.
PHP 8.1 --prefer-lowest: lib/Doctrine/Validator/Driver.php#L86
Method Doctrine_Validator_Driver::__set() with return type void returns $this(Doctrine_Validator_Driver) but should not return anything.
PHP 8.1 --prefer-lowest
Ignored error pattern #Parameter \#1 \$state of method Doctrine_Record::state\(\) expects int\|string\|null, int\|void given\.# was not matched in reported errors.
PHP 8.1 --prefer-lowest
Ignored error pattern #Parameter \#1 \$state of static method Doctrine_Lib::getRecordStateAsString\(\) expects int, int\|void given\.# was not matched in reported errors.
PHP 8.0 --prefer-lowest: lib/Doctrine/Connection/Mssql.php#L1
Ignored error pattern #^Offset string does not exist on array\<int\<0, max\>, mixed\>\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Connection/Mssql.php was not matched in reported errors.
PHP 8.0 --prefer-lowest: lib/Doctrine/Event.php#L271
Method Doctrine_Event::__set() with return type void returns $this(Doctrine_Event) but should not return anything.
PHP 8.0 --prefer-lowest: lib/Doctrine/Lib.php#L78
Parameter #1 $state of static method Doctrine_Lib::getRecordStateAsString() expects int, int|null given.
PHP 8.0 --prefer-lowest: lib/Doctrine/Manager.php#L1
Ignored error pattern #^Cannot access offset 'dsn'\|'fragment'\|'host'\|'pass'\|'path'\|'port'\|'query'\|'scheme'\|'user' on array\<'dsn'\|'fragment'\|'host'\|'pass'\|'path'\|'port'\|'query'\|'scheme'\|'user', int\<0, 65535\>\|string\|null\>\|false\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Manager.php was not matched in reported errors.
PHP 8.0 --prefer-lowest: lib/Doctrine/Migration/Builder.php#L1
Ignored error pattern #^Parameter \#1 \$tableName of method Doctrine_Migration_Builder\:\:buildCreateForeignKey\(\) expects string, int\|string given\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Migration/Builder.php was not matched in reported errors.
PHP 8.0 --prefer-lowest: lib/Doctrine/Migration/Builder.php#L1
Ignored error pattern #^Parameter \#1 \$tableName of method Doctrine_Migration_Builder\:\:buildDropForeignKey\(\) expects string, int\|string given\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Migration/Builder.php was not matched in reported errors.
PHP 8.0 --prefer-lowest: lib/Doctrine/Pager/Layout.php#L1
Ignored error pattern #^Cannot cast string\|void to string\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Pager/Layout.php was not matched in reported errors.
PHP 8.0 --prefer-lowest: lib/Doctrine/Validator/Driver.php#L86
Method Doctrine_Validator_Driver::__set() with return type void returns $this(Doctrine_Validator_Driver) but should not return anything.
PHP 8.0 --prefer-lowest
Ignored error pattern #Parameter \#1 \$state of method Doctrine_Record::state\(\) expects int\|string\|null, int\|void given\.# was not matched in reported errors.
PHP 8.0 --prefer-lowest
Ignored error pattern #Parameter \#1 \$state of static method Doctrine_Lib::getRecordStateAsString\(\) expects int, int\|void given\.# was not matched in reported errors.
PHP 7.4 --prefer-lowest: lib/Doctrine/Connection/Mssql.php#L1
Ignored error pattern #^Offset string does not exist on array\<int\<0, max\>, mixed\>\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Connection/Mssql.php was not matched in reported errors.
PHP 7.4 --prefer-lowest: lib/Doctrine/Event.php#L271
Method Doctrine_Event::__set() with return type void returns $this(Doctrine_Event) but should not return anything.
PHP 7.4 --prefer-lowest: lib/Doctrine/Lib.php#L78
Parameter #1 $state of static method Doctrine_Lib::getRecordStateAsString() expects int, int|null given.
PHP 7.4 --prefer-lowest: lib/Doctrine/Manager.php#L1
Ignored error pattern #^Cannot access offset 'dsn'\|'fragment'\|'host'\|'pass'\|'path'\|'port'\|'query'\|'scheme'\|'user' on array\<'dsn'\|'fragment'\|'host'\|'pass'\|'path'\|'port'\|'query'\|'scheme'\|'user', int\<0, 65535\>\|string\|null\>\|false\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Manager.php was not matched in reported errors.
PHP 7.4 --prefer-lowest: lib/Doctrine/Migration/Builder.php#L1
Ignored error pattern #^Parameter \#1 \$tableName of method Doctrine_Migration_Builder\:\:buildCreateForeignKey\(\) expects string, int\|string given\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Migration/Builder.php was not matched in reported errors.
PHP 7.4 --prefer-lowest: lib/Doctrine/Migration/Builder.php#L1
Ignored error pattern #^Parameter \#1 \$tableName of method Doctrine_Migration_Builder\:\:buildDropForeignKey\(\) expects string, int\|string given\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Migration/Builder.php was not matched in reported errors.
PHP 7.4 --prefer-lowest: lib/Doctrine/Pager/Layout.php#L1
Ignored error pattern #^Cannot cast string\|void to string\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Pager/Layout.php was not matched in reported errors.
PHP 7.4 --prefer-lowest: lib/Doctrine/Validator/Driver.php#L86
Method Doctrine_Validator_Driver::__set() with return type void returns $this(Doctrine_Validator_Driver) but should not return anything.
PHP 7.4 --prefer-lowest
Ignored error pattern #Parameter \#1 \$state of method Doctrine_Record::state\(\) expects int\|string\|null, int\|void given\.# was not matched in reported errors.
PHP 7.4 --prefer-lowest
Ignored error pattern #Parameter \#1 \$state of static method Doctrine_Lib::getRecordStateAsString\(\) expects int, int\|void given\.# was not matched in reported errors.
PHP 8.2: lib/Doctrine/Connection/Mssql.php#L1
Ignored error pattern #^Offset string does not exist on array\<int\<0, max\>, mixed\>\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Connection/Mssql.php was not matched in reported errors.
PHP 8.2: lib/Doctrine/Event.php#L271
Method Doctrine_Event::__set() with return type void returns $this(Doctrine_Event) but should not return anything.
PHP 8.2: lib/Doctrine/Lib.php#L78
Parameter #1 $state of static method Doctrine_Lib::getRecordStateAsString() expects int, int|null given.
PHP 8.2: lib/Doctrine/Manager.php#L1
Ignored error pattern #^Cannot access offset 'dsn'\|'fragment'\|'host'\|'pass'\|'path'\|'port'\|'query'\|'scheme'\|'user' on array\<'dsn'\|'fragment'\|'host'\|'pass'\|'path'\|'port'\|'query'\|'scheme'\|'user', int\<0, 65535\>\|string\|null\>\|false\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Manager.php was not matched in reported errors.
PHP 8.2: lib/Doctrine/Migration/Builder.php#L1
Ignored error pattern #^Parameter \#1 \$tableName of method Doctrine_Migration_Builder\:\:buildCreateForeignKey\(\) expects string, int\|string given\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Migration/Builder.php was not matched in reported errors.
PHP 8.2: lib/Doctrine/Migration/Builder.php#L1
Ignored error pattern #^Parameter \#1 \$tableName of method Doctrine_Migration_Builder\:\:buildDropForeignKey\(\) expects string, int\|string given\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Migration/Builder.php was not matched in reported errors.
PHP 8.2: lib/Doctrine/Pager/Layout.php#L1
Ignored error pattern #^Cannot cast string\|void to string\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Pager/Layout.php was not matched in reported errors.
PHP 8.2: lib/Doctrine/Validator/Driver.php#L86
Method Doctrine_Validator_Driver::__set() with return type void returns $this(Doctrine_Validator_Driver) but should not return anything.
PHP 8.2
Ignored error pattern #Parameter \#1 \$state of method Doctrine_Record::state\(\) expects int\|string\|null, int\|void given\.# was not matched in reported errors.
PHP 8.2
Ignored error pattern #Parameter \#1 \$state of static method Doctrine_Lib::getRecordStateAsString\(\) expects int, int\|void given\.# was not matched in reported errors.
PHP 7.4: lib/Doctrine/Connection/Mssql.php#L1
Ignored error pattern #^Offset string does not exist on array\<int\<0, max\>, mixed\>\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Connection/Mssql.php was not matched in reported errors.
PHP 7.4: lib/Doctrine/Event.php#L271
Method Doctrine_Event::__set() with return type void returns $this(Doctrine_Event) but should not return anything.
PHP 7.4: lib/Doctrine/Lib.php#L78
Parameter #1 $state of static method Doctrine_Lib::getRecordStateAsString() expects int, int|null given.
PHP 7.4: lib/Doctrine/Manager.php#L1
Ignored error pattern #^Cannot access offset 'dsn'\|'fragment'\|'host'\|'pass'\|'path'\|'port'\|'query'\|'scheme'\|'user' on array\<'dsn'\|'fragment'\|'host'\|'pass'\|'path'\|'port'\|'query'\|'scheme'\|'user', int\<0, 65535\>\|string\|null\>\|false\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Manager.php was not matched in reported errors.
PHP 7.4: lib/Doctrine/Migration/Builder.php#L1
Ignored error pattern #^Parameter \#1 \$tableName of method Doctrine_Migration_Builder\:\:buildCreateForeignKey\(\) expects string, int\|string given\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Migration/Builder.php was not matched in reported errors.
PHP 7.4: lib/Doctrine/Migration/Builder.php#L1
Ignored error pattern #^Parameter \#1 \$tableName of method Doctrine_Migration_Builder\:\:buildDropForeignKey\(\) expects string, int\|string given\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Migration/Builder.php was not matched in reported errors.
PHP 7.4: lib/Doctrine/Pager/Layout.php#L1
Ignored error pattern #^Cannot cast string\|void to string\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Pager/Layout.php was not matched in reported errors.
PHP 7.4: lib/Doctrine/Validator/Driver.php#L86
Method Doctrine_Validator_Driver::__set() with return type void returns $this(Doctrine_Validator_Driver) but should not return anything.
PHP 7.4
Ignored error pattern #Parameter \#1 \$state of method Doctrine_Record::state\(\) expects int\|string\|null, int\|void given\.# was not matched in reported errors.
PHP 7.4
Ignored error pattern #Parameter \#1 \$state of static method Doctrine_Lib::getRecordStateAsString\(\) expects int, int\|void given\.# was not matched in reported errors.
PHP 8.0: lib/Doctrine/Connection/Mssql.php#L1
Ignored error pattern #^Offset string does not exist on array\<int\<0, max\>, mixed\>\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Connection/Mssql.php was not matched in reported errors.
PHP 8.0: lib/Doctrine/Event.php#L271
Method Doctrine_Event::__set() with return type void returns $this(Doctrine_Event) but should not return anything.
PHP 8.0: lib/Doctrine/Lib.php#L78
Parameter #1 $state of static method Doctrine_Lib::getRecordStateAsString() expects int, int|null given.
PHP 8.0: lib/Doctrine/Manager.php#L1
Ignored error pattern #^Cannot access offset 'dsn'\|'fragment'\|'host'\|'pass'\|'path'\|'port'\|'query'\|'scheme'\|'user' on array\<'dsn'\|'fragment'\|'host'\|'pass'\|'path'\|'port'\|'query'\|'scheme'\|'user', int\<0, 65535\>\|string\|null\>\|false\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Manager.php was not matched in reported errors.
PHP 8.0: lib/Doctrine/Migration/Builder.php#L1
Ignored error pattern #^Parameter \#1 \$tableName of method Doctrine_Migration_Builder\:\:buildCreateForeignKey\(\) expects string, int\|string given\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Migration/Builder.php was not matched in reported errors.
PHP 8.0: lib/Doctrine/Migration/Builder.php#L1
Ignored error pattern #^Parameter \#1 \$tableName of method Doctrine_Migration_Builder\:\:buildDropForeignKey\(\) expects string, int\|string given\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Migration/Builder.php was not matched in reported errors.
PHP 8.0: lib/Doctrine/Pager/Layout.php#L1
Ignored error pattern #^Cannot cast string\|void to string\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Pager/Layout.php was not matched in reported errors.
PHP 8.0: lib/Doctrine/Validator/Driver.php#L86
Method Doctrine_Validator_Driver::__set() with return type void returns $this(Doctrine_Validator_Driver) but should not return anything.
PHP 8.0
Ignored error pattern #Parameter \#1 \$state of method Doctrine_Record::state\(\) expects int\|string\|null, int\|void given\.# was not matched in reported errors.
PHP 8.0
Ignored error pattern #Parameter \#1 \$state of static method Doctrine_Lib::getRecordStateAsString\(\) expects int, int\|void given\.# was not matched in reported errors.
PHP 8.1: lib/Doctrine/Connection/Mssql.php#L1
Ignored error pattern #^Offset string does not exist on array\<int\<0, max\>, mixed\>\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Connection/Mssql.php was not matched in reported errors.
PHP 8.1: lib/Doctrine/Event.php#L271
Method Doctrine_Event::__set() with return type void returns $this(Doctrine_Event) but should not return anything.
PHP 8.1: lib/Doctrine/Lib.php#L78
Parameter #1 $state of static method Doctrine_Lib::getRecordStateAsString() expects int, int|null given.
PHP 8.1: lib/Doctrine/Manager.php#L1
Ignored error pattern #^Cannot access offset 'dsn'\|'fragment'\|'host'\|'pass'\|'path'\|'port'\|'query'\|'scheme'\|'user' on array\<'dsn'\|'fragment'\|'host'\|'pass'\|'path'\|'port'\|'query'\|'scheme'\|'user', int\<0, 65535\>\|string\|null\>\|false\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Manager.php was not matched in reported errors.
PHP 8.1: lib/Doctrine/Migration/Builder.php#L1
Ignored error pattern #^Parameter \#1 \$tableName of method Doctrine_Migration_Builder\:\:buildCreateForeignKey\(\) expects string, int\|string given\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Migration/Builder.php was not matched in reported errors.
PHP 8.1: lib/Doctrine/Migration/Builder.php#L1
Ignored error pattern #^Parameter \#1 \$tableName of method Doctrine_Migration_Builder\:\:buildDropForeignKey\(\) expects string, int\|string given\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Migration/Builder.php was not matched in reported errors.
PHP 8.1: lib/Doctrine/Pager/Layout.php#L1
Ignored error pattern #^Cannot cast string\|void to string\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Pager/Layout.php was not matched in reported errors.
PHP 8.1: lib/Doctrine/Validator/Driver.php#L86
Method Doctrine_Validator_Driver::__set() with return type void returns $this(Doctrine_Validator_Driver) but should not return anything.
PHP 8.2 --prefer-lowest: lib/Doctrine/Connection/Mssql.php#L1
Ignored error pattern #^Offset string does not exist on array\<int\<0, max\>, mixed\>\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Connection/Mssql.php was not matched in reported errors.
PHP 8.2 --prefer-lowest: lib/Doctrine/Event.php#L271
Method Doctrine_Event::__set() with return type void returns $this(Doctrine_Event) but should not return anything.
PHP 8.1
Ignored error pattern #Parameter \#1 \$state of method Doctrine_Record::state\(\) expects int\|string\|null, int\|void given\.# was not matched in reported errors.
PHP 8.2 --prefer-lowest: lib/Doctrine/Lib.php#L78
Parameter #1 $state of static method Doctrine_Lib::getRecordStateAsString() expects int, int|null given.
PHP 8.1
Ignored error pattern #Parameter \#1 \$state of static method Doctrine_Lib::getRecordStateAsString\(\) expects int, int\|void given\.# was not matched in reported errors.
PHP 8.2 --prefer-lowest: lib/Doctrine/Manager.php#L1
Ignored error pattern #^Cannot access offset 'dsn'\|'fragment'\|'host'\|'pass'\|'path'\|'port'\|'query'\|'scheme'\|'user' on array\<'dsn'\|'fragment'\|'host'\|'pass'\|'path'\|'port'\|'query'\|'scheme'\|'user', int\<0, 65535\>\|string\|null\>\|false\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Manager.php was not matched in reported errors.
PHP 8.2 --prefer-lowest: lib/Doctrine/Migration/Builder.php#L1
Ignored error pattern #^Parameter \#1 \$tableName of method Doctrine_Migration_Builder\:\:buildCreateForeignKey\(\) expects string, int\|string given\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Migration/Builder.php was not matched in reported errors.
PHP 8.2 --prefer-lowest: lib/Doctrine/Migration/Builder.php#L1
Ignored error pattern #^Parameter \#1 \$tableName of method Doctrine_Migration_Builder\:\:buildDropForeignKey\(\) expects string, int\|string given\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Migration/Builder.php was not matched in reported errors.
PHP 8.2 --prefer-lowest: lib/Doctrine/Pager/Layout.php#L1
Ignored error pattern #^Cannot cast string\|void to string\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Pager/Layout.php was not matched in reported errors.
PHP 8.2 --prefer-lowest: lib/Doctrine/Validator/Driver.php#L86
Method Doctrine_Validator_Driver::__set() with return type void returns $this(Doctrine_Validator_Driver) but should not return anything.
PHP 8.2 --prefer-lowest
Ignored error pattern #Parameter \#1 \$state of method Doctrine_Record::state\(\) expects int\|string\|null, int\|void given\.# was not matched in reported errors.
PHP 8.2 --prefer-lowest
Ignored error pattern #Parameter \#1 \$state of static method Doctrine_Lib::getRecordStateAsString\(\) expects int, int\|void given\.# was not matched in reported errors.