1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-14 18:36:58 +01:00
Commit Graph

43 Commits

Author SHA1 Message Date
Matthew Brown
37e3e9d85a Protect implements checks 2016-07-25 09:23:38 -04:00
Matthew Brown
53f0e6ea8b Add case-sensitive class logging 2016-07-25 09:02:30 -04:00
Matthew Brown
967d3c8503 Add checks to prevent special types being tested as classes 2016-07-25 00:31:29 -04:00
Matthew Brown
f3d4e35a52 Add gotchas 2016-07-25 00:12:02 -04:00
Matthew Brown
ef1d662882 Memoize common reflection tasks 2016-07-24 23:38:52 -04:00
Matthew Brown
0e77403625 Fix generic switch checks 2016-07-24 18:02:03 -04:00
Matthew Brown
03693e5cb8 Allow issue suppression in classchecker 2016-07-24 17:06:36 -04:00
Matthew Brown
94702bd914 Unify check method call format 2016-07-23 10:58:53 -04:00
Matthew Brown
079175532b Add deprecated method checks and issue suppression 2016-07-22 13:29:46 -04:00
Matthew Brown
59acb5cfb7 Make sure to return bool where necessary 2016-06-29 10:57:02 -04:00
Matthew Brown
71eea36b9c Improve switch type analysis 2016-06-28 13:56:44 -04:00
Matthew Brown
638c2999e3 Reove PHP 5.6 features 2016-06-27 15:10:13 -04:00
Matthew Brown
bd694459f3 Prepopulate all object properties 2016-06-27 10:46:27 -04:00
Matthew Brown
2d9f39e3f4 Change IssueHandler to IssueBuffer 2016-06-26 15:18:40 -04:00
Matthew Brown
73eda1632e Add extra alerts for invalid docblocks 2016-06-24 18:18:11 -04:00
Matthew Brown
a1fb6294dc Add checking of object properties 2016-06-23 18:45:46 -04:00
Matthew Brown
9f20175b14 Change ExceptionHandler to IssueHandler and add error levels 2016-06-20 19:30:38 -04:00
Matthew Brown
f8fda8febb Do not check return types if we ignore for that file 2016-06-20 18:09:04 -04:00
Matthew Brown
444c39097f Create Context, new if checks & file extension support
Add Context  object to hold in-scope vars, rework if checks accordingly with copious use of clone, and finally add support for handling different filetypes
2016-06-20 00:38:13 -04:00
Matthew Brown
a17e1fb163 Create new system of storing types 2016-06-14 19:22:29 -04:00
Matthew Brown
933c60b06a Add array assignment checks and remove Error suffix 2016-06-13 19:57:32 -04:00
Matthew Brown
4edd11cd44 Down with exceptions, up with issues 2016-06-09 18:08:25 -04:00
Matthew Brown
d8854fd4ef Transition to more flexible error handling 2016-06-05 20:25:16 -04:00
Matthew Brown
14ca6c291e Be more diligent about assigning inherited methods 2016-06-02 19:21:35 -04:00
Matthew Brown
c9b5554b69 Streamline reflection/registration checks to fix trait bug 2016-05-22 12:14:48 -04:00
Matthew Brown
333caeaeaa Add a little caching 2016-05-16 18:10:59 -04:00
Matthew Brown
2ed9d2bff7 Add more useful return type data 2016-05-16 16:12:02 -04:00
Matthew Brown
316f2714b7 Added awareness of traits and deep method analysis 2016-05-15 23:06:03 -04:00
Matthew Brown
a30901be48 Add $this->var analysis and improve else semantics 2016-05-09 08:56:07 -04:00
Matthew Brown
45d0d41ffa Remove effect checking 2016-04-30 15:22:20 -04:00
Matthew Brown
cb59baec87 Improve type resolution 2016-04-30 14:14:22 -04:00
Matthew Brown
d5545918d6 Fix return type application 2016-04-28 15:18:36 -04:00
Matthew Brown
43375c2908 Add return types 2016-04-26 18:42:48 -04:00
Matthew Brown
a6afbe736d Add effect checking and new docblock generation 2016-04-26 18:18:49 -04:00
Matthew Brown
c770146bac Add void variable detection 2016-04-20 11:55:26 +01:00
Matthew Brown
2e6f518e48 Add detection of inaccessible methods 2016-04-18 13:31:59 -04:00
Matthew Brown
92a05355aa Make CodeExceptions all self-contained 2016-04-17 16:20:36 -04:00
Matthew Brown
079ddb66ee Be more conservative with how we inspect inherited methods 2016-04-17 12:27:47 -04:00
Matthew Brown
851c6418d3 Register more methods to prevent namespacing difficulties when reflecting 2016-04-17 11:22:18 -04:00
Matthew Brown
f4910b0b96 Remove Vimeo-specific code and improve class checking 2016-04-16 11:28:19 -04:00
Matthew Brown
27ef730836 Support nested generic types 2016-04-12 11:59:27 -04:00
Matthew Brown
d07e340d66 Add support for iterator generics 2016-04-11 19:13:50 -04:00
Matthew Brown
83b7896d2b Move all files to PSR-4-compliant folder structure 2016-04-03 19:41:22 -04:00