Skip to content

Add validation for pull requests (phpstan + php-cs) (#107) #169

Add validation for pull requests (phpstan + php-cs) (#107)

Add validation for pull requests (phpstan + php-cs) (#107) #169

Triggered via push October 18, 2024 12:48
Status Cancelled
Total duration 1m 5s
Artifacts
Lint project
51s
Lint project
Validate .pubnub.yml
10s
Validate .pubnub.yml
Validations
0s
Validations
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
Lint project
The run was canceled by @github-actions[bot].
Lint project: src/PubNub/CryptoModule.php#L181
If condition is always false.
Lint project: src/PubNub/Models/Consumer/FileSharing/PNGetFileDownloadURLResult.php#L1
Ignored error pattern #^Method PubNub\\Models\\Consumer\\FileSharing\\PNGetFileDownloadURLResult\:\:__toString\(\) should return string but returns int\.$# in path /home/runner/work/php/php/src/PubNub/Models/Consumer/FileSharing/PNGetFileDownloadURLResult.php was not matched in reported errors.
Lint project: src/PubNub/Models/Consumer/FileSharing/PNGetFileDownloadURLResult.php#L16
Binary operation "%" between 'Get file URL…' and string results in an error.
Lint project
Process completed with exit code 1.
Validate .pubnub.yml
The following actions use a deprecated Node.js version and will be forced to run on node20: ./.github/.release/actions/actions/validators/pubnub-yml. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/