diff options
author | Boris Verkhovskiy <boris.verk@gmail.com> | 2024-04-06 08:36:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-06 08:36:26 -0700 |
commit | 111ff839f3a9b96fecd1d186340bf57e0f27e177 (patch) | |
tree | 30d433ba19ec49808cc0f0de8a161835ad5f29c9 /php-composer.html.markdown | |
parent | 9fa4b5af80f1cd7fe2469c198d02a21e4f8884a1 (diff) | |
parent | 3e687f1a8ccb1cd0d52a966005551d528ca141df (diff) |
Merge pull request #4881 from verhovsky/trailing-newlines
Remove leading and trailing empty lines in code blocks
Diffstat (limited to 'php-composer.html.markdown')
-rw-r--r-- | php-composer.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/php-composer.html.markdown b/php-composer.html.markdown index 16fed582..15c75aff 100644 --- a/php-composer.html.markdown +++ b/php-composer.html.markdown @@ -101,7 +101,6 @@ composer update phpunit/phpunit # If you wish to migrate a package to a newer version preference, you may need to remove the older package and its dependencies first. composer remove --dev phpunit/phpunit composer require --dev phpunit/phpunit:^5.0 - ``` ## Autoloader @@ -127,6 +126,7 @@ In `composer.json`, add a 'autoload' field: } } ``` + This will tell the autoloader to look for anything in the `\Acme\` namespace within the `src` folder. You can also [use PSR-0, a Classmap or just a list of files to include](https://getcomposer.org/doc/04-schema.md#autoload). There is also the `autoload-dev` field for development-only namespaces. |