Skip to content

Commit

Permalink
Update dependency phpunit/phpunit to v10 (#166)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Martin Georgiev <[email protected]>
Co-authored-by: Martin Georgiev <[email protected]>
  • Loading branch information
3 people authored Jan 12, 2024
1 parent b4e5dd3 commit 1d8a406
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 29 deletions.
32 changes: 11 additions & 21 deletions ci/phpunit/config.xml
Original file line number Diff line number Diff line change
@@ -1,23 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="false"
convertWarningsToExceptions="true"
stopOnFailure="false"
bootstrap="../../vendor/autoload.php"
verbose="true">

<testsuites>
<testsuite name="PostgreSQL-for-Doctrine Test Suite">
<directory>../../tests</directory>
</testsuite>
</testsuites>

<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">../../src</directory>
</whitelist>
</filter>

<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" stopOnFailure="false" bootstrap="../../vendor/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory=".phpunit.cache">
<testsuites>
<testsuite name="PostgreSQL-for-Doctrine Test Suite">
<directory>../../tests</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">../../src</directory>
</include>
</source>
</phpunit>
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use MartinGeorgiev\Doctrine\DBAL\Types\BigIntArray;

class BigIntArrayTest extends BaseIntegerArrayTest
class BigIntArrayTest extends BaseIntegerArrayTestCase
{
protected function setUp(): void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use MartinGeorgiev\Doctrine\DBAL\Types\IntegerArray;

class IntegerArrayTest extends BaseIntegerArrayTest
class IntegerArrayTest extends BaseIntegerArrayTestCase
{
protected function setUp(): void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use MartinGeorgiev\Doctrine\DBAL\Types\SmallIntArray;

class SmallIntArrayTest extends BaseIntegerArrayTest
class SmallIntArrayTest extends BaseIntegerArrayTestCase
{
protected function setUp(): void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 1d8a406

Please sign in to comment.