Commit Graph

6 Commits

Author SHA1 Message Date
Robbie Averill b1f5ef184b Add PHP 7.2 to Travis, ensure phpcs passes stricter standard 2017-12-13 21:08:59 +13:00
Robbie Averill 254ed4801f SilverStripe 4.x compatibility (#38)
* Update composer constraint for 4.x compat

* 4.x compatibility: Rename "code" to "src" and add PSR-4 autoloading

* Restructure code and tests for PSR-4

* Implement namespaces

* Implement namespaced throughout

* PSR-2 formatting updates, separate Result from CheckSuite, implement PSR-3 logging, fix tests

* FIX Routes and template location

* Update readme. Allow check classes to be namespaced or not.

* Add entry to changelog

* FIX Ensure DatabaseCheckTest always has a member. Allow strings or objects for $check in the suite

* Update readme to be clearer about passing checks with or without namespaces

* Revert namespace checking and implement Injector aliases instead. Update readme.
2017-01-05 11:16:12 +13:00
Sean Harvey 3ff3b05692 Fixing deprecated usage of Director::addRules(), replace with YAML. 2013-09-20 11:26:21 +12:00
Ingo Schommer 616f0d98c1 MINOR Consistent class naming and file<->class relationships (no functional changes) 2012-01-20 18:12:16 +01:00
Ingo Schommer 5c13c1b7a5 MINOR Disabled default checks in _config.php, to enable custom ordering in own configuration without modifying the module files. Noted configuration settings in README. 2012-01-20 18:12:14 +01:00
Sam Minnee 9426ffb12e Initial release of the module, based on Sam and Will's work 2012-01-10 19:28:04 +13:00