@@ -19,7 +19,7 @@ final class TextTest extends TestCase
1919{
2020 public function testLineCoverageForBankAccountTest (): void
2121 {
22- $ text = new Text (50 , 90 , false , false );
22+ $ text = new Text (Thresholds:: default () , false , false );
2323
2424 $ this ->assertStringMatchesFormatFile (
2525 TEST_FILES_PATH . 'BankAccount-text-line.txt ' ,
@@ -29,7 +29,7 @@ public function testLineCoverageForBankAccountTest(): void
2929
3030 public function testPathCoverageForBankAccountTest (): void
3131 {
32- $ text = new Text (50 , 90 , false , false );
32+ $ text = new Text (Thresholds:: default () , false , false );
3333
3434 $ this ->assertStringMatchesFormatFile (
3535 TEST_FILES_PATH . 'BankAccount-text-path.txt ' ,
@@ -39,7 +39,7 @@ public function testPathCoverageForBankAccountTest(): void
3939
4040 public function testTextOnlySummaryForBankAccountTest (): void
4141 {
42- $ text = new Text (50 , 90 , false , true );
42+ $ text = new Text (Thresholds:: default () , false , true );
4343
4444 $ this ->assertStringMatchesFormatFile (
4545 TEST_FILES_PATH . 'BankAccount-text-summary.txt ' ,
@@ -49,7 +49,7 @@ public function testTextOnlySummaryForBankAccountTest(): void
4949
5050 public function testTextForNamespacedBankAccountTest (): void
5151 {
52- $ text = new Text (50 , 90 , true , false );
52+ $ text = new Text (Thresholds:: default () , true , false );
5353
5454 $ this ->assertStringMatchesFormatFile (
5555 TEST_FILES_PATH . 'NamespacedBankAccount-text.txt ' ,
@@ -59,7 +59,7 @@ public function testTextForNamespacedBankAccountTest(): void
5959
6060 public function testTextForFileWithIgnoredLines (): void
6161 {
62- $ text = new Text (50 , 90 , false , false );
62+ $ text = new Text (Thresholds:: default () , false , false );
6363
6464 $ this ->assertStringMatchesFormatFile (
6565 TEST_FILES_PATH . 'ignored-lines-text.txt ' ,
@@ -69,7 +69,7 @@ public function testTextForFileWithIgnoredLines(): void
6969
7070 public function testTextForClassWithAnonymousFunction (): void
7171 {
72- $ text = new Text (50 , 90 , false , false );
72+ $ text = new Text (Thresholds:: default () , false , false );
7373
7474 $ this ->assertStringMatchesFormatFile (
7575 TEST_FILES_PATH . 'class-with-anonymous-function-text.txt ' ,
@@ -79,7 +79,7 @@ public function testTextForClassWithAnonymousFunction(): void
7979
8080 public function testUncoveredFilesAreIncludedWhenConfiguredTest (): void
8181 {
82- $ text = new Text (50 , 90 , false , false );
82+ $ text = new Text (Thresholds:: default () , false , false );
8383
8484 $ this ->assertStringMatchesFormatFile (
8585 TEST_FILES_PATH . 'BankAccountWithUncovered-text-line.txt ' ,
@@ -89,7 +89,7 @@ public function testUncoveredFilesAreIncludedWhenConfiguredTest(): void
8989
9090 public function testUncoveredFilesAreExcludedWhenConfiguredTest (): void
9191 {
92- $ text = new Text (50 , 90 , false , false );
92+ $ text = new Text (Thresholds:: default () , false , false );
9393
9494 $ this ->assertStringMatchesFormatFile (
9595 TEST_FILES_PATH . 'BankAccountWithoutUncovered-text-line.txt ' ,
0 commit comments