Work being done at https://github.com/pantheon-systems/pantheon_advanced_page_cache/pull/26

web/modules/contrib/pantheon_advanced_page_cache/tests/behat/helper_classes/Contexts/FeatureContext.phpClass
Drupal\DrupalExtension\Context\RawDrupalContext not found and could not be autoloaded.

web/modules/contrib/pantheon_advanced_page_cache/tests/behat/helper_classes/Contexts/FeatureContext.php
Class Drupal\DrupalExtension\Context\RawDrupalContext not found and could not be autoloaded.

web/modules/contrib/pantheon_advanced_page_cache/tests/behat/helper_classes/tests/AgeTrackerTest.php
Class PHPUnit\Framework\TestCase not found and could not be autoloaded.

web/modules/contrib/pantheon_advanced_page_cache/tests/behat/helper_classes/tests/AgeTrackerTest.php
Class PHPUnit\Framework\TestCase not found and could not be autoloaded.

web/modules/contrib/pantheon_advanced_page_cache/pantheon_advanced_page_cache.info.yml
Add core_version_requirement: ^8 || ^9 to pantheon_advanced_page_cache.info.yml to designate that the module is compatible with Drupal 9. See https://drupal.org/node/3070687.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Chris Matthews created an issue. See original summary.

paulocs’s picture

Hello Chris Matthews. I think the deprecated lines that you posted doesn't match with the module Pantheon Advanced Page Cache.

I run drupal-console and what I could see is:

 Line   tests/behat/helper_classes/Contexts/FeatureContext.php                                        
 ------ ---------------------------------------------------------------------------------------------- 
         Class Drupal\DrupalExtension\Context\RawDrupalContext not found and could not be autoloaded.  
         💡 Learn more at https://phpstan.org/user-guide/autoloading                                    
  15     Class Drupal\DrupalExtension\Context\RawDrupalContext not found and could not be autoloaded.  
         💡 Learn more at https://phpstan.org/user-guide/autoloading                                    
 ------ ---------------------------------------------------------------------------------------------- 
paulocs’s picture

After I installed drupal-extension, I run drupal-check.
There are no errors.

Chris Matthews’s picture

Issue summary: View changes
DamienMcKenna’s picture

Title: Create Drupal 9 compatible release » Drupal 9 compatibility fixes for Pantheon Advanced Page Cache
Status: Active » Needs review
Issue tags: +Drupal 9 compatibility
FileSize
1.04 KB

drupal-check isn't very thorough, e.g. it doesn't cover the info files.

stevector’s picture

Thanks all, I've merged the PR and the change is now available in the dev release.

stevector’s picture

Status: Needs review » Fixed
Chris Matthews’s picture

Thanks stevector, any chance you could go ahead and tag a D9 compatible 8.x-1.1 release?

stevector’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.