Skip to content

[QA] added phpstan dist config #6

[QA] added phpstan dist config

[QA] added phpstan dist config #6

Triggered via pull request March 21, 2024 06:59
Status Failure
Total duration 43s
Artifacts

static-analysis.yml

on: pull_request
Static Analysis with PHPStan
34s
Static Analysis with PHPStan
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
Static Analysis with PHPStan: lib/plugins/sfDoctrinePlugin/lib/mailer/Swift_DoctrineSpool.class.php#L72
Parameter #1 $message (Swift_Mime_Message) of method Swift_DoctrineSpool::queueMessage() is not contravariant with parameter #1 $message (Swift_Mime_SimpleMessage) of method Swift_Spool::queueMessage().
Static Analysis with PHPStan: lib/plugins/sfDoctrinePlugin/lib/mailer/Swift_DoctrineSpool.class.php#L72
Parameter $message of method Swift_DoctrineSpool::queueMessage() has invalid type Swift_Mime_Message.
Static Analysis with PHPStan
Process completed with exit code 1.
Static Analysis with PHPStan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.