silverstripe-frameworktest/composer.json
Ingo Schommer 82a660dadc Require silverstripe/registry
Those class_exists() check don't work with class manifests.
Check the logic in ClassManifestVisitor - it just parses PHP until it finds
class definitions. Which means you'll have those files in the manifest,
but when dev/build tries to instantiate them it fails
with an InjectorNotFoundException.

We could argue that this should be fixed in core,
but I'm not sure that this style of conditional classes
needs to be supported.
2020-08-13 20:48:30 +12:00

35 lines
824 B
JSON

{
"name": "silverstripe/frameworktest",
"description": "Aids core and module developers in testing their code against a set of sample data and behaviour.",
"type": "silverstripe-vendormodule",
"keywords": ["silverstripe", "frameworktest", "testing"],
"license": "BSD-3-Clause",
"authors": [
{
"name": "Ingo Schommer",
"email": "ingo@silverstripe.com"
}
],
"require":
{
"silverstripe/framework": "~4.0",
"silverstripe/cms": "~4.0",
"guzzlehttp/guzzle": "~6.0",
"fzaninotto/faker": "^1.7",
"silverstripe/vendor-plugin": "^1.0",
"silverstripe/registry": "~2"
},
"extra": {
"expose": [
"client/dist",
"css",
"images"
]
},
"autoload": {
"psr-4": {
"SSilverStripe\\FrameworkTest\\": "code/"
}
}
}