Skip to content

Commit ffb71c3

Browse files
authored
Merge pull request #3 from ksangers/feature/resolve-scrutinizer-issues
Add dependency to mediact/testing-suite
2 parents 9d3ef3b + b84d13f commit ffb71c3

File tree

4 files changed

+29
-2
lines changed

4 files changed

+29
-2
lines changed

composer.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"require-dev": {
1717
"composer/composer": "^1.3",
1818
"phpunit/phpunit": "^5.5",
19-
"raveren/kint": "^1.0",
19+
"mediact/testing-suite": "@stable",
20+
"kint-php/kint": "@stable",
2021
"mikey179/vfsstream": "^1.6"
2122
},
2223
"autoload": {
@@ -30,6 +31,9 @@
3031
}
3132
},
3233
"extra": {
33-
"class": "Mediact\\CodingStandard\\PhpStorm\\Plugin"
34+
"class": "Mediact\\CodingStandard\\PhpStorm\\Plugin",
35+
"grumphp": {
36+
"config-default-path": "vendor/mediact/testing-suite/config/default/grumphp.yml"
37+
}
3438
}
3539
}

phpcs.xml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0"?>
2+
<ruleset name="PHPCS"
3+
xmlns="http://pmd.sf.net/ruleset/1.0.0"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
6+
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
7+
<description>PHPCS</description>
8+
<!--<exclude-pattern>path/to/exclude/*</exclude-pattern>-->
9+
<rule ref="./vendor/mediact/coding-standard/src/MediaCT"/>
10+
</ruleset>

phpmd.xml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0"?>
2+
<ruleset name="PHPMD"
3+
xmlns="http://pmd.sf.net/ruleset/1.0.0"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
6+
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
7+
<description>PHPMD</description>
8+
<!--<exclude-pattern>path/to/exclude/*</exclude-pattern>-->
9+
<rule ref="./vendor/mediact/coding-standard/src/MediaCT/phpmd.xml" />
10+
</ruleset>

phpstan.neon

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
parameters:
2+
excludes_analyse:
3+
# - %rootDir%/../../../path/to/exclude/*

0 commit comments

Comments
 (0)