diff options
author | Remi Collet <remi@remirepo.net> | 2018-03-22 08:55:56 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-03-22 08:55:56 +0100 |
commit | b13827bfde209c02e1503b72bea6c428c6522363 (patch) | |
tree | 04c8440ece08dd2eacde2bb854efe0e37738d954 /php-nikic-php-parser3-rpm.patch | |
parent | f01b15f3c1cd252d3a1294e7b970a1e825af4a68 (diff) |
Update to 4.0.0
rename to php-nikic-php-parser4 and move to /usr/share/php/PhpParser4
raise dependency on PHP 7
use phpunit6 or phpunit7 (F28+)
Diffstat (limited to 'php-nikic-php-parser3-rpm.patch')
-rw-r--r-- | php-nikic-php-parser3-rpm.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/php-nikic-php-parser3-rpm.patch b/php-nikic-php-parser3-rpm.patch deleted file mode 100644 index 739d7ab..0000000 --- a/php-nikic-php-parser3-rpm.patch +++ /dev/null @@ -1,40 +0,0 @@ -diff -up ./bin/php-parse.rpm ./bin/php-parse ---- ./bin/php-parse.rpm 2016-04-19 15:41:41.000000000 +0200 -+++ ./bin/php-parse 2016-04-20 06:33:22.712063600 +0200 -@@ -1,12 +1,7 @@ - #!/usr/bin/env php - <?php - --foreach ([__DIR__ . '/../../../autoload.php', __DIR__ . '/../vendor/autoload.php'] as $file) { -- if (file_exists($file)) { -- require $file; -- break; -- } --} -+require '/usr/share/php/PhpParser3/autoload.php'; - - ini_set('xdebug.max_nesting_level', 3000); - -diff -up ./lib/bootstrap.php.rpm ./lib/bootstrap.php ---- ./lib/bootstrap.php.rpm 2016-04-19 15:41:41.000000000 +0200 -+++ ./lib/bootstrap.php 2016-04-20 06:33:22.712063600 +0200 -@@ -1,6 +1,6 @@ - <?php - - if (!class_exists('PhpParser\Autoloader')) { -- require __DIR__ . '/PhpParser/Autoloader.php'; -+ require __DIR__ . '/Autoloader.php'; - } - PhpParser\Autoloader::register(); -diff -up ./test/bootstrap.php.rpm ./test/bootstrap.php ---- ./test/bootstrap.php.rpm 2016-04-20 06:33:22.713063604 +0200 -+++ ./test/bootstrap.php 2016-04-20 06:34:38.963385593 +0200 -@@ -2,7 +2,7 @@ - - namespace PhpParser; - --require __DIR__ . '/../vendor/autoload.php'; -+require '@BUILDROOT@/usr/share/php/PhpParser3/autoload.php'; - - function canonicalize($str) { - // normalize EOL style |