Kaynağa Gözat

update dev dependencies (#1778)

Thomas Müller 2 yıl önce
ebeveyn
işleme
11fbf915c7

+ 4 - 4
composer.json

@@ -22,14 +22,14 @@
         "doctrine/couchdb": "~1.0@dev",
         "elasticsearch/elasticsearch": "^7 || ^8",
         "graylog2/gelf-php": "^1.4.2 || ^2@dev",
-        "guzzlehttp/guzzle": "^7.4",
+        "guzzlehttp/guzzle": "^7.4.5",
         "guzzlehttp/psr7": "^2.2",
         "mongodb/mongodb": "^1.8",
         "php-amqplib/php-amqplib": "~2.4 || ^3",
-        "phpstan/phpstan": "^1.4",
+        "phpstan/phpstan": "^1.9",
         "phpstan/phpstan-deprecation-rules": "^1.0",
-        "phpstan/phpstan-strict-rules": "^1.1",
-        "phpunit/phpunit": "^9.5.16",
+        "phpstan/phpstan-strict-rules": "^1.4",
+        "phpunit/phpunit": "^9.5.26",
         "predis/predis": "^1.1 || ^2",
         "ruflin/elastica": "^7",
         "symfony/mailer": "^5.4 || ^6",

+ 0 - 5
phpstan-baseline.neon

@@ -15,11 +15,6 @@ parameters:
 			count: 1
 			path: src/Monolog/Formatter/WildfireFormatter.php
 
-		-
-			message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
-			count: 1
-			path: src/Monolog/Handler/BrowserConsoleHandler.php
-
 		-
 			message: "#^Instanceof between Monolog\\\\Handler\\\\HandlerInterface and Monolog\\\\Handler\\\\HandlerInterface will always evaluate to true\\.$#"
 			count: 1

+ 1 - 1
src/Monolog/Handler/BrowserConsoleHandler.php

@@ -264,7 +264,7 @@ class BrowserConsoleHandler extends AbstractProcessingHandler
         $script[] = self::call('log', self::quote('%c%s'), self::quote('font-weight: bold'), self::quote($title));
         foreach ($dict as $key => $value) {
             $value = json_encode($value);
-            if (empty($value)) {
+            if (false === $value) {
                 $value = self::quote('');
             }
             $script[] = self::call('log', self::quote('%s: %o'), self::quote((string) $key), $value);

+ 1 - 1
src/Monolog/Handler/DeduplicationHandler.php

@@ -48,7 +48,7 @@ class DeduplicationHandler extends BufferHandler
 
     /**
      * @param HandlerInterface                       $handler            Handler.
-     * @param string                                 $deduplicationStore The file/path where the deduplication log should be kept
+     * @param string|null                            $deduplicationStore The file/path where the deduplication log should be kept
      * @param int|string|Level|LogLevel::* $deduplicationLevel The minimum logging level for log records to be looked at for deduplication purposes
      * @param int                                    $time               The period (in seconds) during which duplicate entries should be suppressed after a given log is sent through
      * @param bool                                   $bubble             Whether the messages that are handled can bubble up the stack or not