Skip to content

Commit

Permalink
Changed PHP version from 8.1 to 8.0 to match Open Social Docker image…
Browse files Browse the repository at this point in the history
  • Loading branch information
navneet0693 committed Feb 25, 2022
1 parent 00991c8 commit 12c7635
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ addons:
language: php

php:
- 8.1
- 8.0

services:
- docker
Expand Down
4 changes: 2 additions & 2 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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);
Expand Down

0 comments on commit 12c7635

Please sign in to comment.