Skip to content

Commit

Permalink
Fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
mfendeksilverstripe committed Feb 9, 2024
1 parent 1fd9c41 commit e70c0a9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,13 @@
],
"require": {
"php": "^8.1",
"silverstripe/cms": "^5",
"silverstripe/graphql": "^5",
"silverstripe/versioned-snapshots": "^2",
"silverstripe/versioned-admin": "^2",
"symfony/yaml": "^4"
},
"require-dev": {
"silverstripe/recipe-testing": "^2"
"silverstripe/recipe-testing": "^3"
},
"autoload": {
"psr-4": {
Expand All @@ -38,7 +37,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 e70c0a9

Please sign in to comment.