fix readme markdown break
fix readme markdown break
fix readme file badges
allow code climate coverage upload to fail gracefully
fix changelog references
update changelog
Merge branch 'release/0.1.1' into develop
Merge branch 'release/0.1.0' into develop
fix laravel provider and alias publishing
allow code climate coverage upload to fail
update changelog
Merge branch 'release/0.1.1' into main
allow code climate coverage upload to fail
Update skeleton code
Update README.md
Add deprecation warning
Now that I think of, this seems to be another issue not related...
This is apparently happening even with a fresh install of Laravel. I just ran laravel new project
and when trying to run the migrations I am getting the Monolog exception, but it seems that the interfaces do not match with the declarations:
PHP Fatal error: Declaration of Monolog\Logger::emergency(Stringable|string $message, array $context = []): void must be compatible with PsrExt\Log\LoggerInterface::emergency($message, array $context = []) in /home/axel/code/bal/itamctl/vendor/monolog/monolog/src/Monolog/Logger.php on line 669
PHP Stack trace:
PHP 1. {main}() /home/axel/code/bal/itamctl/artisan:0
PHP 2. Illuminate\Foundation\Console\Kernel->handle($input = class Symfony\Component\Console\Input\ArgvInput { protected $definition = class Symfony\Component\Console\Input\InputDefinition { private array $arguments = [...]; private int $requiredCount = 1; private ?Symfony\Component\Console\Input\InputArgument $lastArrayArgument = NULL; private ?Symfony\Component\Console\Input\InputArgument $lastOptionalArgument = NULL; private array $options = [...]; private array $negations = [...]; private array $shortcuts = [...] }; protected $stream = NULL; protected $options = []; protected $arguments = ['command' => 'migrate']; protected $interactive = TRUE; private array $tokens = [0 => 'migrate']; private array $parsed = [] }, $output = class Symfony\Component\Console\Output\ConsoleOutput { private int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Component\Console\Formatter\OutputFormatterInterface ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { private bool $decorated = TRUE; private array $styles = [...]; private Symfony\Component\Console\Formatter\OutputFormatterStyleStack $styleStack = class Symfony\Component\Console\Formatter\OutputFormatterStyleStack { ... } }; private ${Symfony\Component\Console\Output\StreamOutput}stream = resource(2) of type (stream); private Symfony\Component\Console\Output\OutputInterface $stderr = class Symfony\Component\Console\Output\StreamOutput { private int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Component\Console\Formatter\OutputFormatterInterface ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { ... }; private $stream = resource(3) of type (stream) }; private array $consoleSectionOutputs = [] }) /home/axel/code/bal/itamctl/artisan:35
PHP 3. Illuminate\Foundation\Console\Kernel->reportException($e = class Illuminate\Database\QueryException { protected $message = 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known (Connection: mysql, SQL: select * from information_schema.tables where table_schema = itamctl and table_name = migrations and table_type = \'BASE TABLE\')'; private string ${Exception}string = ''; protected $code = 2002; protected string $file = '/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connection.php'; protected int $line = 760; private array ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...], 10 => [...], 11 => [...], 12 => [...], 13 => [...], 14 => [...], 15 => [...], 16 => [...], 17 => [...], 18 => [...], 19 => [...], 20 => [...], 21 => [...], 22 => [...], 23 => [...], 24 => [...], 25 => [...], 26 => [...], 27 => [...], 28 => [...]]; private ?Throwable ${Exception}previous = class PDOException { protected $message = 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known'; private string ${Exception}string = ''; protected $code = 2002; protected string $file = '/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php'; protected int $line = 65; private array ${Exception}trace = [...]; private ?Throwable ${Exception}previous = class PDOException { ... }; public ?array $errorInfo = [...]; public $xdebug_message = '\n\033[1m\033[31mPDOException\033[0m: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known\033[22m in \033[31m/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php\033[0m on line \033[32m65\033[0m\033[22m\n\n\033[1mCall Stack:\033[22m\n 0.0002 2445856 1. {main}() /home/axel/code/bal/itamctl/artisan:0\n 0.0141 6259352 2. Illuminate\\Foundation\\Console\\Kernel->handle($input = class Symfony\\Component\\Console\\Input\\ArgvInput { protecte'... }; public ?array $errorInfo = [0 => 'HY000', 1 => 2002, 2 => 'php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known']; public $connectionName = 'mysql'; protected $sql = 'select * from information_schema.tables where table_schema = ? and table_name = ? and table_type = \'BASE TABLE\''; protected $bindings = [0 => 'itamctl', 1 => 'migrations']; public $xdebug_message = '\n\033[1m\033[31mIlluminate\\Database\\QueryException\033[0m: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known (Connection: mysql, SQL: select * from information_schema.tables where table_schema = itamctl and table_name = migrations and table_type = \'BASE TABLE\')\033[22m in \033[31m/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connection.php\033[0m on line \033[32m760\033[0m\033[22m\n\n\033[1mCall Stack:\033[22m\n 0.0002 2445856 1. {main}() /home/axel/'... }) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:157
PHP 4. NunoMaduro\Collision\Adapters\Laravel\ExceptionHandler->report($e = class Illuminate\Database\QueryException { protected $message = 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known (Connection: mysql, SQL: select * from information_schema.tables where table_schema = itamctl and table_name = migrations and table_type = \'BASE TABLE\')'; private string ${Exception}string = ''; protected $code = 2002; protected string $file = '/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connection.php'; protected int $line = 760; private array ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...], 10 => [...], 11 => [...], 12 => [...], 13 => [...], 14 => [...], 15 => [...], 16 => [...], 17 => [...], 18 => [...], 19 => [...], 20 => [...], 21 => [...], 22 => [...], 23 => [...], 24 => [...], 25 => [...], 26 => [...], 27 => [...], 28 => [...]]; private ?Throwable ${Exception}previous = class PDOException { protected $message = 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known'; private string ${Exception}string = ''; protected $code = 2002; protected string $file = '/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php'; protected int $line = 65; private array ${Exception}trace = [...]; private ?Throwable ${Exception}previous = class PDOException { ... }; public ?array $errorInfo = [...]; public $xdebug_message = '\n\033[1m\033[31mPDOException\033[0m: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known\033[22m in \033[31m/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php\033[0m on line \033[32m65\033[0m\033[22m\n\n\033[1mCall Stack:\033[22m\n 0.0002 2445856 1. {main}() /home/axel/code/bal/itamctl/artisan:0\n 0.0141 6259352 2. Illuminate\\Foundation\\Console\\Kernel->handle($input = class Symfony\\Component\\Console\\Input\\ArgvInput { protecte'... }; public ?array $errorInfo = [0 => 'HY000', 1 => 2002, 2 => 'php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known']; public $connectionName = 'mysql'; protected $sql = 'select * from information_schema.tables where table_schema = ? and table_name = ? and table_type = \'BASE TABLE\''; protected $bindings = [0 => 'itamctl', 1 => 'migrations']; public $xdebug_message = '\n\033[1m\033[31mIlluminate\\Database\\QueryException\033[0m: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known (Connection: mysql, SQL: select * from information_schema.tables where table_schema = itamctl and table_name = migrations and table_type = \'BASE TABLE\')\033[22m in \033[31m/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connection.php\033[0m on line \033[32m760\033[0m\033[22m\n\n\033[1mCall Stack:\033[22m\n 0.0002 2445856 1. {main}() /home/axel/'... }) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:454
PHP 5. Illuminate\Foundation\Exceptions\Handler->report($e = class Illuminate\Database\QueryException { protected $message = 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known (Connection: mysql, SQL: select * from information_schema.tables where table_schema = itamctl and table_name = migrations and table_type = \'BASE TABLE\')'; private string ${Exception}string = ''; protected $code = 2002; protected string $file = '/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connection.php'; protected int $line = 760; private array ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...], 10 => [...], 11 => [...], 12 => [...], 13 => [...], 14 => [...], 15 => [...], 16 => [...], 17 => [...], 18 => [...], 19 => [...], 20 => [...], 21 => [...], 22 => [...], 23 => [...], 24 => [...], 25 => [...], 26 => [...], 27 => [...], 28 => [...]]; private ?Throwable ${Exception}previous = class PDOException { protected $message = 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known'; private string ${Exception}string = ''; protected $code = 2002; protected string $file = '/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php'; protected int $line = 65; private array ${Exception}trace = [...]; private ?Throwable ${Exception}previous = class PDOException { ... }; public ?array $errorInfo = [...]; public $xdebug_message = '\n\033[1m\033[31mPDOException\033[0m: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known\033[22m in \033[31m/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php\033[0m on line \033[32m65\033[0m\033[22m\n\n\033[1mCall Stack:\033[22m\n 0.0002 2445856 1. {main}() /home/axel/code/bal/itamctl/artisan:0\n 0.0141 6259352 2. Illuminate\\Foundation\\Console\\Kernel->handle($input = class Symfony\\Component\\Console\\Input\\ArgvInput { protecte'... }; public ?array $errorInfo = [0 => 'HY000', 1 => 2002, 2 => 'php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known']; public $connectionName = 'mysql'; protected $sql = 'select * from information_schema.tables where table_schema = ? and table_name = ? and table_type = \'BASE TABLE\''; protected $bindings = [0 => 'itamctl', 1 => 'migrations']; public $xdebug_message = '\n\033[1m\033[31mIlluminate\\Database\\QueryException\033[0m: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known (Connection: mysql, SQL: select * from information_schema.tables where table_schema = itamctl and table_name = migrations and table_type = \'BASE TABLE\')\033[22m in \033[31m/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connection.php\033[0m on line \033[32m760\033[0m\033[22m\n\n\033[1mCall Stack:\033[22m\n 0.0002 2445856 1. {main}() /home/axel/'... }) /home/axel/code/bal/itamctl/vendor/nunomaduro/collision/src/Adapters/Laravel/ExceptionHandler.php:46
PHP 6. Illuminate\Log\LogManager->error($message = 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known (Connection: mysql, SQL: select * from information_schema.tables where table_schema = itamctl and table_name = migrations and table_type = \'BASE TABLE\')', $context = ['exception' => class Illuminate\Database\QueryException { protected $message = 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known (Connection: mysql, SQL: select * from information_schema.tables where table_schema = itamctl and table_name = migrations and table_type = \'BASE TABLE\')'; private string ${Exception}string = ''; protected $code = 2002; protected string $file = '/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connection.php'; protected int $line = 760; private array ${Exception}trace = [...]; private ?Throwable ${Exception}previous = class PDOException { ... }; public ?array $errorInfo = [...]; public $connectionName = 'mysql'; protected $sql = 'select * from information_schema.tables where table_schema = ? and table_name = ? and table_type = \'BASE TABLE\''; protected $bindings = [...]; public $xdebug_message = '\n\033[1m\033[31mIlluminate\\Database\\QueryException\033[0m: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known (Connection: mysql, SQL: select * from information_schema.tables where table_schema = itamctl and table_name = migrations and table_type = \'BASE TABLE\')\033[22m in \033[31m/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connection.php\033[0m on line \033[32m760\033[0m\033[22m\n\n\033[1mCall Stack:\033[22m\n 0.0002 2445856 1. {main}() /home/axel/'... }]) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:274
PHP 7. Illuminate\Log\LogManager->driver($driver = *uninitialized*) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:664
PHP 8. Illuminate\Log\LogManager->get($name = 'stack', $config = *uninitialized*) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:124
PHP 9. Illuminate\Log\LogManager->resolve($name = 'stack', $config = NULL) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:137
PHP 10. Illuminate\Log\LogManager->createStackDriver($config = ['driver' => 'stack', 'channels' => [0 => 'single'], 'ignore_exceptions' => FALSE]) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:222
PHP 11. Illuminate\Support\Collection->flatMap($callback = class Closure { public $this = class Illuminate\Log\LogManager { protected $app = class Illuminate\Foundation\Application { ... }; protected $channels = [...]; protected $sharedContext = [...]; protected $customCreators = [...]; protected $dateFormat = 'Y-m-d H:i:s'; protected $levels = [...] }; public $parameter = ['$channel' => '<required>'] }) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:264
PHP 12. Illuminate\Support\Collection->map($callback = class Closure { public $this = class Illuminate\Log\LogManager { protected $app = class Illuminate\Foundation\Application { ... }; protected $channels = [...]; protected $sharedContext = [...]; protected $customCreators = [...]; protected $dateFormat = 'Y-m-d H:i:s'; protected $levels = [...] }; public $parameter = ['$channel' => '<required>'] }) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php:370
PHP 13. Illuminate\Support\Arr::map($array = [0 => 'single'], $callback = class Closure { public $this = class Illuminate\Log\LogManager { protected $app = class Illuminate\Foundation\Application { ... }; protected $channels = [...]; protected $sharedContext = [...]; protected $customCreators = [...]; protected $dateFormat = 'Y-m-d H:i:s'; protected $levels = [...] }; public $parameter = ['$channel' => '<required>'] }) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Collections/Collection.php:770
PHP 14. array_map($callback = class Closure { public $this = class Illuminate\Log\LogManager { protected $app = class Illuminate\Foundation\Application { ... }; protected $channels = [...]; protected $sharedContext = [...]; protected $customCreators = [...]; protected $dateFormat = 'Y-m-d H:i:s'; protected $levels = [...] }; public $parameter = ['$channel' => '<required>'] }, $array = [0 => 'single'], ...$arrays = variadic()) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Collections/Arr.php:558
PHP 15. Illuminate\Log\LogManager->Illuminate\Log\{closure:/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:264-268}($channel = 'single', 0) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Collections/Arr.php:558
PHP 16. Illuminate\Log\LogManager->channel($channel = 'single') /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:267
PHP 17. Illuminate\Log\LogManager->driver($driver = 'single') /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:113
PHP 18. Illuminate\Log\LogManager->get($name = 'single', $config = *uninitialized*) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:124
PHP 19. Illuminate\Log\LogManager->resolve($name = 'single', $config = NULL) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:137
PHP 20. Illuminate\Log\LogManager->createSingleDriver($config = ['driver' => 'single', 'path' => '/home/axel/code/bal/itamctl/storage/logs/laravel.log', 'level' => 'debug']) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:222
PHP 21. Composer\Autoload\ClassLoader->loadClass($class = 'Monolog\\Logger') /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:291
PHP 22. Composer\Autoload\{closure:/home/axel/code/bal/itamctl/vendor/composer/ClassLoader.php:581-583}($file = '/home/axel/code/bal/itamctl/vendor/composer/../monolog/monolog/src/Monolog/Logger.php') /home/axel/code/bal/itamctl/vendor/composer/ClassLoader.php:433
PHP 23. include() /home/axel/code/bal/itamctl/vendor/composer/ClassLoader.php:582
PHP Fatal error: Uncaught Error: Class "Monolog\Logger" not found in /home/axel/code/bal/itamctl/vendor/monolog/monolog/src/Monolog/Handler/AbstractHandler.php:59
Stack trace:
#0 /home/axel/code/bal/itamctl/vendor/monolog/monolog/src/Monolog/Handler/AbstractHandler.php(38): Monolog\Handler\AbstractHandler->setLevel()
#1 /home/axel/code/bal/itamctl/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php(49): Monolog\Handler\AbstractHandler->__construct()
#2 /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(187): Monolog\Handler\StreamHandler->__construct()
#3 /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(141): Illuminate\Log\LogManager->createEmergencyLogger()
#4 /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(124): Illuminate\Log\LogManager->get()
#5 /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(664): Illuminate\Log\LogManager->driver()
#6 /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(274): Illuminate\Log\LogManager->error()
#7 /home/axel/code/bal/itamctl/vendor/nunomaduro/collision/src/Adapters/Laravel/ExceptionHandler.php(46): Illuminate\Foundation\Exceptions\Handler->report()
#8 /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(182): NunoMaduro\Collision\Adapters\Laravel\ExceptionHandler->report()
#9 /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(226): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()
#10 /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(250): Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown()
#11 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
#12 {main}
thrown in /home/axel/code/bal/itamctl/vendor/monolog/monolog/src/Monolog/Handler/AbstractHandler.php on line 59
PHP Stack trace:
PHP 1. {main}() /home/axel/code/bal/itamctl/artisan:0
PHP 2. Illuminate\Foundation\Console\Kernel->handle($input = class Symfony\Component\Console\Input\ArgvInput { protected $definition = class Symfony\Component\Console\Input\InputDefinition { private array $arguments = [...]; private int $requiredCount = 1; private ?Symfony\Component\Console\Input\InputArgument $lastArrayArgument = NULL; private ?Symfony\Component\Console\Input\InputArgument $lastOptionalArgument = NULL; private array $options = [...]; private array $negations = [...]; private array $shortcuts = [...] }; protected $stream = NULL; protected $options = []; protected $arguments = ['command' => 'migrate']; protected $interactive = TRUE; private array $tokens = [0 => 'migrate']; private array $parsed = [] }, $output = class Symfony\Component\Console\Output\ConsoleOutput { private int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Component\Console\Formatter\OutputFormatterInterface ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { private bool $decorated = TRUE; private array $styles = [...]; private Symfony\Component\Console\Formatter\OutputFormatterStyleStack $styleStack = class Symfony\Component\Console\Formatter\OutputFormatterStyleStack { ... } }; private ${Symfony\Component\Console\Output\StreamOutput}stream = resource(2) of type (stream); private Symfony\Component\Console\Output\OutputInterface $stderr = class Symfony\Component\Console\Output\StreamOutput { private int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Component\Console\Formatter\OutputFormatterInterface ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { ... }; private $stream = resource(3) of type (stream) }; private array $consoleSectionOutputs = [] }) /home/axel/code/bal/itamctl/artisan:35
PHP 3. Illuminate\Foundation\Console\Kernel->reportException($e = class Illuminate\Database\QueryException { protected $message = 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known (Connection: mysql, SQL: select * from information_schema.tables where table_schema = itamctl and table_name = migrations and table_type = \'BASE TABLE\')'; private string ${Exception}string = ''; protected $code = 2002; protected string $file = '/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connection.php'; protected int $line = 760; private array ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...], 10 => [...], 11 => [...], 12 => [...], 13 => [...], 14 => [...], 15 => [...], 16 => [...], 17 => [...], 18 => [...], 19 => [...], 20 => [...], 21 => [...], 22 => [...], 23 => [...], 24 => [...], 25 => [...], 26 => [...], 27 => [...], 28 => [...]]; private ?Throwable ${Exception}previous = class PDOException { protected $message = 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known'; private string ${Exception}string = ''; protected $code = 2002; protected string $file = '/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php'; protected int $line = 65; private array ${Exception}trace = [...]; private ?Throwable ${Exception}previous = class PDOException { ... }; public ?array $errorInfo = [...]; public $xdebug_message = '\n\033[1m\033[31mPDOException\033[0m: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known\033[22m in \033[31m/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php\033[0m on line \033[32m65\033[0m\033[22m\n\n\033[1mCall Stack:\033[22m\n 0.0002 2445856 1. {main}() /home/axel/code/bal/itamctl/artisan:0\n 0.0141 6259352 2. Illuminate\\Foundation\\Console\\Kernel->handle($input = class Symfony\\Component\\Console\\Input\\ArgvInput { protecte'... }; public ?array $errorInfo = [0 => 'HY000', 1 => 2002, 2 => 'php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known']; public $connectionName = 'mysql'; protected $sql = 'select * from information_schema.tables where table_schema = ? and table_name = ? and table_type = \'BASE TABLE\''; protected $bindings = [0 => 'itamctl', 1 => 'migrations']; public $xdebug_message = '\n\033[1m\033[31mIlluminate\\Database\\QueryException\033[0m: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known (Connection: mysql, SQL: select * from information_schema.tables where table_schema = itamctl and table_name = migrations and table_type = \'BASE TABLE\')\033[22m in \033[31m/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connection.php\033[0m on line \033[32m760\033[0m\033[22m\n\n\033[1mCall Stack:\033[22m\n 0.0002 2445856 1. {main}() /home/axel/'... }) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:157
PHP 4. NunoMaduro\Collision\Adapters\Laravel\ExceptionHandler->report($e = class Illuminate\Database\QueryException { protected $message = 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known (Connection: mysql, SQL: select * from information_schema.tables where table_schema = itamctl and table_name = migrations and table_type = \'BASE TABLE\')'; private string ${Exception}string = ''; protected $code = 2002; protected string $file = '/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connection.php'; protected int $line = 760; private array ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...], 10 => [...], 11 => [...], 12 => [...], 13 => [...], 14 => [...], 15 => [...], 16 => [...], 17 => [...], 18 => [...], 19 => [...], 20 => [...], 21 => [...], 22 => [...], 23 => [...], 24 => [...], 25 => [...], 26 => [...], 27 => [...], 28 => [...]]; private ?Throwable ${Exception}previous = class PDOException { protected $message = 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known'; private string ${Exception}string = ''; protected $code = 2002; protected string $file = '/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php'; protected int $line = 65; private array ${Exception}trace = [...]; private ?Throwable ${Exception}previous = class PDOException { ... }; public ?array $errorInfo = [...]; public $xdebug_message = '\n\033[1m\033[31mPDOException\033[0m: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known\033[22m in \033[31m/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php\033[0m on line \033[32m65\033[0m\033[22m\n\n\033[1mCall Stack:\033[22m\n 0.0002 2445856 1. {main}() /home/axel/code/bal/itamctl/artisan:0\n 0.0141 6259352 2. Illuminate\\Foundation\\Console\\Kernel->handle($input = class Symfony\\Component\\Console\\Input\\ArgvInput { protecte'... }; public ?array $errorInfo = [0 => 'HY000', 1 => 2002, 2 => 'php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known']; public $connectionName = 'mysql'; protected $sql = 'select * from information_schema.tables where table_schema = ? and table_name = ? and table_type = \'BASE TABLE\''; protected $bindings = [0 => 'itamctl', 1 => 'migrations']; public $xdebug_message = '\n\033[1m\033[31mIlluminate\\Database\\QueryException\033[0m: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known (Connection: mysql, SQL: select * from information_schema.tables where table_schema = itamctl and table_name = migrations and table_type = \'BASE TABLE\')\033[22m in \033[31m/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connection.php\033[0m on line \033[32m760\033[0m\033[22m\n\n\033[1mCall Stack:\033[22m\n 0.0002 2445856 1. {main}() /home/axel/'... }) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:454
PHP 5. Illuminate\Foundation\Exceptions\Handler->report($e = class Illuminate\Database\QueryException { protected $message = 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known (Connection: mysql, SQL: select * from information_schema.tables where table_schema = itamctl and table_name = migrations and table_type = \'BASE TABLE\')'; private string ${Exception}string = ''; protected $code = 2002; protected string $file = '/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connection.php'; protected int $line = 760; private array ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...], 10 => [...], 11 => [...], 12 => [...], 13 => [...], 14 => [...], 15 => [...], 16 => [...], 17 => [...], 18 => [...], 19 => [...], 20 => [...], 21 => [...], 22 => [...], 23 => [...], 24 => [...], 25 => [...], 26 => [...], 27 => [...], 28 => [...]]; private ?Throwable ${Exception}previous = class PDOException { protected $message = 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known'; private string ${Exception}string = ''; protected $code = 2002; protected string $file = '/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php'; protected int $line = 65; private array ${Exception}trace = [...]; private ?Throwable ${Exception}previous = class PDOException { ... }; public ?array $errorInfo = [...]; public $xdebug_message = '\n\033[1m\033[31mPDOException\033[0m: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known\033[22m in \033[31m/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php\033[0m on line \033[32m65\033[0m\033[22m\n\n\033[1mCall Stack:\033[22m\n 0.0002 2445856 1. {main}() /home/axel/code/bal/itamctl/artisan:0\n 0.0141 6259352 2. Illuminate\\Foundation\\Console\\Kernel->handle($input = class Symfony\\Component\\Console\\Input\\ArgvInput { protecte'... }; public ?array $errorInfo = [0 => 'HY000', 1 => 2002, 2 => 'php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known']; public $connectionName = 'mysql'; protected $sql = 'select * from information_schema.tables where table_schema = ? and table_name = ? and table_type = \'BASE TABLE\''; protected $bindings = [0 => 'itamctl', 1 => 'migrations']; public $xdebug_message = '\n\033[1m\033[31mIlluminate\\Database\\QueryException\033[0m: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known (Connection: mysql, SQL: select * from information_schema.tables where table_schema = itamctl and table_name = migrations and table_type = \'BASE TABLE\')\033[22m in \033[31m/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connection.php\033[0m on line \033[32m760\033[0m\033[22m\n\n\033[1mCall Stack:\033[22m\n 0.0002 2445856 1. {main}() /home/axel/'... }) /home/axel/code/bal/itamctl/vendor/nunomaduro/collision/src/Adapters/Laravel/ExceptionHandler.php:46
PHP 6. Illuminate\Log\LogManager->error($message = 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known (Connection: mysql, SQL: select * from information_schema.tables where table_schema = itamctl and table_name = migrations and table_type = \'BASE TABLE\')', $context = ['exception' => class Illuminate\Database\QueryException { protected $message = 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known (Connection: mysql, SQL: select * from information_schema.tables where table_schema = itamctl and table_name = migrations and table_type = \'BASE TABLE\')'; private string ${Exception}string = ''; protected $code = 2002; protected string $file = '/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connection.php'; protected int $line = 760; private array ${Exception}trace = [...]; private ?Throwable ${Exception}previous = class PDOException { ... }; public ?array $errorInfo = [...]; public $connectionName = 'mysql'; protected $sql = 'select * from information_schema.tables where table_schema = ? and table_name = ? and table_type = \'BASE TABLE\''; protected $bindings = [...]; public $xdebug_message = '\n\033[1m\033[31mIlluminate\\Database\\QueryException\033[0m: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known (Connection: mysql, SQL: select * from information_schema.tables where table_schema = itamctl and table_name = migrations and table_type = \'BASE TABLE\')\033[22m in \033[31m/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Database/Connection.php\033[0m on line \033[32m760\033[0m\033[22m\n\n\033[1mCall Stack:\033[22m\n 0.0002 2445856 1. {main}() /home/axel/'... }]) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:274
PHP 7. Illuminate\Log\LogManager->driver($driver = *uninitialized*) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:664
PHP 8. Illuminate\Log\LogManager->get($name = 'stack', $config = *uninitialized*) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:124
PHP 9. Illuminate\Log\LogManager->resolve($name = 'stack', $config = NULL) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:137
PHP 10. Illuminate\Log\LogManager->createStackDriver($config = ['driver' => 'stack', 'channels' => [0 => 'single'], 'ignore_exceptions' => FALSE]) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:222
PHP 11. Illuminate\Support\Collection->flatMap($callback = class Closure { public $this = class Illuminate\Log\LogManager { protected $app = class Illuminate\Foundation\Application { ... }; protected $channels = [...]; protected $sharedContext = [...]; protected $customCreators = [...]; protected $dateFormat = 'Y-m-d H:i:s'; protected $levels = [...] }; public $parameter = ['$channel' => '<required>'] }) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:264
PHP 12. Illuminate\Support\Collection->map($callback = class Closure { public $this = class Illuminate\Log\LogManager { protected $app = class Illuminate\Foundation\Application { ... }; protected $channels = [...]; protected $sharedContext = [...]; protected $customCreators = [...]; protected $dateFormat = 'Y-m-d H:i:s'; protected $levels = [...] }; public $parameter = ['$channel' => '<required>'] }) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php:370
PHP 13. Illuminate\Support\Arr::map($array = [0 => 'single'], $callback = class Closure { public $this = class Illuminate\Log\LogManager { protected $app = class Illuminate\Foundation\Application { ... }; protected $channels = [...]; protected $sharedContext = [...]; protected $customCreators = [...]; protected $dateFormat = 'Y-m-d H:i:s'; protected $levels = [...] }; public $parameter = ['$channel' => '<required>'] }) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Collections/Collection.php:770
PHP 14. array_map($callback = class Closure { public $this = class Illuminate\Log\LogManager { protected $app = class Illuminate\Foundation\Application { ... }; protected $channels = [...]; protected $sharedContext = [...]; protected $customCreators = [...]; protected $dateFormat = 'Y-m-d H:i:s'; protected $levels = [...] }; public $parameter = ['$channel' => '<required>'] }, $array = [0 => 'single'], ...$arrays = variadic()) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Collections/Arr.php:558
PHP 15. Illuminate\Log\LogManager->Illuminate\Log\{closure:/home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:264-268}($channel = 'single', 0) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Collections/Arr.php:558
PHP 16. Illuminate\Log\LogManager->channel($channel = 'single') /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:267
PHP 17. Illuminate\Log\LogManager->driver($driver = 'single') /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:113
PHP 18. Illuminate\Log\LogManager->get($name = 'single', $config = *uninitialized*) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:124
PHP 19. Illuminate\Log\LogManager->resolve($name = 'single', $config = NULL) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:137
PHP 20. Illuminate\Log\LogManager->createSingleDriver($config = ['driver' => 'single', 'path' => '/home/axel/code/bal/itamctl/storage/logs/laravel.log', 'level' => 'debug']) /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:222
PHP 21. Composer\Autoload\ClassLoader->loadClass($class = 'Monolog\\Logger') /home/axel/code/bal/itamctl/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:291
PHP 22. Composer\Autoload\{closure:/home/axel/code/bal/itamctl/vendor/composer/ClassLoader.php:581-583}($file = '/home/axel/code/bal/itamctl/vendor/composer/../monolog/monolog/src/Monolog/Logger.php') /home/axel/code/bal/itamctl/vendor/composer/ClassLoader.php:433
PHP 23. include() /home/axel/code/bal/itamctl/vendor/composer/ClassLoader.php:582
Remove unneeded file
Fix styling
Add support for declaring and setting namespaces
Merge branch 'add-namespace-support' into develop
Add compare()
and equals()
functions so that we can compare addresses and masks.
Extract xmlify handling code
Merge branch 'refactor-handles-xmlify' into develop