Skip to content

Commit

Permalink
bug #353 Fix console path in the comments (chapay)
Browse files Browse the repository at this point in the history
This PR was merged into the master branch.

Discussion
----------

Fix console path in the comments

We moved console to the new directory, but forgot about changing it in the comments. This PR fixes it.

Commits
-------

107f94f Fix console path
  • Loading branch information
javiereguiluz committed Jun 20, 2016
2 parents 7008916 + 107f94f commit fc49fad
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
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
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
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
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
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
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@example.com',
' $ php bin/console app:add-user username password email@example.com',
'',
));

Expand Down
4 changes: 2 additions & 2 deletions src/AppBundle/Command/DeleteUserCommand.php
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
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
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

0 comments on commit fc49fad

Please sign in to comment.