Skip to content

Commit 4fa465a

Browse files
Removed Generic.Metrics.CyclomaticComplexity rule and updated (#68)
1 parent 7463b82 commit 4fa465a

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
"require": {
77
"php": "^7.3|^8.0",
88
"composer-plugin-api": "^2.0.0",
9-
"hostnet/path-composer-plugin-lib": "^1.0.4",
10-
"slevomat/coding-standard": "^7.0.9",
11-
"squizlabs/php_codesniffer": "^3.4.2",
9+
"hostnet/path-composer-plugin-lib": "^1.0.5",
10+
"slevomat/coding-standard": "^7.0.18",
11+
"squizlabs/php_codesniffer": "^3.6.2",
1212
"symfony/filesystem": "^4.0||^5.0"
1313
},
1414
"require-dev": {
15-
"composer/composer": "^2.0.2",
16-
"phpunit/phpunit": "^9.5.6"
15+
"composer/composer": "^2.1.14",
16+
"phpunit/phpunit": "^9.5.10"
1717
},
1818
"autoload": {
1919
"psr-0": {

src/Hostnet/ruleset.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
<rule ref="Generic.Files.OneInterfacePerFile"/>
2424

2525
<rule ref="Generic.Functions.CallTimePassByReference"/>
26-
<rule ref="Generic.Metrics.CyclomaticComplexity"/>
2726
<rule ref="Generic.Metrics.NestingLevel"/>
2827

2928
<rule ref="Generic.PHP.ForbiddenFunctions"/>

0 commit comments

Comments
 (0)