Skip to content

Bump the phpstan group with 3 updates #814

Bump the phpstan group with 3 updates

Bump the phpstan group with 3 updates #814

Triggered via pull request January 8, 2024 21:51
Status Failure
Total duration 51s
Artifacts

ci.yaml

on: pull_request
Matrix: tests
Code Style
0s
Code Style
Code Coverage
0s
Code Coverage
Fit to window
Zoom out
Zoom in

Annotations

54 errors and 9 warnings
PHP 8.2: src/FileUploadControl/Storage/FileSystemStorageManager.php#L97
Using - over non-number (int - (int|false))
PHP 8.2: src/FileUploadControl/Storage/Metadata/FileUploadMetadata.php#L80
Calling sha1() is forbidden, use hash() with at least SHA-256 for secure hash, or password_hash() for passwords.
PHP 8.1 --prefer-stable --prefer-lowest: src/FileUploadControl/Storage/Metadata/FileUploadMetadata.php#L80
Calling sha1() is forbidden, use hash() with at least SHA-256 for secure hash, or password_hash() for passwords.
PHP 8.2
Internal error: Internal error: PHPStan\Analyser\NodeScopeResolver::processExprNode(): Argument #1 ($stmt) must be of type PhpParser\Node\Stmt, PhpParser\Node\Expr\StaticCall given, called in /home/runner/work/file-upload-control/file-upload-control/vendor/shipmonk/phpstan-rules/src/Rule/ForbidCheckedExceptionInCallableRule.php on line 212 while analysing file /home/runner/work/file-upload-control/file-upload-control/src/FileUploadControl/FileUploadControl.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHP 8.1 --prefer-stable --prefer-lowest
Internal error: Internal error: PHPStan\Analyser\NodeScopeResolver::processExprNode(): Argument #1 ($stmt) must be of type PhpParser\Node\Stmt, PhpParser\Node\Expr\StaticCall given, called in /home/runner/work/file-upload-control/file-upload-control/vendor/shipmonk/phpstan-rules/src/Rule/ForbidCheckedExceptionInCallableRule.php on line 217 while analysing file /home/runner/work/file-upload-control/file-upload-control/src/FileUploadControl/FileUploadControl.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHP 8.2
Internal error: Internal error: PHPStan\Analyser\NodeScopeResolver::processExprNode(): Argument #1 ($stmt) must be of type PhpParser\Node\Stmt, PhpParser\Node\Expr\Assign given, called in /home/runner/work/file-upload-control/file-upload-control/vendor/shipmonk/phpstan-rules/src/Rule/ForbidCheckedExceptionInCallableRule.php on line 212 while analysing file /home/runner/work/file-upload-control/file-upload-control/src/Bridges/FileUploadControlForms/ExtensionMethodRegistrator.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHP 8.1 --prefer-stable --prefer-lowest
Internal error: Internal error: PHPStan\Analyser\NodeScopeResolver::processExprNode(): Argument #1 ($stmt) must be of type PhpParser\Node\Stmt, PhpParser\Node\Expr\Assign given, called in /home/runner/work/file-upload-control/file-upload-control/vendor/shipmonk/phpstan-rules/src/Rule/ForbidCheckedExceptionInCallableRule.php on line 217 while analysing file /home/runner/work/file-upload-control/file-upload-control/src/Bridges/FileUploadControlForms/ExtensionMethodRegistrator.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHP 8.2
<error>Child process error</error> (exit code 1):
PHP 8.1 --prefer-stable --prefer-lowest
<error>Child process error</error> (exit code 1):
PHP 8.1 --prefer-stable --prefer-lowest
Process completed with exit code 1.
PHP 8.2
Process completed with exit code 1.
PHP 8.1: src/FileUploadControl/Storage/FileSystemStorageManager.php#L97
Using - over non-number (int - (int|false))
PHP 8.1: src/FileUploadControl/Storage/Metadata/FileUploadMetadata.php#L80
Calling sha1() is forbidden, use hash() with at least SHA-256 for secure hash, or password_hash() for passwords.
PHP 8.1
Internal error: Internal error: PHPStan\Analyser\NodeScopeResolver::processExprNode(): Argument #1 ($stmt) must be of type PhpParser\Node\Stmt, PhpParser\Node\Expr\StaticCall given, called in /home/runner/work/file-upload-control/file-upload-control/vendor/shipmonk/phpstan-rules/src/Rule/ForbidCheckedExceptionInCallableRule.php on line 217 while analysing file /home/runner/work/file-upload-control/file-upload-control/src/FileUploadControl/FileUploadControl.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHP 8.1
Internal error: Internal error: PHPStan\Analyser\NodeScopeResolver::processExprNode(): Argument #1 ($stmt) must be of type PhpParser\Node\Stmt, PhpParser\Node\Expr\Assign given, called in /home/runner/work/file-upload-control/file-upload-control/vendor/shipmonk/phpstan-rules/src/Rule/ForbidCheckedExceptionInCallableRule.php on line 217 while analysing file /home/runner/work/file-upload-control/file-upload-control/src/Bridges/FileUploadControlForms/ExtensionMethodRegistrator.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHP 8.1
<error>Child process error</error> (exit code 1):
PHP 8.1
Process completed with exit code 1.
PHP 8.1 --prefer-stable: src/FileUploadControl/Storage/FileSystemStorageManager.php#L97
Using - over non-number (int - (int|false))
PHP 8.1 --prefer-stable: src/FileUploadControl/Storage/Metadata/FileUploadMetadata.php#L80
Calling sha1() is forbidden, use hash() with at least SHA-256 for secure hash, or password_hash() for passwords.
PHP 8.1 --prefer-stable
Internal error: Internal error: PHPStan\Analyser\NodeScopeResolver::processExprNode(): Argument #1 ($stmt) must be of type PhpParser\Node\Stmt, PhpParser\Node\Expr\StaticCall given, called in /home/runner/work/file-upload-control/file-upload-control/vendor/shipmonk/phpstan-rules/src/Rule/ForbidCheckedExceptionInCallableRule.php on line 217 while analysing file /home/runner/work/file-upload-control/file-upload-control/src/FileUploadControl/FileUploadControl.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHP 8.1 --prefer-stable
Internal error: Internal error: PHPStan\Analyser\NodeScopeResolver::processExprNode(): Argument #1 ($stmt) must be of type PhpParser\Node\Stmt, PhpParser\Node\Expr\Assign given, called in /home/runner/work/file-upload-control/file-upload-control/vendor/shipmonk/phpstan-rules/src/Rule/ForbidCheckedExceptionInCallableRule.php on line 217 while analysing file /home/runner/work/file-upload-control/file-upload-control/src/Bridges/FileUploadControlForms/ExtensionMethodRegistrator.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHP 8.1 --prefer-stable
<error>Child process error</error> (exit code 1):
PHP 8.1 --prefer-stable
Process completed with exit code 1.
PHP 8.3: src/FileUploadControl/Storage/FileSystemStorageManager.php#L97
Using - over non-number (int - (int|false))
PHP 8.3: src/FileUploadControl/Storage/Metadata/FileUploadMetadata.php#L80
Calling sha1() is forbidden, use hash() with at least SHA-256 for secure hash, or password_hash() for passwords.
PHP 8.3
Internal error: Internal error: PHPStan\Analyser\NodeScopeResolver::processExprNode(): Argument #1 ($stmt) must be of type PhpParser\Node\Stmt, PhpParser\Node\Expr\StaticCall given, called in /home/runner/work/file-upload-control/file-upload-control/vendor/shipmonk/phpstan-rules/src/Rule/ForbidCheckedExceptionInCallableRule.php on line 212 while analysing file /home/runner/work/file-upload-control/file-upload-control/src/FileUploadControl/FileUploadControl.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHP 8.3
Internal error: Internal error: PHPStan\Analyser\NodeScopeResolver::processExprNode(): Argument #1 ($stmt) must be of type PhpParser\Node\Stmt, PhpParser\Node\Expr\Assign given, called in /home/runner/work/file-upload-control/file-upload-control/vendor/shipmonk/phpstan-rules/src/Rule/ForbidCheckedExceptionInCallableRule.php on line 212 while analysing file /home/runner/work/file-upload-control/file-upload-control/src/Bridges/FileUploadControlForms/ExtensionMethodRegistrator.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHP 8.3
<error>Child process error</error> (exit code 1):
PHP 8.3
Process completed with exit code 1.
PHP 8.2 --prefer-stable: src/FileUploadControl/Storage/FileSystemStorageManager.php#L97
Using - over non-number (int - (int|false))
PHP 8.2 --prefer-stable: src/FileUploadControl/Storage/Metadata/FileUploadMetadata.php#L80
Calling sha1() is forbidden, use hash() with at least SHA-256 for secure hash, or password_hash() for passwords.
PHP 8.2 --prefer-stable
Internal error: Internal error: PHPStan\Analyser\NodeScopeResolver::processExprNode(): Argument #1 ($stmt) must be of type PhpParser\Node\Stmt, PhpParser\Node\Expr\StaticCall given, called in /home/runner/work/file-upload-control/file-upload-control/vendor/shipmonk/phpstan-rules/src/Rule/ForbidCheckedExceptionInCallableRule.php on line 212 while analysing file /home/runner/work/file-upload-control/file-upload-control/src/FileUploadControl/FileUploadControl.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHP 8.2 --prefer-stable
Internal error: Internal error: PHPStan\Analyser\NodeScopeResolver::processExprNode(): Argument #1 ($stmt) must be of type PhpParser\Node\Stmt, PhpParser\Node\Expr\Assign given, called in /home/runner/work/file-upload-control/file-upload-control/vendor/shipmonk/phpstan-rules/src/Rule/ForbidCheckedExceptionInCallableRule.php on line 212 while analysing file /home/runner/work/file-upload-control/file-upload-control/src/Bridges/FileUploadControlForms/ExtensionMethodRegistrator.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHP 8.2 --prefer-stable
<error>Child process error</error> (exit code 1):
PHP 8.2 --prefer-stable
Process completed with exit code 1.
PHP 8.3 --prefer-stable: src/FileUploadControl/Storage/FileSystemStorageManager.php#L97
Using - over non-number (int - (int|false))
PHP 8.3 --prefer-stable: src/FileUploadControl/Storage/Metadata/FileUploadMetadata.php#L80
Calling sha1() is forbidden, use hash() with at least SHA-256 for secure hash, or password_hash() for passwords.
PHP 8.3 --prefer-stable
Internal error: Internal error: PHPStan\Analyser\NodeScopeResolver::processExprNode(): Argument #1 ($stmt) must be of type PhpParser\Node\Stmt, PhpParser\Node\Expr\StaticCall given, called in /home/runner/work/file-upload-control/file-upload-control/vendor/shipmonk/phpstan-rules/src/Rule/ForbidCheckedExceptionInCallableRule.php on line 212 while analysing file /home/runner/work/file-upload-control/file-upload-control/src/FileUploadControl/FileUploadControl.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHP 8.3 --prefer-stable
Internal error: Internal error: PHPStan\Analyser\NodeScopeResolver::processExprNode(): Argument #1 ($stmt) must be of type PhpParser\Node\Stmt, PhpParser\Node\Expr\Assign given, called in /home/runner/work/file-upload-control/file-upload-control/vendor/shipmonk/phpstan-rules/src/Rule/ForbidCheckedExceptionInCallableRule.php on line 212 while analysing file /home/runner/work/file-upload-control/file-upload-control/src/Bridges/FileUploadControlForms/ExtensionMethodRegistrator.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHP 8.3 --prefer-stable
<error>Child process error</error> (exit code 1):
PHP 8.3 --prefer-stable
Process completed with exit code 1.
PHP 8.2 --prefer-stable --prefer-lowest: src/FileUploadControl/Storage/Metadata/FileUploadMetadata.php#L80
Calling sha1() is forbidden, use hash() with at least SHA-256 for secure hash, or password_hash() for passwords.
PHP 8.2 --prefer-stable --prefer-lowest
Internal error: Internal error: PHPStan\Analyser\NodeScopeResolver::processExprNode(): Argument #1 ($stmt) must be of type PhpParser\Node\Stmt, PhpParser\Node\Expr\StaticCall given, called in /home/runner/work/file-upload-control/file-upload-control/vendor/shipmonk/phpstan-rules/src/Rule/ForbidCheckedExceptionInCallableRule.php on line 212 while analysing file /home/runner/work/file-upload-control/file-upload-control/src/FileUploadControl/FileUploadControl.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHP 8.2 --prefer-stable --prefer-lowest
Internal error: Internal error: PHPStan\Analyser\NodeScopeResolver::processExprNode(): Argument #1 ($stmt) must be of type PhpParser\Node\Stmt, PhpParser\Node\Expr\Assign given, called in /home/runner/work/file-upload-control/file-upload-control/vendor/shipmonk/phpstan-rules/src/Rule/ForbidCheckedExceptionInCallableRule.php on line 212 while analysing file /home/runner/work/file-upload-control/file-upload-control/src/Bridges/FileUploadControlForms/ExtensionMethodRegistrator.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHP 8.2 --prefer-stable --prefer-lowest
<error>Child process error</error> (exit code 1):
PHP 8.2 --prefer-stable --prefer-lowest
Process completed with exit code 1.
PHP 8.3 --prefer-stable --prefer-lowest: src/FileUploadControl/Storage/Metadata/FileUploadMetadata.php#L80
Calling sha1() is forbidden, use hash() with at least SHA-256 for secure hash, or password_hash() for passwords.
PHP 8.3 --prefer-stable --prefer-lowest
Internal error: Internal error: PHPStan\Analyser\NodeScopeResolver::processExprNode(): Argument #1 ($stmt) must be of type PhpParser\Node\Stmt, PhpParser\Node\Expr\StaticCall given, called in /home/runner/work/file-upload-control/file-upload-control/vendor/shipmonk/phpstan-rules/src/Rule/ForbidCheckedExceptionInCallableRule.php on line 212 while analysing file /home/runner/work/file-upload-control/file-upload-control/src/FileUploadControl/FileUploadControl.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHP 8.3 --prefer-stable --prefer-lowest
Internal error: Internal error: PHPStan\Analyser\NodeScopeResolver::processExprNode(): Argument #1 ($stmt) must be of type PhpParser\Node\Stmt, PhpParser\Node\Expr\Assign given, called in /home/runner/work/file-upload-control/file-upload-control/vendor/shipmonk/phpstan-rules/src/Rule/ForbidCheckedExceptionInCallableRule.php on line 212 while analysing file /home/runner/work/file-upload-control/file-upload-control/src/Bridges/FileUploadControlForms/ExtensionMethodRegistrator.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHP 8.3 --prefer-stable --prefer-lowest
<error>Child process error</error> (exit code 1):
PHP 8.3 --prefer-stable --prefer-lowest
Process completed with exit code 1.
PHP 8.2
No files were found with the provided path: tests/**/output. No artifacts will be uploaded.
PHP 8.1 --prefer-stable --prefer-lowest
No files were found with the provided path: tests/**/output. No artifacts will be uploaded.
PHP 8.1
No files were found with the provided path: tests/**/output. No artifacts will be uploaded.
PHP 8.1 --prefer-stable
No files were found with the provided path: tests/**/output. No artifacts will be uploaded.
PHP 8.3
No files were found with the provided path: tests/**/output. No artifacts will be uploaded.
PHP 8.2 --prefer-stable
No files were found with the provided path: tests/**/output. No artifacts will be uploaded.
PHP 8.3 --prefer-stable
No files were found with the provided path: tests/**/output. No artifacts will be uploaded.
PHP 8.2 --prefer-stable --prefer-lowest
No files were found with the provided path: tests/**/output. No artifacts will be uploaded.
PHP 8.3 --prefer-stable --prefer-lowest
No files were found with the provided path: tests/**/output. No artifacts will be uploaded.