Code Style #17
Annotations
10 errors
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
This job failed
Loading