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
301
Merge Requests
301
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
a8d4b648
Commit
a8d4b648
authored
Sep 04, 2015
by
webchick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2400407
by DuaelFr: Ensure vendor sebastian/version is on latest stable release
parent
57ee2f3b
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
46 additions
and
273 deletions
+46
-273
core/composer.lock
core/composer.lock
+5
-5
core/vendor/composer/installed.json
core/vendor/composer/installed.json
+37
-37
core/vendor/sebastian/version/.gitignore
core/vendor/sebastian/version/.gitignore
+0
-9
core/vendor/sebastian/version/ChangeLog.md
core/vendor/sebastian/version/ChangeLog.md
+0
-19
core/vendor/sebastian/version/build.xml
core/vendor/sebastian/version/build.xml
+0
-80
core/vendor/sebastian/version/build/package.xml
core/vendor/sebastian/version/build/package.xml
+0
-55
core/vendor/sebastian/version/build/phpunit.xml
core/vendor/sebastian/version/build/phpunit.xml
+0
-29
core/vendor/sebastian/version/src/Version.php
core/vendor/sebastian/version/src/Version.php
+4
-9
core/vendor/sebastian/version/src/autoload.php
core/vendor/sebastian/version/src/autoload.php
+0
-28
core/vendor/sebastian/version/tests/bootstrap.php
core/vendor/sebastian/version/tests/bootstrap.php
+0
-2
No files found.
core/composer.lock
View file @
a8d4b648
...
...
@@ -1968,16 +1968,16 @@
},
{
"name": "sebastian/version",
"version": "1.0.
5
",
"version": "1.0.
6
",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/version.git",
"reference": "
ab931d46cd0d3204a91e1b9a40c4bc13032b58e4
"
"reference": "
58b3a85e7999757d6ad81c787a1fbf5ff6c628c6
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/version/zipball/
ab931d46cd0d3204a91e1b9a40c4bc13032b58e4
",
"reference": "
ab931d46cd0d3204a91e1b9a40c4bc13032b58e4
",
"url": "https://api.github.com/repos/sebastianbergmann/version/zipball/
58b3a85e7999757d6ad81c787a1fbf5ff6c628c6
",
"reference": "
58b3a85e7999757d6ad81c787a1fbf5ff6c628c6
",
"shasum": ""
},
"type": "library",
...
...
@@ -1999,7 +1999,7 @@
],
"description": "Library that helps with managing the version number of Git-hosted PHP projects",
"homepage": "https://github.com/sebastianbergmann/version",
"time": "2015-0
2-24 06:35:25
"
"time": "2015-0
6-21 13:59:46
"
},
{
"name": "stack/builder",
...
...
core/vendor/composer/installed.json
View file @
a8d4b648
...
...
@@ -384,43 +384,6 @@
"xml"
]
},
{
"name"
:
"sebastian/version"
,
"version"
:
"1.0.5"
,
"version_normalized"
:
"1.0.5.0"
,
"source"
:
{
"type"
:
"git"
,
"url"
:
"https://github.com/sebastianbergmann/version.git"
,
"reference"
:
"ab931d46cd0d3204a91e1b9a40c4bc13032b58e4"
},
"dist"
:
{
"type"
:
"zip"
,
"url"
:
"https://api.github.com/repos/sebastianbergmann/version/zipball/ab931d46cd0d3204a91e1b9a40c4bc13032b58e4"
,
"reference"
:
"ab931d46cd0d3204a91e1b9a40c4bc13032b58e4"
,
"shasum"
:
""
},
"time"
:
"2015-02-24 06:35:25"
,
"type"
:
"library"
,
"installation-source"
:
"dist"
,
"autoload"
:
{
"classmap"
:
[
"src/"
]
},
"notification-url"
:
"https://packagist.org/downloads/"
,
"license"
:
[
"BSD-3-Clause"
],
"authors"
:
[
{
"name"
:
"Sebastian Bergmann"
,
"email"
:
"sebastian@phpunit.de"
,
"role"
:
"lead"
}
],
"description"
:
"Library that helps with managing the version number of Git-hosted PHP projects"
,
"homepage"
:
"https://github.com/sebastianbergmann/version"
},
{
"name"
:
"sebastian/diff"
,
"version"
:
"1.3.0"
,
...
...
@@ -3484,5 +3447,42 @@
],
"description"
:
"Provides functionality to recursively process PHP variables"
,
"homepage"
:
"http://www.github.com/sebastianbergmann/recursion-context"
},
{
"name"
:
"sebastian/version"
,
"version"
:
"1.0.6"
,
"version_normalized"
:
"1.0.6.0"
,
"source"
:
{
"type"
:
"git"
,
"url"
:
"https://github.com/sebastianbergmann/version.git"
,
"reference"
:
"58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
},
"dist"
:
{
"type"
:
"zip"
,
"url"
:
"https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
,
"reference"
:
"58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
,
"shasum"
:
""
},
"time"
:
"2015-06-21 13:59:46"
,
"type"
:
"library"
,
"installation-source"
:
"dist"
,
"autoload"
:
{
"classmap"
:
[
"src/"
]
},
"notification-url"
:
"https://packagist.org/downloads/"
,
"license"
:
[
"BSD-3-Clause"
],
"authors"
:
[
{
"name"
:
"Sebastian Bergmann"
,
"email"
:
"sebastian@phpunit.de"
,
"role"
:
"lead"
}
],
"description"
:
"Library that helps with managing the version number of Git-hosted PHP projects"
,
"homepage"
:
"https://github.com/sebastianbergmann/version"
}
]
core/vendor/sebastian/version/.gitignore
View file @
a8d4b648
build/api
build/code-browser
build/coverage
build/logs
build/pdepend
build/phpdox
build/SebastianBergmann
build/*.tgz
cache.properties
/.idea
core/vendor/sebastian/version/ChangeLog.md
deleted
100644 → 0
View file @
57ee2f3b
# Version 1.0
This is the list of changes for the Version 1.0 release series.
## Version 1.0.3
*
Only look for Git repository in the supplied path (and not in its parent directories).
## Version 1.0.2
*
Errors from
`exec()`
uting the Git command are now suppressed.
## Version 1.0.1
*
Fixed #2:
`getVersion()`
fails on Windows.
## Version 1.0.0
*
Initial release.
core/vendor/sebastian/version/build.xml
deleted
100644 → 0
View file @
57ee2f3b
<?xml version="1.0" encoding="UTF-8"?>
<project
name=
"version"
default=
"build"
>
<property
name=
"php"
value=
"php"
/>
<property
name=
"phpunit"
value=
"phpunit"
/>
<target
name=
"build"
depends=
"prepare,lint,phpcs,phpunit"
/>
<target
name=
"clean"
description=
"Cleanup build artifacts"
>
</target>
<target
name=
"prepare"
depends=
"clean,phpab"
description=
"Prepare for build"
>
</target>
<target
name=
"phpab"
description=
"Generate autoloader script"
>
<exec
executable=
"phpab"
>
<arg
value=
"--output"
/>
<arg
path=
"src/autoload.php"
/>
<arg
path=
"src"
/>
</exec>
</target>
<target
name=
"lint"
>
<apply
executable=
"${php}"
failonerror=
"true"
>
<arg
value=
"-l"
/>
<fileset
dir=
"${basedir}/src"
>
<include
name=
"**/*.php"
/>
<modified
/>
</fileset>
<fileset
dir=
"${basedir}/tests"
>
<include
name=
"**/*.php"
/>
<modified
/>
</fileset>
</apply>
</target>
<target
name=
"phpcs"
description=
"Find coding standard violations using PHP_CodeSniffer"
>
<exec
executable=
"phpcs"
>
<arg
value=
"--standard=PSR2"
/>
<arg
value=
"--extensions=php"
/>
<arg
value=
"--ignore=autoload.php"
/>
<arg
path=
"${basedir}/src"
/>
</exec>
</target>
<target
name=
"phpunit"
description=
"Run unit tests with PHPUnit"
>
<condition
property=
"phpunit_cmd"
value=
"${php} ${phpunit}"
else=
"${phpunit}"
>
<not>
<equals
arg1=
"${phpunit}"
arg2=
"phpunit"
/>
</not>
</condition>
<exec
executable=
"${phpunit_cmd}"
failonerror=
"true"
>
<arg
value=
"--configuration"
/>
<arg
path=
"${basedir}/build/phpunit.xml"
/>
</exec>
</target>
<target
name=
"pear"
>
<mkdir
dir=
"${basedir}/build/SebastianBergmann/Version"
/>
<copy
todir=
"${basedir}/build/SebastianBergmann/Version"
>
<fileset
dir=
"${basedir}/src"
/>
</copy>
<copy
file=
"ChangeLog.md"
todir=
"${basedir}/build"
/>
<copy
file=
"LICENSE"
todir=
"${basedir}/build"
/>
<copy
file=
"README.md"
todir=
"${basedir}/build"
/>
<exec
executable=
"pear"
dir=
"${basedir}/build"
>
<arg
value=
"package"
/>
</exec>
<delete
dir=
"${basedir}/build/SebastianBergmann"
/>
<delete
file=
"${basedir}/build/ChangeLog.md"
/>
<delete
file=
"${basedir}/build/LICENSE"
/>
<delete
file=
"${basedir}/build/README.md"
/>
</target>
</project>
core/vendor/sebastian/version/build/package.xml
deleted
100644 → 0
View file @
57ee2f3b
<?xml version="1.0" encoding="UTF-8"?>
<package
packagerversion=
"1.4.10"
version=
"2.0"
xmlns=
"http://pear.php.net/dtd/package-2.0"
xmlns:tasks=
"http://pear.php.net/dtd/tasks-1.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://pear.php.net/dtd/tasks-1.0
http://pear.php.net/dtd/tasks-1.0.xsd
http://pear.php.net/dtd/package-2.0
http://pear.php.net/dtd/package-2.0.xsd"
>
<name>
Version
</name>
<channel>
pear.phpunit.de
</channel>
<summary>
Library that helps with managing the version number of Git-hosted PHP projects
</summary>
<description>
Library that helps with managing the version number of Git-hosted PHP projects
</description>
<lead>
<name>
Sebastian Bergmann
</name>
<user>
sb
</user>
<email>
sebastian@phpunit.de
</email>
<active>
yes
</active>
</lead>
<date>
2014-03-07
</date>
<version>
<release>
1.0.3
</release>
<api>
1.0.0
</api>
</version>
<stability>
<release>
stable
</release>
<api>
stable
</api>
</stability>
<license>
The BSD 3-Clause License
</license>
<notes>
http://github.com/sebastianbergmann/version/tree
</notes>
<contents>
<dir
name=
"/"
>
<dir
name=
"SebastianBergmann"
>
<dir
name=
"Version"
>
<file
baseinstalldir=
"/"
name=
"autoload.php"
role=
"php"
/>
<file
baseinstalldir=
"/"
name=
"Version.php"
role=
"php"
/>
</dir>
</dir>
<file
baseinstalldir=
"/"
name=
"ChangeLog.md"
role=
"doc"
/>
<file
baseinstalldir=
"/"
name=
"LICENSE"
role=
"doc"
/>
<file
baseinstalldir=
"/"
name=
"README.md"
role=
"doc"
/>
</dir>
</contents>
<dependencies>
<required>
<php>
<min>
5.3.3
</min>
</php>
<pearinstaller>
<min>
1.9.4
</min>
</pearinstaller>
</required>
</dependencies>
<phprelease/>
</package>
core/vendor/sebastian/version/build/phpunit.xml
deleted
100644 → 0
View file @
57ee2f3b
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
bootstrap=
"../tests/bootstrap.php"
backupGlobals=
"false"
backupStaticAttributes=
"false"
strict=
"true"
verbose=
"true"
>
<testsuites>
<testsuite
name=
"Version"
>
<directory
suffix=
"Test.php"
>
../tests
</directory>
</testsuite>
</testsuites>
<logging>
<log
type=
"coverage-html"
target=
"coverage"
charset=
"UTF-8"
highlight=
"true"
lowUpperBound=
"35"
highLowerBound=
"70"
/>
<log
type=
"coverage-clover"
target=
"logs/clover.xml"
/>
<log
type=
"junit"
target=
"logs/junit.xml"
logIncompleteSkipped=
"false"
/>
</logging>
<filter>
<whitelist
addUncoveredFilesFromWhitelist=
"true"
>
<directory
suffix=
".php"
>
../src
</directory>
<exclude>
<file>
../src/autoload.php
</file>
</exclude>
</whitelist>
</filter>
</phpunit>
core/vendor/sebastian/version/src/Version.php
View file @
a8d4b648
...
...
@@ -11,12 +11,7 @@
namespace
SebastianBergmann
;
/**
* @package Version
* @author Sebastian Bergmann <sebastian@phpunit.de>
* @copyright Sebastian Bergmann <sebastian@phpunit.de>
* @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License
* @link http://github.com/sebastianbergmann/version
* @since Class available since Release 1.0.0
* @since Class available since Release 1.0.0
*/
class
Version
{
...
...
@@ -63,8 +58,8 @@ public function getVersion()
}
/**
* @param string $path
* @return bool
ean
|string
* @param string
$path
* @return bool|string
*/
private
function
getGitInformation
(
$path
)
{
...
...
@@ -75,7 +70,7 @@ private function getGitInformation($path)
$dir
=
getcwd
();
chdir
(
$path
);
$returnCode
=
1
;
$result
=
@
exec
(
'git describe --tags 2>&1'
,
$output
,
$returnCode
);
$result
=
@
exec
(
'git describe --tags 2>&1'
,
$output
,
$returnCode
);
chdir
(
$dir
);
if
(
$returnCode
!==
0
)
{
...
...
core/vendor/sebastian/version/src/autoload.php
deleted
100644 → 0
View file @
57ee2f3b
<?php
/*
* This file is part of the Version package.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
// @codingStandardsIgnoreFile
// @codeCoverageIgnoreStart
// this is an autogenerated file - do not edit
spl_autoload_register
(
function
(
$class
)
{
static
$classes
=
null
;
if
(
$classes
===
null
)
{
$classes
=
array
(
'sebastianbergmann\\version'
=>
'/Version.php'
);
}
$cn
=
strtolower
(
$class
);
if
(
isset
(
$classes
[
$cn
]))
{
require
__DIR__
.
$classes
[
$cn
];
}
}
);
// @codeCoverageIgnoreEnd
core/vendor/sebastian/version/tests/bootstrap.php
deleted
100644 → 0
View file @
57ee2f3b
<?php
require
__DIR__
.
'/../src/autoload.php'
;
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