diff --git a/psalm-baseline.xml b/psalm-baseline.xml index e037b117..7a4e1b39 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -51,9 +51,6 @@ - - sentence - $output @@ -102,12 +99,9 @@ - - word - - $faker->word - $faker->word + $faker->word() + $faker->word() SlowTestTest @@ -127,15 +121,10 @@ - - word - word - word - - $faker->word - $faker->word - $faker->word + $faker->word() + $faker->word() + $faker->word() TestSuiteFinishedSubscriberTest diff --git a/test/Unit/Console/ColorTest.php b/test/Unit/Console/ColorTest.php index 9d8ca9dc..0d534a03 100644 --- a/test/Unit/Console/ColorTest.php +++ b/test/Unit/Console/ColorTest.php @@ -37,7 +37,7 @@ public function testDimReturnsOriginalStringWhenItIsWhitespaceOnly(string $outpu public function testDimReturnsDimmedStringWhenItIsNotWhitespaceOnly(): void { - $output = self::faker()->sentence; + $output = self::faker()->sentence(); $expected = <<word, - $faker->word, + $faker->word(), + $faker->word(), ); $duration = Event\Telemetry\Duration::fromSecondsAndNanoseconds( diff --git a/test/Unit/Subscriber/TestSuiteFinishedSubscriberTest.php b/test/Unit/Subscriber/TestSuiteFinishedSubscriberTest.php index 38fe70b1..51a63b63 100644 --- a/test/Unit/Subscriber/TestSuiteFinishedSubscriberTest.php +++ b/test/Unit/Subscriber/TestSuiteFinishedSubscriberTest.php @@ -55,7 +55,7 @@ public function testNotifyDoesNothingWhenCollectorHasNotCollectedAnything(): voi ), Event\Telemetry\MemoryUsage::fromBytes($faker->numberBetween()), ), - $faker->word, + $faker->word(), new Event\TestSuite\Result( $faker->numberBetween(), new Event\TestSuite\FailureCollection(), @@ -157,7 +157,7 @@ public function testNotifyDoesNothingWhenReporterHasNotReportedAnything(): void ), Event\Telemetry\MemoryUsage::fromBytes($faker->numberBetween()), ), - $faker->word, + $faker->word(), new Event\TestSuite\Result( $faker->numberBetween(), new Event\TestSuite\FailureCollection(), @@ -265,7 +265,7 @@ public function testNotifyEchosReportWhenReporterHasReportedSomething(): void ), Event\Telemetry\MemoryUsage::fromBytes($faker->numberBetween()), ), - $faker->word, + $faker->word(), new Event\TestSuite\Result( $faker->numberBetween(), new Event\TestSuite\FailureCollection(),