Skip to content

Commit

Permalink
Fix PHPStan error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean85 committed Mar 31, 2021
1 parent 1bf86d1 commit 8c04261
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.1/phpunit.xsd"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.5/phpunit.xsd"
bootstrap="vendor/autoload.php"
executionOrder="depends,defects"
cacheResult="false"
Expand Down
4 changes: 2 additions & 2 deletions tests/Stub/StubTerminableCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ public function __construct()

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

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

0 comments on commit 8c04261

Please sign in to comment.