Skip to content

5.x phpstan 7

5.x phpstan 7 #527

Triggered via pull request March 2, 2024 21:04
Status Failure
Total duration 1m 7s
Artifacts

ci.yml

on: pull_request
cs-stan  /  Coding Standard & Static Analysis
46s
cs-stan / Coding Standard & Static Analysis
Matrix: testsuite / testsuite-linux
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 6 warnings
RiskyTruthyFalsyComparison: src/Controller/MailPreviewController.php#L284
src/Controller/MailPreviewController.php:284:13: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RedundantCast: src/DebugInclude.php#L85
src/DebugInclude.php:85:42: RedundantCast: Redundant cast to string (see https://psalm.dev/262)
UnsafeInstantiation: src/Mailer/Transport/DebugKitTransport.php#L60
src/Mailer/Transport/DebugKitTransport.php:60:40: UnsafeInstantiation: Cannot safely instantiate class Cake\Mailer\AbstractTransport with "new $class_name" as its constructor might change in child classes (see https://psalm.dev/229)
UnusedBaselineEntry: src/Mailer/Transport/DebugKitTransport.php#L1
src/Mailer/Transport/DebugKitTransport.php:0:0: UnusedBaselineEntry: Baseline for issue "PropertyTypeCoercion" has 1 extra entry. (see https://psalm.dev/316)
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 2.
testsuite / testsuite-linux (8.3, sqlite, highest, false)
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/.
testsuite / testsuite-linux (8.1, pgsql, highest, false)
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/.
testsuite / testsuite-linux (8.1, sqlite, lowest, false)
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/.
testsuite / testsuite-linux (8.2, mysql, false)
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/.
cs-stan / Coding Standard & Static Analysis
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/.
testsuite / testsuite-linux (8.1, mysql, highest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.