diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-02-25 18:00:45 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-02-25 18:00:45 +0100 |
commit | d76c17babb600cfe3fe1d519d40b8677ff03f856 (patch) | |
tree | 2af166c2fea232aa9d31efb67e1460ccb5202b9a /php-PHPParser-command.patch | |
parent | 6732e8a96c7712b78fffd34d3d999a123afccf18 (diff) |
php-PHPParser: provide the php-parse command
Diffstat (limited to 'php-PHPParser-command.patch')
-rw-r--r-- | php-PHPParser-command.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/php-PHPParser-command.patch b/php-PHPParser-command.patch new file mode 100644 index 0000000..0a8cfd5 --- /dev/null +++ b/php-PHPParser-command.patch @@ -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); + |