From f70437c284e6762046dfe6d5667612453c5f94fe Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 25 Nov 2019 07:33:26 +0100 Subject: v2.4.4 --- phan-autoload.patch | 29 +++++++++++++++-------------- phan.spec | 7 +++++-- 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/phan-autoload.patch b/phan-autoload.patch index 0698111..dc5fc92 100644 --- a/phan-autoload.patch +++ b/phan-autoload.patch @@ -1,10 +1,10 @@ diff -up ./src/Phan/Bootstrap.php.rpm ./src/Phan/Bootstrap.php ---- ./src/Phan/Bootstrap.php.rpm 2019-05-14 10:31:18.879987819 +0200 -+++ ./src/Phan/Bootstrap.php 2019-05-14 10:32:33.370482249 +0200 -@@ -42,21 +42,8 @@ if (PHP_VERSION_ID < 70100) { - exit(1); +--- ./src/Phan/Bootstrap.php.rpm 2019-11-25 07:24:07.197111533 +0100 ++++ ./src/Phan/Bootstrap.php 2019-11-25 07:25:17.914851384 +0100 +@@ -109,21 +109,9 @@ if (extension_loaded('ast')) { + phan_output_ast_installation_instructions(); + } } - -// Use the composer autoloader -$found_autoloader = false; -foreach ([ @@ -20,23 +20,24 @@ diff -up ./src/Phan/Bootstrap.php.rpm ./src/Phan/Bootstrap.php -if (!$found_autoloader) { - fwrite(STDERR, "Could not locate the autoloader\n"); -} ++ +// Use the fedora autoloader +require_once __DIR__ . '/../autoload.php'; define('EXIT_SUCCESS', 0); define('EXIT_FAILURE', 1); diff -up ./src/phan.php.rpm ./src/phan.php ---- ./src/phan.php.rpm 2019-05-14 10:27:30.000000000 +0200 -+++ ./src/phan.php 2019-05-14 10:31:18.880987825 +0200 +--- ./src/phan.php.rpm 2019-11-25 07:23:25.000000000 +0100 ++++ ./src/phan.php 2019-11-25 07:24:07.197111533 +0100 @@ -1,3 +1,4 @@ +#!/usr/bin/env php - 2.4.4-1 +- update to 2.4.4 + * Thu Nov 21 2019 Remi Collet - 2.4.3-1 - update to 2.4.3 - add explicit dependency on netresearch/jsonmapper -- cgit