bug #3864 Bump PHP version used by Drupal tests (fabpot)

This PR was squashed before being merged into the 2.x branch.

Discussion
----------

Bump PHP version used by Drupal tests

Commits
-------

da38e858 Update Drupal version in tests
64543c3c Fix code
4c4f73ca Bump PHP version used by Drupal tests
This commit is contained in:
Fabien Potencier
2023-07-29 13:19:42 +02:00
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ jobs:
strategy:
matrix:
php-version:
- '7.3'
- '8.2'
steps:
- name: "Checkout code"
@@ -22,7 +22,7 @@ use Twig\Extra\TwigExtraBundle\Extensions;
*/
class TwigExtraExtension extends Extension
{
public function load(array $configs, ContainerBuilder $container)
public function load(array $configs, ContainerBuilder $container): void
{
$loader = new PhpFileLoader($container, new FileLocator(\dirname(__DIR__).'/Resources/config'));
$configuration = $this->getConfiguration($configs, $container);
+1 -1
View File
@@ -6,7 +6,7 @@ set -e
REPO=`pwd`
cd /tmp
rm -rf drupal-twig-test
composer create-project --no-interaction drupal/recommended-project:9.1.x-dev drupal-twig-test
composer create-project --no-interaction drupal/recommended-project:10.1.x-dev drupal-twig-test
cd drupal-twig-test
(cd vendor/twig && rm -rf twig && ln -sf $REPO twig)
php ./web/core/scripts/drupal install --no-interaction demo_umami > output