Skip to content

fix(deps): update symfony packages to v7.2.0 #73

fix(deps): update symfony packages to v7.2.0

fix(deps): update symfony packages to v7.2.0 #73

Triggered via pull request November 29, 2024 10:56
Status Failure
Total duration 48s
Artifacts

static-analysis.yml

on: pull_request
Matrix: phpstan
Matrix: psalm
Fit to window
Zoom out
Zoom in

Annotations

5 errors
phpstan (ubuntu-latest, 8.2, locked): src/Normalizers/RamseyUuidNormalizer.php#L1
Ignored error pattern #^Parameter \#1 \$object \(Ramsey\\Uuid\\UuidInterface\) of method WayOfDev\\Serializer\\Normalizers\\RamseyUuidNormalizer\:\:normalize\(\) should be contravariant with parameter \$object \(mixed\) of method Symfony\\Component\\Serializer\\Normalizer\\NormalizerInterface\:\:normalize\(\)$# in path /home/runner/work/laravel-symfony-serializer/laravel-symfony-serializer/src/Normalizers/RamseyUuidNormalizer.php was not matched in reported errors.
phpstan (ubuntu-latest, 8.2, locked): src/Normalizers/RamseyUuidNormalizer.php#L27
Parameter #1 $object (Ramsey\Uuid\UuidInterface) of method WayOfDev\Serializer\Normalizers\RamseyUuidNormalizer::normalize() should be contravariant with parameter $data (mixed) of method Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize()
phpstan (ubuntu-latest, 8.2, locked)
Process completed with exit code 1.
ParamNameMismatch: src/Normalizers/RamseyUuidNormalizer.php#L27
src/Normalizers/RamseyUuidNormalizer.php:27:37: ParamNameMismatch: Argument 1 of WayOfDev\Serializer\Normalizers\RamseyUuidNormalizer::normalize has wrong name $object, expecting $data as defined by Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize (see https://psalm.dev/230)
psalm (ubuntu-latest, 8.2, locked)
Process completed with exit code 2.