PHP templates-specific sniffs #50
quality-assurance-php.yml
on: pull_request
coding-standards-analysis-php
/
coding-standards-php
20s
Matrix: lint-php
Matrix: static-code-analysis-php
Matrix: tests-unit-php
Annotations
32 errors and 8 warnings
RedundantCastGivenDocblockType:
Inpsyde/Helpers/Boundaries.php#L94
Inpsyde/Helpers/Boundaries.php:94:17: RedundantCastGivenDocblockType: Redundant cast to int given docblock-provided type (see https://psalm.dev/263)
|
RedundantCastGivenDocblockType:
Inpsyde/Helpers/Boundaries.php#L94
Inpsyde/Helpers/Boundaries.php:94:44: RedundantCastGivenDocblockType: Redundant cast to int given docblock-provided type (see https://psalm.dev/263)
|
RiskyTruthyFalsyComparison:
Inpsyde/Helpers/Boundaries.php#L108
Inpsyde/Helpers/Boundaries.php:108:17: RiskyTruthyFalsyComparison: Operand of type false|int contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
Inpsyde/Helpers/FunctionDocBlock.php#L65
Inpsyde/Helpers/FunctionDocBlock.php:65:13: RiskyTruthyFalsyComparison: Operand of type false|int contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
TypeDoesNotContainType:
Inpsyde/Helpers/FunctionDocBlock.php#L104
Inpsyde/Helpers/FunctionDocBlock.php:104:13: TypeDoesNotContainType: Operand of type false is always falsy (see https://psalm.dev/056)
|
RiskyTruthyFalsyComparison:
Inpsyde/Helpers/FunctionDocBlock.php#L150
Inpsyde/Helpers/FunctionDocBlock.php:150:18: 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)
|
RiskyTruthyFalsyComparison:
Inpsyde/Helpers/FunctionDocBlock.php#L150
Inpsyde/Helpers/FunctionDocBlock.php:150:43: 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)
|
RiskyTruthyFalsyComparison:
Inpsyde/Helpers/FunctionReturnStatement.php#L130
Inpsyde/Helpers/FunctionReturnStatement.php:130:17: RiskyTruthyFalsyComparison: Operand of type false|int contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
Inpsyde/Helpers/Functions.php#L62
Inpsyde/Helpers/Functions.php:62:13: RiskyTruthyFalsyComparison: Operand of type false|int contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
Inpsyde/Helpers/Functions.php#L69
Inpsyde/Helpers/Functions.php:69:13: RiskyTruthyFalsyComparison: Operand of type false|int contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
static-code-analysis-php (7.4) / static-analysis-php
FailFast: cancelling since parallel instance has failed
|
static-code-analysis-php (7.4) / static-analysis-php
The operation was canceled.
|
RedundantCastGivenDocblockType:
Inpsyde/Helpers/Boundaries.php#L94
Inpsyde/Helpers/Boundaries.php:94:17: RedundantCastGivenDocblockType: Redundant cast to int given docblock-provided type (see https://psalm.dev/263)
|
RedundantCastGivenDocblockType:
Inpsyde/Helpers/Boundaries.php#L94
Inpsyde/Helpers/Boundaries.php:94:44: RedundantCastGivenDocblockType: Redundant cast to int given docblock-provided type (see https://psalm.dev/263)
|
RiskyTruthyFalsyComparison:
Inpsyde/Helpers/Boundaries.php#L108
Inpsyde/Helpers/Boundaries.php:108:17: RiskyTruthyFalsyComparison: Operand of type false|int contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
Inpsyde/Helpers/FunctionDocBlock.php#L65
Inpsyde/Helpers/FunctionDocBlock.php:65:13: RiskyTruthyFalsyComparison: Operand of type false|int contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
TypeDoesNotContainType:
Inpsyde/Helpers/FunctionDocBlock.php#L104
Inpsyde/Helpers/FunctionDocBlock.php:104:13: TypeDoesNotContainType: Operand of type false is always falsy (see https://psalm.dev/056)
|
RiskyTruthyFalsyComparison:
Inpsyde/Helpers/FunctionDocBlock.php#L150
Inpsyde/Helpers/FunctionDocBlock.php:150:18: 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)
|
RiskyTruthyFalsyComparison:
Inpsyde/Helpers/FunctionDocBlock.php#L150
Inpsyde/Helpers/FunctionDocBlock.php:150:43: 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)
|
RiskyTruthyFalsyComparison:
Inpsyde/Helpers/FunctionReturnStatement.php#L130
Inpsyde/Helpers/FunctionReturnStatement.php:130:17: RiskyTruthyFalsyComparison: Operand of type false|int contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
Inpsyde/Helpers/Functions.php#L62
Inpsyde/Helpers/Functions.php:62:13: RiskyTruthyFalsyComparison: Operand of type false|int contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
Inpsyde/Helpers/Functions.php#L69
Inpsyde/Helpers/Functions.php:69:13: RiskyTruthyFalsyComparison: Operand of type false|int contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RedundantCastGivenDocblockType:
Inpsyde/Helpers/Boundaries.php#L94
Inpsyde/Helpers/Boundaries.php:94:17: RedundantCastGivenDocblockType: Redundant cast to int given docblock-provided type (see https://psalm.dev/263)
|
RedundantCastGivenDocblockType:
Inpsyde/Helpers/Boundaries.php#L94
Inpsyde/Helpers/Boundaries.php:94:44: RedundantCastGivenDocblockType: Redundant cast to int given docblock-provided type (see https://psalm.dev/263)
|
RiskyTruthyFalsyComparison:
Inpsyde/Helpers/Boundaries.php#L108
Inpsyde/Helpers/Boundaries.php:108:17: RiskyTruthyFalsyComparison: Operand of type false|int contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
Inpsyde/Helpers/FunctionDocBlock.php#L65
Inpsyde/Helpers/FunctionDocBlock.php:65:13: RiskyTruthyFalsyComparison: Operand of type false|int contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
TypeDoesNotContainType:
Inpsyde/Helpers/FunctionDocBlock.php#L104
Inpsyde/Helpers/FunctionDocBlock.php:104:13: TypeDoesNotContainType: Operand of type false is always falsy (see https://psalm.dev/056)
|
RiskyTruthyFalsyComparison:
Inpsyde/Helpers/FunctionDocBlock.php#L150
Inpsyde/Helpers/FunctionDocBlock.php:150:18: 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)
|
RiskyTruthyFalsyComparison:
Inpsyde/Helpers/FunctionDocBlock.php#L150
Inpsyde/Helpers/FunctionDocBlock.php:150:43: 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)
|
RiskyTruthyFalsyComparison:
Inpsyde/Helpers/FunctionReturnStatement.php#L130
Inpsyde/Helpers/FunctionReturnStatement.php:130:17: RiskyTruthyFalsyComparison: Operand of type false|int contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
Inpsyde/Helpers/Functions.php#L62
Inpsyde/Helpers/Functions.php:62:13: RiskyTruthyFalsyComparison: Operand of type false|int contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
Inpsyde/Helpers/Functions.php#L69
Inpsyde/Helpers/Functions.php:69:13: RiskyTruthyFalsyComparison: Operand of type false|int contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
tests-unit-php (8.1) / tests-unit-php
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/.
|
tests-unit-php (8.0) / tests-unit-php
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/.
|
tests-unit-php (8.2) / tests-unit-php
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/.
|
static-code-analysis-php (8.0) / static-analysis-php
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/.
|
tests-unit-php (7.4) / tests-unit-php
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/.
|
coding-standards-analysis-php / coding-standards-php
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/.
|
static-code-analysis-php (8.2) / static-analysis-php
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/.
|
static-code-analysis-php (8.1) / static-analysis-php
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/.
|