Commit 4921306
committed
Fix Symfony 7.0 deprecations in Kernel, MockTranslator and ProvideConsent
- Remove MockTranslator::transChoice() which was removed from
TranslatorInterface in Symfony 6 and would throw a fatal error
if called
- Modernize Kernel::configureContainer() to the Symfony 7
MicroKernelTrait signature (ContainerConfigurator, LoaderInterface,
ContainerBuilder), replacing $loader->load() glob calls with
$container->import() and dropping the now-redundant
FileResource/addResource tracking
- Remove dead null-guard on Request::getSession() in ProvideConsent;
Symfony 7 throws SessionNotFoundException instead of returning null1 parent 508fd28 commit 4921306
3 files changed
Lines changed: 6 additions & 17 deletions
File tree
- library/EngineBlock/Corto/Module/Service
- src
- OpenConext/EngineBlockFunctionalTestingBundle/Mock
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | 142 | | |
146 | 143 | | |
147 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | 52 | | |
55 | 53 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
60 | 58 | | |
61 | 59 | | |
62 | 60 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | 67 | | |
74 | 68 | | |
75 | 69 | | |
| |||
0 commit comments