Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
$ drupal-check cloud/
309/309 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ -------------------------------------------------------------------------
Line modules/cloud_service_providers/aws_cloud/aws_cloud.install
------ -------------------------------------------------------------------------
1339 Call to deprecated method applyUpdates() of class
Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface:
in Drupal 8.7.0, will be removed before Drupal 9.0.0. Use
\Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface::getChangeLi
st()
and execute each entity type and field storage update manually instead.
------ -------------------------------------------------------------------------
------ ------------------------------------------------------------
Line modules/cloud_service_providers/aws_cloud/aws_cloud.module
------ ------------------------------------------------------------
515 Call to deprecated method l() of class Drupal:
in Drupal 8.0.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Link instead.
Example:
------ ------------------------------------------------------------
------ ---------------------------------------------------------------------------------
Line modules/cloud_service_providers/aws_cloud/src/Commands/aws/InstanceCommands.php
------ ---------------------------------------------------------------------------------
Class Drush\Commands\DrushCommands not found and could not be
autoloaded.
------ ---------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------
Line modules/cloud_service_providers/aws_cloud/src/Form/Ec2/InstanceLaunchForm.php
------ -------------------------------------------------------------------------------
233 Call to deprecated method urlInfo() of class
Drupal\Core\Entity\EntityInterface:
in Drupal 8.0.0, intended to be removed in Drupal 9.0.0
Use \Drupal\Core\Entity\EntityInterface::toUrl() instead.
------ -------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------
Line modules/cloud_service_providers/aws_cloud/tests/src/Functional/AwsCloudTestCase.php
------ -------------------------------------------------------------------------------------
Class Drupal\Tests\BrowserTestBase not found and could not be
autoloaded.
------ -------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------
Line modules/cloud_service_providers/aws_cloud/tests/src/Functional/Config/AwsCloudConfigTest.php
------ ----------------------------------------------------------------------------------------------
Class Drupal\Tests\BrowserTestBase not found and could not be
autoloaded.
------ ----------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------
Line modules/cloud_service_providers/aws_cloud/tests/src/Functional/Ec2/CloudServerTemplateTest.php
------ ------------------------------------------------------------------------------------------------
Class Drupal\Tests\aws_cloud\Functional\AwsCloudTestCase not found and
could not be autoloaded.
------ ------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line modules/cloud_service_providers/aws_cloud/tests/src/Functional/Ec2/ElasticIpTest.php
------ --------------------------------------------------------------------------------------
Class Drupal\Tests\aws_cloud\Functional\AwsCloudTestCase not found and
could not be autoloaded.
------ --------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------
Line modules/cloud_service_providers/aws_cloud/tests/src/Functional/Ec2/ImageTest.php
------ ----------------------------------------------------------------------------------
Class Drupal\Tests\aws_cloud\Functional\AwsCloudTestCase not found and
could not be autoloaded.
------ ----------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------
Line modules/cloud_service_providers/aws_cloud/tests/src/Functional/Ec2/InstanceTest.php
------ -------------------------------------------------------------------------------------
Class Drupal\Tests\aws_cloud\Functional\AwsCloudTestCase not found and
could not be autoloaded.
------ -------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------
Line modules/cloud_service_providers/aws_cloud/tests/src/Functional/Ec2/InstanceTypePriceControllerTest.php
------ --------------------------------------------------------------------------------------------------------
Class Drupal\Tests\aws_cloud\Functional\AwsCloudTestCase not found and
could not be autoloaded.
------ --------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line modules/cloud_service_providers/aws_cloud/tests/src/Functional/Ec2/KeyPairTest.php
------ ------------------------------------------------------------------------------------
Class Drupal\Tests\aws_cloud\Functional\AwsCloudTestCase not found and
could not be autoloaded.
------ ------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------
Line modules/cloud_service_providers/aws_cloud/tests/src/Functional/Ec2/NetworkInterfaceTest.php
------ ---------------------------------------------------------------------------------------------
Class Drupal\Tests\aws_cloud\Functional\AwsCloudTestCase not found and
could not be autoloaded.
------ ---------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line modules/cloud_service_providers/aws_cloud/tests/src/Functional/Ec2/SecurityGroupTest.php
------ ------------------------------------------------------------------------------------------
Class Drupal\Tests\aws_cloud\Functional\AwsCloudTestCase not found and
could not be autoloaded.
------ ------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------
Line modules/cloud_service_providers/aws_cloud/tests/src/Functional/Ec2/SnapshotTest.php
------ -------------------------------------------------------------------------------------
Class Drupal\Tests\aws_cloud\Functional\AwsCloudTestCase not found and
could not be autoloaded.
------ -------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------
Line modules/cloud_service_providers/aws_cloud/tests/src/Functional/Ec2/VolumeAttachDetachTest.php
------ -----------------------------------------------------------------------------------------------
Class Drupal\Tests\aws_cloud\Functional\AwsCloudTestCase not found and
could not be autoloaded.
------ -----------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line modules/cloud_service_providers/aws_cloud/tests/src/Functional/Ec2/VolumeTest.php
------ -----------------------------------------------------------------------------------
Class Drupal\Tests\aws_cloud\Functional\AwsCloudTestCase not found and
could not be autoloaded.
------ -----------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line modules/cloud_service_providers/aws_cloud/tests/src/Functional/Vpc/SubnetTest.php
------ -----------------------------------------------------------------------------------
Class Drupal\Tests\aws_cloud\Functional\AwsCloudTestCase not found and
could not be autoloaded.
------ -----------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------
Line modules/cloud_service_providers/aws_cloud/tests/src/Functional/Vpc/VpcTest.php
------ --------------------------------------------------------------------------------
Class Drupal\Tests\aws_cloud\Functional\AwsCloudTestCase not found and
could not be autoloaded.
------ --------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------
Line modules/cloud_service_providers/aws_cloud/tests/src/Unit/Plugin/AwsCloudServerTemplatePluginTest.php
------ ------------------------------------------------------------------------------------------------------
Class Drupal\Tests\UnitTestCase not found and could not be autoloaded.
------ ------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------
Line modules/cloud_service_providers/aws_cloud/tests/src/Unit/Service/AwsEc2ServiceTest.php
------ ----------------------------------------------------------------------------------------
Class Drupal\Tests\UnitTestCase not found and could not be autoloaded.
------ ----------------------------------------------------------------------------------------
------ ----------------------------------------------------------
Line src/Controller/CloudConfigController.php
------ ----------------------------------------------------------
150 Call to deprecated method l() of class
Drupal\Core\Controller\ControllerBase:
in Drupal 8.0.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Link instead.
------ ----------------------------------------------------------
------ ----------------------------------------------------------
Line src/Controller/CloudServerTemplateController.php
------ ----------------------------------------------------------
173 Call to deprecated method l() of class
Drupal\Core\Controller\ControllerBase:
in Drupal 8.0.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Link instead.
------ ----------------------------------------------------------
------ -------------------------------------------------------
Line src/Form/CloudConfigRevisionDeleteForm.php
------ -------------------------------------------------------
125 Call to deprecated function format_date():
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Use \Drupal::service('date.formatter')->format().
------ -------------------------------------------------------
------ -------------------------------------------------------
Line src/Form/CloudServerTemplateRevisionDeleteForm.php
------ -------------------------------------------------------
128 Call to deprecated function format_date():
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Use \Drupal::service('date.formatter')->format().
------ -------------------------------------------------------
[ERROR] Found 25 errors
Comment | File | Size | Author |
---|---|---|---|
#17 | 3071859-16-8.x-2.x.patch | 117.28 KB | yas |
#7 | 3071859-7-8.x-2.x.patch | 21.3 KB | yas |
#7 | 3071859-7-8.x-1.x.patch | 19.67 KB | yas |
|
Comments
Comment #2
sarathkmComment #3
Sergiu Stici CreditAttribution: Sergiu Stici at FFW commentedHere is the patch, please review.
Comment #5
yas@sergiu-stici
I'll take over this issue.
Comment #7
yasFixing the issue by adding
->toString
onLink::fromTextAndUrl(...)
.Comment #8
yasComment #9
yas@all
The Drupal CI/CD system doesn't work for the
8.x-2.x
automate testing, but the tests for8.x-1.x
have been passed successfully, so I'll merge the patch to8.x-1.x
and8.x-2.x
and close this issue asFixed
.Comment #12
yasComment #14
Kristen PolPer a Slack discussion with Gábor Hojtsy regarding usage of D9 tags (Drupal 9, Drupal 9 compatibility, Drupal 9 readiness, etc.), "Drupal 9 compatibility" should be used for contributed projects that need updating and "Drupal 9" was the old tag for D8 issues before the D9 branch was ready. Doing title and tag cleanup here based on that discussion.
Comment #15
yas@kristen-pol
Thank you for your follow-up!
Comment #16
yas@all
I fixed the following errors to be compatible with Drupal 9.0.0
Comment #17
yasI checked all tests (above screenshots) and it should be fine.
Comment #18
baldwinlouie CreditAttribution: baldwinlouie commented@yas, the patch looks good
Comment #19
yas@baldwinlouie
Thank you for your review. I'll merge the patch to
8.x-2.x
and close this issue asFixed
.Comment #21
yas