Skip to content

[CONSOLE] Breaking change ? #26378

Closed
Closed
@Neirda24

Description

@Neirda24
Q A
Bug report? yes
Feature request? no
BC Break report? yes
RFC? no
Symfony version 3.4.5

Hi...

when coding I was used to setting an alias as so:

alias dev='./bin/console -e=dev'

But since I upgraded to 3.4.5 I got this error:

$ bin/console -e=dev c:c

In FileLocator.php line 44:

  The file "/var/www/html/app/config/config_=dev.yml" does not exist.

It seems now the good syntax is either

./bin/console -edev c:c
# Or
./bin/console --env=dev c:c

It seems to me that it is a breaking change (not a huge one of course but still...)

Regards,
Adrien

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugConsoleDXDX = Developer eXperience (anything that improves the experience of using Symfony)Status: Needs Review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions