-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Labels
Description
| Q | A |
|---|---|
| Bug report? | no |
| Feature request? | no |
| BC Break report? | no |
| RFC? | yes |
| Symfony version | 3.x |
Should we deprecate Kernel::getRootDir()? With the new structure and Kernel living in src/ this will basically point to some arbitrary namespace path. Im not even sure core still uses/needs it, having getProjectDir() also.
I think also any dirname(__DIR__) call in https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/3.3/src/Kernel.php should be replaced by that (getProjectDir).
nicoschoenmaker, jvasseur and Tobion