Skip to content

Update phpstan/phpstan requirement from 1.10.14 to 1.10.60 #370

Update phpstan/phpstan requirement from 1.10.14 to 1.10.60

Update phpstan/phpstan requirement from 1.10.14 to 1.10.60 #370

Triggered via pull request March 12, 2024 19:25
Status Failure
Total duration 49s
Artifacts

build.yml

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

Annotations

72 errors and 8 warnings
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.2 --prefer-lowest: lib/Doctrine/Lib.php#L78
Parameter #1 $state of static method Doctrine_Lib::getRecordStateAsString() expects int, int|null given.
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/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.
PHP 8.2 --prefer-lowest
Process completed with exit code 1.
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/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.0
Process completed with exit code 1.
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/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 8.2
Process completed with exit code 1.
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/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 7.4
Process completed with exit code 1.
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/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.1 --prefer-lowest
Process completed with exit code 1.
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/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 8.0 --prefer-lowest
Process completed with exit code 1.
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/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.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.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.1
Process completed with exit code 1.
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/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 7.4 --prefer-lowest
Process completed with exit code 1.
PHP 8.2 --prefer-lowest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.0
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.2
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.1 --prefer-lowest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.0 --prefer-lowest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.1
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.4 --prefer-lowest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.