1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-15 10:57:08 +01:00
Commit Graph

47 Commits

Author SHA1 Message Date
Matthew Brown
13f35914c2 Do not die when reflected class cannot be loaded 2016-07-13 11:19:07 -04:00
Matthew Brown
8e32c2eed6 Move methods around and improve scalar type handling 2016-07-12 00:50:16 -04:00
Matthew Brown
32f07fd823 Only update type from docblock if it gives more info 2016-07-11 19:57:01 -04:00
Matthew Brown
6e2fc6141a Add more robust fix for nullable kludge 2016-07-11 10:19:06 -04:00
Matthew Brown
04be1fb50e Add slight kludge if method is nullable 2016-07-11 10:15:32 -04:00
Matthew Brown
348e06ffb9 Fix treatment of param types 2016-07-10 16:09:09 -04:00
Matthew Brown
a93c54da0d Improve type resolution of params 2016-06-29 16:42:30 -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
66535fb225 Allow void return type reporting 2016-06-20 16:54:43 -04:00
Matthew Brown
edd9a92d51 Dogfooding: fix codeinspector issues 2016-06-20 01:05:44 -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
4b0c37f8b4 Improve error messages 2016-06-17 17:34:52 -04:00
Matthew Brown
4c0b50dab0 Protect against array assignment to strings 2016-06-17 16:58:15 -04:00
Matthew Brown
5c1b7bb0bc Fix a few type inference bugs 2016-06-17 16:05:28 -04:00
Matthew Brown
32e18aa29e Redo a bunch of if statement checking logic 2016-06-16 18:52:12 -04:00
Matthew Brown
7c62568ac5 Remove var_dump 2016-06-16 02:31:02 -04:00
Matthew Brown
12e23d8086 Re-enable property checks 2016-06-16 02:30:02 -04:00
Matthew Brown
218edb5bf4 Add numerous fixes 2016-06-16 01:19:52 -04:00
Matthew Brown
0c617f9519 Fix many many bugs 2016-06-15 20:16:40 -04:00
Matthew Brown
a17e1fb163 Create new system of storing types 2016-06-14 19:22:29 -04:00
Matthew Brown
4e614436b5 Add TypeParser 2016-06-14 01:23:57 -04:00
Matthew Brown
933c60b06a Add array assignment checks and remove Error suffix 2016-06-13 19:57:32 -04:00
Matthew Brown
cefb0f3021 Smarter type comparisons and cleaner error output 2016-06-10 17:20:04 -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
c9b5554b69 Streamline reflection/registration checks to fix trait bug 2016-05-22 12:14:48 -04:00
Matthew Brown
ea9ab43229 Implementing methods not inherited methods 2016-05-20 19:07:05 -04:00
Matthew Brown
316f2714b7 Added awareness of traits and deep method analysis 2016-05-15 23:06:03 -04:00
Matthew Brown
1bd61e89af Treat self as absolute calss 2016-05-09 15:58:48 -04:00
Matthew Brown
a30901be48 Add $this->var analysis and improve else semantics 2016-05-09 08:56:07 -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
0ab3710213 Fix bad replace 2016-04-26 18:42:22 -04:00
Matthew Brown
67d05d8df5 Fix generation generation 2016-04-26 18:32:37 -04:00
Matthew Brown
a6afbe736d Add effect checking and new docblock generation 2016-04-26 18:18:49 -04:00
Matthew Brown
8472233bd3 Obey my own rules 2016-04-20 18:35:22 +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
bac2ab6027 Port over method custom calls 2016-04-17 11:26:29 -04:00
Matthew Brown
851c6418d3 Register more methods to prevent namespacing difficulties when reflecting 2016-04-17 11:22:18 -04:00
Matthew Brown
56d4d1c684 Split code out from StatementsChecker so it isn't so monolithic 2016-04-16 16:28:25 -04:00
Matthew Brown
83b7896d2b Move all files to PSR-4-compliant folder structure 2016-04-03 19:41:22 -04:00