Skip to content

Commit

Permalink
Add "setting" to the PHPUnit list of requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
rybakit committed Mar 25, 2022
1 parent 9877904 commit a463c95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Annotation/Processor/RequiresProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
final class RequiresProcessor implements Processor
{
/**
* @see https://phpunit.readthedocs.io/en/9.0/incomplete-and-skipped-tests.html#skipping-tests-using-requires
* @see https://github.com/sebastianbergmann/phpunit/blob/7.1.0/src/Util/Test.php#L67-L90
*/
private const PHPUNIT_REQUIREMENTS = [
'PHP' => true,
Expand All @@ -29,6 +29,7 @@ final class RequiresProcessor implements Processor
'OSFAMILY' => true,
'function' => true,
'extension' => true,
'setting' => true,
];

/** @var array<string, Requirement> */
Expand Down

0 comments on commit a463c95

Please sign in to comment.