Skip to content

Commit 107f94f

Browse files
committed
Fix console path
1 parent d87ca1f commit 107f94f

File tree

9 files changed

+15
-15
lines changed

9 files changed

+15
-15
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ uncomment the Assetic blocks in the `app/Resources/views/base.html.twig` and
1717
execute the following command:
1818

1919
```bash
20-
$ php app/console assetic:dump --no-debug
20+
$ php bin/console assetic:dump --no-debug
2121
```

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ in your web server to access the application. Just use the built-in web server:
5353

5454
```bash
5555
$ cd symfony-demo/
56-
$ php app/console server:run
56+
$ php bin/console server:run
5757
```
5858

5959
This command will start a web server for the Symfony application. Now you can

app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"logo": "https://symfony.com/images/v5/pictos/demoapp.svg?v=4",
1111
"success_url": "/",
1212
"scripts": {
13-
"postdeploy": "php app/console doctrine:schema:create && php app/console doctrine:fixtures:load -n"
13+
"postdeploy": "php bin/console doctrine:schema:create && php bin/console doctrine:fixtures:load -n"
1414
},
1515
"env": {
1616
"SYMFONY_ENV": "prod",

app/Resources/views/security/login.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,14 @@
6666
<span class="label label-success">{{ 'note'|trans }}</span>
6767
{{ 'help.reload_fixtures'|trans }}<br/>
6868

69-
<code class="console">$ php app/console doctrine:fixtures:load</code>
69+
<code class="console">$ php bin/console doctrine:fixtures:load</code>
7070
</p>
7171

7272
<p>
7373
<span class="label label-success">{{ 'tip'|trans }}</span>
7474
{{ 'help.add_user'|trans }}<br/>
7575

76-
<code class="console">$ php app/console app:add-user</code>
76+
<code class="console">$ php bin/console app:add-user</code>
7777
</p>
7878
</div>
7979
</div>

app/config/parameters.yml.dist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ parameters:
1717
# You can even create the database and load the sample data from the command line:
1818
#
1919
# $ cd symfony-demo/
20-
# $ php app/console doctrine:database:create
21-
# $ php app/console doctrine:schema:create
22-
# $ php app/console doctrine:fixtures:load
20+
# $ php bin/console doctrine:database:create
21+
# $ php bin/console doctrine:schema:create
22+
# $ php bin/console doctrine:fixtures:load
2323

2424
# If you don't use a real mail server, you can send emails via your Gmail account.
2525
# see http://symfony.com/doc/current/cookbook/email/gmail.html

src/AppBundle/Command/AddUserCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525
* To use this command, open a terminal window, enter into your project
2626
* directory and execute the following:
2727
*
28-
* $ php app/console app:add-user
28+
* $ php bin/console app:add-user
2929
*
3030
* To output detailed information, increase the command verbosity:
3131
*
32-
* $ php app/console app:add-user -vv
32+
* $ php bin/console app:add-user -vv
3333
*
3434
* See http://symfony.com/doc/current/cookbook/console/console_command.html
3535
*
@@ -103,7 +103,7 @@ protected function interact(InputInterface $input, OutputInterface $output)
103103
'If you prefer to not use this interactive wizard, provide the',
104104
'arguments required by this command as follows:',
105105
'',
106-
' $ php app/console app:add-user username password [email protected]',
106+
' $ php bin/console app:add-user username password [email protected]',
107107
'',
108108
));
109109

src/AppBundle/Command/DeleteUserCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* To use this command, open a terminal window, enter into your project
2525
* directory and execute the following:
2626
*
27-
* $ php app/console app:delete-user
27+
* $ php bin/console app:delete-user
2828
*
2929
* Check out the code of the src/AppBundle/Command/AddUserCommand.php file for
3030
* the full explanation about Symfony commands.
@@ -83,7 +83,7 @@ protected function interact(InputInterface $input, OutputInterface $output)
8383
'If you prefer to not use this interactive wizard, provide the',
8484
'arguments required by this command as follows:',
8585
'',
86-
' $ php app/console app:delete-user username',
86+
' $ php bin/console app:delete-user username',
8787
'',
8888
));
8989

src/AppBundle/Command/ListUsersCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* A command console that lists all the existing users. To use this command, open
2525
* a terminal window, enter into your project directory and execute the following:
2626
*
27-
* $ php app/console app:list-users
27+
* $ php bin/console app:list-users
2828
*
2929
* See http://symfony.com/doc/current/cookbook/console/console_command.html
3030
*

src/AppBundle/DataFixtures/ORM/LoadFixtures.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* Defines the sample data to load in the database when running the unit and
2424
* functional tests. Execute this command to load the data:
2525
*
26-
* $ php app/console doctrine:fixtures:load
26+
* $ php bin/console doctrine:fixtures:load
2727
*
2828
* See http://symfony.com/doc/current/bundles/DoctrineFixturesBundle/index.html
2929
*

0 commit comments

Comments
 (0)