Skip to content

Commit

Permalink
dev/core#1684 Use psr-4 autoloader instead of psr-0 for Civi directory
Browse files Browse the repository at this point in the history
This change is to allow underscores in class names, which were being misinterpreted as directory separators.
  • Loading branch information
colemanw committed Apr 19, 2020
1 parent e3e2d18 commit d845fb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down

0 comments on commit d845fb8

Please sign in to comment.