thingston / coverage-check
Console script to check code coverage using Clover reports.
v1.1.229
2024-11-14 03:43 UTC
Requires
- php: >=8.1
- symfony/console: ^6.1
Requires (Dev)
- phpstan/phpstan: ^1.5
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.6
- symfony/var-dumper: ^6.0
- dev-master
- v1.1.229
- v1.1.228
- v1.1.227
- v1.1.226
- v1.1.225
- v1.1.224
- v1.1.223
- v1.1.222
- v1.1.221
- v1.1.220
- v1.1.219
- v1.1.218
- v1.1.217
- v1.1.216
- v1.1.215
- v1.1.214
- v1.1.213
- v1.1.212
- v1.1.211
- v1.1.210
- v1.1.209
- v1.1.208
- v1.1.207
- v1.1.206
- v1.1.205
- v1.1.204
- v1.1.203
- v1.1.202
- v1.1.201
- v1.1.200
- v1.1.199
- v1.1.198
- v1.1.197
- v1.1.196
- v1.1.195
- v1.1.194
- v1.1.193
- v1.1.192
- v1.1.191
- v1.1.190
- v1.1.189
- v1.1.188
- v1.1.187
- v1.1.186
- v1.1.185
- v1.1.184
- v1.1.183
- v1.1.182
- v1.1.181
- v1.1.180
- v1.1.179
- v1.1.178
- v1.1.177
- v1.1.176
- v1.1.175
- v1.1.174
- v1.1.173
- v1.1.172
- v1.1.171
- v1.1.170
- v1.1.169
- v1.1.168
- v1.1.167
- v1.1.166
- v1.1.165
- v1.1.164
- v1.1.163
- v1.1.162
- v1.1.161
- v1.1.160
- v1.1.159
- v1.1.158
- v1.1.157
- v1.1.156
- v1.1.155
- v1.1.154
- v1.1.153
- v1.1.152
- v1.1.151
- v1.1.150
- v1.1.149
- v1.1.148
- v1.1.147
- v1.1.146
- v1.1.145
- v1.1.144
- v1.1.143
- v1.1.142
- v1.1.141
- v1.1.140
- v1.1.139
- v1.1.138
- v1.1.137
- v1.1.136
- v1.1.135
- v1.1.134
- v1.1.133
- v1.1.132
- v1.1.131
- v1.1.130
- v1.1.129
- v1.1.128
- v1.1.127
- v1.1.126
- v1.1.125
- v1.1.124
- v1.1.123
- v1.1.122
- v1.1.121
- v1.1.120
- v1.1.119
- v1.1.118
- v1.1.117
- v1.1.116
- v1.1.115
- v1.1.114
- v1.1.113
- v1.1.112
- v1.1.111
- v1.1.110
- v1.1.109
- v1.1.108
- v1.1.107
- v1.1.106
- v1.1.105
- v1.1.104
- v1.1.103
- v1.1.102
- v1.1.101
- v1.1.100
- v1.1.99
- v1.1.98
- v1.1.97
- v1.1.96
- v1.1.95
- v1.1.94
- v1.1.93
- v1.1.92
- v1.1.91
- v1.1.90
- v1.1.89
- v1.1.88
- v1.1.87
- v1.1.86
- v1.1.85
- v1.1.84
- v1.1.83
- v1.1.82
- v1.1.81
- v1.1.80
- v1.1.79
- v1.1.78
- v1.1.77
- v1.1.76
- v1.1.75
- v1.1.74
- v1.1.73
- v1.1.72
- v1.1.71
- v1.1.70
- v1.1.69
- v1.1.68
- v1.1.67
- v1.1.66
- v1.1.65
- v1.1.64
- v1.1.63
- v1.1.62
- v1.1.61
- v1.1.60
- v1.1.59
- v1.1.58
- v1.1.57
- v1.1.56
- v1.1.55
- v1.1.54
- v1.1.53
- v1.1.52
- v1.1.51
- v1.1.50
- v1.1.49
- v1.1.48
- v1.1.47
- v1.1.46
- v1.1.45
- v1.1.44
- v1.1.43
- v1.1.42
- v1.1.41
- v1.1.40
- v1.1.39
- v1.1.38
- v1.1.37
- v1.1.36
- v1.1.35
- v1.1.34
- v1.1.33
- v1.1.32
- v1.1.31
- v1.1.30
- v1.1.29
- v1.1.28
- v1.1.27
- v1.1.26
- v1.1.25
- v1.1.24
- v1.1.23
- v1.1.22
- v1.1.21
- v1.1.20
- v1.1.19
- v1.1.18
- v1.1.17
- v1.1.16
- v1.1.15
- v1.1.14
- v1.1.13
- v1.1.12
- v1.1.11
- v1.1.10
- v1.1.9
- v1.1.8
- v1.1.7
- v1.1.6
- v1.1.5
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- dev-development
This package is auto-updated.
Last update: 2024-11-14 03:44:17 UTC
README
Console script to check code coverage using Clover reports.
Requirements
- PHP 8.1
Instalation
composer require --dev thingston/coverage-check
Usage
From your project root run:
php vendor/bin/phpcov /path/to/coverage.xml 99
Or just this one to get more help:
php vendor/bin/phpcov --help
Testing
Available Composer scripts:
composer run test
- Runs all tests using PHPUnit.composer run coverage:text
- Runs all tests using PHPUnit and generates a coverage report to the console.composer run coverage:clover
- Runs all tests using PHPUnit and generates an XML coverage report to filecoverage.xml
.composer run coverage:html
- Runs all tests using PHPUnit and generates an XML coverage report to directorycoverage
.composer run coverage:check
- Runs thecoverage:clover
script and checks the code coverage rate (requires >= 90%).composer run analyze
- Runs the PHPStan static analysis and displays the results to the console.composer run cs
- Runs the Code Sniffer static analysis and displays any errors to the console.composer run cbf
- Runs the Code Sniffer code fixer and displays the results to the console.composer run checks
- Runs the scriptscs
,analyze
andcoverage:check
and displays the results to the console.