Commit Graph

10 Commits

Author SHA1 Message Date
Steve Boyd 94ff5b621c API Update deprecations 2022-11-16 11:31:42 +13:00
Will Rossiter 3e3907d14c
fix: public health/check should not include full details 2022-07-05 09:15:03 +12:00
Steve Boyd b7554a5fc9 ENH PHP 8.1 compatibility 2022-04-13 10:29:17 +12:00
Robbie Averill 922d810a3a Reduce line length for PSR-2 compatibility 2019-03-29 10:03:02 +13:00
Damian Mooyman a54400681f
BUG Only present basic auth challenge if configured to use it 2019-03-28 17:21:16 +13:00
Robbie Averill bf5076f2df FIX Update BasicAuth call signature, remove deprecated code and update getenv 2017-12-13 20:51:37 +13:00
Robbie Averill a68532cef0 Replace Travis configuration with standalone, add phpcs dependency and phpunit config 2017-08-28 09:44:50 +12:00
Robbie Averill 2131840da4 NEW Remove Phockito test dependency, update config API use 2017-08-25 15:19:45 +12:00
Robbie Averill b9af2d0734 FIX Update config API, Logger alias, dotenv config, remove PHP 5.5, other fixes
Remove PHP 5.5 from Travis configuration. Dotenv used for environment management now,
examples and tests updated to use putenv instead of define. Logger alias update to
LoggerInterface. Update mutable config API calls. Replace array declaration with
short version: []. Update license year.
2017-05-04 16:11:25 +12: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