From 1ad9dcd2db3d0596ddb9a0035a6422d10a46e731 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Thu, 4 Aug 2022 17:35:14 +1200 Subject: [PATCH] DEP Update core dependencies for CMS 5 --- composer.json | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index e98d77cbf..6ef58cd4c 100644 --- a/composer.json +++ b/composer.json @@ -4,17 +4,17 @@ "type": "silverstripe-vendormodule", "license": "BSD-3-Clause", "require": { - "php": "^7.4 || ^8.0", - "silverstripe/framework": "^4.11", - "silverstripe/admin": "^1.7", - "silverstripe/graphql": "^3.5 || ^4" + "php": "^8.1", + "silverstripe/framework": "^5", + "silverstripe/admin": "^2", + "silverstripe/graphql": "^5" }, "require-dev": { "phpunit/phpunit": "^9.5", - "silverstripe/frameworktest": "^0.4.3", + "silverstripe/frameworktest": "^1", "squizlabs/php_codesniffer": "^3", - "silverstripe/cms": "^4.5", - "silverstripe/campaign-admin": "^1.5" + "silverstripe/cms": "^5", + "silverstripe/campaign-admin": "^2" }, "extra": { "expose": [ @@ -28,7 +28,10 @@ }, "autoload": { "psr-4": { - "SilverStripe\\AssetAdmin\\": ["code/", "_legacy/"], + "SilverStripe\\AssetAdmin\\": [ + "code/", + "_legacy/" + ], "SilverStripe\\AssetAdmin\\Tests\\": "tests/php/", "SilverStripe\\AssetAdmin\\Tests\\Behat\\Context\\": "tests/behat/src/" }