Skip to content

Commit 33a218b

Browse files
committed
Make this work with recent composer versions
1 parent d844576 commit 33a218b

File tree

6 files changed

+721
-186
lines changed

6 files changed

+721
-186
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
vendor/

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ install:
1818
- composer --ignore-platform-reqs --prefer-dist install
1919

2020
script:
21-
- vendor/bin/phan
21+
# - vendor/bin/phan # Too new to use with ast 0.1.6
2222
- ./test
2323
- cd tests/test_without_ast; ./test.sh

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
],
1212
"require": {
1313
"php": ">=7.1",
14-
"nikic/PHP-Parser": "~3.1.1"
14+
"nikic/php-parser": "~3.1.1"
1515
},
1616
"require-dev": {
1717
"phpunit/phpunit": "^5.7",
18-
"phan/phan": "~0.10.0"
18+
"phan/phan": "^2.6.0"
1919
},
2020
"suggest": {
2121
"ext-ast": "~0.1.5"

0 commit comments

Comments
 (0)