Skip to content

Commit 4e6379c

Browse files
Merge branch '3.2'
* 3.2: Add HEADER_FORWARDED to setTrustedHeaderName docs Fix phpDoc typo [FrameworkBundle][Console] JsonDescriptor: Respect original output Remove dead code Enable dump() in autoload-dev add missing functional Serializer test case
2 parents 94df87e + 51a3799 commit 4e6379c

File tree

8 files changed

+11
-31
lines changed

8 files changed

+11
-31
lines changed

Tests/Fixtures/Descriptor/builder_1_public.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
"file": null,
1111
"factory_class": "Full\\Qualified\\FactoryClass",
1212
"factory_method": "get",
13-
"tags": [
14-
15-
],
13+
"tags": [],
1614
"autowire": false
1715
}
1816
},

Tests/Fixtures/Descriptor/builder_1_services.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
"file": null,
1111
"factory_class": "Full\\Qualified\\FactoryClass",
1212
"factory_method": "get",
13-
"tags": [
14-
15-
],
13+
"tags": [],
1614
"autowire": false
1715
},
1816
"definition_2": {
@@ -41,9 +39,7 @@
4139
},
4240
{
4341
"name": "tag2",
44-
"parameters": [
45-
46-
]
42+
"parameters": []
4743
}
4844
],
4945
"calls": [

Tests/Fixtures/Descriptor/builder_1_tag1.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@
2626
},
2727
{
2828
"name": "tag2",
29-
"parameters": [
30-
31-
]
29+
"parameters": []
3230
}
3331
],
3432
"calls": [
@@ -37,10 +35,6 @@
3735
"autowire": false
3836
}
3937
},
40-
"aliases": [
41-
42-
],
43-
"services": [
44-
45-
]
38+
"aliases": [],
39+
"services": []
4640
}

Tests/Fixtures/Descriptor/definition_1.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
"file": null,
99
"factory_class": "Full\\Qualified\\FactoryClass",
1010
"factory_method": "get",
11-
"tags": [
12-
13-
],
11+
"tags": [],
1412
"autowire": false
1513
}

Tests/Fixtures/Descriptor/definition_2.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@
2424
},
2525
{
2626
"name": "tag2",
27-
"parameters": [
28-
29-
]
27+
"parameters": []
3028
}
3129
],
3230
"calls": [

Tests/Fixtures/Descriptor/route_2.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
"scheme": "http|https",
77
"method": "PUT|POST",
88
"class": "Symfony\\Component\\Routing\\Route",
9-
"defaults": [
10-
11-
],
9+
"defaults": [],
1210
"requirements": "NO CUSTOM",
1311
"options": {
1412
"compiler_class": "Symfony\\Component\\Routing\\RouteCompiler",

Tests/Fixtures/Descriptor/route_collection_1.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@
2727
"scheme": "http|https",
2828
"method": "PUT|POST",
2929
"class": "Symfony\\Component\\Routing\\Route",
30-
"defaults": [
31-
32-
],
30+
"defaults": [],
3331
"requirements": "NO CUSTOM",
3432
"options": {
3533
"compiler_class": "Symfony\\Component\\Routing\\RouteCompiler",

Tests/Functional/PropertyInfoTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function testPhpDocPriority()
2020
static::bootKernel(array('test_case' => 'Serializer'));
2121
$container = static::$kernel->getContainer();
2222

23-
$this->assertEquals(array(new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_INT))), $container->get('property_info')->getTypes(Dummy::class, 'codes'));
23+
$this->assertEquals(array(new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_INT))), $container->get('property_info')->getTypes('Symfony\Bundle\FrameworkBundle\Tests\Functional\Dummy', 'codes'));
2424
}
2525
}
2626

0 commit comments

Comments
 (0)