Skip to content

Commit c42a939

Browse files
committed
Remove PHP parser dependency
1 parent 3bebf62 commit c42a939

File tree

10 files changed

+1
-291
lines changed

10 files changed

+1
-291
lines changed

DEVELOPERS.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
11
# Developer notes
22

3-
## Upgrading php parser
4-
5-
* install php
6-
* `cd vendor/php-parser`
7-
* edit composer.json to use the newer version
8-
* install composer: `curl "https://getcomposer.org/installer" | php`
9-
* update `composer.lock`: `php composer.phar update`
10-
* `rm composer.phar`
11-
123
## QA
134

145
There is an automated [QA tool](https://github.com/codeclimate/qm_qa) that can

Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,8 @@ RUN apt-get update && \
1414
python2.7
1515

1616
COPY Gemfile* ./
17-
COPY vendor/php-parser/composer* ./vendor/php-parser/
18-
19-
RUN bundle install --jobs 4 --quiet && \
20-
composer install --no-interaction --quiet --working-dir ./vendor/php-parser
2117

18+
RUN bundle install --jobs 4 --quiet
2219
COPY . ./
2320
RUN chown -R app:app ./
2421

vendor/php-parser/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

vendor/php-parser/README.md

Lines changed: 0 additions & 30 deletions
This file was deleted.

vendor/php-parser/composer.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

vendor/php-parser/composer.lock

Lines changed: 0 additions & 69 deletions
This file was deleted.

vendor/php-parser/lib/PhpParser/Serializer/JSON.php

Lines changed: 0 additions & 85 deletions
This file was deleted.

vendor/php-parser/parser.php

Lines changed: 0 additions & 26 deletions
This file was deleted.

vendor/php-parser/test/run

Lines changed: 0 additions & 54 deletions
This file was deleted.

vendor/php-parser/test/test.php

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)