Skip to content

Commit

Permalink
NEW: CMS 5 upgrade.
Browse files Browse the repository at this point in the history
  • Loading branch information
mfendeksilverstripe committed Feb 9, 2024
1 parent 858b63d commit 918b054
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
15 changes: 7 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 5 additions & 0 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
<file>src</file>
<file>tests</file>

<!-- Show progress and output sniff names on violation, and add colours -->
<arg value="p" />
<arg name="colors" />
<arg value="s" />

<rule ref="Generic.Arrays.DisallowLongArraySyntax" />

<!-- base rules are PSR-2 -->
Expand Down

0 comments on commit 918b054

Please sign in to comment.