Skip to content

Commit 5b0aeef

Browse files
committed
Cleanup configs and improve docs
1 parent 4fc5e08 commit 5b0aeef

File tree

6 files changed

+3
-40
lines changed

6 files changed

+3
-40
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/.cache
21
/composer.lock
32
/vendor
43
/phpcs.xml

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ generated by ANTLR4. The runtime provides a common set of tools for using your p
1515
Install the runtime with Composer:
1616

1717
```bash
18-
composer install antlr/antlr4
18+
composer require antlr4-php-runtime
1919
```
2020

2121
#### 3. Generate your parser
@@ -115,6 +115,7 @@ The expected output is:
115115
* [Official site](http://www.antlr.org/)
116116
* [Documentation](https://github.com/tunnelvisionlabs/antlr4/blob/master/doc/index.md)
117117
* [Getting started with v4](https://github.com/tunnelvisionlabs/antlr4/blob/master/doc/getting-started.md)
118+
* [PHPStan Exension](https://github.com/antlr/antlr-php-runtime-phpstan)
118119
* [FAQ](https://github.com/tunnelvisionlabs/antlr4/blob/master/doc/faq/index.md)
119120

120121
### The Definitive ANTLR 4 Reference

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "antlr/antlr4-php-runtime",
33
"type": "library",
44
"description": "PHP 7 runtime for ANTLR 4",
5+
"keywords": ["antlr4", "php", "runtime"],
56
"license": [
67
"BSD-3-Clause"
78
],
@@ -13,7 +14,6 @@
1314
},
1415
"require-dev": {
1516
"phpstan/phpstan": "^0.11.4",
16-
"phpunit/phpunit": "^8.0.4",
1717
"slevomat/coding-standard": "^5.0.4",
1818
"squizlabs/php_codesniffer": "^3.4.1",
1919
"phpstan/extension-installer": "^1.0"

phpcs.xml.dist

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,13 @@
88

99
<config name="installed_paths" value="../../slevomat/coding-standard/SlevomatCodingStandard"/>
1010

11-
<arg name="cache" value=".cache/phpcs.cache.json"/>
1211
<arg name="basepath" value="."/>
1312
<arg name="extensions" value="php"/>
1413
<arg name="colors" />
1514

1615
<!-- show progress of the run and show sniff names -->
1716
<arg value="ps"/>
1817

19-
<!-- Generic sniffs -->
20-
2118
<!-- Force array element indentation with 4 spaces -->
2219
<rule ref="Generic.Arrays.ArrayIndent"/>
2320
<!-- Disallow `array(...)` -->

phpstan.neon.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ includes:
44
parameters:
55
level: max
66
paths: [src]
7-
tmpDir: '%rootDir%/.cache/phpstan'

phpunit.xml.dist

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

0 commit comments

Comments
 (0)