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

Commit

Permalink
Merge pull request #18 from mavimo/feature/17-add-extension-installer…
Browse files Browse the repository at this point in the history
…-support

refs #17: Add extension installer support
  • Loading branch information
mavimo authored Jun 12, 2019
2 parents 720c975 + 80ac27f commit bde0d64
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ services:

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

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:
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):

```
includes:
Expand Down
7 changes: 7 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
"description": "PHPStan JUnit error reporter",
"license": ["MIT"],
"minimum-stability": "stable",
"extra": {
"phpstan": {
"includes": [
"extension.neon"
]
}
},
"require": {
"php": "~7.1",
"phpstan/phpstan": "^0.11"
Expand Down

0 comments on commit bde0d64

Please sign in to comment.