projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3e2d18
)
dev/core#1684 Use psr-4 autoloader instead of psr-0 for Civi directory
author
Coleman Watts
<coleman@civicrm.org>
Sun, 19 Apr 2020 01:08:38 +0000
(21:08 -0400)
committer
Coleman Watts
<coleman@civicrm.org>
Sun, 19 Apr 2020 19:53:54 +0000
(15:53 -0400)
This change is to allow underscores in class names, which were being misinterpreted as directory separators.
composer.json
patch
|
blob
|
blame
|
history
diff --git
a/composer.json
b/composer.json
index 4ac9ffb0e3403287d8b3e5fca76d1ad1e2e0dffa..6e414e4c6650460f441f4b5f84a5354cd0dcae2f 100644
(file)
--- a/
composer.json
+++ b/
composer.json
@@
-29,10
+29,10
@@
"psr-0": {
"PHPUnit_": ["packages/"],
"Civi": "",
- "Civi\\": ["
.", "
tests/phpunit/"]
+ "Civi\\": ["tests/phpunit/"]
},
"psr-4": {
- "Civi\\": ["setup/src/"]
+ "Civi\\": ["
.", "
setup/src/"]
}
},
"include-path": ["vendor/tecnickcom"],