Skip to content

chore(deps-dev): bump @typescript-eslint/eslint-plugin #115

chore(deps-dev): bump @typescript-eslint/eslint-plugin

chore(deps-dev): bump @typescript-eslint/eslint-plugin #115

Status Success
Total duration 19s
Artifacts

linter-php.yml

on: push
PHP_CodeSniffer
5s
PHP_CodeSniffer
Psalm
7s
Psalm
PHP_Mess_Detector
9s
PHP_Mess_Detector
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
MissingPropertyType: src/PhpSample.php#L8
src/PhpSample.php:8:13: MissingPropertyType: Property App\PhpAllSample::$_string does not have a declared type - consider string (see https://psalm.dev/045)
MissingReturnType: src/PhpSample.php#L13
src/PhpSample.php:13:21: MissingReturnType: Method App\PhpAllSample::bar does not have a return type, expecting non-empty-array<'ba'|'foo'|int, 0|1|mixed> (see https://psalm.dev/050)
UnusedVariable: src/PhpSample.php#L15
src/PhpSample.php:15:9: UnusedVariable: $oneLineArray is never referenced or the value is not used (see https://psalm.dev/077)
UnusedVariable: src/PhpSample.php#L16
src/PhpSample.php:16:9: UnusedVariable: $list is never referenced or the value is not used (see https://psalm.dev/077)
UnusedVariable: src/PhpSample.php#L26
src/PhpSample.php:26:9: UnusedVariable: $unusedCode is never referenced or the value is not used (see https://psalm.dev/077)
MixedAssignment: src/PhpSample.php#L27
src/PhpSample.php:27:9: MixedAssignment: Unable to determine the type of this assignment (see https://psalm.dev/032)
UndefinedVariable: src/PhpSample.php#L27
src/PhpSample.php:27:20: UndefinedVariable: Cannot find referenced variable $undefinedVariable (see https://psalm.dev/024)
ForbiddenCode: src/PhpSample.php#L37
src/PhpSample.php:37:9: ForbiddenCode: Unsafe var_dump (see https://psalm.dev/002)
MissingReturnType: src/PhpSample.php#L46
src/PhpSample.php:46:14: MissingReturnType: Method App\PhpAllSample::foo_Bar does not have a return type, expecting stdClass (see https://psalm.dev/050)
UnusedVariable: src/PhpSample.php#L47
src/PhpSample.php:47:9: UnusedVariable: $file is never referenced or the value is not used (see https://psalm.dev/077)
Psalm
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP_CodeSniffer
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP_Mess_Detector
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP_Mess_Detector: src/PhpSample.php#L30
The method bar() contains an exit expression.
PHP_Mess_Detector: src/PhpSample.php#L34
The method bar() contains an exit expression.
PHP_Mess_Detector: src/PhpSample.php#L37
The method PhpAllSample::bar() calls the typical debug function var_dump() which is mostly only used during development.
PHP_Mess_Detector: src/PhpSample.php#L46
Avoid unused parameters such as '$integer'.
PHP_Mess_Detector: src/PhpSample.php#L46
Avoid unused parameters such as '$str'.
PHP_Mess_Detector: src/PhpSample.php#L46
Avoid unused parameters such as '$arr'.
PHP_Mess_Detector: src/PhpSample.php#L49
Missing class import via use statement (line '49', column '20').
PHP_Mess_Detector: src/PhpSample.php#L53
Avoid unused private methods such as '_fooBar'.