replace preg_match by a custom expression #50
Annotations
10 errors and 2 warnings
cs-fixer
Process completed with exit code 8.
|
phpstan:
src/Capitalize.php#L35
Call to function is_string() with string will always evaluate to true.
|
phpstan:
src/CapitalizeWords.php#L35
Call to function is_string() with string will always evaluate to true.
|
phpstan:
src/StringExpressionLanguageProvider.php#L14
Method Kiboko\Component\StringExpressionLanguage\StringExpressionLanguageProvider::getFunctions() should return array<Symfony\Component\ExpressionLanguage\ExpressionFunction> but returns array<int, Kiboko\Component\StringExpressionLanguage\TestPattern|Symfony\Component\ExpressionLanguage\ExpressionFunction>.
|
phpstan:
src/TestPattern.php#L9
Kiboko\Component\StringExpressionLanguage\TestPattern::__construct() calls parent::__construct() but Kiboko\Component\StringExpressionLanguage\TestPattern does not extend any class.
|
phpstan:
src/TestPattern.php#L18
Method Kiboko\Component\StringExpressionLanguage\TestPattern::compile() should return bool but returns string.
|
phpstan:
src/ToLowerCase.php#L35
Call to function is_string() with string will always evaluate to true.
|
phpstan:
src/ToUpperCase.php#L35
Call to function is_string() with string will always evaluate to true.
|
phpstan:
src/TruncateFileName.php#L37
Call to function is_string() with string will always evaluate to true.
|
phpstan
Process completed with exit code 1.
|
cs-fixer
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
phpstan
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|