@@ -17,11 +17,6 @@ class RendererHelperTest extends TestCase
1717{
1818    private  InspectionConfig $ config
1919
20-     protected  function  setUp (): void 
21-     {
22-         $ this config  = new  InspectionConfig ('base-path ' , 80 );
23-     }
24- 
2520    public  function  testRenderReasonGlobalCoverageTooLow (): void 
2621    {
2722        $ metricnew  FileMetric ('foobar ' , 0 , 80 , [], []);
@@ -46,7 +41,10 @@ public function testRenderReasonCustomCoverageTooHigh(): void
4641        $ failurenew  Failure ($ metric70 , Failure::CUSTOM_COVERAGE_TOO_HIGH , 5 );
4742
4843        $ messagerenderReason ($ this config , $ failure
49-         static ::assertSame ('Custom file coverage is configured at 70%. Current coverage is at 50%. Edit the phpfci baseline for this class. ' , $ message
44+         static ::assertSame (
45+             'Custom file coverage is configured at 70%. Current coverage is at 50%. Edit the phpfci baseline for this class. ' ,
46+             $ message
47+         );
5048    }
5149
5250    public  function  testRenderReasonMissingMethodCoverage (): void 
@@ -79,4 +77,9 @@ public function testRenderReasonShouldThrowExceptionWhenInvalid(): void
7977        $ this expectException (RuntimeException::class);
8078        RendererHelper::renderReason ($ this config , $ failure
8179    }
80+ 
81+     protected  function  setUp (): void 
82+     {
83+         $ this config  = new  InspectionConfig ('base-path ' , 80 );
84+     }
8285}
0 commit comments