From 1ce8da901d320cea77e498df5538b8284c7370ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Wed, 17 Jun 2020 18:12:25 -0700 Subject: [PATCH] Update vendor folder --- vendor/composer/installed.json | 12 ++++++------ vendor/pimple/pimple/CHANGELOG | 4 ++++ vendor/pimple/pimple/README.rst | 2 +- vendor/pimple/pimple/ext/pimple/php_pimple.h | 2 +- vendor/pimple/pimple/src/Pimple/Container.php | 18 +++++++++--------- .../Exception/FrozenServiceException.php | 2 +- .../InvalidServiceIdentifierException.php | 2 +- .../Exception/UnknownIdentifierException.php | 2 +- .../pimple/src/Pimple/Psr11/ServiceLocator.php | 2 +- .../pimple/src/Pimple/ServiceIterator.php | 10 +++++----- 10 files changed, 30 insertions(+), 26 deletions(-) diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 2baf29af5..4292a53a8 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -269,17 +269,17 @@ }, { "name": "pimple/pimple", - "version": "v3.2.2", - "version_normalized": "3.2.2.0", + "version": "v3.2.3", + "version_normalized": "3.2.3.0", "source": { "type": "git", "url": "https://github.com/silexphp/Pimple.git", - "reference": "4d45fb62d96418396ec58ba76e6f065bca16e10a" + "reference": "9e403941ef9d65d20cba7d54e29fe906db42cf32" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/silexphp/Pimple/zipball/4d45fb62d96418396ec58ba76e6f065bca16e10a", - "reference": "4d45fb62d96418396ec58ba76e6f065bca16e10a", + "url": "https://api.github.com/repos/silexphp/Pimple/zipball/9e403941ef9d65d20cba7d54e29fe906db42cf32", + "reference": "9e403941ef9d65d20cba7d54e29fe906db42cf32", "shasum": "" }, "require": { @@ -289,7 +289,7 @@ "require-dev": { "symfony/phpunit-bridge": "^3.2" }, - "time": "2017-07-23T07:32:15+00:00", + "time": "2018-01-21T07:42:36+00:00", "type": "library", "extra": { "branch-alias": { diff --git a/vendor/pimple/pimple/CHANGELOG b/vendor/pimple/pimple/CHANGELOG index f277b969e..ba56760c1 100644 --- a/vendor/pimple/pimple/CHANGELOG +++ b/vendor/pimple/pimple/CHANGELOG @@ -1,3 +1,7 @@ +* 3.2.3 (2017-XX-XX) + + * n/a + * 3.2.2 (2017-07-23) * reverted extending a protected closure throws an exception (deprecated it instead) diff --git a/vendor/pimple/pimple/README.rst b/vendor/pimple/pimple/README.rst index d27d8aa35..a03b6d3a4 100644 --- a/vendor/pimple/pimple/README.rst +++ b/vendor/pimple/pimple/README.rst @@ -108,7 +108,7 @@ If you change the ``session_storage`` service definition like below: }; You can now easily change the cookie name by overriding the -``session_storage_class`` parameter instead of redefining the service +``cookie_name`` parameter instead of redefining the service definition. Protecting Parameters diff --git a/vendor/pimple/pimple/ext/pimple/php_pimple.h b/vendor/pimple/pimple/ext/pimple/php_pimple.h index 258f3eeae..eed7c1731 100644 --- a/vendor/pimple/pimple/ext/pimple/php_pimple.h +++ b/vendor/pimple/pimple/ext/pimple/php_pimple.h @@ -41,7 +41,7 @@ extern zend_module_entry pimple_module_entry; #include "TSRM.h" #endif -#define PIMPLE_VERSION "3.2.2-DEV" +#define PIMPLE_VERSION "3.2.3-DEV" #define PIMPLE_NS "Pimple" #define PSR_CONTAINER_NS "Psr\\Container" diff --git a/vendor/pimple/pimple/src/Pimple/Container.php b/vendor/pimple/pimple/src/Pimple/Container.php index e761964be..707b92b82 100644 --- a/vendor/pimple/pimple/src/Pimple/Container.php +++ b/vendor/pimple/pimple/src/Pimple/Container.php @@ -103,9 +103,9 @@ class Container implements \ArrayAccess if ( isset($this->raw[$id]) - || !is_object($this->values[$id]) + || !\is_object($this->values[$id]) || isset($this->protected[$this->values[$id]]) - || !method_exists($this->values[$id], '__invoke') + || !\method_exists($this->values[$id], '__invoke') ) { return $this->values[$id]; } @@ -143,7 +143,7 @@ class Container implements \ArrayAccess public function offsetUnset($id) { if (isset($this->keys[$id])) { - if (is_object($this->values[$id])) { + if (\is_object($this->values[$id])) { unset($this->factories[$this->values[$id]], $this->protected[$this->values[$id]]); } @@ -162,7 +162,7 @@ class Container implements \ArrayAccess */ public function factory($callable) { - if (!method_exists($callable, '__invoke')) { + if (!\method_exists($callable, '__invoke')) { throw new ExpectedInvokableException('Service definition is not a Closure or invokable object.'); } @@ -184,7 +184,7 @@ class Container implements \ArrayAccess */ public function protect($callable) { - if (!method_exists($callable, '__invoke')) { + if (!\method_exists($callable, '__invoke')) { throw new ExpectedInvokableException('Callable is not a Closure or invokable object.'); } @@ -241,15 +241,15 @@ class Container implements \ArrayAccess throw new FrozenServiceException($id); } - if (!is_object($this->values[$id]) || !method_exists($this->values[$id], '__invoke')) { + if (!\is_object($this->values[$id]) || !\method_exists($this->values[$id], '__invoke')) { throw new InvalidServiceIdentifierException($id); } if (isset($this->protected[$this->values[$id]])) { - @trigger_error(sprintf('How Pimple behaves when extending protected closures will be fixed in Pimple 4. Are you sure "%s" should be protected?', $id), E_USER_DEPRECATED); + @\trigger_error(\sprintf('How Pimple behaves when extending protected closures will be fixed in Pimple 4. Are you sure "%s" should be protected?', $id), \E_USER_DEPRECATED); } - if (!is_object($callable) || !method_exists($callable, '__invoke')) { + if (!\is_object($callable) || !\method_exists($callable, '__invoke')) { throw new ExpectedInvokableException('Extension service definition is not a Closure or invokable object.'); } @@ -274,7 +274,7 @@ class Container implements \ArrayAccess */ public function keys() { - return array_keys($this->values); + return \array_keys($this->values); } /** diff --git a/vendor/pimple/pimple/src/Pimple/Exception/FrozenServiceException.php b/vendor/pimple/pimple/src/Pimple/Exception/FrozenServiceException.php index 64b02659a..e4d2f6d36 100644 --- a/vendor/pimple/pimple/src/Pimple/Exception/FrozenServiceException.php +++ b/vendor/pimple/pimple/src/Pimple/Exception/FrozenServiceException.php @@ -40,6 +40,6 @@ class FrozenServiceException extends \RuntimeException implements ContainerExcep */ public function __construct($id) { - parent::__construct(sprintf('Cannot override frozen service "%s".', $id)); + parent::__construct(\sprintf('Cannot override frozen service "%s".', $id)); } } diff --git a/vendor/pimple/pimple/src/Pimple/Exception/InvalidServiceIdentifierException.php b/vendor/pimple/pimple/src/Pimple/Exception/InvalidServiceIdentifierException.php index 9df9c663c..91e82f98c 100644 --- a/vendor/pimple/pimple/src/Pimple/Exception/InvalidServiceIdentifierException.php +++ b/vendor/pimple/pimple/src/Pimple/Exception/InvalidServiceIdentifierException.php @@ -40,6 +40,6 @@ class InvalidServiceIdentifierException extends \InvalidArgumentException implem */ public function __construct($id) { - parent::__construct(sprintf('Identifier "%s" does not contain an object definition.', $id)); + parent::__construct(\sprintf('Identifier "%s" does not contain an object definition.', $id)); } } diff --git a/vendor/pimple/pimple/src/Pimple/Exception/UnknownIdentifierException.php b/vendor/pimple/pimple/src/Pimple/Exception/UnknownIdentifierException.php index 284131897..fb6b626e2 100644 --- a/vendor/pimple/pimple/src/Pimple/Exception/UnknownIdentifierException.php +++ b/vendor/pimple/pimple/src/Pimple/Exception/UnknownIdentifierException.php @@ -40,6 +40,6 @@ class UnknownIdentifierException extends \InvalidArgumentException implements No */ public function __construct($id) { - parent::__construct(sprintf('Identifier "%s" is not defined.', $id)); + parent::__construct(\sprintf('Identifier "%s" is not defined.', $id)); } } diff --git a/vendor/pimple/pimple/src/Pimple/Psr11/ServiceLocator.php b/vendor/pimple/pimple/src/Pimple/Psr11/ServiceLocator.php index 61e49848a..3361c6f19 100644 --- a/vendor/pimple/pimple/src/Pimple/Psr11/ServiceLocator.php +++ b/vendor/pimple/pimple/src/Pimple/Psr11/ServiceLocator.php @@ -49,7 +49,7 @@ class ServiceLocator implements ContainerInterface $this->container = $container; foreach ($ids as $key => $id) { - $this->aliases[is_int($key) ? $id : $key] = $id; + $this->aliases[\is_int($key) ? $id : $key] = $id; } } diff --git a/vendor/pimple/pimple/src/Pimple/ServiceIterator.php b/vendor/pimple/pimple/src/Pimple/ServiceIterator.php index 744271dde..5cde5188f 100644 --- a/vendor/pimple/pimple/src/Pimple/ServiceIterator.php +++ b/vendor/pimple/pimple/src/Pimple/ServiceIterator.php @@ -44,26 +44,26 @@ final class ServiceIterator implements \Iterator public function rewind() { - reset($this->ids); + \reset($this->ids); } public function current() { - return $this->container[current($this->ids)]; + return $this->container[\current($this->ids)]; } public function key() { - return current($this->ids); + return \current($this->ids); } public function next() { - next($this->ids); + \next($this->ids); } public function valid() { - return null !== key($this->ids); + return null !== \key($this->ids); } }