Skip to content

Commit

Permalink
chore: bump to PHPUnit 10
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarlovi committed Jan 29, 2024
1 parent 406347d commit 90048d7
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
"require-dev": {
"matthiasnoback/symfony-dependency-injection-test": "^4.0",
"nyholm/nsa": "^1.1",
"nyholm/symfony-bundle-test": "dev-master",
"nyholm/symfony-bundle-test": "^2.0",
"openspout/openspout": "^4.0",
"phpoffice/phpspreadsheet": "^1.29",
"phpunit/phpunit": "^9.6",
"phpunit/phpunit": "^10.5",
"sigwin/infra": "~1.9.0",
"symfony/console": "^6.4 || ^7.0",
"symfony/framework-bundle": "^6.4 || ^7.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Bridge/PhpSpreadsheet/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"sigwin/xezilaires": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^9.6",
"phpunit/phpunit": "^10.5",
"symfony/phpunit-bridge": "^6.4 || ^7.0",
"symfony/property-access": "^6.4 || ^7.0",
"symfony/property-info": "^6.4 || ^7.0"
Expand Down
4 changes: 2 additions & 2 deletions src/Bridge/Spout/Test/RowIteratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ final class RowIteratorTest extends TestCase
/**
* @return list<array{0: int, 1: int, 2: int, 3: array{rewind: int, next: int, valid: int}}>
*/
public function provideCanSeekProperlyCases(): iterable
public static function provideCanSeekProperlyCases(): iterable
{
return [
[2, 2, 2, ['rewind' => 1, 'next' => 0, 'valid' => 0]],
Expand All @@ -41,7 +41,7 @@ public function provideCanSeekProperlyCases(): iterable
/**
* @return list<array{0: int, 1: int, 2: int, 3: array{rewind: int, next: int}, 4: array{valid: list<bool>}}>
*/
public function provideCanDetermineHighestRowProperlyCases(): iterable
public static function provideCanDetermineHighestRowProperlyCases(): iterable
{
return [
[1, 1, 2, ['rewind' => 2, 'next' => 2], ['valid' => [true, true, false]]],
Expand Down
2 changes: 1 addition & 1 deletion src/Bridge/Spout/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"require-dev": {
"nyholm/nsa": "^1.1",
"phpunit/phpunit": "^9.6",
"phpunit/phpunit": "^10.5",
"symfony/phpunit-bridge": "^6.4 || ^7.0",
"symfony/property-access": "^6.4 || ^7.0",
"symfony/property-info": "^6.4 || ^7.0"
Expand Down
2 changes: 1 addition & 1 deletion src/Bridge/Symfony/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"require-dev": {
"matthiasnoback/symfony-dependency-injection-test": "^4.0",
"nyholm/symfony-bundle-test": "dev-master",
"phpunit/phpunit": "^9.6",
"phpunit/phpunit": "^10.5",
"sigwin/xezilaires-phpspreadsheet": "^1.0",
"sigwin/xezilaires-spout": "^1.0",
"symfony/phpunit-bridge": "^6.4 || ^7.0"
Expand Down
4 changes: 2 additions & 2 deletions src/Xezilaires/Test/Metadata/MappingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function testCannotCreateInvalidMapping(
/**
* @return iterable<int, array{0: class-string, 1: array{name: Reference}, 2?: array{header: int, reverse?: bool, start?: int}}>
*/
public function provideCanCreateValidMappingCases(): iterable
public static function provideCanCreateValidMappingCases(): iterable
{
yield [
Product::class,
Expand All @@ -107,7 +107,7 @@ public function provideCanCreateValidMappingCases(): iterable
/**
* @return iterable<int, array{0: string, 1: string, 2: array<array-key, mixed>, 3?: array<string, null|bool|int|string>}>
*/
public function provideCannotCreateInvalidMappingCases(): iterable
public static function provideCannotCreateInvalidMappingCases(): iterable
{
yield ['Invalid class "foo"', 'foo', ['name' => new ColumnReference('A')]];
yield ['Invalid mapping, no references specified', Product::class, []];
Expand Down
2 changes: 1 addition & 1 deletion src/Xezilaires/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"require-dev": {
"nyholm/nsa": "^1.1",
"openspout/openspout": "^4.0",
"phpunit/phpunit": "^9.6",
"phpunit/phpunit": "^10.5",
"symfony/console": "^6.4 || ^7.0",
"symfony/phpunit-bridge": "^6.4 || ^7.0",
"symfony/property-access": "^6.4 || ^7.0",
Expand Down

0 comments on commit 90048d7

Please sign in to comment.