1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
psalm/tests/Config
Barney Laurance 3bc91b9944
Fix multiple issues with @internal and @psalm-internal (#3841)
* Add passing tests for property fetch on an @internal class

I'm trying to work out why the equivilent InvalidCodeParse test is
failing for PsalmInternal

* Treat all properties of a psalm-internal class as psalm-internal

* Remove all $internal properties from storage - use psalm_internal instead

@internal can be represented as internal to the namespace root, avoiding
the need to check for both properties in storage later.

* Raise InternalClass issue when an internal class is used with e.g. instanceOf

* fix docs and tests

* Add return type declartion to code example in doc

* Don't allow class psalm-internal to overide a tighter method psalm-internal

* Break up long line

* Code style - move && from EOL to SOL

* Restore misplaced &&

* Fix code style

* Fix namespace fetching so it works

Co-authored-by: Matthew Brown <github@muglug.com>
2020-07-22 19:27:35 -04:00
..
Plugin Fix #3009 - make sure return type is set when returning early 2020-03-23 13:25:55 -04:00
ConfigFileTest.php Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
ConfigTest.php make meta path optional (#3833) 2020-07-17 10:09:42 -04:00
CreatorTest.php Fix #3193 - no longer add totallyTyped="true" to config 2020-04-19 12:58:42 -04:00
PluginListTest.php Remove redundant @psalm-suppress in Psalm’s codebsae 2019-08-18 16:10:12 -04:00
PluginTest.php Fix multiple issues with @internal and @psalm-internal (#3841) 2020-07-22 19:27:35 -04:00