From eb5cb126b7a2f168980cf858149f374e6b493a1d Mon Sep 17 00:00:00 2001 From: prophetz Date: Thu, 19 Sep 2024 08:21:21 +0300 Subject: [PATCH] Fix parameter name in exception for case when Kernel has custom namespace --- src/Codeception/Module/Symfony.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Codeception/Module/Symfony.php b/src/Codeception/Module/Symfony.php index 3469489..65a7134 100644 --- a/src/Codeception/Module/Symfony.php +++ b/src/Codeception/Module/Symfony.php @@ -299,7 +299,7 @@ protected function getKernelClass(): string throw new ModuleRequireException( self::class, "File with Kernel class was not found at {$path}.\n" - . 'Specify directory where file with Kernel class for your application is located with `app_path` parameter.' + . 'Specify directory where file with Kernel class for your application is located with `kernel_class` parameter.' ); } @@ -319,7 +319,7 @@ protected function getKernelClass(): string throw new ModuleRequireException( self::class, "Kernel class was not found.\n" - . 'Specify directory where file with Kernel class for your application is located with `app_path` parameter.' + . 'Specify directory where file with Kernel class for your application is located with `kernel_class` parameter.' ); }