diff --git a/composer.json b/composer.json index a6a19e13..51dca322 100644 --- a/composer.json +++ b/composer.json @@ -18,6 +18,8 @@ "druidfi/mysqldump-php": "^1.1", "fakerphp/faker": "^1.17", "justinrainbow/json-schema": "^5.2", + "phpstan/phpstan": "^2.0", + "phpstan/phpstan-phpunit": "^2.0", "symfony/config": "^6.1", "symfony/console": "^6.1", "symfony/dependency-injection": "^6.1", @@ -28,8 +30,6 @@ }, "require-dev": { "php-parallel-lint/php-parallel-lint": "^1.3", - "phpstan/phpstan": "^1.10", - "phpstan/phpstan-phpunit": "^1.3", "phpunit/phpunit": "^10.5", "slevomat/coding-standard": "^8.14", "squizlabs/php_codesniffer": "^3.7" diff --git a/tests/unit/Dumper/Config/Definition/TableConfigCollectionTest.php b/tests/unit/Dumper/Config/Definition/TableConfigCollectionTest.php index 2d4bd5c8..3e7bac6f 100644 --- a/tests/unit/Dumper/Config/Definition/TableConfigCollectionTest.php +++ b/tests/unit/Dumper/Config/Definition/TableConfigCollectionTest.php @@ -33,7 +33,6 @@ public function testAddItems(): void $this->assertCount(2, $collection->all()); $this->assertTrue($collection->has('table1')); $this->assertTrue($collection->has('table2')); - $this->assertInstanceOf(TableConfig::class, $collection->get('table1')); $this->assertSame('table1', $collection->get('table1')->getName()); }