mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
82a660dadc
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.
35 lines
824 B
JSON
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/"
|
|
}
|
|
}
|
|
}
|