Matt Brown
|
b80440f1e3
|
Fix #893 - improve error message for missing intersection type method
|
2018-07-16 11:52:38 -04:00 |
|
Matthew Brown
|
e836f69ca2
|
Fix #502 - check for bad generator return in more places
|
2018-07-15 17:47:58 -04:00 |
|
Matthew Brown
|
91f7cdf134
|
Fix #890 - improve reporting site for some method issues
|
2018-07-13 18:47:21 -04:00 |
|
Matthew Brown
|
4172952e8b
|
Fix #306 - add support for typing generators
|
2018-07-13 17:34:44 -04:00 |
|
Matthew Brown
|
a8a504c3b9
|
Fix #889 - allow variables defined in try to avoid isset issues
|
2018-07-13 14:06:01 -04:00 |
|
Matthew Brown
|
677e6edcb1
|
Fix nullref
|
2018-07-13 09:58:35 -04:00 |
|
Matthew Brown
|
3a235ad757
|
Fix #887 - resolve get_class($c) === self::class to current class name
|
2018-07-13 09:52:15 -04:00 |
|
Matthew Brown
|
d41a9a8dcc
|
Fix #806 - allow specification of functions and static methods that exit
|
2018-07-12 23:26:08 -04:00 |
|
Matt Brown
|
7713c7a8d6
|
Use continue 2 in place of continue
|
2018-07-12 18:04:05 -04:00 |
|
Matt Brown
|
c2bc8bde55
|
Fix #866 - prevent false positive inside do
|
2018-07-12 12:08:15 -04:00 |
|
Matt Brown
|
8b3fa21b41
|
Fix #884 - don’t error on static calls that aren’t user defined
|
2018-07-11 12:05:50 -04:00 |
|
Matt Brown
|
42e1090647
|
Add support for static method call assertions
|
2018-07-11 11:32:12 -04:00 |
|
Matt Brown
|
661803a020
|
Fix #883 - add @psalm-assert-if-true support to methods
|
2018-07-11 11:22:07 -04:00 |
|
Matt Brown
|
0ef71a49cb
|
Fix #882 - allow STDOUT and STDERR as constants
|
2018-07-10 17:40:34 -04:00 |
|
Matt Brown
|
bbf48bbdfe
|
Fix #873 - allow unpacking of all iterables
|
2018-07-09 09:59:51 -04:00 |
|
Matthew Brown
|
3b12ce4a31
|
Fix #874 - add support for is_iterable
|
2018-07-09 08:31:43 -04:00 |
|
Matt Brown
|
e62b711c36
|
Fix docblock
|
2018-07-06 14:14:24 -04:00 |
|
Matt Brown
|
a887d09ca9
|
Fix #867 - make some system constant types more broad
|
2018-07-06 13:35:36 -04:00 |
|
Matthew Brown
|
ced0aef34d
|
Clean out assertions before re-examining loop
|
2018-07-06 00:36:11 -04:00 |
|
Matthew Brown
|
8a4d7e12bd
|
Fix issues found by scanning PHPCS
|
2018-07-05 23:02:09 -04:00 |
|
Matthew Brown
|
c4fd6aa18d
|
Allow break/continue inside do
|
2018-07-05 21:03:44 -04:00 |
|
Matt Brown
|
af14d6982f
|
Fix #863 - MixedTypeCoercion is more appropriate in many cases
|
2018-07-05 10:11:04 -04:00 |
|
Matthew Brown
|
7d747be5d5
|
Fix checks for possibly null right part of binary op
|
2018-07-03 19:52:40 -04:00 |
|
Matt Brown
|
b8636eb326
|
Improve memoisation of chained calls
|
2018-07-03 12:45:29 -04:00 |
|
Matt Brown
|
534876085d
|
Fix #857 - improve handling of hard-to-reconcile while conditionals
|
2018-07-03 12:27:14 -04:00 |
|
Matthew Brown
|
5623aa1c19
|
Don’t memoise assertions - it messes with trait analysis
|
2018-07-03 00:51:57 -04:00 |
|
Matthew Brown
|
5860fcf59d
|
We can reason about ORed conditions in while loops now
|
2018-07-02 23:46:51 -04:00 |
|
Matt Brown
|
6287f52dd5
|
Fix loop analysis for byref vars, likely performance hit
|
2018-07-02 16:44:32 -04:00 |
|
Matthew Brown
|
16e270f0ee
|
Improve loading of stub file and autoload file information
Ref #849
|
2018-06-30 15:29:37 -04:00 |
|
Matthew Brown
|
bca3b1797c
|
Fix #852 - improve handling of variables updated in do conditional
|
2018-06-30 12:56:42 -04:00 |
|
Matthew Brown
|
5ed062257b
|
Allow dead code detection to capture last do checks
|
2018-06-30 11:08:51 -04:00 |
|
Matthew Brown
|
b5c89084fc
|
Fix #851 - prevent null being removed in simplifyUnionType
|
2018-06-30 10:38:37 -04:00 |
|
Matt Brown
|
2fc816a6e1
|
Fix repeated use of spread operator
|
2018-06-28 17:05:50 -04:00 |
|
Matt Brown
|
72b110af3f
|
Analyse RHS of instanceof expressions if expression
|
2018-06-27 10:07:40 -04:00 |
|
Matthew Brown
|
685ae67435
|
Fix #839 - check args for __call methods
|
2018-06-26 23:11:16 -04:00 |
|
Matthew Brown
|
5867ef45ff
|
Check method args even if the methods themselves cannot be checked
|
2018-06-25 19:38:15 -04:00 |
|
Matt Brown
|
ffda44c3ba
|
Fix #838 - check assertions, even outside conditionals
|
2018-06-25 18:02:05 -04:00 |
|
Matthew Brown
|
e3ae1bf26f
|
Fix #15 - check for uncaught throws if config flag is set
|
2018-06-22 01:13:49 -04:00 |
|
Matt Brown
|
740279352e
|
Fix #830 - unpack template param args appropriately
|
2018-06-20 10:40:50 -04:00 |
|
Matt Brown
|
e10b2c0fd4
|
Fix #805 - allow dead code detection from methods just called internally
|
2018-06-19 16:14:51 -04:00 |
|
Matt Brown
|
11240eb193
|
Fix #826 allow better template replacements
|
2018-06-19 13:19:41 -04:00 |
|
Matt Brown
|
2be0f68d87
|
Add better checks on increment/decrement operators
|
2018-06-18 13:16:51 -04:00 |
|
Matt Brown
|
75e2be8aec
|
Fix #825 - ignore falsable issues on builtin *methods*
|
2018-06-18 10:07:05 -04:00 |
|
Matthew Brown
|
d4107f9e5e
|
Fix issue erasing nullability of boolean
|
2018-06-17 13:47:31 -04:00 |
|
Matthew Brown
|
2c245b0a08
|
Fix #823 - trigger redundant condition on impossible assertions
|
2018-06-17 13:20:37 -04:00 |
|
Matthew Brown
|
5ddd74e7d2
|
Catch unused foreach key when it’s already in scope
|
2018-06-17 00:52:32 -04:00 |
|
Matthew Brown
|
805bfa6f2d
|
Improve handling of switch statement assignments
|
2018-06-17 00:12:26 -04:00 |
|
Matthew Brown
|
89affb6c2c
|
Fix #822 - improve dead code detection on assignop expressions
|
2018-06-16 23:40:25 -04:00 |
|
Matthew Brown
|
fa51c39902
|
Improve dead code analysis of switch statements
|
2018-06-16 21:54:44 -04:00 |
|
Matthew Brown
|
f38da967dd
|
Fix a few issues with dead code detection
|
2018-06-16 21:14:19 -04:00 |
|