Skip to content

Commit 0eaf681

Browse files
author
mcrinquand
committed
update to handle symfony 7
1 parent eb6e5d7 commit 0eaf681

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
"php": "^7.1.3 || ^8.0",
1414
"doctrine/dbal": "^2.6 || ^3.0",
1515
"fakerphp/faker": "^1.15",
16-
"symfony/console": "^2.0.5|^3.0|^4.0|^5.0|^6.0",
17-
"symfony/dependency-injection": "^4.2|^5.0|^6.0"
16+
"symfony/console": "^2.0.5|^3.0|^4.0|^5.0|^6.0|^7.0",
17+
"symfony/dependency-injection": "^4.2|^5.0|^6.0|^7.0"
1818
},
1919
"require-dev": {
20-
"matthiasnoback/symfony-dependency-injection-test": "^3.1",
21-
"phpunit/phpunit": "^7.4",
22-
"symfony/config": "^4.2|^5.0|^6.0",
23-
"symfony/yaml": "^4.2|^5.0|^6.0"
20+
"matthiasnoback/symfony-dependency-injection-test": "^4.3",
21+
"phpunit/phpunit": "^9.3",
22+
"symfony/config": "^4.2|^5.0|^6.0|^7.0",
23+
"symfony/yaml": "^4.2|^5.0|^6.0|^7.0"
2424
},
2525
"suggest": {
2626
"symfony/config": "To configure anonymizer.",

tests/DatabaseAnonymizer/Tests/System/Command/AnonymizeCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class AnonymizeCommandTest extends TestCase
2323
* @inheritdoc
2424
* @throws \Doctrine\DBAL\DBALException
2525
*/
26-
protected function setUp()
26+
protected function setUp(): void
2727
{
2828
$this->regenerateUsersOrders();
2929
}

tests/DatabaseAnonymizer/Tests/System/Command/GuessConfigCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class GuessConfigCommandTest extends TestCase
7171
* @inheritdoc
7272
* @throws \Doctrine\DBAL\DBALException
7373
*/
74-
protected function setUp()
74+
protected function setUp(): void
7575
{
7676
$this->regenerateUsersOrders();
7777
}

tests/DatabaseAnonymizer/Tests/System/DependencyInjection/Compiler/ChainGeneratorFactoryPassTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class ChainGeneratorFactoryPassTest extends AbstractCompilerPassTestCase
2020
/**
2121
* @inheritdoc
2222
*/
23-
protected function registerCompilerPass(ContainerBuilder $container)
23+
protected function registerCompilerPass(ContainerBuilder $container): void
2424
{
2525
$container->addCompilerPass(new ChainGeneratorFactoryPass());
2626
}

tests/DatabaseAnonymizer/Tests/System/DependencyInjection/WebnetFrDatabaseAnonymizerExtensionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function testServicesLoaded()
4646
/**
4747
* {@inheritdoc}
4848
*/
49-
protected function getContainerExtensions()
49+
protected function getContainerExtensions(): array
5050
{
5151
return [
5252
new WebnetFrDatabaseAnonymizerExtension(),

0 commit comments

Comments
 (0)