Skip to content

fix(phpstan): use original expression string in assert_return() dynamic return type extension #140

fix(phpstan): use original expression string in assert_return() dynamic return type extension

fix(phpstan): use original expression string in assert_return() dynamic return type extension #140

Triggered via pull request May 22, 2024 15:43
@simPodsimPod
opened #50
expr
Status Failure
Total duration 23s
Artifacts

coding-standards.yml

on: pull_request
Coding Standards
14s
Coding Standards
Composer Normalize
11s
Composer Normalize
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 10 warnings
Coding Standards: phpstan/AssertReturnDynamicFunctionReturnTypeExtension.php#L9
Use statements should be sorted alphabetically. The first wrong one is PHPStan\Analyser\Scope.
Coding Standards: phpstan/AssertReturnDynamicFunctionReturnTypeExtension.php#L28
Function closing brace must go on the next line following the body; found 1 blank lines before brace
Coding Standards: phpstan/AssertReturnDynamicFunctionReturnTypeExtension.php#L28
Expected 1 blank line after function; 0 found
Coding Standards: phpstan/AssertReturnDynamicFunctionReturnTypeExtension.php#L51
Expected 1 line before "return", found 0.
Coding Standards
Process completed with exit code 1.
Composer Normalize
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: ramsey/composer-install@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Composer Normalize
The following actions uses node12 which is deprecated and will be forced to run on node16: ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Composer Normalize
The `save-state` 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/
Composer Normalize
The `save-state` 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/
Composer Normalize
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/
Coding Standards
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: ramsey/composer-install@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Coding Standards
The following actions uses node12 which is deprecated and will be forced to run on node16: ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Coding Standards
The `save-state` 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/
Coding Standards
The `save-state` 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/
Coding Standards
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/