Add composer autoloading support to 3.x

This commit is contained in:
Daniel Hensby 2017-10-25 17:04:44 +01:00
parent 59cc45565b
commit 8aad080516
No known key found for this signature in database
GPG Key ID: 5DE415D786BBB2FD

View File

@ -29,6 +29,16 @@
}
},
"autoload": {
"classmap": ["tests/behat/features/bootstrap"]
"psr-0": {
"SilverStripe\\": "src/",
"Zend_": "thirdparty/Zend/"
},
"classmap": [
"tests/behat/features/bootstrap",
"admin/code", "api", "cache", "cli", "control", "core", "dev", "email", "filesystem",
"forms", "i18n", "model", "oembed", "parsers", "search", "security", "tasks", "view",
"thirdparty/php-peg", "thirdparty/simpletest", "thirdparty/zend_translate_railsyaml"
],
"exclude-from-classmap": ["view/SSTemplateParser.php.inc", "dev/phpunit/PhpUnitWrapper.php"]
}
}