@@ -106,11 +106,7 @@ public function testPersistForProperty(): void
106106 {
107107 self ::bootKernel (['config ' => static function (TestKernel $ kernel ) {
108108 $ kernel ->addTestConfig (__DIR__ .'/config/framework.yml ' );
109-
110- if ($ kernel ::VERSION_ID >= 60000 ) {
111- $ kernel ->addTestConfig (__DIR__ .'/config/framework_sf ' .$ kernel ::MAJOR_VERSION .'.yml ' );
112- }
113-
109+ $ kernel ->addTestConfig (__DIR__ .'/config/framework_sf ' .$ kernel ::MAJOR_VERSION .'.yml ' );
114110 $ kernel ->addTestConfig (__DIR__ .'/config/listener.yml ' );
115111 }]);
116112
@@ -145,11 +141,7 @@ public function testPersistForGetter(): void
145141 {
146142 self ::bootKernel (['config ' => static function (TestKernel $ kernel ) {
147143 $ kernel ->addTestConfig (__DIR__ .'/config/framework.yml ' );
148-
149- if ($ kernel ::VERSION_ID >= 60000 ) {
150- $ kernel ->addTestConfig (__DIR__ .'/config/framework_sf ' .$ kernel ::MAJOR_VERSION .'.yml ' );
151- }
152-
144+ $ kernel ->addTestConfig (__DIR__ .'/config/framework_sf ' .$ kernel ::MAJOR_VERSION .'.yml ' );
153145 $ kernel ->addTestConfig (__DIR__ .'/config/listener.yml ' );
154146 }]);
155147
@@ -184,11 +176,7 @@ public function testPersistForStringableGetter(): void
184176 {
185177 self ::bootKernel (['config ' => static function (TestKernel $ kernel ) {
186178 $ kernel ->addTestConfig (__DIR__ .'/config/framework.yml ' );
187-
188- if ($ kernel ::VERSION_ID >= 60000 ) {
189- $ kernel ->addTestConfig (__DIR__ .'/config/framework_sf ' .$ kernel ::MAJOR_VERSION .'.yml ' );
190- }
191-
179+ $ kernel ->addTestConfig (__DIR__ .'/config/framework_sf ' .$ kernel ::MAJOR_VERSION .'.yml ' );
192180 $ kernel ->addTestConfig (__DIR__ .'/config/listener.yml ' );
193181 }]);
194182
@@ -223,11 +211,7 @@ public function testPersistForInvalidGetter(): void
223211 {
224212 self ::bootKernel (['config ' => static function (TestKernel $ kernel ) {
225213 $ kernel ->addTestConfig (__DIR__ .'/config/framework.yml ' );
226-
227- if ($ kernel ::VERSION_ID >= 60000 ) {
228- $ kernel ->addTestConfig (__DIR__ .'/config/framework_sf ' .$ kernel ::MAJOR_VERSION .'.yml ' );
229- }
230-
214+ $ kernel ->addTestConfig (__DIR__ .'/config/framework_sf ' .$ kernel ::MAJOR_VERSION .'.yml ' );
231215 $ kernel ->addTestConfig (__DIR__ .'/config/listener.yml ' );
232216 }]);
233217
@@ -255,11 +239,7 @@ public function testPersistForEmptyProperty(): void
255239 {
256240 self ::bootKernel (['config ' => static function (TestKernel $ kernel ) {
257241 $ kernel ->addTestConfig (__DIR__ .'/config/framework.yml ' );
258-
259- if ($ kernel ::VERSION_ID >= 60000 ) {
260- $ kernel ->addTestConfig (__DIR__ .'/config/framework_sf ' .$ kernel ::MAJOR_VERSION .'.yml ' );
261- }
262-
242+ $ kernel ->addTestConfig (__DIR__ .'/config/framework_sf ' .$ kernel ::MAJOR_VERSION .'.yml ' );
263243 $ kernel ->addTestConfig (__DIR__ .'/config/listener.yml ' );
264244 }]);
265245
@@ -287,11 +267,7 @@ public function testDoesNotGeocodeIfAddressNotChanged(): void
287267 {
288268 self ::bootKernel (['config ' => static function (TestKernel $ kernel ) {
289269 $ kernel ->addTestConfig (__DIR__ .'/config/framework.yml ' );
290-
291- if ($ kernel ::VERSION_ID >= 60000 ) {
292- $ kernel ->addTestConfig (__DIR__ .'/config/framework_sf ' .$ kernel ::MAJOR_VERSION .'.yml ' );
293- }
294-
270+ $ kernel ->addTestConfig (__DIR__ .'/config/framework_sf ' .$ kernel ::MAJOR_VERSION .'.yml ' );
295271 $ kernel ->addTestConfig (__DIR__ .'/config/listener.yml ' );
296272 }]);
297273
0 commit comments