Skip to content

Commit

Permalink
Added version to composer of testing suite and version otherwise it c…
Browse files Browse the repository at this point in the history
…an't be used by the testing suite
  • Loading branch information
leonhelmus committed Aug 22, 2019
1 parent 07b115d commit 08d4264
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
14 changes: 8 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"require-dev": {
"composer/composer": "^1.3",
"mediact/testing-suite": "@stable",
"mediact/testing-suite": "1.20.0",
"kint-php/kint": "@stable",
"mikey179/vfsstream": "^1.6"
},
Expand All @@ -30,11 +30,9 @@
}
},
"extra": {
"class": "Mediact\\CodingStandard\\PhpStorm\\Plugin",
"grumphp": {
"config-default-path": "vendor/mediact/testing-suite/config/default/grumphp.yml"
}
"class": "Mediact\\CodingStandard\\PhpStorm\\Plugin"
},
"version": "1.7.0",
"archive": {
"exclude": [
"/bitbucket-pipelines.yml",
Expand All @@ -43,7 +41,11 @@
"/phpunit.xml",
"/phpmd.xml",
"/phpstan.neon",
"/phpcs.xml"
"/phpcs.xml",
"/grumphp.yml"
]
},
"config": {
"sort-packages": true
}
}
4 changes: 4 additions & 0 deletions grumphp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
imports:
- resource: 'vendor/mediact/testing-suite/config/default/grumphp.yml'


2 changes: 1 addition & 1 deletion phpmd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
<description>PHPMD</description>
<!--<exclude-pattern>path/to/exclude/*</exclude-pattern>-->
<exclude-pattern>files/fileTemplates/*.php</exclude-pattern>
<rule ref="./vendor/mediact/coding-standard/src/MediaCT/phpmd.xml" />
</ruleset>

0 comments on commit 08d4264

Please sign in to comment.