Skip to content

Commit

Permalink
Merge 33bcffb into f361626
Browse files Browse the repository at this point in the history
  • Loading branch information
adriansuter committed Apr 27, 2020
2 parents f361626 + 33bcffb commit 02ddf15
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ script:
- if [[ "$ANALYSIS" != 'true' ]]; then vendor/bin/phpunit ; fi
- if [[ "$ANALYSIS" == 'true' ]]; then vendor/bin/phpunit --coverage-clover clover.xml ; fi
- if [[ "$ANALYSIS" == 'true' ]]; then vendor/bin/phpcs ; fi
- if [[ "$ANALYSIS" == 'true' ]]; then vendor/bin/phpstan analyse Slim ; fi
- if [[ "$ANALYSIS" == 'true' ]]; then vendor/bin/phpstan analyse src ; fi

after_success:
- if [[ "$ANALYSIS" == 'true' ]]; then vendor/bin/php-coveralls --coverage_clover=clover.xml -v ; fi
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"require-dev": {
"adriansuter/php-autoload-override": "^1.0",
"phpspec/prophecy": "^1.10",
"phpstan/phpstan": "^0.11.5",
"phpstan/phpstan": "^0.12.19",
"phpunit/phpunit": "^8.5",
"squizlabs/php_codesniffer": "^3.5"
},
Expand Down
5 changes: 4 additions & 1 deletion src/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ public function doRun(InputInterface $input, OutputInterface $output)
* Always show the version information except when the user invokes --help
* The help command always shows the long version
*/
if (($input->hasParameterOption(['--help', '-h']) !== false) || ($input->getFirstArgument() !== null && $input->getFirstArgument() !== 'list')) {
if (
($input->hasParameterOption(['--help', '-h']) !== false) ||
($input->getFirstArgument() !== null && $input->getFirstArgument() !== 'list')
) {
$output->writeln($this->getLongVersion());
$output->writeln('');
}
Expand Down
1 change: 0 additions & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@
declare(strict_types=1);

require __DIR__ . '/../vendor/autoload.php';

0 comments on commit 02ddf15

Please sign in to comment.