1
0
Fork 0

"No files" was inaccurate; amend to specify "no files except"

pull/4187/head
Jonathan Eskew 2015-07-01 09:38:14 -07:00
parent 56ffa407f1
commit 4e3fbeabfc
1 changed files with 5 additions and 1 deletions

View File

@ -84,7 +84,8 @@ and command-line executable commands.
autoload functionality.
- If a defined callback relies on functions defined outside of a class, the
callback itself is responsible for loading the appropriate files, as no files
are autoloaded during Composer commands.
beyond those required for `psr-0`, `psr-4`, and `classmap` autoloading are
loaded during Composer commands.
Script definition example:
@ -99,6 +100,9 @@ Script definition example:
"MyVendor\\MyClass::warmCache",
"phpunit -c app/"
],
"post-autoload-dump": [
"MyVendor\\MyClass::postAutoloadDump"
]
"post-create-project-cmd" : [
"php -r \"copy('config/local-example.php', 'config/local.php');\""
]