Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 32688fa

Browse files
author
Fabrice Bernhard
committed
symfony 1 to Symfony2: replace tabs with spaces in the file
1 parent 8ffb8a8 commit 32688fa

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

guides/symfony1.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ In a symfony 1 environment, to create a new project, you use the global "symfony
99

1010
.. code-block::
1111
12-
svn checkout http://svn.symfony-project.com/branches/1.4/ symfony1
12+
svn checkout http://svn.symfony-project.com/branches/1.4/ symfony1
1313
mkdir mynewproject
1414
cd mynewproject
1515
php ../symfony1/data/bin/symfony generate:project mynewproject
@@ -18,18 +18,18 @@ In Symfony2, to create a new project you need to install the symfony bootstrappe
1818

1919
.. code-block::
2020
21-
git clone git://github.com/symfony/symfony-bootstrapper.git
22-
cd symfony-bootstraper/src
23-
sh ../bin/install_vendors.sh
24-
cd ../../
21+
git clone git://github.com/symfony/symfony-bootstrapper.git
22+
cd symfony-bootstraper/src
23+
sh ../bin/install_vendors.sh
24+
cd ../../
2525
2626
And then use it to create your project. Note that the default format for configuration files is now ```xml```, so if you want to keep the ```yml``` format to which you are used to in symfony 1, you need to specifiy it:
2727

2828
.. code-block::
2929
3030
mkdir mynewproject
3131
cd mynewproject
32-
php ../symfony-bootstrapper/symfony.phar init --format=yml --name=mynewproject
32+
php ../symfony-bootstrapper/symfony.phar init --format=yml --name=mynewproject
3333
3434
Finally you now have multiple external libraries to include in your project. To avoid downloading them for every new project, you can use a symbolic link:
3535

@@ -46,15 +46,15 @@ In symfony 1, the console is directly in the base directory and is called ```sym
4646

4747
.. code-block::
4848
49-
php symfony
50-
49+
php symfony
50+
5151
In Symfony2, the console is now in the app sub-directory and is called ```console```:
5252

5353
.. code-block::
5454
55-
php app/console
56-
57-
55+
php app/console
56+
57+
5858
Applications
5959
------------
6060

0 commit comments

Comments
 (0)