Skip to content

Commit

Permalink
Bump CI workflows (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus authored Oct 21, 2022
1 parent 30c7156 commit bd19913
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
-
name: Checkout code
uses: 'actions/checkout@v2'
uses: 'actions/checkout@v3'
-
name: Install PHP
uses: "shivammathur/setup-php@v2"
Expand All @@ -23,7 +23,7 @@ jobs:
tools: composer
-
name: Composer
uses: 'ramsey/composer-install@v1'
uses: 'ramsey/composer-install@v2'
with:
composer-options: '--no-suggest --no-scripts'
-
Expand All @@ -38,7 +38,7 @@ jobs:
steps:
-
name: Checkout code
uses: 'actions/checkout@v2'
uses: 'actions/checkout@v3'
-
name: Install PHP
uses: "shivammathur/setup-php@v2"
Expand All @@ -48,7 +48,7 @@ jobs:
tools: composer
-
name: Composer
uses: 'ramsey/composer-install@v1'
uses: 'ramsey/composer-install@v2'
with:
composer-options: '--no-suggest --no-scripts'
-
Expand All @@ -65,6 +65,7 @@ jobs:
matrix:
php-version:
- '8.1'
- '8.2'
dependencies:
- stable
include:
Expand All @@ -76,7 +77,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
-
name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"twig/twig": "^3.3.3"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.8",
"phpstan/phpstan": "^1.5",
"phpunit/phpunit": "^9.5.19",
"friendsofphp/php-cs-fixer": "^3.12",
"phpstan/phpstan": "^1.8.10",
"phpunit/phpunit": "^9.5.25",
"symfony/filesystem": "^6",
"symfony/framework-bundle": "^6",
"symfony/phpunit-bridge": "^6",
"symfony/phpunit-bridge": "^6.1",
"symfony/twig-bundle": "^6"
},
"config": {
Expand Down
2 changes: 1 addition & 1 deletion tests/TwigAwesomeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function registerBundles(): iterable
public function registerContainerConfiguration(LoaderInterface $loader): void
{
$loader->load(static function (ContainerBuilder $container): void {
$container->loadFromExtension('framework', ['secret' => 'foo']);
$container->loadFromExtension('framework', ['secret' => 'foo', 'http_method_override' => false]);

$twigConfig = [
'default_path' => __DIR__.'/fixtures',
Expand Down

0 comments on commit bd19913

Please sign in to comment.