@@ -43,7 +43,7 @@ protected function tearDown(): void
43
43
}
44
44
45
45
#[DataProvider('getDescribeRouteCollectionTestData ' )]
46
- public function testDescribeRouteCollection (RouteCollection $ routes , $ expectedDescription )
46
+ public function testDescribeRouteCollection (RouteCollection $ routes , $ expectedDescription, $ file )
47
47
{
48
48
$ this ->assertDescription ($ expectedDescription , $ routes );
49
49
}
@@ -54,7 +54,7 @@ public static function getDescribeRouteCollectionTestData(): array
54
54
}
55
55
56
56
#[DataProvider('getDescribeRouteCollectionWithHttpMethodFilterTestData ' )]
57
- public function testDescribeRouteCollectionWithHttpMethodFilter (string $ httpMethod , RouteCollection $ routes , $ expectedDescription )
57
+ public function testDescribeRouteCollectionWithHttpMethodFilter (string $ httpMethod , RouteCollection $ routes , $ expectedDescription, $ file )
58
58
{
59
59
$ this ->assertDescription ($ expectedDescription , $ routes , ['method ' => $ httpMethod ]);
60
60
}
@@ -69,7 +69,7 @@ public static function getDescribeRouteCollectionWithHttpMethodFilterTestData():
69
69
}
70
70
71
71
#[DataProvider('getDescribeRouteTestData ' )]
72
- public function testDescribeRoute (Route $ route , $ expectedDescription )
72
+ public function testDescribeRoute (Route $ route , $ expectedDescription, $ file )
73
73
{
74
74
$ this ->assertDescription ($ expectedDescription , $ route );
75
75
}
@@ -80,7 +80,7 @@ public static function getDescribeRouteTestData(): array
80
80
}
81
81
82
82
#[DataProvider('getDescribeContainerParametersTestData ' )]
83
- public function testDescribeContainerParameters (ParameterBag $ parameters , $ expectedDescription )
83
+ public function testDescribeContainerParameters (ParameterBag $ parameters , $ expectedDescription, $ file )
84
84
{
85
85
$ this ->assertDescription ($ expectedDescription , $ parameters );
86
86
}
@@ -91,7 +91,7 @@ public static function getDescribeContainerParametersTestData(): array
91
91
}
92
92
93
93
#[DataProvider('getDescribeContainerBuilderTestData ' )]
94
- public function testDescribeContainerBuilder (ContainerBuilder $ builder , $ expectedDescription , array $ options )
94
+ public function testDescribeContainerBuilder (ContainerBuilder $ builder , $ expectedDescription , array $ options, $ file )
95
95
{
96
96
$ this ->assertDescription ($ expectedDescription , $ builder , $ options );
97
97
}
@@ -102,7 +102,7 @@ public static function getDescribeContainerBuilderTestData(): array
102
102
}
103
103
104
104
#[DataProvider('getDescribeContainerExistingClassDefinitionTestData ' )]
105
- public function testDescribeContainerExistingClassDefinition (Definition $ definition , $ expectedDescription )
105
+ public function testDescribeContainerExistingClassDefinition (Definition $ definition , $ expectedDescription, $ file )
106
106
{
107
107
$ this ->assertDescription ($ expectedDescription , $ definition );
108
108
}
@@ -113,7 +113,7 @@ public static function getDescribeContainerExistingClassDefinitionTestData(): ar
113
113
}
114
114
115
115
#[DataProvider('getDescribeContainerDefinitionTestData ' )]
116
- public function testDescribeContainerDefinition (Definition $ definition , $ expectedDescription )
116
+ public function testDescribeContainerDefinition (Definition $ definition , $ expectedDescription, $ file )
117
117
{
118
118
$ this ->assertDescription ($ expectedDescription , $ definition );
119
119
}
@@ -124,7 +124,7 @@ public static function getDescribeContainerDefinitionTestData(): array
124
124
}
125
125
126
126
#[DataProvider('getDescribeContainerDefinitionWithArgumentsShownTestData ' )]
127
- public function testDescribeContainerDefinitionWithArgumentsShown (Definition $ definition , $ expectedDescription )
127
+ public function testDescribeContainerDefinitionWithArgumentsShown (Definition $ definition , $ expectedDescription, $ file )
128
128
{
129
129
$ this ->assertDescription ($ expectedDescription , $ definition , []);
130
130
}
@@ -144,7 +144,7 @@ public static function getDescribeContainerDefinitionWithArgumentsShownTestData(
144
144
}
145
145
146
146
#[DataProvider('getDescribeContainerAliasTestData ' )]
147
- public function testDescribeContainerAlias (Alias $ alias , $ expectedDescription )
147
+ public function testDescribeContainerAlias (Alias $ alias , $ expectedDescription, $ file )
148
148
{
149
149
$ this ->assertDescription ($ expectedDescription , $ alias );
150
150
}
@@ -155,7 +155,7 @@ public static function getDescribeContainerAliasTestData(): array
155
155
}
156
156
157
157
#[DataProvider('getDescribeContainerDefinitionWhichIsAnAliasTestData ' )]
158
- public function testDescribeContainerDefinitionWhichIsAnAlias (Alias $ alias , $ expectedDescription , ContainerBuilder $ builder , $ options = [])
158
+ public function testDescribeContainerDefinitionWhichIsAnAlias (Alias $ alias , $ expectedDescription , ContainerBuilder $ builder , $ options = [], $ file = null )
159
159
{
160
160
$ this ->assertDescription ($ expectedDescription , $ builder , $ options );
161
161
}
@@ -191,7 +191,7 @@ public static function getDescribeContainerDefinitionWhichIsAnAliasTestData(): a
191
191
#[IgnoreDeprecations]
192
192
#[Group('legacy ' )]
193
193
#[DataProvider('getDescribeContainerParameterTestData ' )]
194
- public function testDescribeContainerParameter ($ parameter , $ expectedDescription , array $ options )
194
+ public function testDescribeContainerParameter ($ parameter , $ expectedDescription , array $ options, $ file )
195
195
{
196
196
$ this ->assertDescription ($ expectedDescription , $ parameter , $ options );
197
197
}
@@ -214,7 +214,7 @@ public static function getDescribeContainerParameterTestData(): array
214
214
}
215
215
216
216
#[DataProvider('getDescribeEventDispatcherTestData ' )]
217
- public function testDescribeEventDispatcher (EventDispatcher $ eventDispatcher , $ expectedDescription , array $ options )
217
+ public function testDescribeEventDispatcher (EventDispatcher $ eventDispatcher , $ expectedDescription , array $ options, $ file )
218
218
{
219
219
$ this ->assertDescription ($ expectedDescription , $ eventDispatcher , $ options );
220
220
}
@@ -225,7 +225,7 @@ public static function getDescribeEventDispatcherTestData(): array
225
225
}
226
226
227
227
#[DataProvider('getDescribeCallableTestData ' )]
228
- public function testDescribeCallable ($ callable , $ expectedDescription )
228
+ public function testDescribeCallable ($ callable , $ expectedDescription, $ file )
229
229
{
230
230
$ this ->assertDescription ($ expectedDescription , $ callable );
231
231
}
@@ -238,7 +238,7 @@ public static function getDescribeCallableTestData(): array
238
238
#[IgnoreDeprecations]
239
239
#[Group('legacy ' )]
240
240
#[DataProvider('getDescribeDeprecatedCallableTestData ' )]
241
- public function testDescribeDeprecatedCallable ($ callable , $ expectedDescription )
241
+ public function testDescribeDeprecatedCallable ($ callable , $ expectedDescription, $ file )
242
242
{
243
243
$ this ->assertDescription ($ expectedDescription , $ callable );
244
244
}
@@ -265,7 +265,7 @@ public static function getClassDescriptionTestData(): array
265
265
}
266
266
267
267
#[DataProvider('getDeprecationsTestData ' )]
268
- public function testGetDeprecations (ContainerBuilder $ builder , $ expectedDescription )
268
+ public function testGetDeprecations (ContainerBuilder $ builder , $ expectedDescription, $ file )
269
269
{
270
270
$ this ->assertDescription ($ expectedDescription , $ builder , ['deprecations ' => true ]);
271
271
}
0 commit comments