From 1b8d71d953d2ad9c9eb97d1fed9fe4ed4f8e83d3 Mon Sep 17 00:00:00 2001 From: Bruce Wells Date: Tue, 21 Mar 2023 10:10:06 -0500 Subject: Php unit10 (#124) * Static PHPUnit providers * Limit PHP upgrades till new PHP version is tested * Upgrade PHPUnit config schema --- tests/MathTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/MathTest.php b/tests/MathTest.php index f8573d3..573b634 100644 --- a/tests/MathTest.php +++ b/tests/MathTest.php @@ -51,7 +51,7 @@ class MathTest extends TestCase * * @return array> */ - public function providerExpressions() + public static function providerExpressions() { return [ ['-5'], @@ -295,7 +295,7 @@ class MathTest extends TestCase * * @return array> */ - public function bcMathExpressions() + public static function bcMathExpressions() { return [ ['-5'], @@ -518,7 +518,7 @@ class MathTest extends TestCase * * @return array> */ - public function incorrectExpressions() + public static function incorrectExpressions() { return [ ['1 * + '], @@ -1091,7 +1091,7 @@ class MathTest extends TestCase * * @return array> */ - public function providerExpressionValues() + public static function providerExpressionValues() { return [ ['arccos(0.5)', \acos(0.5)], -- cgit v1.2.3