From 36899680e317bc014c112ab5338a5ed57345c145 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Tue, 8 Aug 2023 14:57:25 +1200 Subject: [PATCH] chore: migrate phpunit configuration to latest --- .gitignore | 3 +++ composer.json | 8 +++++++- phpunit.xml.dist | 26 +++++++++++++------------- 3 files changed, 23 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index b2a69e9..8a7c0b3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,5 @@ .DS_Store vendor +.phpunit.result.cache +public/ +composer.lock diff --git a/composer.json b/composer.json index f3bafb0..7d1fc4e 100644 --- a/composer.json +++ b/composer.json @@ -44,5 +44,11 @@ "silverstripe/ldap": "Synchronise extra user attributes from Active Directory with LDAP" }, "minimum-stability": "dev", - "prefer-stable": true + "prefer-stable": true, + "config": { + "allow-plugins": { + "composer/installers": true, + "silverstripe/vendor-plugin": true + } + } } diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 8700f65..f593f89 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,14 +1,14 @@ - - - tests/ - - - - - src/ - - tests/ - - - + + + + + src/ + + + tests/ + + + + tests/ +