Skip to content

Commit

Permalink
Resets coding standard rules and package version
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Brückner <dev@froschdesignstudio.de>
  • Loading branch information
froschdesign committed Aug 29, 2020
1 parent 7ccc389 commit 2d20d65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"require-dev": {
"laminas/laminas-cache": "^2.9.0",
"laminas/laminas-coding-standard": "~2.0.0",
"laminas/laminas-coding-standard": "~1.0.0",
"laminas/laminas-config": "^2.6.0",
"laminas/laminas-db": "^2.11.3",
"laminas/laminas-filter": "^2.9.4",
Expand Down
18 changes: 3 additions & 15 deletions phpcs.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">

<arg name="basepath" value="."/>
<arg name="cache" value=".phpcs-cache"/>
<arg name="colors"/>
<arg name="extensions" value="php"/>
<arg name="parallel" value="80"/>

<!-- Show progress -->
<arg value="p"/>
<ruleset name="Laminas coding standard">
<rule ref="./vendor/laminas/laminas-coding-standard/ruleset.xml"/>

<!-- Paths to check -->
<file>src</file>
<file>test</file>

<!-- Include all rules from the Laminas Coding Standard -->
<rule ref="LaminasCodingStandard"/>
</ruleset>
</ruleset>

0 comments on commit 2d20d65

Please sign in to comment.