mirror of
https://github.com/solcloud/Counter-Strike.git
synced 2025-01-16 14:18:15 +01:00
Update dev dependency
This commit is contained in:
parent
a8f7098445
commit
7bc6cef34f
@ -32,8 +32,8 @@
|
||||
}
|
||||
},
|
||||
"require-dev": {
|
||||
"phpstan/phpstan-phpunit": "^1.1",
|
||||
"phpunit/phpunit": "^9.5"
|
||||
"phpstan/phpstan-phpunit": "^1.3",
|
||||
"phpunit/phpunit": "^11.3"
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
|
702
composer.lock
generated
702
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@ -16,7 +16,7 @@
|
||||
<directory>./test/simulation/</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
<coverage>
|
||||
<source>
|
||||
<include>
|
||||
<directory>server/src/</directory>
|
||||
</include>
|
||||
@ -25,5 +25,5 @@
|
||||
<directory>server/src/Map/</directory>
|
||||
<directory>server/src/Weapon/</directory>
|
||||
</exclude>
|
||||
</coverage>
|
||||
</source>
|
||||
</phpunit>
|
||||
|
@ -28,6 +28,10 @@ class PerformanceTest extends BaseTest
|
||||
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
if (getenv('XDEBUG_MODE') === 'coverage') {
|
||||
self::markTestSkipped();
|
||||
}
|
||||
|
||||
gc_collect_cycles();
|
||||
parent::setUpBeforeClass();
|
||||
|
||||
|
@ -10,6 +10,11 @@ use Test\BaseTest;
|
||||
abstract class SimulationTester extends BaseTest
|
||||
{
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(get_class($this));
|
||||
}
|
||||
|
||||
public function onGameStart(Game $game): void
|
||||
{
|
||||
// empty hook
|
||||
|
Loading…
x
Reference in New Issue
Block a user