From c3c8f8be857477109f856b260ddbc28d27ce6496 Mon Sep 17 00:00:00 2001 From: Dominic Watts Date: Tue, 5 May 2020 23:21:27 +0100 Subject: [PATCH] Tests --- Console/Command/Product.php | 5 ++++- phpstan.neon | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Console/Command/Product.php b/Console/Command/Product.php index 7b378c2..807443c 100644 --- a/Console/Command/Product.php +++ b/Console/Command/Product.php @@ -84,7 +84,10 @@ protected function execute( $helper = $this->getHelper('question'); $question = new ConfirmationQuestion( - (string) __('You are about to generate fake product data%1. Are you sure? [y/N]', (($image) ? ' with images' : '')), + (string) __( + 'You are about to generate fake product data%1. Are you sure? [y/N]', + (($image) ? ' with images' : '') + ), false ); diff --git a/phpstan.neon b/phpstan.neon index 872c3e2..c79d4d4 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,8 +1,8 @@ parameters: - level: 1 + level: 0 autoload_directories: + - Console - Helper - - Plugin excludes_analyse: - 'vendor' ignoreErrors: