Skip to content

Commit bcb9e9e

Browse files
authored
Update autoload paths in README.md
1 parent c6a6fa4 commit bcb9e9e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ the autoload section would be like:
4848
```json
4949
"autoload": {
5050
"psr-4": {
51-
"MyPlugin\\": "src"
51+
"MyPlugin\\": "src/"
5252
}
5353
}
5454
```
@@ -59,13 +59,13 @@ also have an "autoload-dev" section for loading test files:
5959
```json
6060
"autoload": {
6161
"psr-4": {
62-
"MyPlugin\\": "src"
62+
"MyPlugin\\": "src/"
6363
}
6464
},
6565
"autoload-dev": {
6666
"psr-4": {
67-
"MyPlugin\\Test\\": "tests",
68-
"Cake\\Test\\" : "vendor/cakephp/cakephp/test"
67+
"MyPlugin\\Test\\": "tests/",
68+
"Cake\\Test\\" : "vendor/cakephp/cakephp/tests/"
6969
}
7070
}
7171
```
@@ -76,13 +76,13 @@ would be like:
7676
```json
7777
"autoload": {
7878
"psr-4": {
79-
"MyVendor\\MyPlugin\\": "src"
79+
"MyVendor\\MyPlugin\\": "src/"
8080
}
8181
},
8282
"autoload-dev": {
8383
"psr-4": {
84-
"MyVendor\\MyPlugin\\Test\\": "tests",
85-
"Cake\\Test\\" : "vendor/cakephp/cakephp/test"
84+
"MyVendor\\MyPlugin\\Test\\": "tests/",
85+
"Cake\\Test\\" : "vendor/cakephp/cakephp/tests/"
8686
}
8787
}
8888
```

0 commit comments

Comments
 (0)