diff --git a/cli/sysinfo.php b/cli/sysinfo.php index 616af19..9cddfe4 100644 --- a/cli/sysinfo.php +++ b/cli/sysinfo.php @@ -2,6 +2,7 @@ register(); + (new Provider)->register(); } $ipVersion = null; diff --git a/examples/basic.php b/examples/basic.php index b6f8257..4c35a47 100644 --- a/examples/basic.php +++ b/examples/basic.php @@ -1,9 +1,11 @@ friendlyName().PHP_EOL; diff --git a/tests/Unit/ArchTest.php b/tests/Unit/ArchTest.php index d7fd8cf..e6629d6 100644 --- a/tests/Unit/ArchTest.php +++ b/tests/Unit/ArchTest.php @@ -1,5 +1,9 @@ expect('KnotsPHP\System\Enums') ->toBeEnums(); @@ -14,10 +18,10 @@ arch('exceptions') ->expect('KnotsPHP\System\Exceptions') - ->toExtend(\KnotsPHP\System\Exceptions\Exception::class) - ->ignoring(\KnotsPHP\System\Exceptions\Exception::class) - ->ignoring(\KnotsPHP\System\Exceptions\InvalidArgumentException::class) - ->ignoring(\KnotsPHP\System\Exceptions\RuntimeException::class); + ->toExtend(Exception::class) + ->ignoring(Exception::class) + ->ignoring(InvalidArgumentException::class) + ->ignoring(RuntimeException::class); arch('library.operating-system') ->expect('KnotsPHP\System\OperatingSystems')