Skip to content

Commit 1c56b05

Browse files
authored
Add tomasvotruba/type-coverage to dev tools (#993)
1 parent 14c9398 commit 1c56b05

File tree

3 files changed

+132
-51
lines changed

3 files changed

+132
-51
lines changed

.dev-tools/composer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,19 @@
22
"type": "project",
33
"require": {
44
"php": "^8.3",
5-
"ergebnis/composer-normalize": "^2.43",
6-
"infection/infection": "^0.29.6",
5+
"ergebnis/composer-normalize": "^2.44",
6+
"infection/infection": "^0.29.7",
77
"kubawerlos/composer-smaller-lock": "^1.0.1",
88
"kubawerlos/php-cs-fixer-config": "^4.0",
99
"mi-schi/phpmd-extension": "^4.3",
1010
"phpmd/phpmd": "^2.15",
1111
"phpstan/extension-installer": "^1.4.3",
12-
"phpstan/phpstan": "^1.12.5",
12+
"phpstan/phpstan": "^1.12.6",
1313
"phpstan/phpstan-phpunit": "^1.4",
1414
"phpstan/phpstan-strict-rules": "^1.6.1",
1515
"shipmonk/composer-dependency-analyser": "^1.7",
16-
"squizlabs/php_codesniffer": "^3.10.3"
16+
"squizlabs/php_codesniffer": "^3.10.3",
17+
"tomasvotruba/type-coverage": "^1.0"
1718
},
1819
"autoload": {
1920
"psr-4": {

.dev-tools/composer.lock

Lines changed: 117 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.dev-tools/phpstan.neon

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2+
includes:
3+
- ./vendor/phpstan/phpstan/conf/bleedingEdge.neon
4+
15
parameters:
26
bootstrapFiles:
37
- ../vendor/autoload.php
@@ -10,6 +14,9 @@ parameters:
1014
stubFiles:
1115
- ./sca.stub
1216
treatPhpDocTypesAsCertain: false
13-
14-
includes:
15-
- ./vendor/phpstan/phpstan/conf/bleedingEdge.neon
17+
type_coverage:
18+
declare: 100
19+
constant: 0
20+
param: 100
21+
property: 100
22+
return: 100

0 commit comments

Comments
 (0)