Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4c60e57

Browse files
committedMar 9, 2025·
Symfony Logger assertion
1 parent 980e45c commit 4c60e57

File tree

3 files changed

+200
-160
lines changed

3 files changed

+200
-160
lines changed
 

‎composer.lock

Lines changed: 180 additions & 159 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎config/packages/doctrine.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@
1515

1616
$doctrineOrm
1717
->autoGenerateProxyClasses(true)
18-
->enableLazyGhostObjects(true);
18+
->enableLazyGhostObjects(true)
19+
->controllerResolver()
20+
->autoMapping(false);
21+
1922
$defaultEm
2023
->autoMapping(true)
2124
->namingStrategy('doctrine.orm.naming_strategy.underscore_number_aware')

‎tests/Functional/LoggerCest.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace App\Tests\Functional;
6+
7+
use App\Tests\Support\FunctionalTester;
8+
9+
final class LoggerCest
10+
{
11+
public function dontSeeDeprecations(FunctionalTester $I)
12+
{
13+
$I->amOnPage('/register');
14+
$I->dontSeeDeprecations();
15+
}
16+
}

0 commit comments

Comments
 (0)
Please sign in to comment.