mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-31 12:37:15 +00:00
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 -------da38e858Update Drupal version in tests64543c3cFix code4c4f73caBump PHP version used by Drupal tests
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user