Commit 4cf356df by Qiang Xue

adjust directories for PSR-4.

parent b594e009
...@@ -96,6 +96,9 @@ ...@@ -96,6 +96,9 @@
"twig/twig": "required by yii2-twig extension" "twig/twig": "required by yii2-twig extension"
}, },
"autoload": { "autoload": {
"psr-4": {
"yii\\faker\\": "extensions/faker/"
},
"psr-0": { "psr-0": {
"yii\\apidoc\\": "extensions/", "yii\\apidoc\\": "extensions/",
"yii\\authclient\\": "extensions/", "yii\\authclient\\": "extensions/",
...@@ -103,7 +106,6 @@ ...@@ -103,7 +106,6 @@
"yii\\codeception\\": "extensions/", "yii\\codeception\\": "extensions/",
"yii\\debug\\": "extensions/", "yii\\debug\\": "extensions/",
"yii\\elasticsearch\\": "extensions/", "yii\\elasticsearch\\": "extensions/",
"yii\\faker\\": "extensions/",
"yii\\gii\\": "extensions/", "yii\\gii\\": "extensions/",
"yii\\imagine\\" : "extensions/", "yii\\imagine\\" : "extensions/",
"yii\\jui\\": "extensions/", "yii\\jui\\": "extensions/",
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
"fzaninotto/faker": "*" "fzaninotto/faker": "*"
}, },
"autoload": { "autoload": {
"psr-0": { "yii\\faker\\": "" } "psr-4": { "yii\\faker\\": "" }
}, }
"target-dir": "yii/faker"
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment