File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -20,17 +20,19 @@ cache:
20
20
- validation/frameworks
21
21
22
22
before_script :
23
+ - composer install
23
24
- set -e # Stop on first error.
24
25
- phpenv config-rm xdebug.ini
25
26
- if find . -name "*.php" -path "./src/*" -path "./experiments/*" -path "./tools/*" -path "./syntax-visualizer/server/src/*" -exec php -l {} 2>&1 \; | grep "syntax error, unexpected"; then exit 1; fi
26
27
- if find . -name "*.php" -path "./tests/*" -path "./validation/*" -maxdepth 0 --exec php -l {} 2>&1 \; | grep "syntax error, unexpected"; then exit 1; fi
27
28
28
29
script :
30
+ - composer validate
29
31
- |
30
32
if [[ $VALIDATION = true ]]; then
31
- phpunit --testsuite validation
33
+ ./vendor/bin/ phpunit --testsuite validation
32
34
else
33
- phpunit --testsuite invariants
34
- phpunit --testsuite grammar
35
- phpunit --testsuite api
35
+ ./vendor/bin/ phpunit --testsuite invariants
36
+ ./vendor/bin/ phpunit --testsuite grammar
37
+ ./vendor/bin/ phpunit --testsuite api
36
38
fi
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " Microsoft/tolerant-php-parser" ,
2
+ "name" : " microsoft/tolerant-php-parser" ,
3
+ "description" : " Tolerant PHP-to-AST parser designed for IDE usage scenarios" ,
3
4
"type" : " library" ,
4
5
"require-dev" : {
5
6
"phpunit/phpunit" : " ^5.5"
You can’t perform that action at this time.
0 commit comments