aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBruce Wells <brucekwells@gmail.com>2023-03-21 18:10:06 +0300
committerGitHub <noreply@github.com>2023-03-21 18:10:06 +0300
commit1b8d71d953d2ad9c9eb97d1fed9fe4ed4f8e83d3 (patch)
tree8d3ee58521931c7e35bcf56547c55c7f12b97eff /tests
parent1d41ca6da294dbfda701f90833943fd87bff5d96 (diff)
Php unit10 (#124)
* Static PHPUnit providers * Limit PHP upgrades till new PHP version is tested * Upgrade PHPUnit config schema
Diffstat (limited to 'tests')
-rw-r--r--tests/MathTest.php8
1 files changed, 4 insertions, 4 deletions
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<array<string>>
*/
- public function providerExpressions()
+ public static function providerExpressions()
{
return [
['-5'],
@@ -295,7 +295,7 @@ class MathTest extends TestCase
*
* @return array<array<string>>
*/
- public function bcMathExpressions()
+ public static function bcMathExpressions()
{
return [
['-5'],
@@ -518,7 +518,7 @@ class MathTest extends TestCase
*
* @return array<array<string>>
*/
- public function incorrectExpressions()
+ public static function incorrectExpressions()
{
return [
['1 * + '],
@@ -1091,7 +1091,7 @@ class MathTest extends TestCase
*
* @return array<array<mixed>>
*/
- public function providerExpressionValues()
+ public static function providerExpressionValues()
{
return [
['arccos(0.5)', \acos(0.5)],