From 148432cc05716b3e3b9abf9811cefc40dfb7da6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Fri, 19 Aug 2022 10:38:56 +0200 Subject: [PATCH] Fix: Use method --- test/Unit/FactoryTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/Unit/FactoryTest.php b/test/Unit/FactoryTest.php index bd2b0e80..cc24526e 100644 --- a/test/Unit/FactoryTest.php +++ b/test/Unit/FactoryTest.php @@ -31,7 +31,7 @@ public function testFromRuleSetThrowsRuntimeExceptionIfCurrentPhpVersionIsLessTh $targetPhpVersion = \PHP_VERSION_ID + 1; $ruleSet = new Test\Double\Config\RuleSet\DummyRuleSet( - self::faker()->word, + self::faker()->word(), [], $targetPhpVersion, ); @@ -59,7 +59,7 @@ public function testFromRuleSetCreatesConfig(int $targetPhpVersion): void ]; $ruleSet = new Test\Double\Config\RuleSet\DummyRuleSet( - self::faker()->word, + self::faker()->word(), $rules, $targetPhpVersion, ); @@ -98,7 +98,7 @@ public function testFromRuleSetCreatesConfigWithOverrideRules(): void ]; $ruleSet = new Test\Double\Config\RuleSet\DummyRuleSet( - self::faker()->word, + self::faker()->word(), $rules, \PHP_VERSION_ID, );