diff options
author | Remi Collet <remi@remirepo.net> | 2017-07-12 09:19:06 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-07-12 09:19:06 +0200 |
commit | b26389d9989de4c481e7f8494928db193c295438 (patch) | |
tree | 000f672b1ee838367a053e88005281f0bf913374 /phan-autoload.patch | |
parent | 233e8f5a9bce7d1f4aff1ba302f8788a196a0697 (diff) |
v0.9.3
Diffstat (limited to 'phan-autoload.patch')
-rw-r--r-- | phan-autoload.patch | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/phan-autoload.patch b/phan-autoload.patch index d391ccb..c484c8b 100644 --- a/phan-autoload.patch +++ b/phan-autoload.patch @@ -36,7 +36,7 @@ diff -up ./src/Phan/Bootstrap.php.rpm ./src/Phan/Bootstrap.php - } -} +// Use the fedora autoloader -+require_once __DIR__ . '/autoload.php'; ++require_once __DIR__ . '/../autoload.php'; define('EXIT_SUCCESS', 0); define('EXIT_FAILURE', 1); @@ -48,15 +48,6 @@ diff -up ./src/phan.php.rpm ./src/phan.php <?php declare(strict_types=1); // Phan does a ton of GC and this offers a major speed -@@ -13,7 +14,7 @@ require_once(__DIR__ . '/requirements.ph - // own - $code_base = require_once(__DIR__ . '/codebase.php'); - --require_once(__DIR__ . '/Phan/Bootstrap.php'); -+require_once(__DIR__ . '/Bootstrap.php'); - - use Phan\CLI; - use Phan\CodeBase; diff -up ./src/prep.php.rpm ./src/prep.php --- ./src/prep.php.rpm 2016-11-24 16:08:59.122090771 +0100 +++ ./src/prep.php 2016-11-24 16:11:34.003914271 +0100 @@ -65,15 +56,6 @@ diff -up ./src/prep.php.rpm ./src/prep.php <?php declare(strict_types=1); // Phan does a ton of GC and this offers a major speed -@@ -7,7 +8,7 @@ gc_disable(); - - // Check the environment to make sure Phan can run successfully - require_once(__DIR__ . '/requirements.php'); --require_once(__DIR__ . '/Phan/Bootstrap.php'); -+require_once(__DIR__ . '/Bootstrap.php'); - - use Phan\CLI; - use Phan\Prep; diff -up ./src/requirements.php.rpm ./src/requirements.php --- ./src/requirements.php.rpm 2017-03-16 11:48:32.604583610 +0100 +++ ./src/requirements.php 2017-03-16 11:48:37.237605505 +0100 |