diff --git a/.travis.yml b/.travis.yml index 9554ee2ab..82d3d5593 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ addons: language: php php: - - 8.1 + - 8.0 services: - docker diff --git a/rector.php b/rector.php index 255cdd2ea..2e9f4b7d2 100644 --- a/rector.php +++ b/rector.php @@ -24,7 +24,7 @@ // Should we try and load \Drupal::VERSION and check? $containerConfigurator->import(__DIR__ . '/vendor/palantirnet/drupal-rector/config/drupal-8/drupal-8-all-deprecations.php'); $containerConfigurator->import(__DIR__ . '/vendor/palantirnet/drupal-rector/config/drupal-9/drupal-9-all-deprecations.php'); - $containerConfigurator->import(SetList::PHP_81); + $containerConfigurator->import(SetList::PHP_80); $parameters = $containerConfigurator->parameters(); $drupalFinder = new DrupalFinder(); @@ -37,7 +37,7 @@ $drupalRoot . '/themes', ]); - $parameters->set(Option::PHP_VERSION_FEATURES, PhpVersion::PHP_81); + $parameters->set(Option::PHP_VERSION_FEATURES, PhpVersion::PHP_80); $parameters->set(Option::SKIP, ['*/upgrade_status/tests/modules/*']); $parameters->set(Option::FILE_EXTENSIONS, ['php', 'module', 'theme', 'install', 'profile', 'inc', 'engine']); $parameters->set(Option::AUTO_IMPORT_NAMES, TRUE);