ConfigDouble.php
Config class for use in the tests.
The Config class contains a number of static properties. As the value of these static properties will be retained between instantiations of the class, config values set in one test can influence the results for another test, which makes tests unstable.
This class is a "double" of the Config class which prevents this from happening. In most cases, tests should be using this class instead of the "normal" Config, with the exception of select tests for the Config class itself.
Tags
Table of Contents
Classes
- ConfigDouble
- Stores the configuration used to run PHPCS and PHPCBF.