Fixes/validation #45
php.yml
on: pull_request
Matrix: install
Matrix: php-cs-fixer
Matrix: phpstan
Matrix: test
Annotations
9 errors and 4 warnings
phpstan (5.4, 8.1):
src/Service/Type/Coercer/BoolCoercer.php#L26
Return type (DualMedia\DtoRequestBundle\Model\Type\CoerceResult) of method DualMedia\DtoRequestBundle\Service\Type\Coercer\BoolCoercer::coerce() should be compatible with return type (bool|null) of method DualMedia\DtoRequestBundle\Interfaces\Type\CoercerInterface<bool|null>::coerce()
|
phpstan (5.4, 8.1):
src/Service/Type/Coercer/DateTimeImmutableCoercer.php#L36
Return type (DualMedia\DtoRequestBundle\Model\Type\CoerceResult) of method DualMedia\DtoRequestBundle\Service\Type\Coercer\DateTimeImmutableCoercer::coerce() should be compatible with return type (DateTimeImmutable|null) of method DualMedia\DtoRequestBundle\Interfaces\Type\CoercerInterface<DateTimeImmutable|null>::coerce()
|
phpstan (5.4, 8.1):
src/Service/Type/Coercer/FloatCoercer.php#L26
Return type (DualMedia\DtoRequestBundle\Model\Type\CoerceResult) of method DualMedia\DtoRequestBundle\Service\Type\Coercer\FloatCoercer::coerce() should be compatible with return type (float|null) of method DualMedia\DtoRequestBundle\Interfaces\Type\CoercerInterface<float|null>::coerce()
|
phpstan (5.4, 8.1):
src/Service/Type/Coercer/IntCoercer.php#L26
Return type (DualMedia\DtoRequestBundle\Model\Type\CoerceResult) of method DualMedia\DtoRequestBundle\Service\Type\Coercer\IntCoercer::coerce() should be compatible with return type (int|null) of method DualMedia\DtoRequestBundle\Interfaces\Type\CoercerInterface<int|null>::coerce()
|
phpstan (5.4, 8.1):
src/Service/Type/Coercer/StringCoercer.php#L31
Return type (DualMedia\DtoRequestBundle\Model\Type\CoerceResult) of method DualMedia\DtoRequestBundle\Service\Type\Coercer\StringCoercer::coerce() should be compatible with return type (string|null) of method DualMedia\DtoRequestBundle\Interfaces\Type\CoercerInterface<string|null>::coerce()
|
phpstan (5.4, 8.1):
src/Service/Type/Coercer/UploadedFileCoercer.php#L30
Return type (DualMedia\DtoRequestBundle\Model\Type\CoerceResult) of method DualMedia\DtoRequestBundle\Service\Type\Coercer\UploadedFileCoercer::coerce() should be compatible with return type (Symfony\Component\HttpFoundation\File\UploadedFile|null) of method DualMedia\DtoRequestBundle\Interfaces\Type\CoercerInterface<Symfony\Component\HttpFoundation\File\UploadedFile|null>::coerce()
|
phpstan (5.4, 8.1):
src/Service/Type/CoercerService.php#L86
Method DualMedia\DtoRequestBundle\Service\Type\CoercerService::coerce() should return DualMedia\DtoRequestBundle\Model\Type\CoerceResult<T>|null but returns T.
|
phpstan (5.4, 8.1)
Process completed with exit code 1.
|
php-cs-fixer (5.4, 8.1)
Process completed with exit code 8.
|
install (5.4, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
install (6.2, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
phpstan (5.4, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
php-cs-fixer (5.4, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|