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 4024007

Browse files
committedMar 9, 2025·
Symfony Logger assertion
1 parent 96d531b commit 4024007

File tree

4 files changed

+332
-296
lines changed

4 files changed

+332
-296
lines changed
 

‎composer.lock

Lines changed: 310 additions & 295 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')

‎config/packages/framework.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
->handlerId(null)
1616
->cookieSecure('auto')
1717
->cookieSamesite('lax');
18+
$framework->handleAllThrowables(true);
19+
1820
$framework->phpErrors()
1921
->log(true);
2022

‎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.