- provide php-composer(nikic/php-parser)
- fix license handling
This commit is contained in:
parent
b25613a2a3
commit
44a1f75f5d
5 changed files with 74 additions and 8 deletions
13
php-PHPParser-command.patch
Normal file
13
php-PHPParser-command.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
diff -up bin/php-parse.php.rpm bin/php-parse.php
|
||||
--- bin/php-parse.php.rpm 2015-02-25 17:52:01.000000000 +0100
|
||||
+++ bin/php-parse.php 2015-02-25 17:52:55.000000000 +0100
|
||||
@@ -1,6 +1,8 @@
|
||||
+#!/usr/bin/php
|
||||
<?php
|
||||
|
||||
-require __DIR__ . '/../lib/bootstrap.php';
|
||||
+require 'PhpParser/Autoloader.php';
|
||||
+PhpParser\Autoloader::register();
|
||||
|
||||
ini_set('xdebug.max_nesting_level', 2000);
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue