mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
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.
This commit is contained in:
parent
dc3f096e20
commit
82a660dadc
@ -16,7 +16,8 @@
|
||||
"silverstripe/cms": "~4.0",
|
||||
"guzzlehttp/guzzle": "~6.0",
|
||||
"fzaninotto/faker": "^1.7",
|
||||
"silverstripe/vendor-plugin": "^1.0"
|
||||
"silverstripe/vendor-plugin": "^1.0",
|
||||
"silverstripe/registry": "~2"
|
||||
},
|
||||
"extra": {
|
||||
"expose": [
|
||||
|
Loading…
Reference in New Issue
Block a user