summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json3
-rw-r--r--phan.spec23
2 files changed, 16 insertions, 10 deletions
diff --git a/composer.json b/composer.json
index bd45601..7ee3242 100644
--- a/composer.json
+++ b/composer.json
@@ -28,7 +28,7 @@
"composer/semver": "^1.4",
"composer/xdebug-handler": "^1.3.2",
"felixfbecker/advanced-json-rpc": "^3.0.3",
- "microsoft/tolerant-php-parser": "0.0.16",
+ "microsoft/tolerant-php-parser": "0.0.17",
"sabre/event": "^5.0",
"symfony/console": "^2.3|^3.0|~4.0"
},
@@ -38,6 +38,7 @@
"ext-tokenizer": "Needed for non-AST support and file/line-based suppressions."
},
"require-dev": {
+ "brianium/paratest": "^1.1",
"phpunit/phpunit": "^6.3.0"
},
"autoload": {
diff --git a/phan.spec b/phan.spec
index 62d0f58..cd19144 100644
--- a/phan.spec
+++ b/phan.spec
@@ -10,7 +10,7 @@
# For compatibility with SCL
%undefine __brp_mangle_shebangs
-%global gh_commit 78b8f2bdab9dab2146872bf130a9265a3f1f9a27
+%global gh_commit 7c1512acc01305bdf5eb9de7e6d47de9eeea81c3
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner phan
#global gh_date 20150820
@@ -19,7 +19,7 @@
%global with_tests 0%{!?_without_tests:1}
Name: %{gh_project}
-Version: 1.2.6
+Version: 1.2.7
Release: 1%{?gh_date?%{gh_date}git%{gh_short}}%{?dist}
Summary: A static analyzer for PHP
@@ -40,7 +40,7 @@ BuildRequires: php-ast >= 0.1.5
BuildRequires: (php-composer(composer/semver) >= 1.4 with php-composer(composer/semver) < 2)
BuildRequires: (php-composer(composer/xdebug-handler) >= 1.3.2 with php-composer(composer/xdebug-handler) < 2)
BuildRequires: (php-composer(felixfbecker/advanced-json-rpc) >= 3.0.3 with php-composer(felixfbecker/advanced-json-rpc) < 4)
-BuildRequires: (php-composer(microsoft/tolerant-php-parser) >= 0.0.16 with php-composer(microsoft/tolerant-php-parser) < 1)
+BuildRequires: (php-composer(microsoft/tolerant-php-parser) >= 0.0.17 with php-composer(microsoft/tolerant-php-parser) < 0.1)
BuildRequires: (php-composer(sabre/event) >= 5.0 with php-composer(sabre/event) < 6)
BuildRequires: (php-composer(symfony/console) >= 2.8 with php-composer(symfony/console) < 5)
# remirepo:13
@@ -51,8 +51,8 @@ BuildRequires: php-composer(composer/xdebug-handler) < 2
BuildRequires: php-composer(composer/xdebug-handler) >= 1.3.2
BuildRequires: php-composer(felixfbecker/advanced-json-rpc) < 4
BuildRequires: php-composer(felixfbecker/advanced-json-rpc) >= 3.0.3
-BuildRequires: php-composer(microsoft/tolerant-php-parser) < 1
-BuildRequires: php-composer(microsoft/tolerant-php-parser) >= 0.0.16
+BuildRequires: php-composer(microsoft/tolerant-php-parser) < 0.1
+BuildRequires: php-composer(microsoft/tolerant-php-parser) >= 0.0.17
BuildRequires: php-composer(sabre/event) < 6
BuildRequires: php-composer(sabre/event) >= 5.0
BuildRequires: php-composer(symfony/console) < 4
@@ -70,6 +70,7 @@ BuildRequires: php-spl
BuildRequires: php-sysvmsg
BuildRequires: php-sysvsem
# For tests, from composer.json "require-dev": {
+# "brianium/paratest": "^1.1",
# "phpunit/phpunit": "^6.3.0"
BuildRequires: phpunit6 >= 6.3.0
BuildRequires: php-date
@@ -86,7 +87,7 @@ BuildRequires: php-composer(fedora/autoloader)
# "composer/semver": "^1.4",
# "composer/xdebug-handler": "^1.3.2",
# "felixfbecker/advanced-json-rpc": "^3.0.3",
-# "microsoft/tolerant-php-parser": "0.0.16",
+# "microsoft/tolerant-php-parser": "0.0.17",
# "sabre/event": "^5.0",
# "symfony/console": "^2.3|^3.0|~4.0"
Requires: php(language) >= 7.0.0
@@ -105,7 +106,7 @@ Requires: (php-composer(composer/semver) >= 1.4 with php-
Requires: (php-composer(composer/xdebug-handler) >= 1.3.2 with php-composer(composer/xdebug-handler) < 2)
Requires: (php-composer(felixfbecker/advanced-json-rpc) >= 3.0.3 with php-composer(felixfbecker/advanced-json-rpc) < 4)
Requires: (php-composer(nikic/php-parser) >= 3.1.1 with php-composer(nikic/php-parser) < 4)
-Requires: (php-composer(microsoft/tolerant-php-parser) >= 0.0.16 with php-composer(microsoft/tolerant-php-parser) < 1)
+Requires: (php-composer(microsoft/tolerant-php-parser) >= 0.0.17 with php-composer(microsoft/tolerant-php-parser) < 0.1)
Requires: (php-composer(sabre/event) >= 5.0 with php-composer(sabre/event) < 6)
Requires: (php-composer(symfony/console) >= 2.8 with php-composer(symfony/console) < 5)
# remirepo:14
@@ -117,8 +118,8 @@ Requires: php-composer(composer/xdebug-handler) < 2
Requires: php-composer(composer/xdebug-handler) >= 1.3.2
Requires: php-composer(felixfbecker/advanced-json-rpc) < 4
Requires: php-composer(felixfbecker/advanced-json-rpc) >= 3.0.3
-Requires: php-composer(microsoft/tolerant-php-parser) < 1
-Requires: php-composer(microsoft/tolerant-php-parser) >= 0.0.16
+Requires: php-composer(microsoft/tolerant-php-parser) < 0.1
+Requires: php-composer(microsoft/tolerant-php-parser) >= 0.0.17
Requires: php-composer(sabre/event) < 6
Requires: php-composer(sabre/event) >= 5.0
Requires: php-composer(symfony/console) < 4
@@ -225,6 +226,10 @@ EOF
%changelog
+* Sat Mar 23 2019 Remi Collet <remi@remirepo.net> - 1.2.7-1
+- update to 1.2.7
+- raise dependency on microsoft/tolerant-php-parser 0.0.16
+
* Sun Mar 10 2019 Remi Collet <remi@remirepo.net> - 1.2.6-1
- update to 1.2.6