From 7a32797af7769b372761a60d7bcea142d1ccb2f5 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Mon, 13 Nov 2023 13:45:27 +1300 Subject: [PATCH] TEST-ONLY - DO NOT MERGE --- composer.json | 29 ++++++++++++++++++++++++++++- tests/bootstrap.php | 6 ++++++ 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 5a8c847..c1f80d8 100644 --- a/composer.json +++ b/composer.json @@ -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" } } diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 4318681..b5872d9 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -1,6 +1,9 @@