Skip to content

Commit 02e6b14

Browse files
Merge branch '7.4' into 8.0
* 7.4: [Lock][DynamoDB] Enable `http_client` injection and fix tests using AmpV5 client Bump Symfony version to 7.4.0 Update VERSION for 7.4.0-BETA1 Update CHANGELOG for 7.4.0-BETA1 [HttpKernel] Add `KernelInterface::getShareDir()`, `APP_SHARE_DIR` and `%kernel.share_dir%` to store application data that are shared between all front-end servers clean up legacy groups in tests
2 parents 6196c85 + f0b2499 commit 02e6b14

File tree

6 files changed

+0
-17
lines changed

6 files changed

+0
-17
lines changed

Tests/Compiler/AutowirePassTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,6 @@ public function testResolveParameter()
402402
}
403403

404404
#[IgnoreDeprecations]
405-
#[Group('legacy')]
406405
public function testOptionalParameter()
407406
{
408407
$container = new ContainerBuilder();

Tests/Compiler/ResolveReferencesToAliasesPassTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace Symfony\Component\DependencyInjection\Tests\Compiler;
1313

14-
use PHPUnit\Framework\Attributes\Group;
1514
use PHPUnit\Framework\Attributes\IgnoreDeprecations;
1615
use PHPUnit\Framework\TestCase;
1716
use Symfony\Component\DependencyInjection\Alias;
@@ -88,7 +87,6 @@ public function testResolveFactory()
8887
* The test must be marked as ignoring deprecations as it always expects a deprecation.
8988
*/
9089
#[IgnoreDeprecations]
91-
#[Group('legacy')]
9290
public function testDeprecationNoticeWhenReferencedByAlias()
9391
{
9492
$this->expectUserDeprecationMessage('Since foobar 1.2.3.4: The "deprecated_foo_alias" service alias is deprecated. You should stop using it, as it will be removed in the future. It is being referenced by the "alias" alias.');
@@ -110,7 +108,6 @@ public function testDeprecationNoticeWhenReferencedByAlias()
110108
* The test must be marked as ignoring deprecations as it always expects a deprecation.
111109
*/
112110
#[IgnoreDeprecations]
113-
#[Group('legacy')]
114111
public function testDeprecationNoticeWhenReferencedByDefinition()
115112
{
116113
$this->expectUserDeprecationMessage('Since foobar 1.2.3.4: The "foo_aliased" service alias is deprecated. You should stop using it, as it will be removed in the future. It is being referenced by the "definition" service.');

Tests/ContainerBuilderTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ public function testDefinitions()
114114
* The test must be marked as ignoring deprecations as it always expects a deprecation.
115115
*/
116116
#[IgnoreDeprecations]
117-
#[Group('legacy')]
118117
public function testDeprecateParameter()
119118
{
120119
$builder = new ContainerBuilder();
@@ -131,7 +130,6 @@ public function testDeprecateParameter()
131130
* The test must be marked as ignoring deprecations as it always expects a deprecation.
132131
*/
133132
#[IgnoreDeprecations]
134-
#[Group('legacy')]
135133
public function testParameterDeprecationIsTrgiggeredWhenCompiled()
136134
{
137135
$builder = new ContainerBuilder();
@@ -1992,7 +1990,6 @@ public function testAutoAliasing()
19921990
* The test must be marked as ignoring deprecations as it always expects a deprecation.
19931991
*/
19941992
#[IgnoreDeprecations]
1995-
#[Group('legacy')]
19961993
public function testDirectlyAccessingDeprecatedPublicService()
19971994
{
19981995
$this->expectUserDeprecationMessage('Since foo/bar 3.8: Accessing the "Symfony\Component\DependencyInjection\Tests\A" service directly from the container is deprecated, use dependency injection instead.');

Tests/Dumper/PhpDumperTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use Bar\FooLazyClass;
1515
use PHPUnit\Framework\Attributes\DataProvider;
16-
use PHPUnit\Framework\Attributes\Group;
1716
use PHPUnit\Framework\Attributes\IgnoreDeprecations;
1817
use PHPUnit\Framework\Attributes\TestWith;
1918
use PHPUnit\Framework\TestCase;
@@ -482,7 +481,6 @@ public function testDumpAutowireData()
482481
* The test must be marked as ignoring deprecations as it always expects a deprecation.
483482
*/
484483
#[IgnoreDeprecations]
485-
#[Group('legacy')]
486484
public function testDeprecatedParameters()
487485
{
488486
$container = include self::$fixturesPath.'/containers/container_deprecated_parameters.php';
@@ -499,7 +497,6 @@ public function testDeprecatedParameters()
499497
* The test must be marked as ignoring deprecations as it always expects a deprecation.
500498
*/
501499
#[IgnoreDeprecations]
502-
#[Group('legacy')]
503500
public function testDeprecatedParametersAsFiles()
504501
{
505502
$container = include self::$fixturesPath.'/containers/container_deprecated_parameters.php';
@@ -1771,7 +1768,6 @@ public function testDumpServiceWithAbstractArgument()
17711768
* The test must be marked as ignoring deprecations as it always expects a deprecation.
17721769
*/
17731770
#[IgnoreDeprecations]
1774-
#[Group('legacy')]
17751771
public function testDirectlyAccessingDeprecatedPublicService()
17761772
{
17771773
$this->expectUserDeprecationMessage('Since foo/bar 3.8: Accessing the "bar" service directly from the container is deprecated, use dependency injection instead.');

Tests/ParameterBag/FrozenParameterBagTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace Symfony\Component\DependencyInjection\Tests\ParameterBag;
1313

14-
use PHPUnit\Framework\Attributes\Group;
1514
use PHPUnit\Framework\Attributes\IgnoreDeprecations;
1615
use PHPUnit\Framework\TestCase;
1716
use Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag;
@@ -67,7 +66,6 @@ public function testDeprecate()
6766
* The test must be marked as ignoring deprecations as it always expects a deprecation.
6867
*/
6968
#[IgnoreDeprecations]
70-
#[Group('legacy')]
7169
public function testGetDeprecated()
7270
{
7371
$bag = new FrozenParameterBag(

Tests/ParameterBag/ParameterBagTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Symfony\Component\DependencyInjection\Tests\ParameterBag;
1313

1414
use PHPUnit\Framework\Attributes\DataProvider;
15-
use PHPUnit\Framework\Attributes\Group;
1615
use PHPUnit\Framework\Attributes\IgnoreDeprecations;
1716
use PHPUnit\Framework\Attributes\TestWith;
1817
use PHPUnit\Framework\TestCase;
@@ -138,7 +137,6 @@ public static function provideGetThrowParameterNotFoundExceptionData()
138137
* The test must be marked as ignoring deprecations as it always expects a deprecation.
139138
*/
140139
#[IgnoreDeprecations]
141-
#[Group('legacy')]
142140
public function testDeprecate()
143141
{
144142
$bag = new ParameterBag(['foo' => 'bar']);
@@ -154,7 +152,6 @@ public function testDeprecate()
154152
* The test must be marked as ignoring deprecations as it always expects a deprecation.
155153
*/
156154
#[IgnoreDeprecations]
157-
#[Group('legacy')]
158155
public function testDeprecateWithMessage()
159156
{
160157
$bag = new ParameterBag(['foo' => 'bar']);
@@ -170,7 +167,6 @@ public function testDeprecateWithMessage()
170167
* The test must be marked as ignoring deprecations as it always expects a deprecation.
171168
*/
172169
#[IgnoreDeprecations]
173-
#[Group('legacy')]
174170
public function testDeprecationIsTriggeredWhenResolved()
175171
{
176172
$bag = new ParameterBag(['foo' => '%bar%', 'bar' => 'baz']);

0 commit comments

Comments
 (0)