Matthew Brown
3c3d22164c
Add private properties to context
2017-01-27 08:49:37 -07:00
Matthew Brown
e51763328c
Shortcut for generator, which does not extend anything
2017-01-27 08:41:32 -07:00
Matthew Brown
c485a3d056
Check for not-set-in-constructor errors across traits too
2017-01-27 08:28:21 -07:00
Matthew Brown
98d4ced24f
Make location of not-set-in-constructor errors more precise
2017-01-26 23:40:22 -07:00
Matthew Brown
63801c38c0
Make location of constructor error more specific
2017-01-26 23:32:03 -07:00
Matthew Brown
6bcc763414
Fix #3 by checking inside __constructor calls for initialisations
2017-01-26 23:23:12 -07:00
Matthew Brown
ff46487353
Be more discerning about unaryminus/plus inferred type
2017-01-25 21:50:34 -07:00
Matthew Brown
c14a19370f
Improve UnaryPlus/Minus still more
2017-01-25 20:23:06 -07:00
Matthew Brown
f03807e7b7
Fix unaryplus/minus type inference
2017-01-25 20:02:19 -07:00
Matthew Brown
4fa0055092
Remove unnecessary var_dump
2017-01-25 17:09:31 -07:00
Matthew Brown
7e7743d6fb
Do not complain about missing void return types if config set
2017-01-25 17:07:28 -07:00
Matthew Brown
15e8c1b904
Fix simplifyUnionType so classes with __toString aren’t confused with string
2017-01-25 17:01:01 -07:00
Matthew Brown
ea63fd7ae3
Fix #75 - allow inteeger offsets for object-like arrays
2017-01-25 00:11:24 -07:00
Matthew Brown
0da9c10d36
Don’t complain when adding array and object-like array
2017-01-23 15:40:55 -07:00
Matthew Brown
58aee6340d
Remove var_dump (shame on me)
2017-01-23 15:17:35 -07:00
Matthew Brown
df1d6abd7c
Make brand-new return types more accurate
2017-01-23 15:16:13 -07:00
Matthew Brown
35617e9d84
Add test for specific issue mentioned in #74
2017-01-23 14:19:08 -07:00
Matthew Brown
daa923e243
Stop analysis if parent class cannot be located
2017-01-23 13:36:06 -07:00
Matthew Brown
3ad6ec2e34
Be more resilient if we ignore that parent class does not exist
2017-01-23 13:21:40 -07:00
Matthew Brown
374dc65de1
Fix #39 by checking for ArrayAcces interface
2017-01-20 00:23:58 -05:00
Matthew Brown
894b25487f
Fix #71 - prevent instantiation of abstract classes
2017-01-20 00:10:10 -05:00
Matthew Brown
9d1b382820
Fix #48 by recording class definition line number & file path
2017-01-19 23:45:21 -05:00
Matt Brown
d0207b6098
Check that class exists before checking for ArrayAccess inheritors
2017-01-19 19:02:00 -05:00
Matt Brown
86201e71b2
Make arguments of SplFileObject::fputcsv optional
2017-01-19 17:58:34 -05:00
Matt Brown
c1e62a09e7
Merge suppressed issues with source’s issues
2017-01-19 17:58:08 -05:00
Matt Brown
d3a9452cde
Make sure we don’t lose type information while reconciling
2017-01-19 17:45:42 -05:00
Matthew Brown
5e15131f05
Merge pull request #72 from Fleshgrinder/bugfix/dependency-bounds
...
Fixed Dependency Bounds
2017-01-19 15:52:35 -05:00
Richard Fussenegger
f7c309d8f6
Fixed dependency bounds
...
Current definition of dependencies would result in **any** version being installed that is greater than the one specified. This is problematic since new major releases imply breaking changes and nothing ensures that psalm will be compatible with those updated dependencies. Using an operator that instructs Composer to ensure that this does not happen is therefore inalienable.
2017-01-19 21:18:46 +01:00
Matt Brown
a67800cac7
Ignore cloning of mixed variables
2017-01-19 15:00:05 -05:00
Matt Brown
2a8e51f544
Fix scalar assignment
2017-01-19 14:49:49 -05:00
Matt Brown
77ff99206e
Inherit all parent properties when analyzing method
2017-01-19 13:11:45 -05:00
Matt Brown
8a21191ebd
Prevent improperly emiting InvalidToStringCast
2017-01-19 12:16:19 -05:00
Matt Brown
fd290c41d4
Fix tests
2017-01-19 12:15:42 -05:00
Matt Brown
7116585e85
Be more robust when ignoring UndefinedClass errors
2017-01-19 11:45:25 -05:00
Matt Brown
0ba02f304f
Make project checker always aware of file paths to classes
2017-01-19 10:55:58 -05:00
Matthew Brown
a14b03c057
Fix issue with array_merge, and then bugs revealed by that
2017-01-19 01:32:35 -05:00
Matthew Brown
27a018095b
Fix invalid InvalidParamDefault error when comparing to false
2017-01-19 01:12:19 -05:00
Matthew Brown
3510757d89
Prevent potentially confusing output calculating array_keys
2017-01-19 00:52:02 -05:00
Matthew Brown
8acaaa2194
Fix checking whether mock objects are contained by any other
2017-01-18 23:52:43 -05:00
Matthew Brown
3b18f58cae
Add missing param
2017-01-18 23:38:21 -05:00
Matthew Brown
77c9d1ecbd
If extending FileChecker, inline included stmts
2017-01-18 23:35:23 -05:00
Matthew Brown
87871e61f2
Allow checking of folders not in project directories
2017-01-18 23:34:56 -05:00
Matthew Brown
de1ce36a5c
Fix method mutation transference
2017-01-18 23:19:36 -05:00
Matt Brown
a2750a92aa
Evaluate loop part of for after body
2017-01-18 17:13:20 -05:00
Matt Brown
b23c55e570
Fix #70 by allowing string to be a numeric
2017-01-18 11:07:38 -05:00
Matt Brown
686891f30f
Make directory recursion robust and windows-safe
2017-01-18 09:36:16 -05:00
Matthew Brown
d7096df7a6
Don’t complain about non-user-defined class casing
2017-01-18 00:33:48 -05:00
Matthew Brown
b438e4c305
Revert "Don’t complain about incorrectly cased builtin classes"
...
This reverts commit 20558c6039
.
2017-01-18 00:23:17 -05:00
Matthew Brown
20558c6039
Don’t complain about incorrectly cased builtin classes
...
As they can never cause autoloader issues
2017-01-18 00:20:24 -05:00
Matthew Brown
e3b9f0fd83
Fix multiple duplicate namespaces constant confusion
2017-01-17 23:55:08 -05:00