From 3e687f1a8ccb1cd0d52a966005551d528ca141df Mon Sep 17 00:00:00 2001 From: Boris Verkhovskiy Date: Sat, 6 Apr 2024 08:33:50 -0700 Subject: Remove leading and trailing empty lines in code blocks --- php-composer.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'php-composer.html.markdown') 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. -- cgit v1.2.3