From 4960cee58fa31cf50ade5179a29324ac64f3bbde Mon Sep 17 00:00:00 2001 From: Aaron Gustavo Nieves Date: Tue, 14 Apr 2026 15:22:02 -0500 Subject: [PATCH] Fix inconsistencies --- readme.md | 2 +- src/Codeception/Module/Symfony.php | 6 +++--- src/Codeception/Module/Symfony/NotifierAssertionsTrait.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/readme.md b/readme.md index 34cac759..efb2f39e 100644 --- a/readme.md +++ b/readme.md @@ -9,7 +9,7 @@ A Codeception module for Symfony framework. ## Requirements -* `Symfony` `5.4.x`, `6.4.x`, `7.3.x` or higher, as per the [Symfony supported versions](https://symfony.com/releases). +* `Symfony` `5.4.x`, `6.4.x`, `7.4.x` or `8.0.x`, as per the [Symfony supported versions](https://symfony.com/releases). * `PHP 8.2` or higher. ## Installation diff --git a/src/Codeception/Module/Symfony.php b/src/Codeception/Module/Symfony.php index 412d182e..a94490a5 100644 --- a/src/Codeception/Module/Symfony.php +++ b/src/Codeception/Module/Symfony.php @@ -80,7 +80,7 @@ * * ## Config * - * ### Symfony 5.4 or higher + * ### Symfony 5.4, 6.4, 7.4 or 8.0 * * * `app_path`: 'src' - Specify custom path to your app dir, where the kernel interface is located. * * `environment`: 'local' - Environment used for load kernel @@ -91,7 +91,7 @@ * * `rebootable_client`: 'true' - Reboot client's kernel before each request * * `guard`: 'false' - Enable custom authentication system with guard (only for Symfony 5.4) * * `bootstrap`: 'false' - Enable the test environment setup with the tests/bootstrap.php file if it exists or with Symfony DotEnv otherwise. If false, it does nothing. - * * `authenticator`: 'false' - Reboot client's kernel before each request (only for Symfony 6.0 or higher) + * * `authenticator`: 'false' - Enable custom authentication system with authenticator (only for Symfony 6.0 or higher) * * #### Sample `Functional.suite.yml` * @@ -181,7 +181,7 @@ class Symfony extends Framework implements DoctrineProvider, PartedModule * } */ public array $config = [ - 'app_path' => 'app', + 'app_path' => 'src', 'kernel_class' => 'App\\Kernel', 'environment' => 'test', 'debug' => true, diff --git a/src/Codeception/Module/Symfony/NotifierAssertionsTrait.php b/src/Codeception/Module/Symfony/NotifierAssertionsTrait.php index 08a3742b..0577ddf7 100644 --- a/src/Codeception/Module/Symfony/NotifierAssertionsTrait.php +++ b/src/Codeception/Module/Symfony/NotifierAssertionsTrait.php @@ -38,7 +38,7 @@ public function assertNotificationCount(int $count, ?string $transportName = nul * ```php * getNotifierEvent(); - * $I->asserNotificationIsNotQueued($event); + * $I->assertNotificationIsNotQueued($event); * ``` */ public function assertNotificationIsNotQueued(MessageEvent $event, string $message = ''): void