DOC add note about FileAccessibilityAndValidationCheck

This commit is contained in:
Will Rossiter 2022-10-07 09:09:09 +13:00 committed by GitHub
parent 7e59b7e88b
commit 0e4867f736
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,6 +82,7 @@ SilverStripe\EnvironmentCheck\EnvironmentCheckSuite:
* `HasClassCheck`: Check that the given class exists. * `HasClassCheck`: Check that the given class exists.
This can be used to check that PHP modules or features are installed. This can be used to check that PHP modules or features are installed.
* `FileWriteableCheck`: Check that the given file is writeable. * `FileWriteableCheck`: Check that the given file is writeable.
* `FileAccessibilityAndValidationCheck`: Check that a given file is accessible and optionally matches a given format.
* `FileAgeCheck`: Checks for the maximum age of one or more files or folders. * `FileAgeCheck`: Checks for the maximum age of one or more files or folders.
Useful for files which should be frequently auto-generated, Useful for files which should be frequently auto-generated,
like static caches, as well as for backup files and folders. like static caches, as well as for backup files and folders.