Skip to content

Commit 8c04261

Browse files
committed
Fix PHPStan error
1 parent 1bf86d1 commit 8c04261

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

phpunit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.1/phpunit.xsd"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.5/phpunit.xsd"
44
bootstrap="vendor/autoload.php"
55
executionOrder="depends,defects"
66
cacheResult="false"

tests/Stub/StubTerminableCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ public function __construct()
1919

2020
public function configure(): void
2121
{
22-
$this->addOption('stub', null, InputOption::VALUE_REQUIRED, 'Stubbed execution duration time', 0);
23-
$this->addOption('sleep', null, InputOption::VALUE_REQUIRED, 'Sleep duration time', 0);
22+
$this->addOption('stub', null, InputOption::VALUE_REQUIRED, 'Stubbed execution duration time', '0');
23+
$this->addOption('sleep', null, InputOption::VALUE_REQUIRED, 'Sleep duration time', '0');
2424
}
2525

2626
protected function commandBody(InputInterface $input, OutputInterface $output): int

0 commit comments

Comments
 (0)