Skip to content

Commit 088a4e1

Browse files
committed
Fix code style
1 parent 1d15c47 commit 088a4e1

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,15 @@ tests-with-coverage:
3636
@echo "Running tests with code coverage"
3737
@docker-compose run --entrypoint /bin/sh --rm php -c " \
3838
echo "zend_extension=xdebug.so" > \$${PHP_INI_DIR}/conf.d/xdebug.ini && \
39-
php vendor/bin/phpunit --coverage-clover clover.xml --coverage-text \
39+
php vendor/bin/phpunit --coverage-clover clover.xml --coverage-text --coverage-html coverage \
4040
"
4141

4242
.PHONY: travis-coverage-report
4343
travis-coverage-report:
4444
@echo "Reporting code coverage"
4545
@docker-compose run -e TRAVIS=${TRAVIS} -e TRAVIS_JOB_ID=${TRAVIS_JOB_ID} --rm composer vendor/bin/php-coveralls
46+
47+
.PHONY: sh
48+
sh:
49+
@echo "Running shell"
50+
@docker-compose run --rm php sh

src/Console/Command/GeneratePrivateKeyCommand.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,12 @@ protected function execute(InputInterface $input, OutputInterface $output): int
159159
$generator = $this->createPrivateKeyGenerator();
160160

161161
try {
162-
$generator->setDigest($digest)->setType($type)->setBits($bits)->setPassphrase($passphrase)->setCipher($cipher);
162+
$generator
163+
->setDigest($digest)
164+
->setType($type)
165+
->setBits($bits)
166+
->setPassphrase($passphrase)
167+
->setCipher($cipher);
163168
} catch (InvalidArgumentException $exception) {
164169
$output->writeln(sprintf('<error>[OpenSSL] %s</error>', $exception->getMessage()));
165170
return 1;

0 commit comments

Comments
 (0)