Matthew Brown
|
194f02507d
|
Allow conditional types to reference class constants
|
2020-03-29 13:37:37 -04:00 |
|
Matthew Brown
|
5ad55ae693
|
Fix type inference on simple conditional function calls
|
2020-03-29 10:42:57 -04:00 |
|
Matthew Brown
|
e85d22f004
|
Fix #3033 - allow __invoke on unions with non-objects
|
2020-03-28 23:41:05 -04:00 |
|
Matthew Brown
|
47c1470e3b
|
Refactor reference checks to use more appropriate properties
|
2020-03-28 16:30:56 -04:00 |
|
Brown
|
cc548a45fa
|
Improve detection of unused classes
|
2020-03-28 14:45:58 -04:00 |
|
Brown
|
5cb1538448
|
Don’t add unnecessary taints
|
2020-03-27 19:09:15 -04:00 |
|
Brown
|
971ae50bea
|
Do prep work for #3024 - improve handling of absent class references
|
2020-03-26 12:35:27 -04:00 |
|
Matthew Brown
|
f94ab22a5f
|
Be better about strict inference
|
2020-03-25 09:18:49 -04:00 |
|
Brown
|
a9b6c51748
|
Improve new $class to make it more static-y
|
2020-03-24 18:30:08 -04:00 |
|
Brown
|
ec34a16291
|
Warn about invalid static returns
|
2020-03-24 18:00:20 -04:00 |
|
Brown
|
a7245b4459
|
Fix bugs
|
2020-03-23 13:29:00 -04:00 |
|
Matthew Brown
|
27a0651b6c
|
Fix #3009 - make sure return type is set when returning early
|
2020-03-23 13:25:55 -04:00 |
|
Matthew Brown
|
ce9eef9ed7
|
Improve returning
|
2020-03-23 13:25:55 -04:00 |
|
Matthew Brown
|
eeed5ecccc
|
Only prevent AbstractMethodCall on direct calls
Fixes #3007
|
2020-03-23 07:40:30 -04:00 |
|
Matthew Brown
|
951b943c38
|
Fix #2981 - check that class exists before making it a phantom
|
2020-03-17 15:04:50 -04:00 |
|
Matthew Brown
|
a4add37293
|
Check for variadic functions
|
2020-03-16 11:46:44 -04:00 |
|
Matthew Brown
|
3ebb5a1142
|
Fix #1843 - ignore intersection TooManyArguments issues
|
2020-03-15 14:01:33 -04:00 |
|
Matthew Brown
|
0022de1f13
|
Fix #946 - allow too many arguments when one of union agrees
|
2020-03-15 13:44:00 -04:00 |
|
Matthew Brown
|
0aca01faea
|
Improve fix to #2805
|
2020-03-14 01:09:12 -04:00 |
|
Matthew Brown
|
5210f9b69b
|
Fix #2966 - register constructor use for new $templated_class
|
2020-03-12 11:42:01 -04:00 |
|
Matthew Brown
|
c6a5781e78
|
Break apart FunctionCallAnalyzer::analyze method
|
2020-03-12 11:05:50 -04:00 |
|
Matthew Brown
|
96fbcd5a64
|
Break out more methods
|
2020-03-11 23:38:49 -04:00 |
|
Matthew Brown
|
329c9afdf5
|
Actually remove method
|
2020-03-11 23:20:19 -04:00 |
|
Matthew Brown
|
973703e396
|
Break out template param collection
|
2020-03-11 23:15:15 -04:00 |
|
Matthew Brown
|
9732697e45
|
Break out method call purity checks
|
2020-03-11 23:09:09 -04:00 |
|
Matthew Brown
|
bfb919d26a
|
Break out methods into their own classes
|
2020-03-11 23:04:52 -04:00 |
|
Matthew Brown
|
8f28f41399
|
Improve magic checks
|
2020-03-11 18:42:41 -04:00 |
|
Matthew Brown
|
950260a041
|
No erroneous UndefinedMethod when accessing sealed class
|
2020-03-11 18:27:07 -04:00 |
|
Matthew Brown
|
43d9361395
|
Break out more methods
|
2020-03-11 13:35:33 -04:00 |
|
Matthew Brown
|
89f6866893
|
Fix magic property test
|
2020-03-11 12:45:30 -04:00 |
|
Matthew Brown
|
50cddb5350
|
Break out purity checks
|
2020-03-11 12:24:25 -04:00 |
|
Matthew Brown
|
ef64e6e8eb
|
Improve abstract call handling
|
2020-03-11 10:36:39 -04:00 |
|
Matthew Brown
|
27598f508e
|
Fix too-long line
|
2020-03-11 10:18:53 -04:00 |
|
Matthew Brown
|
0d62fbdf98
|
Detect erroneous abstract static method calls
|
2020-03-11 10:18:40 -04:00 |
|
Matthew Brown
|
d2950af636
|
Break apart MethodCallAnalyzer a bit
|
2020-03-11 09:38:09 -04:00 |
|
Brown
|
2a72990d62
|
Add back support for unused method checks
|
2020-03-09 18:55:35 -04:00 |
|
Brown
|
40a7a1156f
|
Fix #2930
|
2020-03-09 09:45:35 -04:00 |
|
Matthew Brown
|
b999037263
|
Fix #2928 - properly expand out skipped template inheritance
|
2020-03-06 19:24:47 -05:00 |
|
Matthew Brown
|
766effb0db
|
Improve accuracy of diff generation
|
2020-03-06 13:48:59 -05:00 |
|
Matthew Brown
|
10b807b4f6
|
Fix reference generation from methods in --diff mode
|
2020-03-06 13:02:34 -05:00 |
|
Matthew Brown
|
a2a507166d
|
Fix #2923 - remove hack to fix a template issue
|
2020-03-06 09:42:23 -05:00 |
|
Matthew Brown
|
88c4088bc2
|
Prevent self/static refs outside classes
Fixes #2895
|
2020-03-01 17:25:55 -05:00 |
|
Matthew Brown
|
39d6800531
|
Remove default
|
2020-02-27 21:54:19 -05:00 |
|
Matthew Brown
|
c565afde64
|
Fix method call after method_exists check
|
2020-02-27 21:46:58 -05:00 |
|
Matthew Brown
|
1f19aed31b
|
Fix support for replacing mocked types in own classes
|
2020-02-27 21:36:03 -05:00 |
|
Matthew Brown
|
eeb2858b30
|
Add additional fix for #2784
|
2020-02-27 08:56:39 -05:00 |
|
Brown
|
ea0a670230
|
Flesh out class constants in function call return type
Fixes #2884
|
2020-02-26 17:28:44 -05:00 |
|
Matthew Brown
|
1abece4f7c
|
Use more accurate types
|
2020-02-23 17:03:27 -05:00 |
|
Matthew Brown
|
1c218c020e
|
Fix #1684 - detect error in assertion on return type of direct call
|
2020-02-22 10:41:57 -05:00 |
|
Matthew Brown
|
4707b21227
|
Fix tests
|
2020-02-21 22:15:25 -05:00 |
|