Skip to content

Commit

Permalink
update to handle symfony 7
Browse files Browse the repository at this point in the history
  • Loading branch information
mcrinquand committed Oct 14, 2024
1 parent eb6e5d7 commit 0eaf681
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
"php": "^7.1.3 || ^8.0",
"doctrine/dbal": "^2.6 || ^3.0",
"fakerphp/faker": "^1.15",
"symfony/console": "^2.0.5|^3.0|^4.0|^5.0|^6.0",
"symfony/dependency-injection": "^4.2|^5.0|^6.0"
"symfony/console": "^2.0.5|^3.0|^4.0|^5.0|^6.0|^7.0",
"symfony/dependency-injection": "^4.2|^5.0|^6.0|^7.0"
},
"require-dev": {
"matthiasnoback/symfony-dependency-injection-test": "^3.1",
"phpunit/phpunit": "^7.4",
"symfony/config": "^4.2|^5.0|^6.0",
"symfony/yaml": "^4.2|^5.0|^6.0"
"matthiasnoback/symfony-dependency-injection-test": "^4.3",
"phpunit/phpunit": "^9.3",
"symfony/config": "^4.2|^5.0|^6.0|^7.0",
"symfony/yaml": "^4.2|^5.0|^6.0|^7.0"
},
"suggest": {
"symfony/config": "To configure anonymizer.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class AnonymizeCommandTest extends TestCase
* @inheritdoc
* @throws \Doctrine\DBAL\DBALException
*/
protected function setUp()
protected function setUp(): void
{
$this->regenerateUsersOrders();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class GuessConfigCommandTest extends TestCase
* @inheritdoc
* @throws \Doctrine\DBAL\DBALException
*/
protected function setUp()
protected function setUp(): void
{
$this->regenerateUsersOrders();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ChainGeneratorFactoryPassTest extends AbstractCompilerPassTestCase
/**
* @inheritdoc
*/
protected function registerCompilerPass(ContainerBuilder $container)
protected function registerCompilerPass(ContainerBuilder $container): void
{
$container->addCompilerPass(new ChainGeneratorFactoryPass());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function testServicesLoaded()
/**
* {@inheritdoc}
*/
protected function getContainerExtensions()
protected function getContainerExtensions(): array
{
return [
new WebnetFrDatabaseAnonymizerExtension(),
Expand Down

0 comments on commit 0eaf681

Please sign in to comment.