Skip to content

Commit

Permalink
qa: add better example in README.md regarding the experimental feat…
Browse files Browse the repository at this point in the history
…ure `ReportPossiblyInvalidArgumentForSpecifier`

Signed-off-by: Maximilian Bösing <[email protected]>
  • Loading branch information
boesing committed Aug 8, 2021
1 parent 849c883 commit 894dd32
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,15 @@ PossiblyInvalidArgument: Argument 1 inferred as "int" does not match (any of) th


```php
printf('%s', 1.035);
printf('%d', 'foo');
```

```
PossiblyInvalidArgument: Argument 1 inferred as "float" does not match (any of) the suggested type(s) "string"
PossiblyInvalidArgument: Argument 1 inferred as "string" does not match (any of) the suggested type(s) "float\|int\|numeric-string"
```



## Release Versioning Disclaimer

This plugin won't follow semantic versioning even tho the version numbers state to be semantic versioning compliant.
Expand Down

0 comments on commit 894dd32

Please sign in to comment.