From 573ac486e768f322ee8f7260aacd9e0913df33fa Mon Sep 17 00:00:00 2001 From: Michael Babker Date: Sat, 29 Nov 2025 08:42:17 -0500 Subject: [PATCH] Run CI on PHP 8.5, update actions to latest, misc. readme updates --- .github/workflows/ci.yaml | 19 ++++++++++++------- README.md | 24 ++++++++++-------------- 2 files changed, 22 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6cf4805..6309258 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,29 +15,34 @@ jobs: - '8.2' - '8.3' - '8.4' + - '8.5' dependency: - '' symfony: - '5.4.*' - '6.4.*' - '7.3.*' + - '7.4.*' + - '8.0.*' include: - php: '8.1' symfony: '5.4.*' dependency: 'lowest' - - php: '8.4' - symfony: '7.4.*@dev' - dependency: '' - - php: '8.4' - symfony: '8.0.*@dev' - dependency: '' exclude: - php: '8.1' symfony: '7.3.*' + - php: '8.1' + symfony: '7.4.*' + - php: '8.1' + symfony: '8.0.*' + - php: '8.2' + symfony: '8.0.*' + - php: '8.3' + symfony: '8.0.*' fail-fast: false steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/README.md b/README.md index 6306425..a707fb7 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,9 @@ validity of the resulting config node tree, this library provides a PHPUnit test Using Composer: - composer require --dev matthiasnoback/symfony-config-test +```bash +composer require --dev matthiasnoback/symfony-config-test +``` ## Usage @@ -22,9 +24,9 @@ Then implement ``getConfiguration()``: ```php assertConfigurationIsInvalid( @@ -104,15 +105,14 @@ You may also want to verify that after processing an array of configuration valu assertProcessedConfigurationEquals([ @@ -177,9 +177,7 @@ If you want to test, for instance, only the `array_node_1` branch from the examp provide `array_node_1` as the argument for the `$breadcrumbPath` parameter of the test helper functions, for example: ```php -/** - * @test - */ +#[Test] public function processed_configuration_for_array_node_1(): void { $this->assertProcessedConfigurationEquals( @@ -244,9 +242,7 @@ If you want to test whether `default_value` is set to `foobar` by default, but d requirements on `required_value` node, you can define its path as `array_node.*.default_value`, for example: ```php -/** - * @test - */ +#[Test] public function processed_configuration_for_array_node_1(): void { $this->assertProcessedConfigurationEquals(