Skip to content

Commit

Permalink
TEST-ONLY - DO NOT MERGE
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Nov 13, 2023
1 parent eae1e90 commit d49c31c
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
29 changes: 28 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,33 @@
"bin/mdphpcs"
],
"require-dev": {
"phpunit/phpunit": "^9.6"
"phpunit/phpunit": "^9.6",
"mikey179/vfsstream": "^1.6.10"
},
"prefer-stable": true,
"minimum-stability": "dev",
"config": {
"preferred-install": {
"silverstripe/*": "source",
"creative-commoners/*": "source",
"symbiote/*": "source",
"dnadesign/*": "source",
"bringyourownideas/*": "source",
"colymba/*": "source",
"cwp/*": "source",
"tractorcow/*": "source",
"*": "dist"
},
"platform": {
"php": "8.1"
},
"allow-plugins": {
"composer/installers": true,
"silverstripe/recipe-plugin": true,
"silverstripe/vendor-plugin": true
}
},
"conflict": {
"silverstripe/vendor-plugin": "<1.5.2"
}
}
4 changes: 4 additions & 0 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
throw new RuntimeException("Couldn't find autoloader");
}

if (!defined('T_CLOSURE')) {
throw new RuntimeException('AAAH Why is it not defined??');
}

if (!defined('PHP_CODESNIFFER_VERBOSITY')) {
define('PHP_CODESNIFFER_VERBOSITY', 0);
}
Expand Down

0 comments on commit d49c31c

Please sign in to comment.