Merge pull request #8923 from christopherdarling/patch-13

DOCS composer autoload examples should be psr-4
This commit is contained in:
Robbie Averill 2019-04-15 18:04:04 +12:00 committed by GitHub
commit b17526edbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,7 +140,7 @@ You can do this manually:
- }
+ },
+ "autoload": {
+ "psr4": {
+ "psr-4": {
+ "ExampleUser\\SilverstripeExampleModule\\": "code/",
+ "ExampleUser\\SilverstripeExampleModule\\Tests\\": "tests/"
+ }
@ -270,12 +270,12 @@ You'll need to update your module's `composer.json` file with an `extra.expose`
"silverstripe/vendor-plugin": "^1"
},
"autoload": {
"psr4": {
"psr-4": {
"ExampleUser\\SilverstripeExampleModule\\": "code/"
}
},
"autoload-dev": {
"psr4": {
"psr-4": {
"ExampleUser\\SilverstripeExampleModule\\Tests\\": "tests/"
}
- }