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 authored Mar 12, 2024
1 parent 703de49 commit c8514db
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

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 c8514db

Please sign in to comment.