Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove not longer existing Kernel Root Dir #6652

Conversation

alexander-schranz
Copy link
Member

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets
Related issues/PRs #6556
License MIT
Documentation PR sulu/sulu-docs#

What's in this PR?

Remove not longer existing Kernel Root Dir

Why?

Deprecated since symfony 4 and removed in symfony 5 the kernel root dir should now be possible to be removed safely from our methods.

@alexander-schranz alexander-schranz added the DX Affecting the end developer label Jun 15, 2022
@alexander-schranz alexander-schranz mentioned this pull request Jun 15, 2022
84 tasks
@alexander-schranz alexander-schranz requested review from wachterjohannes and removed request for wachterjohannes June 15, 2022 10:24
@alexander-schranz alexander-schranz force-pushed the enhancement/remove-deprecate-kernel-root-dir branch from 3c5bd0c to a7e1d8d Compare June 15, 2022 10:37
@@ -60,26 +55,20 @@ protected function getContainerClass(): string
return $this->generateContainerClass(\get_parent_class());
}

public function getRootDir(/* $triggerDeprecation = true */)
public function getProjectDir(): string
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update with the changes from symfony core

@@ -60,26 +55,20 @@ protected function getContainerClass(): string
return $this->generateContainerClass(\get_parent_class());
}

public function getRootDir(/* $triggerDeprecation = true */)
Copy link
Member Author

@alexander-schranz alexander-schranz Jun 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed as not longer needed and was deprecated since symfony 4.2, but was required as we did support symfony 4.4 until 2.4

@wachterjohannes wachterjohannes merged commit cb3564c into sulu:2.5 Jun 15, 2022
@alexander-schranz alexander-schranz deleted the enhancement/remove-deprecate-kernel-root-dir branch June 15, 2022 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX Affecting the end developer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants