Skip to content

Commit

Permalink
Merge pull request #21 from malteschlueter/improvement/symfony-6
Browse files Browse the repository at this point in the history
Extend dev dependencies to use symfony 6 and fix deprecation in test
  • Loading branch information
mark-gerarts authored Dec 1, 2021
2 parents 10f2e88 + 7f66ed4 commit dd7f665
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ protected function setUp(): void
$symfonyPropertyAccessor = $this->registerService('symfony_property_accessor', PropertyAccess::class)
->setFactory([PropertyAccess::class, 'createPropertyAccessor']);
$this->serviceDefinition = $this->registerService('custom_property_accessor', SymfonyPropertyAccessorBridge::class)
->setPrivate(false)
->setPublic(true)
->addArgument($symfonyPropertyAccessor);
}

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
},
"require-dev": {
"phpunit/phpunit": "^7.5|^8.0",
"symfony/phpunit-bridge": "^5.0",
"symfony/property-access": "^3.4|^4.4|^5.0",
"symfony/phpunit-bridge": "^5.0|^6.0",
"symfony/property-access": "^3.4|^4.4|^5.0|^6.0",
"matthiasnoback/symfony-dependency-injection-test": "^3.1|^4.1"
},
"suggest": {
"symfony/property-access": "^3.4|^4.4|^6.0"
"symfony/property-access": "^3.4|^4.4|^5.4|^6.0"
}
}

0 comments on commit dd7f665

Please sign in to comment.