Skip to content

Commit

Permalink
Remove not longer required gedmo hack
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Jul 25, 2024
1 parent ab65284 commit 8c356b2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
3 changes: 0 additions & 3 deletions Tests/Application/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ public function registerContainerConfiguration(LoaderInterface $loader): void
protected function getKernelParameters(): array
{
$parameters = parent::getKernelParameters();

$gedmoReflection = new \ReflectionClass(\Gedmo\Exception::class);
$parameters['gedmo_directory'] = \dirname($gedmoReflection->getFileName());
$parameters['kernel.root_dir'] = __DIR__; // TODO remove when lowest version increased

return $parameters;
Expand Down
6 changes: 0 additions & 6 deletions Tests/Application/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@
doctrine:
dbal:
url: '%env(resolve:DATABASE_URL)%'
orm:
mappings:
gedmo_tree:
type: xml
prefix: Gedmo\Tree\Entity
dir: "%gedmo_directory%/Tree/Entity"

framework:
router:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"license": "MIT",
"require": {
"php": "^7.2|^8.0",
"sulu/sulu": "^2.1 || 2.x-dev",
"sulu/sulu": "^2.4 || 2.x-dev",
"symfony/config": "^5.4 || ^6.0 || ^7.0",
"symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0",
"symfony/framework-bundle": "^5.4 || ^6.0 || ^7.0",
Expand Down

0 comments on commit 8c356b2

Please # to comment.