Skip to content

chore(deps): updated dependencies #40

chore(deps): updated dependencies

chore(deps): updated dependencies #40

Triggered via push April 9, 2024 08:47
Status Failure
Total duration 30s
Artifacts

phpstan.yml

on: push
Static analysis
21s
Static analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Static analysis: src/Handler/DateHandler.php#L153
Parameter #1 $string of function substr expects string, array<int, string>|string given.
Static analysis: src/Handler/DateHandler.php#L154
Parameter #1 $string of function substr expects string, array<int, string>|string given.
Static analysis: src/Handler/DateHandler.php#L157
Method Kcs\Serializer\Handler\DateHandler::formatInterval() should return string but returns array<int, string>|string.
Static analysis: src/Metadata/Loader/DoctrinePHPCRTypeLoader.php#L41
Parameter #1 $type of method Kcs\Serializer\Metadata\Loader\AbstractDoctrineTypeLoader::normalizeFieldType() expects string, int|string given.
Static analysis: src/Metadata/Loader/XmlLoader.php#L223
No error to ignore is reported on line 223.
Static analysis: src/Metadata/Loader/XmlLoader.php#L226
No error to ignore is reported on line 226.
Static analysis: src/Naming/UnderscoreNamingStrategy.php#L19
Parameter #1 $string of function strtolower expects string, array<string>|string given.
Static analysis: src/Type/Parser/Lexer.php#L48
Method Kcs\Serializer\Type\Parser\Lexer::getType() has parameter $value with no type specified.
Static analysis: src/XmlDeserializationVisitor.php#L252
Parameter #1 $objectOrClass of class ReflectionEnum constructor expects class-string<T of UnitEnum>|T of UnitEnum, string given.
Static analysis: src/XmlDeserializationVisitor.php#L341
Method Kcs\Serializer\XmlDeserializationVisitor::getDomDocumentType() should return string but returns array<int, string>|string.
Static analysis
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/