diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 484982a..e0067e0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -21,6 +21,7 @@ jobs: - "8.2" - "8.3" - "8.4" + - "8.5" dependencies: - "highest" - "lowest" @@ -50,7 +51,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: "Install PHP" uses: "shivammathur/setup-php@v2" @@ -68,7 +69,7 @@ jobs: composer remove --no-update --dev doctrine/annotations - name: "Install dependencies with Composer" - uses: "ramsey/composer-install@v2" + uses: "ramsey/composer-install@v3" env: SYMFONY_REQUIRE: "${{ matrix.symfony-require }}" with: diff --git a/.github/workflows/coding-standards.yaml b/.github/workflows/coding-standards.yaml index 96c902e..c0404af 100644 --- a/.github/workflows/coding-standards.yaml +++ b/.github/workflows/coding-standards.yaml @@ -20,7 +20,7 @@ jobs: steps: - name: "Checkout" - uses: "actions/checkout@v4" + uses: "actions/checkout@v5" - name: "Install PHP" uses: "shivammathur/setup-php@v2" @@ -29,7 +29,7 @@ jobs: tools: "cs2pr" - name: "Install dependencies with Composer" - uses: "ramsey/composer-install@v2" + uses: "ramsey/composer-install@v3" - name: "Run PHP_CodeSniffer" run: "vendor/bin/phpcs" diff --git a/Tests/DependencyInjection/BazingaHateoasExtensionTest.php b/Tests/DependencyInjection/BazingaHateoasExtensionTest.php index 06a57e3..084e0b4 100644 --- a/Tests/DependencyInjection/BazingaHateoasExtensionTest.php +++ b/Tests/DependencyInjection/BazingaHateoasExtensionTest.php @@ -121,7 +121,6 @@ public function testLoadSerializer() $reflClass = new \ReflectionClass($jsonListener); $reflProp = $reflClass->getProperty('serializer'); - $reflProp->setAccessible(true); $this->assertInstanceOf($class, $reflProp->getValue($jsonListener)); @@ -129,7 +128,6 @@ public function testLoadSerializer() $reflClass = new \ReflectionClass($xmlListener); $reflProp = $reflClass->getProperty('serializer'); - $reflProp->setAccessible(true); $this->assertInstanceOf('Hateoas\Serializer\XmlSerializer', $reflProp->getValue($xmlListener)); } diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 06c86a6..5eb917a 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -9,7 +9,9 @@ cacheDirectory=".phpunit.cache" backupStaticProperties="false" failOnRisky="true" - failOnWarning="true"> + failOnWarning="true" + displayDetailsOnTestsThatTriggerDeprecations="true" + displayDetailsOnPhpunitDeprecations="true"> ./Tests