create unit test and refactor some files #15
Annotations
10 errors and 3 warnings
phpstan:
dev-tools/ClassAccessUtils.php#L69
Property class@anonymous/dev-tools/ClassAccessUtils.php:66::$options type has no value type specified in iterable type array.
|
phpstan:
dev-tools/ClassAccessUtils.php#L76
Method class@anonymous/dev-tools/ClassAccessUtils.php:66::option() has no return type specified.
|
phpstan:
dev-tools/ClassAccessUtils.php#L81
Method class@anonymous/dev-tools/ClassAccessUtils.php:66::setOptions() has parameter $options with no value type specified in iterable type array.
|
phpstan:
dev-tools/ClassAccessUtils.php#L98
Property class@anonymous/dev-tools/ClassAccessUtils.php:95::$options type has no value type specified in iterable type array.
|
phpstan:
dev-tools/ClassAccessUtils.php#L105
Method class@anonymous/dev-tools/ClassAccessUtils.php:95::option() has no return type specified.
|
phpstan:
dev-tools/ClassAccessUtils.php#L110
Method class@anonymous/dev-tools/ClassAccessUtils.php:95::setOptions() has parameter $options with no value type specified in iterable type array.
|
phpstan:
dev-tools/ClassAccessUtils.php#L122
Method class@anonymous/dev-tools/ClassAccessUtils.php:119::authorize() has no return type specified.
|
phpstan:
dev-tools/ClassAccessUtils.php#L127
Method class@anonymous/dev-tools/ClassAccessUtils.php:119::rules() return type has no value type specified in iterable type array.
|
phpstan:
src/Handlers/BindingServices.php#L21
Parameter #1 $config of method Oscabrera\ModelRepository\Handlers\BindingServices::formatConfigFile() expects array{interfaces: array<string, array{interface: string, implementation: string}>}, array given.
|
phpstan:
src/Handlers/BindingServices.php#L46
Method Oscabrera\ModelRepository\Handlers\BindingServices::getConfigFile() return type has no value type specified in iterable type array.
|
phpstan
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
phpstan
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
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|