Sunnysideup\DataIntegrityTest\DataIntegrityTestYML
Synopsis
class DataIntegrityTestYML
extends BuildTask
{
- // members
- protected string $title = 'Check your config files for rogue entries.';
- protected string $description = 'Checks a selection of yml files to see if there are any entries that may be incorrect.';
- private static array $config_files = ;
- private static array $classes_to_skip = ;
- private static array $variables_to_skip = ;
- // methods
- public void run()
Hierarchy
Extends
- SilverStripe\Dev\BuildTask
Members
private
- $classes_to_skip
—
array
list of classes that do not need to be checked NB: they are all lowercase, as we test for them only lowercase! - $config_files
—
array
list of files you want to check - $variables_to_skip
—
array
list of variables that do not need checking...
protected
- $description
—
string
standard SS variable - $title
—
string
standard SS variable