mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Add composer autoloading support to 3.x
This commit is contained in:
parent
59cc45565b
commit
8aad080516
@ -29,6 +29,16 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"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"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user