Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Commit bde0d64

Browse files
authored
Merge pull request #18 from mavimo/feature/17-add-extension-installer-support
refs #17: Add extension installer support
2 parents 720c975 + 80ac27f commit bde0d64

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ services:
4040

4141
The current version is not marked as stable (should be in some week), so you need to pull the version from master:
4242
```
43-
composer require --dev mavimo/phpstan-junit:dev-master
43+
composer require --dev mavimo/phpstan-junit:~0.2.0
4444
```
4545

46-
You should require this extension on `phpstan.neon` file in the root of your project or the file you specify to phpstan using the `--config` flag by referencing `extension.neon` file:
46+
If you also install [phpstan/extension-installer](https://github.com/phpstan/extension-installer) then you're all set; if you don't want to use `phpstan/extension-installer`, you should require the `extension.neon` file on your `phpstan.neon.dist` file in the root of your project (or on the file you specify to phpstan using the `--config` flag):
4747

4848
```
4949
includes:

composer.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
"description": "PHPStan JUnit error reporter",
44
"license": ["MIT"],
55
"minimum-stability": "stable",
6+
"extra": {
7+
"phpstan": {
8+
"includes": [
9+
"extension.neon"
10+
]
11+
}
12+
},
613
"require": {
714
"php": "~7.1",
815
"phpstan/phpstan": "^0.11"

0 commit comments

Comments
 (0)