Skip to content

Commit

Permalink
[TASK] Raise Symfony dependencies to include 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
IchHabRecht committed Dec 19, 2019
1 parent 5c016b1 commit d94aedd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@
}
],
"require": {
"php": ">=7.0.8 < 7.5",
"php": ">=7.0.8 <7.5",
"ext-dom": "*",
"ext-json": "*",
"ext-simplexml": "*",
"phpunit/php-code-coverage": "^5.0 || ^6.0 || ^7.0",
"symfony/console": "^2.7 || ^3.0 || ^4.0",
"symfony/finder": "^2.7 || ^3.0 || ^4.0"
"phpunit/php-code-coverage": ">=5.0 <8.0",
"symfony/console": ">=2.7 <6.0",
"symfony/finder": ">=2.7 <6.0"
},
"require-dev": {
"phpunit/phpunit": "^6.0 || ^7.0 || ^8.0",
"symfony/filesystem": "^3.4"
"phpunit/phpunit": ">=6.0 <9.0",
"symfony/filesystem": ">=2.7 <6.0"
},
"suggest": {
"friendsofphp/php-cs-fixer": "Tool to automatically fix PHP coding standards issues"
Expand Down
2 changes: 2 additions & 0 deletions src/PhpunitMerger/Command/CoverageCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
if ($html !== null) {
$this->writeHtmlReport($codeCoverage, $html);
}

return 0;
}

private function writeCodeCoverage(CodeCoverage $codeCoverage, OutputInterface $output, $file = null)
Expand Down
2 changes: 2 additions & 0 deletions src/PhpunitMerger/Command/LogCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
@mkdir(dirname($file), 0777, true);
}
$this->document->save($input->getArgument('file'));

return 0;
}

private function addTestSuites(\DOMElement $parent, array $testSuites)
Expand Down

0 comments on commit d94aedd

Please sign in to comment.