Loading composer.lock +9 −9 Original line number Diff line number Diff line Loading @@ -441,7 +441,7 @@ "dist": { "type": "path", "url": "core", "reference": "78d71b79ee40fcc2305472ed336bddcb03aacafc" "reference": "dc9d28de148cebd49d2c7cf3650fd836ed430a77" }, "require": { "asm89/stack-cors": "^2.0.2", Loading @@ -466,7 +466,7 @@ "masterminds/html5": "^2.7", "pear/archive_tar": "^1.4.14", "php": ">=8.1.0", "psr/log": "^2.0", "psr/log": "^3.0", "symfony/console": "^6.1", "symfony/dependency-injection": "^6.1", "symfony/event-dispatcher": "^6.1", Loading Loading @@ -1756,16 +1756,16 @@ }, { "name": "psr/log", "version": "2.0.0", "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/php-fig/log.git", "reference": "ef29f6d262798707a9edd554e2b82517ef3a9376" "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/php-fig/log/zipball/ef29f6d262798707a9edd554e2b82517ef3a9376", "reference": "ef29f6d262798707a9edd554e2b82517ef3a9376", "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001", "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001", "shasum": "" }, "require": { Loading @@ -1774,7 +1774,7 @@ "type": "library", "extra": { "branch-alias": { "dev-master": "2.0.x-dev" "dev-master": "3.x-dev" } }, "autoload": { Loading @@ -1800,9 +1800,9 @@ "psr-3" ], "support": { "source": "https://github.com/php-fig/log/tree/2.0.0" "source": "https://github.com/php-fig/log/tree/3.0.0" }, "time": "2021-07-14T16:41:46+00:00" "time": "2021-07-14T16:46:02+00:00" }, { "name": "ralouphie/getallheaders", Loading composer/Metapackage/CoreRecommended/composer.json +1 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ "psr/http-client": "1.0.1", "psr/http-factory": "1.0.1", "psr/http-message": "1.0.1", "psr/log": "2.0.0", "psr/log": "3.0.0", "ralouphie/getallheaders": "3.0.3", "symfony/console": "v6.1.1", "symfony/dependency-injection": "v6.1.0", Loading core/composer.json +1 −1 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ "composer/semver": "^3.3", "asm89/stack-cors": "^2.0.2", "pear/archive_tar": "^1.4.14", "psr/log": "^2.0" "psr/log": "^3.0" }, "conflict": { "drush/drush": "<8.1.10" Loading core/lib/Drupal/Core/Logger/LoggerChannel.php +1 −1 Original line number Diff line number Diff line Loading @@ -91,7 +91,7 @@ public function __construct($channel) { /** * {@inheritdoc} */ public function log($level, $message, array $context = []) { public function log($level, string|\Stringable $message, array $context = []): void { if ($this->callDepth == self::MAX_CALL_DEPTH) { return; } Loading core/lib/Drupal/Core/Logger/RfcLoggerTrait.php +9 −9 Original line number Diff line number Diff line Loading @@ -17,62 +17,62 @@ trait RfcLoggerTrait { /** * {@inheritdoc} */ public function emergency($message, array $context = []) { public function emergency(string|\Stringable $message, array $context = []): void { $this->log(RfcLogLevel::EMERGENCY, $message, $context); } /** * {@inheritdoc} */ public function alert($message, array $context = []) { public function alert(string|\Stringable $message, array $context = []): void { $this->log(RfcLogLevel::ALERT, $message, $context); } /** * {@inheritdoc} */ public function critical($message, array $context = []) { public function critical(string|\Stringable $message, array $context = []): void { $this->log(RfcLogLevel::CRITICAL, $message, $context); } /** * {@inheritdoc} */ public function error($message, array $context = []) { public function error(string|\Stringable $message, array $context = []): void { $this->log(RfcLogLevel::ERROR, $message, $context); } /** * {@inheritdoc} */ public function warning($message, array $context = []) { public function warning(string|\Stringable $message, array $context = []): void { $this->log(RfcLogLevel::WARNING, $message, $context); } /** * {@inheritdoc} */ public function notice($message, array $context = []) { public function notice(string|\Stringable $message, array $context = []): void { $this->log(RfcLogLevel::NOTICE, $message, $context); } /** * {@inheritdoc} */ public function info($message, array $context = []) { public function info(string|\Stringable $message, array $context = []): void { $this->log(RfcLogLevel::INFO, $message, $context); } /** * {@inheritdoc} */ public function debug($message, array $context = []) { public function debug(string|\Stringable $message, array $context = []): void { $this->log(RfcLogLevel::DEBUG, $message, $context); } /** * {@inheritdoc} */ abstract public function log($level, $message, array $context = []); abstract public function log($level, string|\Stringable $message, array $context = []): void; } Loading
composer.lock +9 −9 Original line number Diff line number Diff line Loading @@ -441,7 +441,7 @@ "dist": { "type": "path", "url": "core", "reference": "78d71b79ee40fcc2305472ed336bddcb03aacafc" "reference": "dc9d28de148cebd49d2c7cf3650fd836ed430a77" }, "require": { "asm89/stack-cors": "^2.0.2", Loading @@ -466,7 +466,7 @@ "masterminds/html5": "^2.7", "pear/archive_tar": "^1.4.14", "php": ">=8.1.0", "psr/log": "^2.0", "psr/log": "^3.0", "symfony/console": "^6.1", "symfony/dependency-injection": "^6.1", "symfony/event-dispatcher": "^6.1", Loading Loading @@ -1756,16 +1756,16 @@ }, { "name": "psr/log", "version": "2.0.0", "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/php-fig/log.git", "reference": "ef29f6d262798707a9edd554e2b82517ef3a9376" "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/php-fig/log/zipball/ef29f6d262798707a9edd554e2b82517ef3a9376", "reference": "ef29f6d262798707a9edd554e2b82517ef3a9376", "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001", "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001", "shasum": "" }, "require": { Loading @@ -1774,7 +1774,7 @@ "type": "library", "extra": { "branch-alias": { "dev-master": "2.0.x-dev" "dev-master": "3.x-dev" } }, "autoload": { Loading @@ -1800,9 +1800,9 @@ "psr-3" ], "support": { "source": "https://github.com/php-fig/log/tree/2.0.0" "source": "https://github.com/php-fig/log/tree/3.0.0" }, "time": "2021-07-14T16:41:46+00:00" "time": "2021-07-14T16:46:02+00:00" }, { "name": "ralouphie/getallheaders", Loading
composer/Metapackage/CoreRecommended/composer.json +1 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ "psr/http-client": "1.0.1", "psr/http-factory": "1.0.1", "psr/http-message": "1.0.1", "psr/log": "2.0.0", "psr/log": "3.0.0", "ralouphie/getallheaders": "3.0.3", "symfony/console": "v6.1.1", "symfony/dependency-injection": "v6.1.0", Loading
core/composer.json +1 −1 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ "composer/semver": "^3.3", "asm89/stack-cors": "^2.0.2", "pear/archive_tar": "^1.4.14", "psr/log": "^2.0" "psr/log": "^3.0" }, "conflict": { "drush/drush": "<8.1.10" Loading
core/lib/Drupal/Core/Logger/LoggerChannel.php +1 −1 Original line number Diff line number Diff line Loading @@ -91,7 +91,7 @@ public function __construct($channel) { /** * {@inheritdoc} */ public function log($level, $message, array $context = []) { public function log($level, string|\Stringable $message, array $context = []): void { if ($this->callDepth == self::MAX_CALL_DEPTH) { return; } Loading
core/lib/Drupal/Core/Logger/RfcLoggerTrait.php +9 −9 Original line number Diff line number Diff line Loading @@ -17,62 +17,62 @@ trait RfcLoggerTrait { /** * {@inheritdoc} */ public function emergency($message, array $context = []) { public function emergency(string|\Stringable $message, array $context = []): void { $this->log(RfcLogLevel::EMERGENCY, $message, $context); } /** * {@inheritdoc} */ public function alert($message, array $context = []) { public function alert(string|\Stringable $message, array $context = []): void { $this->log(RfcLogLevel::ALERT, $message, $context); } /** * {@inheritdoc} */ public function critical($message, array $context = []) { public function critical(string|\Stringable $message, array $context = []): void { $this->log(RfcLogLevel::CRITICAL, $message, $context); } /** * {@inheritdoc} */ public function error($message, array $context = []) { public function error(string|\Stringable $message, array $context = []): void { $this->log(RfcLogLevel::ERROR, $message, $context); } /** * {@inheritdoc} */ public function warning($message, array $context = []) { public function warning(string|\Stringable $message, array $context = []): void { $this->log(RfcLogLevel::WARNING, $message, $context); } /** * {@inheritdoc} */ public function notice($message, array $context = []) { public function notice(string|\Stringable $message, array $context = []): void { $this->log(RfcLogLevel::NOTICE, $message, $context); } /** * {@inheritdoc} */ public function info($message, array $context = []) { public function info(string|\Stringable $message, array $context = []): void { $this->log(RfcLogLevel::INFO, $message, $context); } /** * {@inheritdoc} */ public function debug($message, array $context = []) { public function debug(string|\Stringable $message, array $context = []): void { $this->log(RfcLogLevel::DEBUG, $message, $context); } /** * {@inheritdoc} */ abstract public function log($level, $message, array $context = []); abstract public function log($level, string|\Stringable $message, array $context = []): void; }