Skip to content

Commit a875abd

Browse files
committed
merge remote
2 parents 7e16cb6 + a59b1e1 commit a875abd

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
}
1818
],
1919
"require": {
20-
"php": ">7.0.0"
20+
"php": ">7.1.0"
2121
},
2222
"autoload": {
2323
"psr-4": {

phpunit.xml.dist

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
convertWarningsToExceptions="true"
1010
stopOnFailure="false"
1111
>
12-
<testsuites>
13-
<testsuite name="Php Library Test Suite">
14-
<directory>test/</directory>
15-
</testsuite>
16-
</testsuites>
12+
<testsuites>
13+
<testsuite name="Php Library Test Suite">
14+
<directory>test/</directory>
15+
</testsuite>
16+
</testsuites>
1717

18-
<filter>
19-
<whitelist>
20-
<directory suffix=".php">src</directory>
21-
</whitelist>
22-
</filter>
18+
<filter>
19+
<whitelist>
20+
<directory suffix=".php">src</directory>
21+
</whitelist>
22+
</filter>
2323
</phpunit>

src/Console.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public static function log(string $msg, array $data = [], string $type = 'info',
6060
$type,
6161
$optString,
6262
\trim($msg),
63-
$data ? PHP_EOL . \json_encode($data, \JSON_UNESCAPED_SLASHES | \JSON_PRETTY_PRINT) : ''
63+
$data ? \PHP_EOL . \json_encode($data, \JSON_UNESCAPED_SLASHES | \JSON_PRETTY_PRINT) : ''
6464
));
6565
}
6666
}

test/boot.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
spl_autoload_register(function ($class) {
1111
$file = null;
1212

13-
if (0 === strpos($class, 'Toolkit\Cli\Example\\')) {
13+
if (0 === strpos($class,'Toolkit\Cli\Example\\')) {
1414
$path = str_replace('\\', '/', substr($class, strlen('Toolkit\Cli\Example\\')));
1515
$file = dirname(__DIR__) . "/example/{$path}.php";
16-
} elseif (0 === strpos($class, 'Toolkit\Cli\Test\\')) {
16+
} elseif (0 === strpos($class,'Toolkit\Cli\Test\\')) {
1717
$path = str_replace('\\', '/', substr($class, strlen('Toolkit\Cli\Test\\')));
1818
$file = __DIR__ . "/{$path}.php";
19-
} elseif (0 === strpos($class, 'Toolkit\Cli\\')) {
19+
} elseif (0 === strpos($class,'Toolkit\Cli\\')) {
2020
$path = str_replace('\\', '/', substr($class, strlen('Toolkit\Cli\\')));
2121
$file = dirname(__DIR__) . "/src/{$path}.php";
2222
}

0 commit comments

Comments
 (0)