From 918b0548ce249cc14991e702a5aeafd9315271aa Mon Sep 17 00:00:00 2001 From: Mojmir Fendek Date: Fri, 9 Feb 2024 12:13:53 +1300 Subject: [PATCH] NEW: CMS 5 upgrade. --- composer.json | 15 +++++++-------- phpcs.xml.dist | 5 +++++ 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 21e3be2..43c1c05 100755 --- a/composer.json +++ b/composer.json @@ -26,16 +26,15 @@ } }, "require": { - "php": "^7.4 || ^8", - "silverstripe/framework": "^4.7", - "silverstripe/versioned": "^1.7", - "silverstripe/vendor-plugin": "^1.6", - "silverstripe/cms-events": "^1", - "silverstripe/event-dispatcher": "^0.1.3" + "php": "^8.1", + "silverstripe/framework": "^5", + "silverstripe/versioned": "^2", + "silverstripe/cms-events": "^2", + "silverstripe/event-dispatcher": "^1" }, "require-dev": { - "silverstripe/recipe-testing": "^2", - "dnadesign/silverstripe-elemental": "^4" + "silverstripe/recipe-testing": "^3", + "dnadesign/silverstripe-elemental": "^5" }, "conflict": { "dnadesign/elemental": "< 3.2.1", diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 5779613..f74187f 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -5,6 +5,11 @@ src tests + + + + +