Code Style #17
php-qa.yml
on: push
coding-standards-analysis-php
/
coding-standards-php
24s
static-code-analysis-php
/
static-analysis-php
27s
Matrix: lint-php
Matrix: tests-unit-php
Annotations
10 errors and 6 warnings
RiskyTruthyFalsyComparison:
src/AssetFactory.php#L93
src/AssetFactory.php:93:13: RiskyTruthyFalsyComparison: Operand of type mixed|true contains type mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/AssetManager.php#L261
src/AssetManager.php:261:13: RiskyTruthyFalsyComparison: Operand of type int|null 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:
src/AssetManager.php#L317
src/AssetManager.php:317: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)
|
MissingReturnType:
src/AssetManager.php#L327
src/AssetManager.php:327:21: MissingReturnType: Method Inpsyde\Assets\AssetManager::ignoreCache does not have a return type, expecting void (see https://psalm.dev/050)
|
MissingReturnType:
src/Caching/IgnoreCacheHandler.php#L13
src/Caching/IgnoreCacheHandler.php:13:21: MissingReturnType: Method Inpsyde\Assets\Caching\IgnoreCacheHandler::execute does not have a return type, expecting void (see https://psalm.dev/050)
|
RiskyTruthyFalsyComparison:
src/Loader/AbstractWebpackLoader.php#L72
src/Loader/AbstractWebpackLoader.php:72:17: RiskyTruthyFalsyComparison: Operand of type false|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:
src/Loader/AbstractWebpackLoader.php#L186
src/Loader/AbstractWebpackLoader.php:186:13: RiskyTruthyFalsyComparison: Operand of type false|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:
src/Loader/AbstractWebpackLoader.php#L190
src/Loader/AbstractWebpackLoader.php:190:13: RiskyTruthyFalsyComparison: Operand of type false|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:
src/Loader/AbstractWebpackLoader.php#L194
src/Loader/AbstractWebpackLoader.php:194:13: RiskyTruthyFalsyComparison: Operand of type false|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:
src/Loader/AbstractWebpackLoader.php#L198
src/Loader/AbstractWebpackLoader.php:198:13: RiskyTruthyFalsyComparison: Operand of type false|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)
|
tests-unit-php (7.4)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
tests-unit-php (8.2)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
tests-unit-php (7.2)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
tests-unit-php (8.1)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
tests-unit-php (8.0)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
tests-unit-php (7.3)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|