From b72c06400fe2531c276463fbe62dbac449963533 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 20 May 2021 08:10:41 +0200 Subject: update to 4.0.6 --- composer.json | 2 +- phan-autoload.patch | 28 ++++++++++++++-------------- phan.spec | 9 ++++++--- 3 files changed, 21 insertions(+), 18 deletions(-) diff --git a/composer.json b/composer.json index 7f74d62..eef7e68 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "ext-json": "*", "ext-tokenizer": "*", "composer/semver": "^1.4|^2.0|^3.0", - "composer/xdebug-handler": "^2.0.0", + "composer/xdebug-handler": "^1.3.2|^2.0.0", "felixfbecker/advanced-json-rpc": "^3.0.4", "microsoft/tolerant-php-parser": "0.0.23", "netresearch/jsonmapper": "^1.6.0|^2.0|^3.0", diff --git a/phan-autoload.patch b/phan-autoload.patch index cf14683..2894344 100644 --- a/phan-autoload.patch +++ b/phan-autoload.patch @@ -1,7 +1,7 @@ diff -up ./src/Phan/Bootstrap.php.rpm ./src/Phan/Bootstrap.php ---- ./src/Phan/Bootstrap.php.rpm 2021-01-05 09:16:26.831115023 +0100 -+++ ./src/Phan/Bootstrap.php 2021-01-05 09:17:54.795753041 +0100 -@@ -102,20 +102,6 @@ EOT +--- ./src/Phan/Bootstrap.php.rpm 2021-05-20 08:05:36.000000000 +0200 ++++ ./src/Phan/Bootstrap.php 2021-05-20 08:08:31.358343779 +0200 +@@ -104,20 +104,6 @@ EOT fwrite(STDERR, "For more information, see https://github.com/phan/phan/wiki/Getting-Started#installing-dependencies" . PHP_EOL); } @@ -22,8 +22,8 @@ diff -up ./src/Phan/Bootstrap.php.rpm ./src/Phan/Bootstrap.php if (extension_loaded('ast')) { // Warn if the php-ast version is too low. $ast_version = (string)phpversion('ast'); -@@ -162,11 +148,9 @@ if (extension_loaded('ast')) { - unset($did_warn); +@@ -169,11 +155,9 @@ if (extension_loaded('ast')) { + } unset($ast_version); } -unset($file); @@ -38,17 +38,17 @@ diff -up ./src/Phan/Bootstrap.php.rpm ./src/Phan/Bootstrap.php define('EXIT_SUCCESS', 0); define('EXIT_FAILURE', 1); diff -up ./src/phan.php.rpm ./src/phan.php ---- ./src/phan.php.rpm 2021-01-05 09:15:30.000000000 +0100 -+++ ./src/phan.php 2021-01-05 09:16:26.832115019 +0100 +--- ./src/phan.php.rpm 2021-05-20 08:05:36.000000000 +0200 ++++ ./src/phan.php 2021-05-20 08:06:58.598558870 +0200 @@ -1,3 +1,4 @@ +#!/usr/bin/env php - 4.0.6-1 +- update to 4.0.6 + * Mon May 3 2021 Remi Collet - 4.0.5-1 - update to 4.0.5 -- cgit