Skip to content

Commit 330ce23

Browse files
committed
Tests on Symfony 8 stable
1 parent f5b4f72 commit 330ce23

3 files changed

Lines changed: 13 additions & 5 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ jobs:
6161
- php-version: '8.2'
6262
symfony-version: '7.0.*'
6363
- php-version: '8.4'
64-
symfony-version: '8.0.x-dev' # TODO: change to '8.0' when Symfony 8.0 is released
65-
minimum-stability: 'dev' # TODO: remove when Symfony 8.0 is released
64+
symfony-version: '8.0.*'
6665

6766
steps:
6867
- uses: actions/checkout@v4
@@ -75,7 +74,7 @@ jobs:
7574

7675
- name: Allow Flex Plugin
7776
run: composer global config --no-plugins allow-plugins.symfony/flex true
78-
77+
7978
- name: Configure Composer stability
8079
run: composer config minimum-stability ${{ matrix.minimum-stability }}
8180

@@ -94,7 +93,7 @@ jobs:
9493
8.2) symfony new my_app --version="7.1.*" --webapp ;;
9594
8.3) symfony new my_app --version="7.2.*" --webapp ;;
9695
8.4) case "${{ matrix.symfony-version }}" in
97-
8.0.x-dev) symfony new my_app --version="8.0.x-dev" --webapp ;;
96+
8.0.*) symfony new my_app --version="8.0.*" --webapp ;;
9897
*) symfony new my_app --version="7.3.*" --webapp ;;
9998
esac ;;
10099
esac

composer.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,12 @@
2727
"phpstan/phpstan": "^2.1.21",
2828
"symplify/easy-coding-standard": "12.5.22",
2929
"symfony/framework-bundle": "^6.4|^7.0|^8.0"
30+
},
31+
"config": {
32+
"audit": {
33+
"ignore": [
34+
"PKSA-365x-2zjk-pt47"
35+
]
36+
}
3037
}
3138
}

src/DependencyInjection/BiomeJsExtension.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,13 @@ public function getAlias(): string
3737
return 'kocal_biome_js';
3838
}
3939

40+
/**
41+
* @return TreeBuilder<'array'>
42+
*/
4043
public function getConfigTreeBuilder(): TreeBuilder
4144
{
4245
$treeBuilder = new TreeBuilder($this->getAlias());
4346
$rootNode = $treeBuilder->getRootNode();
44-
\assert($rootNode instanceof ArrayNodeDefinition);
4547

4648
$rootNode
4749
->children()

0 commit comments

Comments
 (0)