Skip to content
This repository was archived by the owner on Sep 1, 2024. It is now read-only.

Commit 6e56d50

Browse files
committed
Add the new unsupported cases
1 parent ccf0348 commit 6e56d50

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ You can find a `phpstan.neon` example in the `tests` directory, here: [tests/php
2929
## Unsupported cases
3030
- `require $file;` - won't throw an error since it cannot read variables.
3131
- `require (new MyClass())->file;` - won't throw an error since it cannot read class properties.
32+
- `require (new MyClass())->getFile();` - won't throw an error since it cannot read class methods.
33+
- `require getFile();` - won't throw an error since it cannot read functions.
3234

3335
## Development
3436
For local development and testing, `composer.json` contains several commands that you can run.

0 commit comments

Comments
 (0)