Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
294
Merge Requests
294
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
57ee2f3b
Commit
57ee2f3b
authored
Sep 04, 2015
by
webchick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2400407
by DuaelFr: Ensure vendor sebastian/recursion-context is on latest stable release
parent
e6511dde
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
74 additions
and
90 deletions
+74
-90
core/composer.lock
core/composer.lock
+5
-5
core/vendor/composer/installed.json
core/vendor/composer/installed.json
+55
-55
core/vendor/sebastian/recursion-context/.travis.yml
core/vendor/sebastian/recursion-context/.travis.yml
+0
-1
core/vendor/sebastian/recursion-context/src/Context.php
core/vendor/sebastian/recursion-context/src/Context.php
+14
-19
core/vendor/sebastian/recursion-context/src/Exception.php
core/vendor/sebastian/recursion-context/src/Exception.php
+0
-5
core/vendor/sebastian/recursion-context/src/InvalidArgumentException.php
...astian/recursion-context/src/InvalidArgumentException.php
+0
-5
No files found.
core/composer.lock
View file @
57ee2f3b
...
...
@@ -1915,16 +1915,16 @@
},
{
"name": "sebastian/recursion-context",
"version": "1.0.
0
",
"version": "1.0.
1
",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/recursion-context.git",
"reference": "
3989662bbb30a29d20d9faa04a846af79b276252
"
"reference": "
994d4a811bafe801fb06dccbee797863ba2792ba
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/
3989662bbb30a29d20d9faa04a846af79b276252
",
"reference": "
3989662bbb30a29d20d9faa04a846af79b276252
",
"url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/
994d4a811bafe801fb06dccbee797863ba2792ba
",
"reference": "
994d4a811bafe801fb06dccbee797863ba2792ba
",
"shasum": ""
},
"require": {
...
...
@@ -1964,7 +1964,7 @@
],
"description": "Provides functionality to recursively process PHP variables",
"homepage": "http://www.github.com/sebastianbergmann/recursion-context",
"time": "2015-0
1-24 09:48:32
"
"time": "2015-0
6-21 08:04:50
"
},
{
"name": "sebastian/version",
...
...
core/vendor/composer/installed.json
View file @
57ee2f3b
...
...
@@ -421,61 +421,6 @@
"description"
:
"Library that helps with managing the version number of Git-hosted PHP projects"
,
"homepage"
:
"https://github.com/sebastianbergmann/version"
},
{
"name"
:
"sebastian/recursion-context"
,
"version"
:
"1.0.0"
,
"version_normalized"
:
"1.0.0.0"
,
"source"
:
{
"type"
:
"git"
,
"url"
:
"https://github.com/sebastianbergmann/recursion-context.git"
,
"reference"
:
"3989662bbb30a29d20d9faa04a846af79b276252"
},
"dist"
:
{
"type"
:
"zip"
,
"url"
:
"https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/3989662bbb30a29d20d9faa04a846af79b276252"
,
"reference"
:
"3989662bbb30a29d20d9faa04a846af79b276252"
,
"shasum"
:
""
},
"require"
:
{
"php"
:
">=5.3.3"
},
"require-dev"
:
{
"phpunit/phpunit"
:
"~4.4"
},
"time"
:
"2015-01-24 09:48:32"
,
"type"
:
"library"
,
"extra"
:
{
"branch-alias"
:
{
"dev-master"
:
"1.0.x-dev"
}
},
"installation-source"
:
"dist"
,
"autoload"
:
{
"classmap"
:
[
"src/"
]
},
"notification-url"
:
"https://packagist.org/downloads/"
,
"license"
:
[
"BSD-3-Clause"
],
"authors"
:
[
{
"name"
:
"Jeff Welch"
,
"email"
:
"whatthejeff@gmail.com"
},
{
"name"
:
"Sebastian Bergmann"
,
"email"
:
"sebastian@phpunit.de"
},
{
"name"
:
"Adam Harvey"
,
"email"
:
"aharvey@php.net"
}
],
"description"
:
"Provides functionality to recursively process PHP variables"
,
"homepage"
:
"http://www.github.com/sebastianbergmann/recursion-context"
},
{
"name"
:
"sebastian/diff"
,
"version"
:
"1.3.0"
,
...
...
@@ -3484,5 +3429,60 @@
"export"
,
"exporter"
]
},
{
"name"
:
"sebastian/recursion-context"
,
"version"
:
"1.0.1"
,
"version_normalized"
:
"1.0.1.0"
,
"source"
:
{
"type"
:
"git"
,
"url"
:
"https://github.com/sebastianbergmann/recursion-context.git"
,
"reference"
:
"994d4a811bafe801fb06dccbee797863ba2792ba"
},
"dist"
:
{
"type"
:
"zip"
,
"url"
:
"https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/994d4a811bafe801fb06dccbee797863ba2792ba"
,
"reference"
:
"994d4a811bafe801fb06dccbee797863ba2792ba"
,
"shasum"
:
""
},
"require"
:
{
"php"
:
">=5.3.3"
},
"require-dev"
:
{
"phpunit/phpunit"
:
"~4.4"
},
"time"
:
"2015-06-21 08:04:50"
,
"type"
:
"library"
,
"extra"
:
{
"branch-alias"
:
{
"dev-master"
:
"1.0.x-dev"
}
},
"installation-source"
:
"dist"
,
"autoload"
:
{
"classmap"
:
[
"src/"
]
},
"notification-url"
:
"https://packagist.org/downloads/"
,
"license"
:
[
"BSD-3-Clause"
],
"authors"
:
[
{
"name"
:
"Jeff Welch"
,
"email"
:
"whatthejeff@gmail.com"
},
{
"name"
:
"Sebastian Bergmann"
,
"email"
:
"sebastian@phpunit.de"
},
{
"name"
:
"Adam Harvey"
,
"email"
:
"aharvey@php.net"
}
],
"description"
:
"Provides functionality to recursively process PHP variables"
,
"homepage"
:
"http://www.github.com/sebastianbergmann/recursion-context"
}
]
core/vendor/sebastian/recursion-context/.travis.yml
View file @
57ee2f3b
...
...
@@ -7,7 +7,6 @@ php:
-
5.5
-
5.6
-
hhvm
-
hhvm-nightly
sudo
:
false
...
...
core/vendor/sebastian/recursion-context/src/Context.php
View file @
57ee2f3b
...
...
@@ -13,12 +13,6 @@
/**
* A context containing previously processed arrays and objects
* when recursively processing a value.
*
* @author Sebastian Bergmann <sebastian@phpunit.de>
* @author Adam Harvey <aharvey@php.net>
* @copyright Sebastian Bergmann <sebastian@phpunit.de>
* @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License
* @link https://github.com/sebastianbergmann/recursion-context
*/
final
class
Context
{
...
...
@@ -44,11 +38,11 @@ public function __construct()
/**
* Adds a value to the context.
*
* @param array|object
$value
The value to add.
* @return int
eger|string
The ID of the stored value, either as
* a string or integer.
* @param array|object
$value
The value to add.
* @return int
|string
The ID of the stored value, either as
*
a string or integer.
* @throws InvalidArgumentException Thrown if $value is not an array or
* object
*
object
*/
public
function
add
(
&
$value
)
{
...
...
@@ -68,12 +62,12 @@ public function add(&$value)
/**
* Checks if the given value exists within the context.
*
* @param array|object
$value
The value to check.
* @return int
eger|string|false
The string or integer ID of the stored
* value if it has already been seen, or
* false if the value is not stored.
* @param array|object
$value
The value to check.
* @return int
|string|false
The string or integer ID of the stored
*
value if it has already been seen, or
*
false if the value is not stored.
* @throws InvalidArgumentException Thrown if $value is not an array or
* object
*
object
*/
public
function
contains
(
&
$value
)
{
...
...
@@ -91,7 +85,7 @@ public function contains(&$value)
}
/**
* @param array $array
* @param array
$array
* @return bool|int
*/
private
function
addArray
(
array
&
$array
)
...
...
@@ -121,8 +115,8 @@ private function addObject($object)
}
/**
* @param array $array
* @return int
eger
|false
* @param array
$array
* @return int|false
*/
private
function
containsArray
(
array
&
$array
)
{
...
...
@@ -134,6 +128,7 @@ private function containsArray(array &$array)
if
(
isset
(
$array
[
$hash
])
&&
$array
[
$hash
]
===
$hash
)
{
unset
(
$this
->
arrays
[
$key
][
$hash
]);
return
$key
;
}
...
...
@@ -144,7 +139,7 @@ private function containsArray(array &$array)
}
/**
* @param object $value
* @param object
$value
* @return string|false
*/
private
function
containsObject
(
$value
)
...
...
core/vendor/sebastian/recursion-context/src/Exception.php
View file @
57ee2f3b
...
...
@@ -11,11 +11,6 @@
namespace
SebastianBergmann\RecursionContext
;
/**
* @author Sebastian Bergmann <sebastian@phpunit.de>
* @author Adam Harvey <aharvey@php.net>
* @copyright Sebastian Bergmann <sebastian@phpunit.de>
* @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License
* @link https://github.com/sebastianbergmann/recursion-context
*/
interface
Exception
{
...
...
core/vendor/sebastian/recursion-context/src/InvalidArgumentException.php
View file @
57ee2f3b
...
...
@@ -11,11 +11,6 @@
namespace
SebastianBergmann\RecursionContext
;
/**
* @author Sebastian Bergmann <sebastian@phpunit.de>
* @author Adam Harvey <aharvey@php.net>
* @copyright Sebastian Bergmann <sebastian@phpunit.de>
* @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License
* @link https://github.com/sebastianbergmann/recursion-context
*/
final
class
InvalidArgumentException
extends
\
InvalidArgumentException
implements
Exception
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment