Skip to content

Drupal 11 readiness. #785

Drupal 11 readiness.

Drupal 11 readiness. #785

Triggered via pull request July 25, 2024 17:20
Status Failure
Total duration 3m 2s
Artifacts

testing.yml

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

Annotations

20 errors
Drupal 10.3.x (PHP 8.3): src/GraphQL/Response/ResponseInterface.php#L30
PHPDoc tag @param for parameter $messages with type array<Drupal\Core\StringTranslation\TranslatableMarkup|string>|Symfony\Component\Validator\ConstraintViolationListInterface is not subtype of native type array|Drupal\graphql\GraphQL\Response\ConstraintViolationListInterface.
Drupal 10.3.x (PHP 8.3): src/GraphQL/Response/ResponseInterface.php#L30
Parameter $messages of method Drupal\graphql\GraphQL\Response\ResponseInterface::addViolations() has invalid type Drupal\graphql\GraphQL\Response\ConstraintViolationListInterface.
Drupal 10.3.x (PHP 8.3): src/GraphQL/Utility/FileUpload.php#L523
Expression in empty() is not falsy.
Drupal 10.3.x (PHP 8.3): src/GraphQL/Utility/FileUpload.php#L525
Right side of || is always false.
Drupal 10.3.x (PHP 8.3): src/Plugin/GraphQL/DataProducer/Entity/Fields/Image/ImageDerivative.php#L106
Variable $height in empty() always exists and is not falsy.
Drupal 10.3.x (PHP 8.3): src/Plugin/GraphQL/DataProducer/Entity/Fields/Image/ImageDerivative.php#L106
Variable $width in empty() always exists and is not falsy.
Drupal 10.3.x (PHP 8.3): tests/src/Kernel/Framework/UploadFileServiceTest.php#L30
PHPDoc type array of property Drupal\Tests\graphql\Kernel\Framework\UploadFileServiceTest::$modules is not covariant with PHPDoc type array<string> of overridden property Drupal\Tests\graphql\Kernel\GraphQLTestBase::$modules.
Drupal 11.0.x (PHP 8.3): src/GraphQL/Response/ResponseInterface.php#L30
PHPDoc tag @param for parameter $messages with type array<Drupal\Core\StringTranslation\TranslatableMarkup|string>|Symfony\Component\Validator\ConstraintViolationListInterface is not subtype of native type array|Drupal\graphql\GraphQL\Response\ConstraintViolationListInterface.
Drupal 11.0.x (PHP 8.3): src/GraphQL/Response/ResponseInterface.php#L30
Parameter $messages of method Drupal\graphql\GraphQL\Response\ResponseInterface::addViolations() has invalid type Drupal\graphql\GraphQL\Response\ConstraintViolationListInterface.
Drupal 11.0.x (PHP 8.3): src/GraphQL/Utility/FileUpload.php#L523
Expression in empty() is not falsy.
Drupal 11.0.x (PHP 8.3): src/GraphQL/Utility/FileUpload.php#L525
Right side of || is always false.
Drupal 11.0.x (PHP 8.3): tests/src/Kernel/AlterableSchemaTest.php#L143
Call to deprecated method getMockForAbstractClass() of class PHPUnit\Framework\MockObject\MockBuilder.
Drupal 11.0.x (PHP 8.3): tests/src/Kernel/AlterableSchemaTest.php#L175
Call to deprecated method getMockForAbstractClass() of class PHPUnit\Framework\MockObject\MockBuilder.
Drupal 11.0.x (PHP 8.3): tests/src/Kernel/DataProducer/EntityReferenceTest.php#L75
Call to an undefined method Drupal\Tests\graphql\Kernel\DataProducer\EntityReferenceTest::createEntityReferenceField().
Drupal 11.0.x (PHP 8.3): tests/src/Kernel/DataProducer/EntityReferenceTest.php (in context of class Drupal/Tests/graphql/Kernel/DataProducer/EntityReferenceTest)#L20
Trait Drupal\Tests\graphql\Kernel\DataProducer\EntityReferenceFieldCreationTrait uses unknown trait Drupal\Tests\field\Traits\EntityReferenceTestTrait.
Drupal 11.0.x (PHP 8.3): tests/src/Kernel/Framework/UploadFileServiceTest.php#L30
PHPDoc type array of property Drupal\Tests\graphql\Kernel\Framework\UploadFileServiceTest::$modules is not covariant with PHPDoc type array<string> of overridden property Drupal\Tests\graphql\Kernel\GraphQLTestBase::$modules.
Drupal 11.0.x (PHP 8.3): tests/src/Traits/MockingTrait.php (in context of class Drupal/Tests/graphql/Kernel/GraphQLTestBase)#L56
Call to deprecated method returnCallback() of class PHPUnit\Framework\TestCase: Use <code>$double->willReturnCallback()</code> instead of <code>$double->will($this->returnCallback())</code>