Skip to content

Commit edc496f

Browse files
Merge pull request #14 from syzygy-germany/feature/phpstan-0-11-compatibility
[TASK] Update configuration on how to with use phpstan/extension-inst…
2 parents 29a297d + 7d9ada4 commit edc496f

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,27 @@ TYPO3 CMS class reflection extension for PHPStan & framework-specific rules
55
[![Build Status](https://travis-ci.org/sascha-egerer/phpstan-typo3.svg?branch=master)](https://travis-ci.org/sascha-egerer/phpstan-typo3)
66

77
## Configuration
8-
Put this into your phpstan.neon config:
8+
9+
To use this extension, require it in [Composer](https://getcomposer.org/):
10+
11+
```
12+
composer require --dev saschaegerer/phpstan-typo3
13+
```
14+
15+
If you also install [phpstan/extension-installer](https://github.com/phpstan/extension-installer) then you're all set!
16+
17+
<details>
18+
<summary>Manual installation</summary>
19+
20+
If you don't want to use `phpstan/extension-installer`, put this into your phpstan.neon config:
921

1022
```
1123
includes:
1224
- vendor/saschaegerer/phpstan-typo3/extension.neon
1325
```
26+
</details>
27+
28+
## Additional Configuration
1429

1530
If you do use constants of TYPO3 core you may have to
1631
bootstrap TYPO3 first. This can be done by using the

0 commit comments

Comments
 (0)