Skip to content

Commit

Permalink
Merge pull request #128 from alleyinteractive/alley-coding
Browse files Browse the repository at this point in the history
Upgrading to 1.0 alley-coding-standards
  • Loading branch information
srtfisher authored Dec 22, 2022
2 parents 390d694 + 80a35f7 commit ab16cc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"fakerphp/faker": "^1.9"
},
"require-dev": {
"alleyinteractive/alley-coding-standards": "^0.3",
"alleyinteractive/alley-coding-standards": "^1.0",
"nunomaduro/collision": "^5.0",
"phpunit/phpunit": "^9.3.3"
},
Expand Down
5 changes: 1 addition & 4 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,10 @@
<exclude-pattern>storage/framework/views</exclude-pattern>

<rule ref="Alley-Interactive">
<!-- todo: port to alley coding standards -->
<exclude name="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket" />
<exclude name="PEAR.Functions.FunctionCallSignature.MultipleArguments" />
<exclude name="PEAR.Functions.FunctionCallSignature.CloseBracketLine" />
</rule>

<rule ref="WordPress">
<exclude name="PHPCompatibility.FunctionDeclarations.NewClosure.ThisFoundOutsideClass" />
<exclude name="WordPress.NamingConventions.ValidPostTypeSlug.NotStringLiteral" />
</rule>

Expand Down

0 comments on commit ab16cc3

Please sign in to comment.