8000 [RFC] Deprecate Kernel::getRootDir? · Issue #24293 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
[RFC] Deprecate Kernel::getRootDir? #24293
Closed
@ro0NL

Description

@ro0NL
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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0