Skip to content

Fix console path in the comments #353

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 20, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ uncomment the Assetic blocks in the `app/Resources/views/base.html.twig` and
execute the following command:

```bash
$ php app/console assetic:dump --no-debug
$ php bin/console assetic:dump --no-debug
```
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ in your web server to access the application. Just use the built-in web server:

```bash
$ cd symfony-demo/
$ php app/console server:run
$ php bin/console server:run
```

This command will start a web server for the Symfony application. Now you can
Expand Down
2 changes: 1 addition & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"logo": "https://symfony.com/images/v5/pictos/demoapp.svg?v=4",
"success_url": "/",
"scripts": {
"postdeploy": "php app/console doctrine:schema:create && php app/console doctrine:fixtures:load -n"
"postdeploy": "php bin/console doctrine:schema:create && php bin/console doctrine:fixtures:load -n"
},
"env": {
"SYMFONY_ENV": "prod",
Expand Down
4 changes: 2 additions & 2 deletions app/Resources/views/security/login.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@
<span class="label label-success">{{ 'note'|trans }}</span>
{{ 'help.reload_fixtures'|trans }}<br/>

<code class="console">$ php app/console doctrine:fixtures:load</code>
<code class="console">$ php bin/console doctrine:fixtures:load</code>
</p>

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

<code class="console">$ php app/console app:add-user</code>
<code class="console">$ php bin/console app:add-user</code>
</p>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions app/config/parameters.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ parameters:
# You can even create the database and load the sample data from the command line:
#
# $ cd symfony-demo/
# $ php app/console doctrine:database:create
# $ php app/console doctrine:schema:create
# $ php app/console doctrine:fixtures:load
# $ php bin/console doctrine:database:create
# $ php bin/console doctrine:schema:create
# $ php bin/console doctrine:fixtures:load

# If you don't use a real mail server, you can send emails via your Gmail account.
# see http://symfony.com/doc/current/cookbook/email/gmail.html
Expand Down
6 changes: 3 additions & 3 deletions src/AppBundle/Command/AddUserCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
* To use this command, open a terminal window, enter into your project
* directory and execute the following:
*
* $ php app/console app:add-user
* $ php bin/console app:add-user
*
* To output detailed information, increase the command verbosity:
*
* $ php app/console app:add-user -vv
* $ php bin/console app:add-user -vv
*
* See http://symfony.com/doc/current/cookbook/console/console_command.html
*
Expand Down Expand Up @@ -103,7 +103,7 @@ protected function interact(InputInterface $input, OutputInterface $output)
'If you prefer to not use this interactive wizard, provide the',
'arguments required by this command as follows:',
'',
' $ php app/console app:add-user username password [email protected]',
' $ php bin/console app:add-user username password [email protected]',
'',
));

Expand Down
4 changes: 2 additions & 2 deletions src/AppBundle/Command/DeleteUserCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* To use this command, open a terminal window, enter into your project
* directory and execute the following:
*
* $ php app/console app:delete-user
* $ php bin/console app:delete-user
*
* Check out the code of the src/AppBundle/Command/AddUserCommand.php file for
* the full explanation about Symfony commands.
Expand Down Expand Up @@ -83,7 +83,7 @@ protected function interact(InputInterface $input, OutputInterface $output)
'If you prefer to not use this interactive wizard, provide the',
'arguments required by this command as follows:',
'',
' $ php app/console app:delete-user username',
' $ php bin/console app:delete-user username',
'',
));

Expand Down
2 changes: 1 addition & 1 deletion src/AppBundle/Command/ListUsersCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* A command console that lists all the existing users. To use this command, open
* a terminal window, enter into your project directory and execute the following:
*
* $ php app/console app:list-users
* $ php bin/console app:list-users
*
* See http://symfony.com/doc/current/cookbook/console/console_command.html
*
Expand Down
2 changes: 1 addition & 1 deletion src/AppBundle/DataFixtures/ORM/LoadFixtures.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* Defines the sample data to load in the database when running the unit and
* functional tests. Execute this command to load the data:
*
* $ php app/console doctrine:fixtures:load
* $ php bin/console doctrine:fixtures:load
*
* See http://symfony.com/doc/current/bundles/DoctrineFixturesBundle/index.html
*
Expand Down