-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SS4/PHP compatibility tweaks #13
base: master
Are you sure you want to change the base?
Conversation
…torNotFoundException error 'ExternalURL does not exist'
…ods should be compatible with parent methods in php'
…rectory rather than project root
Apologies, have added the vendor-plugin dependency (required with the package type change to silverstripe-vendormodule). Have also removed PHP 5.5 from the .travis.yml, given that SS4 only supports >=5.6/7.x. |
Hey! #17 has implemented the Travis and |
@dizzystuff I've rebased here, feel free to use it or I can open a new PR if you like. |
Would it be possible to have these merged? 🙂 |
I've opened a PR with the rebased changes. |
Updating composer package type from 'silverstripe-module' to 'silverstripe-vendormodule' so that the package is installed to /vendor directory rather than project root.
Updating ExternalURLField::setValue method arguments, to resolve php E_STRICT notice
declaration of methods should be compatible with parent methods in php
.Applying injection pattern per silverstripe-framework's DBField classes, to resolve
Uncaught SilverStripe\Core\Injector\InjectorNotFoundException: ReflectionException: Class ExternalURL does not exist in /framework/src/Core/Injector/InjectionCreator.php:17