Modernize code #155
Open
Modernize code #155
Annotations
10 errors and 1 warning
|
Run PHPStan:
src/Compat/FilterProcessor.php#L0
Ignored error pattern #^Method ipl\\Orm\\Compat\\FilterProcessor\:\:requireAndResolveFilterColumns\(\) has parameter \$forceOptimization with no type specified\.$# (missingType.parameter) in path /home/runner/work/ipl-orm/ipl-orm/src/Compat/FilterProcessor.php was not matched in reported errors.
|
|
Run PHPStan:
src/Compat/FilterProcessor.php#L0
Ignored error pattern #^Method ipl\\Orm\\Compat\\FilterProcessor\:\:requireAndResolveFilterColumns\(\) has no return type specified\.$# (missingType.return) in path /home/runner/work/ipl-orm/ipl-orm/src/Compat/FilterProcessor.php was not matched in reported errors.
|
|
Run PHPStan:
src/Compat/FilterProcessor.php#L0
Ignored error pattern #^Method ipl\\Orm\\Compat\\FilterProcessor\:\:apply\(\) has no return type specified\.$# (missingType.return) in path /home/runner/work/ipl-orm/ipl-orm/src/Compat/FilterProcessor.php was not matched in reported errors.
|
|
Run PHPStan:
src/Common/SortUtil.php#L22
Parameter #1 $sort of static method ipl\Orm\Common\SortUtil::splitColumnAndDirection() expects string, mixed given.
|
|
Run PHPStan:
src/ColumnDefinition.php#L76
Parameter #1 $label of method ipl\Orm\ColumnDefinition::setLabel() expects string|null, mixed given.
|
|
Run PHPStan:
src/Behaviors.php#L0
Ignored error pattern #^Method ipl\\Orm\\Behaviors\:\:retrieve\(\) has no return type specified\.$# (missingType.return) in path /home/runner/work/ipl-orm/ipl-orm/src/Behaviors.php was not matched in reported errors.
|
|
Run PHPStan:
src/Behaviors.php#L0
Ignored error pattern #^Method ipl\\Orm\\Behaviors\:\:persist\(\) has no return type specified\.$# (missingType.return) in path /home/runner/work/ipl-orm/ipl-orm/src/Behaviors.php was not matched in reported errors.
|
|
Run PHPStan:
src/Behaviors.php#L0
Ignored error pattern #^Method ipl\\Orm\\Behaviors\:\:add\(\) has no return type specified\.$# (missingType.return) in path /home/runner/work/ipl-orm/ipl-orm/src/Behaviors.php was not matched in reported errors.
|
|
Run PHPStan:
src/Behavior/MillisecondTimestamp.php#L19
Binary operation "/" between mixed and 1000.0 results in an error.
|
|
Run PHPStan:
src/Behavior/Binary.php#L80
Possibly invalid array key type mixed.
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
Loading