Closed pedroresende closed 5 years ago
getProjectDir
has been added in Symfony 3.3, so it will break our current compatibility with Symfony 2.7 to 3.2.
So we would merge this only if we first decide to drop Symfony < 3.3 support (and this could only happen on a next major release to respect semver). No such thing is planned yet.
After inspection getRootDir()
returns /app
while getProjectDir()
returns /
.
So it cannot be replaced this way in any version of Symfony, I will remove the deprecation notice in a way that returns the right directory.
This PR Addresses the deprecation that appears in Symfony console