mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-29 11:33:33 +01:00
add speed trap
This commit is contained in:
parent
b569784281
commit
bef11bd7be
@ -41,6 +41,7 @@
|
||||
},
|
||||
"require-dev": {
|
||||
"friendsofphp/php-cs-fixer": "^2.16",
|
||||
"johnkary/phpunit-speedtrap": "^3.2",
|
||||
"ocramius/package-versions": "^1.4|^1.5",
|
||||
"phpunit/phpunit": "^8.5|^9.0",
|
||||
"psr/event-dispatcher": "^1.0",
|
||||
|
15
phpunit.xml
15
phpunit.xml
@ -28,4 +28,19 @@
|
||||
</exclude>
|
||||
</whitelist>
|
||||
</filter>
|
||||
|
||||
<listeners>
|
||||
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener">
|
||||
<arguments>
|
||||
<array>
|
||||
<element key="slowThreshold">
|
||||
<integer>400</integer>
|
||||
</element>
|
||||
<element key="reportLength">
|
||||
<integer>30</integer>
|
||||
</element>
|
||||
</array>
|
||||
</arguments>
|
||||
</listener>
|
||||
</listeners>
|
||||
</phpunit>
|
||||
|
Loading…
x
Reference in New Issue
Block a user