Skip to content

Bring Project and CI Up-to-date #63

Bring Project and CI Up-to-date

Bring Project and CI Up-to-date #63

Triggered via pull request April 2, 2024 08:31
Status Failure
Total duration 35s
Artifacts

static-analysis.yaml

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

Annotations

10 errors and 2 warnings
phpstan (8.3): src/Doctrine/AbstractType.php#L41
Return type mixed of method Darsyn\IP\Doctrine\AbstractType::getSQLDeclaration() is not covariant with return type string of method Doctrine\DBAL\Types\Type::getSQLDeclaration().
phpstan (8.3): src/Doctrine/AbstractType.php#L51
Return type mixed of method Darsyn\IP\Doctrine\AbstractType::convertToPHPValue() is not covariant with return type mixed of method Doctrine\DBAL\Types\Type::convertToPHPValue().
phpstan (8.3): src/Doctrine/AbstractType.php#L74
Call to an undefined static method Doctrine\DBAL\Types\ConversionException::conversionFailed().
phpstan (8.3): src/Doctrine/AbstractType.php#L83
Return type mixed of method Darsyn\IP\Doctrine\AbstractType::convertToDatabaseValue() is not covariant with return type mixed of method Doctrine\DBAL\Types\Type::convertToDatabaseValue().
phpstan (8.3): src/Doctrine/AbstractType.php#L138
Return type mixed of method Darsyn\IP\Doctrine\AbstractType::getBindingType() is not covariant with return type Doctrine\DBAL\ParameterType of method Doctrine\DBAL\Types\Type::getBindingType().
phpstan (8.3): tests/Doctrine/IPv4TypeTest.php#L43
Property Darsyn\IP\Tests\Doctrine\IPv4TypeTest::$platform (Doctrine\DBAL\Platforms\AbstractPlatform) does not accept Darsyn\IP\Tests\Doctrine\TestPlatform.
phpstan (8.3): tests/Doctrine/IPv6TypeTest.php#L43
Property Darsyn\IP\Tests\Doctrine\IPv6TypeTest::$platform (Doctrine\DBAL\Platforms\AbstractPlatform) does not accept Darsyn\IP\Tests\Doctrine\TestPlatform.
phpstan (8.3): tests/Doctrine/MultiTypeTest.php#L43
Property Darsyn\IP\Tests\Doctrine\MultiTypeTest::$platform (Doctrine\DBAL\Platforms\AbstractPlatform) does not accept Darsyn\IP\Tests\Doctrine\TestPlatform.
phpstan (8.3): tests/Doctrine/TestPlatform.php#L7
Class Darsyn\IP\Tests\Doctrine\TestPlatform extends unknown class Doctrine\DBAL\Platforms\MySqlPlatform.
phpstan (8.3): tests/Doctrine/TestPlatform.php#L9
Method Darsyn\IP\Tests\Doctrine\TestPlatform::getBinaryTypeDeclarationSQL() has no return type specified.
phpstan (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
phpstan (8.3)
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/