Skip to content

Commit

Permalink
chore: upgrade PHPUnit
Browse files Browse the repository at this point in the history
  • Loading branch information
alanpoulain committed Jan 11, 2024
1 parent 3245d3a commit 8b652e8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
/composer.lock

/.php-cs-fixer.cache
/.phpunit.result.cache
/.phpunit.cache/

/features/app/var
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"phpspec/prophecy-phpunit": "^2.0",
"phpstan/phpstan": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"phpunit/phpunit": "^9.5",
"phpunit/phpunit": "^10.5",
"psalm/plugin-phpunit": "^0.18",
"psalm/plugin-symfony": "^5.0",
"symfony/browser-kit": "^4.4 || ^5.0 || ^6.0 || ^7.0",
Expand Down
7 changes: 4 additions & 3 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
backupGlobals="false"
cacheDirectory=".phpunit.cache"
colors="true">
<php>
<ini name="error_reporting" value="-1" />
Expand All @@ -13,7 +14,7 @@
<directory>tests</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<source>
<include>
<directory>.</directory>
</include>
Expand All @@ -25,5 +26,5 @@
<file>CoopTilleulsUrlSignerBundle.php</file>
<file>DependencyInjection/Configuration.php</file>
</exclude>
</coverage>
</source>
</phpunit>
2 changes: 1 addition & 1 deletion tests/EventListener/ValidateSignedRouteListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function testValidateSignedRouteInvalidSignature(): void
}

/** @return iterable<string, array<string, string>> */
public function provideValidateSignedRouteCases(): iterable
public static function provideValidateSignedRouteCases(): iterable
{
yield 'absolutePath' => [
'validUrl' => '/valid-signature',
Expand Down

0 comments on commit 8b652e8

Please sign in to comment.