Skip to content

Commit 2c4de7f

Browse files
committedMar 9, 2025·
Symfony Logger assertion
1 parent 980e45c commit 2c4de7f

File tree

7 files changed

+247
-402
lines changed

7 files changed

+247
-402
lines changed
 

‎composer.json

+12-13
Original file line numberDiff line numberDiff line change
@@ -14,42 +14,41 @@
1414
"php": ">=8.1.0",
1515
"ext-ctype": "*",
1616
"ext-iconv": "*",
17-
"doctrine/doctrine-bundle": "^2.5",
18-
"sensio/framework-extra-bundle": "^6.2",
17+
"doctrine/doctrine-bundle": "^2.13",
1918
"symfony/apache-pack": "^1.0",
2019
"symfony/console": "5.4.*",
2120
"symfony/dotenv": "5.4.*",
22-
"symfony/flex": "^1.17",
21+
"symfony/flex": "^2.5",
2322
"symfony/form": "5.4.*",
2423
"symfony/framework-bundle": "5.4.*",
2524
"symfony/http-client": "5.4.*",
2625
"symfony/mailer": "5.4.*",
27-
"symfony/monolog-bundle": "^3.7",
26+
"symfony/monolog-bundle": "^3.10",
2827
"symfony/runtime": "5.4.*",
2928
"symfony/security-bundle": "5.4.*",
3029
"symfony/translation": "5.4.*",
3130
"symfony/validator": "5.4.*",
3231
"symfony/yaml": "5.4.*"
3332
},
3433
"require-dev": {
35-
"codeception/codeception": "^5.0.0-RC3",
34+
"codeception/codeception": "^5.2",
3635
"codeception/lib-innerbrowser": "^3.1",
3736
"codeception/module-asserts": "^3.0",
3837
"codeception/module-doctrine": "^3.1",
3938
"codeception/module-phpbrowser": "^3.0",
40-
"codeception/module-symfony": "^3.0 | *@dev",
41-
"doctrine/doctrine-fixtures-bundle": "^3.4",
42-
"friendsofphp/php-cs-fixer": "^3.3",
43-
"phpmd/phpmd": "^2.11",
44-
"rector/rector": "^0.12.5",
39+
"codeception/module-symfony": "^3.5 | *@dev",
40+
"doctrine/doctrine-fixtures-bundle": "^4.0",
41+
"friendsofphp/php-cs-fixer": "^3.71",
42+
"phpmd/phpmd": "^2.15",
43+
"rector/rector": "^1.2",
4544
"roave/security-advisories": "dev-latest",
46-
"squizlabs/php_codesniffer": "^3.6",
45+
"squizlabs/php_codesniffer": "^3.11",
4746
"symfony/debug-bundle": "5.4.*",
48-
"symfony/maker-bundle": "^1.36",
47+
"symfony/maker-bundle": "^1.50",
4948
"symfony/twig-bundle": "5.4.*",
5049
"symfony/var-dumper": "5.4.*",
5150
"symfony/web-profiler-bundle": "5.4.*",
52-
"vlucas/phpdotenv": "^5.3"
51+
"vlucas/phpdotenv": "^5.6"
5352
},
5453
"config": {
5554
"optimize-autoloader": true,

‎composer.lock

+215-351
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎config/bundles.php

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
return [
44
Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true],
55
Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle::class => ['dev' => true, 'test' => true],
6-
Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle::class => ['all' => true],
76
Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true, 'test' => true],
87
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
98
Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true],

‎config/packages/doctrine.php

+4-1
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/sensio_framework_extra.php

-12
This file was deleted.

‎symfony.lock

-24
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,6 @@
6262
"composer/xdebug-handler": {
6363
"version": "1.4.5"
6464
},
65-
"doctrine/annotations": {
66-
"version": "1.0",
67-
"recipe": {
68-
"repo": "github.com/symfony/recipes",
69-
"branch": "master",
70-
"version": "1.0",
71-
"ref": "a2759dd6123694c8d901d0ec80006e044c2e6457"
72-
},
73-
"files": [
74-
"./config/routes/annotations.yaml"
75-
]
76-
},
7765
"doctrine/cache": {
7866
"version": "1.10.2"
7967
},
@@ -311,18 +299,6 @@
311299
"sebastian/version": {
312300
"version": "3.0.2"
313301
},
314-
"sensio/framework-extra-bundle": {
315-
"version": "5.2",
316-
"recipe": {
317-
"repo": "github.com/symfony/recipes",
318-
"branch": "master",
319-
"version": "5.2",
320-
"ref": "fb7e19da7f013d0d422fa9bce16f5c510e27609b"
321-
},
322-
"files": [
323-
"./config/packages/sensio_framework_extra.yaml"
324-
]
325-
},
326302
"squizlabs/php_codesniffer": {
327303
"version": "3.6",
328304
"recipe": {

‎tests/Functional/LoggerCest.php

+16
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.