Matthew Brown
|
e50ef8bf03
|
Support __invoke return types
|
2018-05-08 19:49:25 -04:00 |
|
Tyson Andre
|
9a9f6d1856
|
Make the string concatenation of two known values into a known value (#717)
* Make the string concatenation of two known values into a known value
address review comments
* Add vim temporary files to .gitignore
|
2018-05-08 19:11:18 -04:00 |
|
Matt Brown
|
6e259bed03
|
Always evaluate closures, even when passed as mixed call args
|
2018-05-08 18:11:10 -04:00 |
|
Matt Brown
|
53ff05783c
|
Clean up code slightly
|
2018-05-08 17:43:26 -04:00 |
|
Matt Brown
|
4f678f5f99
|
Fix bad comparisons
|
2018-05-08 17:42:02 -04:00 |
|
Matt Brown
|
03ea65cff8
|
Don’t complain about false values on properties when we don’t care
|
2018-05-08 16:57:16 -04:00 |
|
Matt Brown
|
bc17d23788
|
Fix mixed empty checks
|
2018-05-08 16:34:08 -04:00 |
|
Matt Brown
|
3c9e42f884
|
Fix string assertion for ternaries
|
2018-05-07 17:52:18 -04:00 |
|
Matt Brown
|
f858924b60
|
Fix erroneous string matching after oring
|
2018-05-07 17:40:16 -04:00 |
|
Matt Brown
|
6460d907f9
|
Improve array handling when offsets hard to define
|
2018-05-07 16:22:04 -04:00 |
|
Matt Brown
|
c0729a02cd
|
Fix remaining issues with logic checks
|
2018-05-07 14:52:45 -04:00 |
|
Matthew Brown
|
61aeea6375
|
Fix whole bunches of things
|
2018-05-07 01:26:06 -04:00 |
|
Matthew Brown
|
3b9b4a8a6f
|
Improve binary op function layout
|
2018-05-06 12:11:40 -04:00 |
|
Matthew Brown
|
c31f787f7c
|
Convert DNF conditions to CNF
|
2018-05-06 12:11:40 -04:00 |
|
Matthew Brown
|
04bd492360
|
Fix erroneous scope resolution
|
2018-05-05 20:52:10 -04:00 |
|
Matthew Brown
|
8d8fdad924
|
Always set array offset type
|
2018-05-05 17:50:19 -04:00 |
|
Matthew Brown
|
21261172a8
|
Fix #713 - support offsets of known array types
|
2018-05-05 17:30:18 -04:00 |
|
Matthew Brown
|
85c69f1335
|
Make sure div operations return GMP too
|
2018-05-05 13:14:59 -04:00 |
|
Matthew Brown
|
3718bd5c61
|
Fix GMP arithmetic operations
|
2018-05-05 12:59:30 -04:00 |
|
Matthew Brown
|
1a4ddc7cdd
|
Support value types (#707)
* Add first idea
* Add initial count experiments
* Remove false positives
* Fix getId to support changes in conditionals
* Add better tests
* Strip types when not exists
* Fix array offsets
* More fixes
* Add class constant value types
* Clone constants everywhere
* Don’t complain unnecessarily
* Be more lenient with possibly invalid __sets
* Fix mixed issues
* Fix bug concerning orred string equality
* Remove unnecessary casts
|
2018-05-03 13:56:30 -04:00 |
|
Matt Brown
|
521237dc56
|
Fix #705 - don’t be so strict about undefined constants
|
2018-05-03 13:20:42 -04:00 |
|
Matthew Brown
|
7ccc17cd98
|
Fix #324 - improve undefined array handling
|
2018-05-02 20:10:08 -04:00 |
|
Matthew Brown
|
15e1003c37
|
Warn about impossible empty
|
2018-04-30 22:13:13 -04:00 |
|
Matthew Brown
|
1946bc0085
|
Allow resource to be cast to string
|
2018-04-30 00:19:35 -04:00 |
|
Matthew Brown
|
99da371ac4
|
Move memoisation after callmap branch
|
2018-04-28 13:49:27 -04:00 |
|
Matthew Brown
|
496256c2a5
|
Make memoisation more universal
|
2018-04-28 13:49:21 -04:00 |
|
Matthew Brown
|
da6209276f
|
Allow ability to memoize empty method calls based on config
|
2018-04-28 13:05:43 -04:00 |
|
Matt Brown
|
a0984cdaf1
|
Fix #697 - make missing objectlike fields an InvalidArgument
|
2018-04-27 17:10:57 -04:00 |
|
Matthew Brown
|
048a32e7b6
|
Also check incremental overflows ref #691
|
2018-04-24 23:12:01 -04:00 |
|
Matthew Brown
|
35725267f9
|
Fix #691 - Allow comparisons to float for integer results
|
2018-04-24 23:02:20 -04:00 |
|
Matthew Brown
|
19ccdbc08b
|
Remove unnecessary foreach
|
2018-04-24 21:15:33 -04:00 |
|
Matthew Brown
|
3e7e1b3020
|
Fix #694 - remove descendent vars when possibly reassigning
|
2018-04-24 21:02:07 -04:00 |
|
Matthew Brown
|
2fabdf3353
|
Fix #314 - add a way to indicate @method list is comprehensive
|
2018-04-22 00:40:30 -04:00 |
|
Matthew Brown
|
1c7568e612
|
Fix #642 - allow @method to override existing methods
behind usePhpDocMethodsWithoutMagicCall="true"
|
2018-04-21 23:08:08 -04:00 |
|
Matthew Brown
|
8b50cdf315
|
Fix #632 - add support for @method annotations when method can’t be found
|
2018-04-21 22:44:54 -04:00 |
|
Matthew Brown
|
d02b148820
|
Fix #633 - support @method for magic __call methods
|
2018-04-21 22:13:10 -04:00 |
|
Matt Brown
|
0882b9c0f9
|
Fix #687 - interpret unpacked arguments in array_push and array_unshift
|
2018-04-20 17:14:38 -04:00 |
|
Matt Brown
|
8d7c365e5f
|
Fix #679 - improve template param type checks
|
2018-04-20 10:52:23 -04:00 |
|
Matt Brown
|
1f3837d972
|
Fix #686 - allow undefined class inside class_exists call
|
2018-04-19 12:16:00 -04:00 |
|
Matt Brown
|
f3b579b06a
|
Fix #685 - ignore assignment in conditional
|
2018-04-19 11:58:51 -04:00 |
|
Matthew Brown
|
a5f639d879
|
Fix array type conversion
|
2018-04-18 23:49:09 -04:00 |
|
Matthew Brown
|
392f3194c0
|
Fix #684 - use getIterator return type for IteratorAggregate functions
|
2018-04-18 23:47:21 -04:00 |
|
Matt Brown
|
9099a0972b
|
Remove bad variable check
|
2018-04-18 12:10:49 -04:00 |
|
Matt Brown
|
4ee0298558
|
Always panic when two types can never be the same
|
2018-04-18 12:01:13 -04:00 |
|
Matt Brown
|
5b7d190640
|
Emit RedundantCondition when asserting two variables can never be equal
|
2018-04-17 15:39:09 -04:00 |
|
Matt Brown
|
5a2f6ff0e0
|
Fix #624 - change some innaccurate issue names
|
2018-04-17 14:07:02 -04:00 |
|
Matt Brown
|
6afaf5aae9
|
Make Psalm compatible with PHP Parser 4
|
2018-04-17 13:06:02 -04:00 |
|
Matt Brown
|
df5d369443
|
Fix #677 - handle get_class checks more accurately
|
2018-04-17 10:28:49 -04:00 |
|
Matt Brown
|
b28cc19fd2
|
Fix bitwise operations on strings
|
2018-04-16 18:19:18 -04:00 |
|
Matt Brown
|
55153f9542
|
Fix #676 - bitwise operators didn’t have int return type
|
2018-04-16 16:36:06 -04:00 |
|