Commit 591f4c1c authored by Fabien Potencier's avatar Fabien Potencier

Merge branch '1.3'

* 1.3:
  Update testing.rst
  Update nginx sample with PHP7 as default
  Bootstrap composer autoload in PHPUnit
parents c7a90191 af39ead0
...@@ -182,7 +182,8 @@ look like this: ...@@ -182,7 +182,8 @@ look like this:
.. code-block:: xml .. code-block:: xml
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false" <phpunit bootstrap="./vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false" backupStaticAttributes="false"
colors="true" colors="true"
convertErrorsToExceptions="true" convertErrorsToExceptions="true"
...@@ -191,6 +192,7 @@ look like this: ...@@ -191,6 +192,7 @@ look like this:
processIsolation="false" processIsolation="false"
stopOnFailure="false" stopOnFailure="false"
syntaxCheck="false" syntaxCheck="false"
bootstrap="vendor/autoload.php"
> >
<testsuites> <testsuites>
<testsuite name="YourApp Test Suite"> <testsuite name="YourApp Test Suite">
......
...@@ -57,7 +57,7 @@ The **minimum configuration** to get your application running under Nginx is: ...@@ -57,7 +57,7 @@ The **minimum configuration** to get your application running under Nginx is:
# location ~ ^/(index|index_dev)\.php(/|$) { # location ~ ^/(index|index_dev)\.php(/|$) {
location ~ ^/index\.php(/|$) { location ~ ^/index\.php(/|$) {
# the ubuntu default # the ubuntu default
fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_pass unix:/var/run/php/phpX.X-fpm.sock;
# for running on centos # for running on centos
#fastcgi_pass unix:/var/run/php-fpm/www.sock; #fastcgi_pass unix:/var/run/php-fpm/www.sock;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment