Merge branch '3.0' into 3

This commit is contained in:
Steve Boyd 2023-05-04 13:35:07 +12:00
commit 54c2b87549
2 changed files with 2 additions and 11 deletions

View File

@ -9,13 +9,6 @@ This module adds an API for running environment checks to your API.
* `dev/check` - An admin-only URL that performs a more comprehensive set of checks. This could be tied to a deployment system, for example. * `dev/check` - An admin-only URL that performs a more comprehensive set of checks. This could be tied to a deployment system, for example.
* `dev/check/<suite>` - Check a specific suite (admin only) * `dev/check/<suite>` - Check a specific suite (admin only)
## Requirements
* Silverstripe 4.x
* PHP 7.3
For Silverstripe 3.x support, please use a `1.x` tagged release.
## Aren't these just unit tests? ## Aren't these just unit tests?
Almost, but not really. Environment checks differ from unit tests in two important ways: Almost, but not really. Environment checks differ from unit tests in two important ways:
@ -26,11 +19,9 @@ Almost, but not really. Environment checks differ from unit tests in two importa
## Installation ## Installation
```sh ```sh
$ composer require silverstripe/environmentcheck composer require silverstripe/environmentcheck
``` ```
You'll also need to run `/dev/build`.
### Activating Directly ### Activating Directly
Register checks in your own `_config.php` - see the `_config.php` in this module for some defaults. Don't forget to Register checks in your own `_config.php` - see the `_config.php` in this module for some defaults. Don't forget to

View File

@ -38,4 +38,4 @@
}, },
"minimum-stability": "dev", "minimum-stability": "dev",
"prefer-stable": true "prefer-stable": true
} }