5.x phpstan 7 #527
ci.yml
on: pull_request
cs-stan
/
Coding Standard & Static Analysis
46s
Matrix: testsuite / testsuite-linux
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/.
|