@@ -35,7 +35,7 @@ |
||
35 | 35 | } |
36 | 36 | } |
37 | 37 | |
38 | - return [$positive, $negative,]; |
|
38 | + return [$positive, $negative, ]; |
|
39 | 39 | } |
40 | 40 | } |
41 | 41 | ?> |
42 | 42 | \ No newline at end of file |
@@ -35,7 +35,7 @@ |
||
35 | 35 | } |
36 | 36 | } |
37 | 37 | |
38 | - return [$positive, $negative,]; |
|
38 | + return [$positive, $negative, ]; |
|
39 | 39 | } |
40 | 40 | } |
41 | 41 | ?> |
42 | 42 | \ No newline at end of file |
@@ -120,7 +120,7 @@ |
||
120 | 120 | if($skipped->reason) { |
121 | 121 | $reason = ": {$skipped->reason}"; |
122 | 122 | } |
123 | - static::printLine("Skipped $skipped->name$reason"); |
|
123 | + static::printLine("skipped $skipped->name$reason"); |
|
124 | 124 | } |
125 | 125 | } |
126 | 126 |
@@ -42,7 +42,7 @@ |
||
42 | 42 | FileSystem::createDir($tempDir); |
43 | 43 | $robot->setTempDirectory($tempDir); |
44 | 44 | $robot->addDirectory($folder); |
45 | - $robot->acceptFiles = ["*Test.php", "*.phpt",]; |
|
45 | + $robot->acceptFiles = ["*Test.php", "*.phpt", ]; |
|
46 | 46 | $robot->rebuild(); |
47 | 47 | $robot->register(); |
48 | 48 | $classes = $robot->getIndexedClasses(); |
@@ -218,7 +218,7 @@ |
||
218 | 218 | protected function assertType($type, $value): void { |
219 | 219 | if(!is_object($type) && !is_string($type)) { |
220 | 220 | Environment::testResult("Type must be string or object.", false); |
221 | - } elseif(in_array($type, ["array", "bool", "callable", "float", "int", "integer", "null", "object", |
|
221 | + } elseif(in_array($type, ["array", "bool", "callable", "float", "int", "integer", "null", "object", |
|
222 | 222 | "resource", "scalar", "string", "iterable", ], true)) { |
223 | 223 | if(!call_user_func("is_$type", $value)) { |
224 | 224 | Environment::testResult("The variable is " . gettype($value) . ".", false); |