- PHP ^= 7.1
- PHPUnit ^= 7.1
composer require vehikl/php-traffic-light
Implementation is extremely simple. Add the following to your phpunit.xml
file:
<extensions>
<extension class="PhpTrafficLight\TrafficLightExtension" />
</extensions>
Additionally, you must ensure that your environment has the following environment variables:
TRAFFIC_LIGHT_ENABLED
- this determines if the plugin is enabled. This should only be true (1
) on the mobbing computer.
That's it! The traffic light in the lounge should now reflect the state of the mobbing tests.