TL-40011: Adding in webkit-style transformation support #15
ci.yml
on: pull_request
Static analysis
29s
Coding styles
18s
Matrix: tests
Annotations
11 errors
Coding styles
Process completed with exit code 2.
|
Static analysis:
src/Compiler.php#L1
Ignored error pattern #^Parameter \#1 \$buffer of method ScssPhp\\ScssPhp\\Parser\:\:parse\(\) expects string, string\|false given\.$# in path /home/runner/work/scssphp/scssphp/src/Compiler.php was not matched in reported errors.
|
Static analysis:
src/Compiler.php#L5777
Parameter #2 $array of function implode expects array|null, array<string>|string given.
|
Static analysis:
src/Compiler.php#L5806
Parameter #1 $transforms of method ScssPhp\ScssPhp\Transforms\Transformer::applyTransformations() expects array<string>, array<string>|string given.
|
Static analysis:
src/Compiler.php#L6300
Strict comparison using === between mixed and null will always evaluate to false.
|
Static analysis:
src/Compiler.php#L10534
Property ScssPhp\ScssPhp\Compiler::$transformer (ScssPhp\ScssPhp\Transforms\Transformer) does not accept ScssPhp\ScssPhp\Transforms\Transformer|null.
|
Static analysis:
src/SourceMap/SourceMapConsumer.php#L74
Property ScssPhp\ScssPhp\SourceMap\SourceMapConsumer::$mappings type has no value type specified in iterable type array.
|
Static analysis:
src/SourceMap/SourceMapConsumer.php#L86
Access to an undefined property object::$sources.
|
Static analysis:
src/SourceMap/SourceMapConsumer.php#L89
Access to an undefined property object::$sourcesContent.
|
Static analysis:
src/SourceMap/SourceMapConsumer.php#L93
Access to an undefined property object::$mappings.
|
Static analysis:
src/SourceMap/SourceMapConsumer.php#L103
Method ScssPhp\ScssPhp\SourceMap\SourceMapConsumer::parseMappings() has no return type specified.
|