From 1d8a4066604ca41bee7396a761d788ec774a083a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 12 Jan 2024 16:15:29 +0000 Subject: [PATCH] Update dependency phpunit/phpunit to v10 (#166) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Martin Georgiev Co-authored-by: Martin Georgiev --- ci/phpunit/config.xml | 32 +++++++------------ composer.json | 2 +- ...yTest.php => BaseIntegerArrayTestCase.php} | 2 +- .../Doctrine/DBAL/Types/BigIntArrayTest.php | 2 +- .../Doctrine/DBAL/Types/IntegerArrayTest.php | 2 +- .../Doctrine/DBAL/Types/SmallIntArrayTest.php | 2 +- ...php => BaseComparisonFunctionTestCase.php} | 2 +- .../ORM/Query/AST/Functions/GreatestTest.php | 2 +- .../ORM/Query/AST/Functions/LeastTest.php | 2 +- 9 files changed, 19 insertions(+), 29 deletions(-) rename tests/MartinGeorgiev/Doctrine/DBAL/Types/{BaseIntegerArrayTest.php => BaseIntegerArrayTestCase.php} (96%) rename tests/MartinGeorgiev/Doctrine/ORM/Query/AST/Functions/{BaseComparisonFunctionTest.php => BaseComparisonFunctionTestCase.php} (93%) diff --git a/ci/phpunit/config.xml b/ci/phpunit/config.xml index 7f78cff3..c4f535df 100644 --- a/ci/phpunit/config.xml +++ b/ci/phpunit/config.xml @@ -1,23 +1,13 @@ - - - - - ../../tests - - - - - - ../../src - - - + + + + ../../tests + + + + + ../../src + + diff --git a/composer.json b/composer.json index cea78396..88848942 100644 --- a/composer.json +++ b/composer.json @@ -50,7 +50,7 @@ "php-coveralls/php-coveralls": "^2.7.0", "phpstan/phpstan": "^1.10.55", "phpstan/phpstan-phpunit": "^1.3.15", - "phpunit/phpunit": "^9.6.15", + "phpunit/phpunit": "^10.5.5", "qossmic/deptrac-shim": "^1.0.2", "rector/rector": "^0.19", "symfony/cache": "^6.4||^7.0" diff --git a/tests/MartinGeorgiev/Doctrine/DBAL/Types/BaseIntegerArrayTest.php b/tests/MartinGeorgiev/Doctrine/DBAL/Types/BaseIntegerArrayTestCase.php similarity index 96% rename from tests/MartinGeorgiev/Doctrine/DBAL/Types/BaseIntegerArrayTest.php rename to tests/MartinGeorgiev/Doctrine/DBAL/Types/BaseIntegerArrayTestCase.php index 53eebb0e..fa7595af 100644 --- a/tests/MartinGeorgiev/Doctrine/DBAL/Types/BaseIntegerArrayTest.php +++ b/tests/MartinGeorgiev/Doctrine/DBAL/Types/BaseIntegerArrayTestCase.php @@ -8,7 +8,7 @@ use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; -abstract class BaseIntegerArrayTest extends TestCase +abstract class BaseIntegerArrayTestCase extends TestCase { /** * @var BaseIntegerArray&MockObject diff --git a/tests/MartinGeorgiev/Doctrine/DBAL/Types/BigIntArrayTest.php b/tests/MartinGeorgiev/Doctrine/DBAL/Types/BigIntArrayTest.php index 0600f10e..c813da77 100644 --- a/tests/MartinGeorgiev/Doctrine/DBAL/Types/BigIntArrayTest.php +++ b/tests/MartinGeorgiev/Doctrine/DBAL/Types/BigIntArrayTest.php @@ -6,7 +6,7 @@ use MartinGeorgiev\Doctrine\DBAL\Types\BigIntArray; -class BigIntArrayTest extends BaseIntegerArrayTest +class BigIntArrayTest extends BaseIntegerArrayTestCase { protected function setUp(): void { diff --git a/tests/MartinGeorgiev/Doctrine/DBAL/Types/IntegerArrayTest.php b/tests/MartinGeorgiev/Doctrine/DBAL/Types/IntegerArrayTest.php index 3bd6a991..fbd385e4 100644 --- a/tests/MartinGeorgiev/Doctrine/DBAL/Types/IntegerArrayTest.php +++ b/tests/MartinGeorgiev/Doctrine/DBAL/Types/IntegerArrayTest.php @@ -6,7 +6,7 @@ use MartinGeorgiev\Doctrine\DBAL\Types\IntegerArray; -class IntegerArrayTest extends BaseIntegerArrayTest +class IntegerArrayTest extends BaseIntegerArrayTestCase { protected function setUp(): void { diff --git a/tests/MartinGeorgiev/Doctrine/DBAL/Types/SmallIntArrayTest.php b/tests/MartinGeorgiev/Doctrine/DBAL/Types/SmallIntArrayTest.php index f4503fb0..60affac7 100644 --- a/tests/MartinGeorgiev/Doctrine/DBAL/Types/SmallIntArrayTest.php +++ b/tests/MartinGeorgiev/Doctrine/DBAL/Types/SmallIntArrayTest.php @@ -6,7 +6,7 @@ use MartinGeorgiev\Doctrine\DBAL\Types\SmallIntArray; -class SmallIntArrayTest extends BaseIntegerArrayTest +class SmallIntArrayTest extends BaseIntegerArrayTestCase { protected function setUp(): void { diff --git a/tests/MartinGeorgiev/Doctrine/ORM/Query/AST/Functions/BaseComparisonFunctionTest.php b/tests/MartinGeorgiev/Doctrine/ORM/Query/AST/Functions/BaseComparisonFunctionTestCase.php similarity index 93% rename from tests/MartinGeorgiev/Doctrine/ORM/Query/AST/Functions/BaseComparisonFunctionTest.php rename to tests/MartinGeorgiev/Doctrine/ORM/Query/AST/Functions/BaseComparisonFunctionTestCase.php index edcf6b9b..cb617b76 100644 --- a/tests/MartinGeorgiev/Doctrine/ORM/Query/AST/Functions/BaseComparisonFunctionTest.php +++ b/tests/MartinGeorgiev/Doctrine/ORM/Query/AST/Functions/BaseComparisonFunctionTestCase.php @@ -8,7 +8,7 @@ use Doctrine\ORM\Query\Parser; use MartinGeorgiev\Doctrine\ORM\Query\AST\Functions\BaseComparisonFunction; -abstract class BaseComparisonFunctionTest extends TestCase +abstract class BaseComparisonFunctionTestCase extends TestCase { abstract protected function createFixture(): BaseComparisonFunction; diff --git a/tests/MartinGeorgiev/Doctrine/ORM/Query/AST/Functions/GreatestTest.php b/tests/MartinGeorgiev/Doctrine/ORM/Query/AST/Functions/GreatestTest.php index 449615f2..568635de 100644 --- a/tests/MartinGeorgiev/Doctrine/ORM/Query/AST/Functions/GreatestTest.php +++ b/tests/MartinGeorgiev/Doctrine/ORM/Query/AST/Functions/GreatestTest.php @@ -8,7 +8,7 @@ use MartinGeorgiev\Doctrine\ORM\Query\AST\Functions\BaseComparisonFunction; use MartinGeorgiev\Doctrine\ORM\Query\AST\Functions\Greatest; -class GreatestTest extends BaseComparisonFunctionTest +class GreatestTest extends BaseComparisonFunctionTestCase { protected function createFixture(): BaseComparisonFunction { diff --git a/tests/MartinGeorgiev/Doctrine/ORM/Query/AST/Functions/LeastTest.php b/tests/MartinGeorgiev/Doctrine/ORM/Query/AST/Functions/LeastTest.php index d31cecba..f8b00f14 100644 --- a/tests/MartinGeorgiev/Doctrine/ORM/Query/AST/Functions/LeastTest.php +++ b/tests/MartinGeorgiev/Doctrine/ORM/Query/AST/Functions/LeastTest.php @@ -8,7 +8,7 @@ use MartinGeorgiev\Doctrine\ORM\Query\AST\Functions\BaseComparisonFunction; use MartinGeorgiev\Doctrine\ORM\Query\AST\Functions\Least; -class LeastTest extends BaseComparisonFunctionTest +class LeastTest extends BaseComparisonFunctionTestCase { protected function createFixture(): BaseComparisonFunction {