Skip to content

build(deps-dev): update phpstan/phpstan requirement from 1.10.59 to 1.10.66 #519

build(deps-dev): update phpstan/phpstan requirement from 1.10.59 to 1.10.66

build(deps-dev): update phpstan/phpstan requirement from 1.10.59 to 1.10.66 #519

Triggered via pull request April 1, 2024 06:12
Status Failure
Total duration 5m 9s
Artifacts

build.yml

on: pull_request
Matrix: Tests
Matrix: PHPStan
Code coverage finish
1s
Code coverage finish
Fit to window
Zoom out
Zoom in

Annotations

32 errors and 17 warnings
PHPStan (8.3): src/Collection/Functions/FetchPropertyFunction.php#L258
Parameter $joins of class Nextras\Orm\Collection\Functions\Result\DbalExpressionResult constructor expects list<Nextras\Orm\Collection\Functions\Result\DbalTableJoin>, array<Nextras\Orm\Collection\Functions\Result\DbalTableJoin> given.
PHPStan (8.3): src/Collection/Functions/FetchPropertyFunction.php#L266
Parameter $dbalModifier of class Nextras\Orm\Collection\Functions\Result\DbalExpressionResult constructor expects literal-string|null, string given.
PHPStan (8.3): src/Collection/Functions/FetchPropertyFunction.php#L402
Parameter &$modifier by-ref type of method Nextras\Orm\Collection\Functions\FetchPropertyFunction::toColumnExpr() expects string, string|null given.
PHPStan (8.3): src/Entity/Reflection/MetadataParser.php#L94
Method Nextras\Orm\Entity\Reflection\MetadataParser::parseMetadata() never assigns null to &$fileDependencies so it can be removed from the by-ref type.
PHPStan (8.3): src/Entity/Reflection/MetadataParser.php#L102
Parameter #1 $array of function array_unique expects array, array<int, string>|null given.
PHPStan (8.3): src/Entity/Reflection/MetadataParser.php#L102
Parameter &$fileDependencies by-ref type of method Nextras\Orm\Entity\Reflection\MetadataParser::parseMetadata() expects list<string>|null, array<mixed, mixed> given.
PHPStan (8.3): src/Entity/Reflection/MetadataParser.php#L129
Parameter &$fileDependencies by-ref type of method Nextras\Orm\Entity\Reflection\MetadataParser::loadProperties() expects list<string>|null, non-empty-list<string|false> given.
PHPStan (8.3): src/Entity/Reflection/MetadataParser.php#L135
Parameter &$fileDependencies by-ref type of method Nextras\Orm\Entity\Reflection\MetadataParser::loadProperties() expects list<string>|null, non-empty-list<string|false> given.
PHPStan (8.3): src/Model/Model.php#L191
Parameter #1 $object of function get_class expects object, bool|Nextras\Orm\Entity\IEntity given.
PHPStan (8.3): src/Model/Model.php#L192
Parameter #1 $entity of method Nextras\Orm\Repository\IRepository<Nextras\Orm\Entity\IEntity>::doRemove() expects Nextras\Orm\Entity\IEntity, bool|Nextras\Orm\Entity\IEntity given.
PHPStan (8.1)
The job was canceled because "_8_3" failed.
PHPStan (8.1): src/Collection/Functions/FetchPropertyFunction.php#L258
Parameter $joins of class Nextras\Orm\Collection\Functions\Result\DbalExpressionResult constructor expects list<Nextras\Orm\Collection\Functions\Result\DbalTableJoin>, array<Nextras\Orm\Collection\Functions\Result\DbalTableJoin> given.
PHPStan (8.1): src/Collection/Functions/FetchPropertyFunction.php#L266
Parameter $dbalModifier of class Nextras\Orm\Collection\Functions\Result\DbalExpressionResult constructor expects literal-string|null, string given.
PHPStan (8.1): src/Collection/Functions/FetchPropertyFunction.php#L402
Parameter &$modifier by-ref type of method Nextras\Orm\Collection\Functions\FetchPropertyFunction::toColumnExpr() expects string, string|null given.
PHPStan (8.1): src/Entity/Reflection/MetadataParser.php#L94
Method Nextras\Orm\Entity\Reflection\MetadataParser::parseMetadata() never assigns null to &$fileDependencies so it can be removed from the by-ref type.
PHPStan (8.1): src/Entity/Reflection/MetadataParser.php#L102
Parameter #1 $array of function array_unique expects array, array<int, string>|null given.
PHPStan (8.1): src/Entity/Reflection/MetadataParser.php#L102
Parameter &$fileDependencies by-ref type of method Nextras\Orm\Entity\Reflection\MetadataParser::parseMetadata() expects list<string>|null, array<mixed, mixed> given.
PHPStan (8.1): src/Entity/Reflection/MetadataParser.php#L129
Parameter &$fileDependencies by-ref type of method Nextras\Orm\Entity\Reflection\MetadataParser::loadProperties() expects list<string>|null, non-empty-list<string|false> given.
PHPStan (8.1): src/Entity/Reflection/MetadataParser.php#L135
Parameter &$fileDependencies by-ref type of method Nextras\Orm\Entity\Reflection\MetadataParser::loadProperties() expects list<string>|null, non-empty-list<string|false> given.
PHPStan (8.1): src/Model/Model.php#L191
Parameter #1 $object of function get_class expects object, bool|Nextras\Orm\Entity\IEntity given.
PHPStan (8.1): src/Model/Model.php#L192
Parameter #1 $entity of method Nextras\Orm\Repository\IRepository<Nextras\Orm\Entity\IEntity>::doRemove() expects Nextras\Orm\Entity\IEntity, bool|Nextras\Orm\Entity\IEntity given.
PHPStan (8.2)
The job was canceled because "_8_3" failed.
PHPStan (8.2): src/Collection/Functions/FetchPropertyFunction.php#L258
Parameter $joins of class Nextras\Orm\Collection\Functions\Result\DbalExpressionResult constructor expects list<Nextras\Orm\Collection\Functions\Result\DbalTableJoin>, array<Nextras\Orm\Collection\Functions\Result\DbalTableJoin> given.
PHPStan (8.2): src/Collection/Functions/FetchPropertyFunction.php#L266
Parameter $dbalModifier of class Nextras\Orm\Collection\Functions\Result\DbalExpressionResult constructor expects literal-string|null, string given.
PHPStan (8.2): src/Collection/Functions/FetchPropertyFunction.php#L402
Parameter &$modifier by-ref type of method Nextras\Orm\Collection\Functions\FetchPropertyFunction::toColumnExpr() expects string, string|null given.
PHPStan (8.2): src/Entity/Reflection/MetadataParser.php#L94
Method Nextras\Orm\Entity\Reflection\MetadataParser::parseMetadata() never assigns null to &$fileDependencies so it can be removed from the by-ref type.
PHPStan (8.2): src/Entity/Reflection/MetadataParser.php#L102
Parameter #1 $array of function array_unique expects array, array<int, string>|null given.
PHPStan (8.2): src/Entity/Reflection/MetadataParser.php#L102
Parameter &$fileDependencies by-ref type of method Nextras\Orm\Entity\Reflection\MetadataParser::parseMetadata() expects list<string>|null, array<mixed, mixed> given.
PHPStan (8.2): src/Entity/Reflection/MetadataParser.php#L129
Parameter &$fileDependencies by-ref type of method Nextras\Orm\Entity\Reflection\MetadataParser::loadProperties() expects list<string>|null, non-empty-list<string|false> given.
PHPStan (8.2): src/Entity/Reflection/MetadataParser.php#L135
Parameter &$fileDependencies by-ref type of method Nextras\Orm\Entity\Reflection\MetadataParser::loadProperties() expects list<string>|null, non-empty-list<string|false> given.
PHPStan (8.2): src/Model/Model.php#L191
Parameter #1 $object of function get_class expects object, bool|Nextras\Orm\Entity\IEntity given.
PHPStan (8.2): src/Model/Model.php#L192
Parameter #1 $entity of method Nextras\Orm\Repository\IRepository<Nextras\Orm\Entity\IEntity>::doRemove() expects Nextras\Orm\Entity\IEntity, bool|Nextras\Orm\Entity\IEntity given.
PHPStan (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPStan (8.3)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPStan (8.3)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHPStan (8.1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHPStan (8.2)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests (8.3, newest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (8.3, newest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests (8.3, newest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests (8.1, newest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (8.1, newest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests (8.1, newest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests (8.2, newest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (8.2, newest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests (8.2, newest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests (8.1, lowest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (8.1, lowest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests (8.1, lowest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/