Skip to content

Commit 77a860e

Browse files
committed
make default values 40 and 9, more realistic to projects
1 parent ea0fa94 commit 77a860e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"require": {
77
"php": "^8.1",
88
"phpstan/phpstan": "^1.9.3",
9-
"nette/utils": "^3.2"
9+
"nette/utils": "^3.2|^4.0"
1010
},
1111
"require-dev": {
1212
"phpstan/extension-installer": "^1.2",
@@ -16,7 +16,8 @@
1616
"tracy/tracy": "^2.9",
1717
"php-parallel-lint/php-parallel-lint": "^1.3",
1818
"symplify/monorepo-builder": "^11.1",
19-
"tomasvotruba/type-coverage": "^0.0.5"
19+
"tomasvotruba/type-coverage": "^0.0.11",
20+
"tomasvotruba/unused-public": "^0.1"
2021
},
2122
"autoload": {
2223
"psr-4": {

config/extension.neon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ parametersSchema:
77
# default parameters
88
parameters:
99
cognitive_complexity:
10-
class: 50
11-
function: 8
10+
class: 40
11+
function: 9
1212

1313
services:
1414
- TomasVotruba\CognitiveComplexity\DataCollector\CognitiveComplexityDataCollector

0 commit comments

Comments
 (0)