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 4a85b4a commit 0b0e475
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,13 @@
}
],
"require": {
"php": "^8",
"silverstripe/graphql": "^4",
"silverstripe/versioned-snapshots": "^1",
"silverstripe/versioned-admin": "^1.7",
"silverstripe/vendor-plugin": "^1.6",
"symfony/yaml": "^4"
"php": "^8.1",
"silverstripe/graphql": "^5",
"silverstripe/versioned-snapshots": "^2",
"silverstripe/versioned-admin": "^2"
},
"require-dev": {
"silverstripe/recipe-testing": "^2"
"silverstripe/recipe-testing": "^3"
},
"autoload": {
"psr-4": {
Expand All @@ -38,7 +36,9 @@
},
"extra": {
"branch-alias": {
"dev-master": "3.x-dev"
"dev-master": "3.x-dev",
"dev-2": "2.x-dev",
"dev-1": "1.x-dev"
},
"expose": [
"client/dist"
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 0b0e475

Please sign in to comment.