Skip to content

Commit

Permalink
Add note about Composer Require Checker used with PHPStorm attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
arogachev committed Mar 12, 2024
1 parent 703de49 commit 2afef75
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions 015-phpstorm.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,17 @@ registerArgumentsSet(
```shell
composer require --dev jetbrains/phpstorm-attributes
```

### Using with ComposerRequireChecker

When [ComposerRequireChecker](https://github.com/maglnet/ComposerRequireChecker) is also used within the same package,
add involved attributes' class names to whitelist in config. For example:

```json
{
"symbol-whitelist": [
"JetBrains\\PhpStorm\\ExpectedValues",
"JetBrains\\PhpStorm\\Pure"
]
}
```

0 comments on commit 2afef75

Please sign in to comment.