aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/psr
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2019-11-08 09:46:23 +0000
committerMario <mario@mariovavti.com>2019-11-08 10:47:28 +0100
commitbcd0802ea4a23971b5d53892c7de4e9e1822309f (patch)
treed63be67b6c55f2f17496e8b4fc1796cb88b7960e /vendor/psr
parent9360148829bb32351d40b2b552ea40ea3878b3b5 (diff)
downloadvolse-hubzilla-bcd0802ea4a23971b5d53892c7de4e9e1822309f.tar.gz
volse-hubzilla-bcd0802ea4a23971b5d53892c7de4e9e1822309f.tar.bz2
volse-hubzilla-bcd0802ea4a23971b5d53892c7de4e9e1822309f.zip
update composr libs
(cherry picked from commit 2df15f35d706d4608ff723ce6288391ca774f7ba)
Diffstat (limited to 'vendor/psr')
-rw-r--r--vendor/psr/log/Psr/Log/LoggerInterface.php2
-rw-r--r--vendor/psr/log/Psr/Log/LoggerTrait.php2
-rw-r--r--vendor/psr/log/Psr/Log/NullLogger.php2
-rw-r--r--vendor/psr/log/README.md6
-rw-r--r--vendor/psr/log/composer.json2
5 files changed, 13 insertions, 1 deletions
diff --git a/vendor/psr/log/Psr/Log/LoggerInterface.php b/vendor/psr/log/Psr/Log/LoggerInterface.php
index 5ea72438b..e695046e3 100644
--- a/vendor/psr/log/Psr/Log/LoggerInterface.php
+++ b/vendor/psr/log/Psr/Log/LoggerInterface.php
@@ -118,6 +118,8 @@ interface LoggerInterface
* @param array $context
*
* @return void
+ *
+ * @throws \Psr\Log\InvalidArgumentException
*/
public function log($level, $message, array $context = array());
}
diff --git a/vendor/psr/log/Psr/Log/LoggerTrait.php b/vendor/psr/log/Psr/Log/LoggerTrait.php
index 867225df1..e392fef0a 100644
--- a/vendor/psr/log/Psr/Log/LoggerTrait.php
+++ b/vendor/psr/log/Psr/Log/LoggerTrait.php
@@ -135,6 +135,8 @@ trait LoggerTrait
* @param array $context
*
* @return void
+ *
+ * @throws \Psr\Log\InvalidArgumentException
*/
abstract public function log($level, $message, array $context = array());
}
diff --git a/vendor/psr/log/Psr/Log/NullLogger.php b/vendor/psr/log/Psr/Log/NullLogger.php
index d8cd682c8..c8f7293b1 100644
--- a/vendor/psr/log/Psr/Log/NullLogger.php
+++ b/vendor/psr/log/Psr/Log/NullLogger.php
@@ -20,6 +20,8 @@ class NullLogger extends AbstractLogger
* @param array $context
*
* @return void
+ *
+ * @throws \Psr\Log\InvalidArgumentException
*/
public function log($level, $message, array $context = array())
{
diff --git a/vendor/psr/log/README.md b/vendor/psr/log/README.md
index 5571a25e8..a9f20c437 100644
--- a/vendor/psr/log/README.md
+++ b/vendor/psr/log/README.md
@@ -38,6 +38,12 @@ class Foo
if ($this->logger) {
$this->logger->info('Doing work');
}
+
+ try {
+ $this->doSomethingElse();
+ } catch (Exception $exception) {
+ $this->logger->error('Oh no!', array('exception' => $exception));
+ }
// do something useful
}
diff --git a/vendor/psr/log/composer.json b/vendor/psr/log/composer.json
index 87934d707..3f6d4eea4 100644
--- a/vendor/psr/log/composer.json
+++ b/vendor/psr/log/composer.json
@@ -20,7 +20,7 @@
},
"extra": {
"branch-alias": {
- "dev-master": "1.0.x-dev"
+ "dev-master": "1.1.x-dev"
}
}
}