Matthew Brown
|
03f59ae05e
|
Check other arguments of array_unshift/array_push
Ref #2052
|
2019-08-25 23:52:38 -04:00 |
|
Brown
|
f00ee740c0
|
Analyse encapsulated string when method not known
Ref #2052
|
2019-08-23 10:59:59 -04:00 |
|
Matthew Brown
|
738ba81185
|
Fix #2046 - trigger PossiblyNullArgument when in union with mixed
|
2019-08-22 23:26:04 -04:00 |
|
Brown
|
e25ce152d6
|
Fix #2014 - prevent unusedvariable false positive when redefined in assignment ||
|
2019-08-15 09:43:43 -04:00 |
|
Brown
|
3d01708c6c
|
Improve backtrace of property-involved issues
|
2019-08-14 11:47:58 -04:00 |
|
Brown
|
e92896f145
|
Fix taint records
|
2019-08-14 09:52:59 -04:00 |
|
Matthew Brown
|
600999a3a8
|
Add better typing
|
2019-08-14 00:47:57 -04:00 |
|
Brown
|
d6e084ec9c
|
Remove false-positive for callmap function arg
|
2019-08-13 14:53:31 -04:00 |
|
Brown
|
b5614d03f8
|
Add detection for unused function calls
|
2019-08-13 13:15:23 -04:00 |
|
Matthew Brown
|
d5b026839c
|
Add support for different taint types ref #1990
|
2019-08-12 23:16:05 -04:00 |
|
Brown
|
669b50e8b4
|
Fix erroneous callable parsing
|
2019-08-12 15:04:43 -04:00 |
|
Brown
|
d5e2c323d3
|
Add support for pure-ish instance methods
|
2019-08-08 14:17:34 -04:00 |
|
Brown
|
14b37b95af
|
Fix potential recursion
|
2019-08-06 17:29:44 -04:00 |
|
Brown
|
17753865f3
|
Add detection to mixed params
|
2019-08-06 10:33:21 -04:00 |
|
Brown
|
6eb62591ab
|
Specialise calls when functions are pure
|
2019-08-05 18:33:33 -04:00 |
|
Matthew Brown
|
b2c0993cdc
|
Add framework for taint analysis to Psalm
Ref #611
|
2019-08-04 10:37:36 -04:00 |
|
Brown
|
352f18b169
|
Register so it doesn’t get removed
|
2019-07-24 17:41:13 -04:00 |
|
Brown
|
5770a6c904
|
Add support for compact
|
2019-07-24 17:24:23 -04:00 |
|
Brown
|
c283f0877d
|
Analyse binary ops always
|
2019-07-22 18:04:52 -04:00 |
|
Matthew Brown
|
76508e6d64
|
Improve behaviour of templated template assertions
Fixes #1956
|
2019-07-21 01:40:19 -04:00 |
|
Brown
|
7f0dcae0b2
|
Always evaluate property calls on mixed methods
|
2019-07-12 14:39:06 -04:00 |
|
Brown
|
8e149461f0
|
Remove unnecessary references to had_template
|
2019-07-10 14:03:13 -04:00 |
|
Brown
|
2c6854f403
|
Massage arg type after coerced param
Ref #1927
|
2019-07-10 12:12:51 -04:00 |
|
Matthew Brown
|
1ae9ea5fed
|
Use object instead of by-ref params
|
2019-07-10 01:35:57 -04:00 |
|
Matthew Brown
|
0e8fa0e73e
|
Return false in fewer places
|
2019-06-30 12:06:49 -04:00 |
|
LeSuisse
|
f29826b958
|
Fully qualify constants and function calls (#1849)
This should give a small performance boost.
Part of #1837.
The change is enforced via phpcs and can be autofixed
with phpcbf.
|
2019-06-26 16:52:29 -04:00 |
|
Matthew Brown
|
c66a106622
|
Improve performance by doing less cloning
Ref #1837
|
2019-06-26 00:14:06 -04:00 |
|
Matthew Brown
|
c0b86bd40d
|
Use uppercase template_type_extends keys
|
2019-06-24 23:43:04 -04:00 |
|
Brown
|
0246f600f4
|
Fix #1813 - convert object&Foo into Foo after template resolution
|
2019-06-19 12:00:19 -04:00 |
|
Matthew Brown
|
7155ed4e06
|
Fix #1811 - improve expected argument count
|
2019-06-19 09:05:07 -04:00 |
|
Matthew Brown
|
2d5f332ebf
|
Fix #1781 by improving handling of callmap options
|
2019-06-15 16:10:48 -04:00 |
|
Brown
|
3c3c8cd3b9
|
Always analyse class constants
|
2019-06-07 13:23:52 -04:00 |
|
Marco Pivetta
|
624c7bc6fb
|
Renamed Fn to TFn to allow for PHP 7.4 compatibility
|
2019-06-03 08:21:25 -04:00 |
|
Brown
|
a060da95bf
|
Allow MissingParamType alteration to be done in multithreaded mode
|
2019-05-31 11:55:24 -04:00 |
|
Brown
|
534e4c034b
|
Fix replacement for inherited methods
|
2019-05-31 10:37:26 -04:00 |
|
Matthew Brown
|
cd969c51e5
|
Generate missing param types from callers
Fixes #1707
|
2019-05-31 01:47:35 -04:00 |
|
Brown
|
e85794038f
|
Fix #1704 - improve type coercion complaints
|
2019-05-29 14:22:15 -04:00 |
|
Matthew Brown
|
790bc53bfd
|
Fix #1681 - interpret parent annotation properly
|
2019-05-25 11:51:09 -04:00 |
|
Matthew Brown
|
9fb96793cd
|
Fix #1676 - don’t modify original param types with templated by-reference
|
2019-05-24 18:17:48 -04:00 |
|
Brown
|
29c869ed67
|
Ignore nullable issues on just-coerced types
|
2019-05-21 12:59:06 -04:00 |
|
Brown
|
034ea725e8
|
Coerce generic types from empty
|
2019-05-21 12:12:13 -04:00 |
|
Brown
|
4ecf370900
|
Coerce mixed values when passed as arguments
|
2019-05-21 11:51:41 -04:00 |
|
Brown
|
4a434d9a2f
|
Add separate issue for undefined classes in docblocks
|
2019-05-15 18:41:26 -04:00 |
|
Brown
|
d7ee952084
|
Infer closure param type for array_filter/array_map
Fixes #664
|
2019-05-07 16:27:25 -04:00 |
|
Matthew Brown
|
4f8d6a50d8
|
Don’t emit MissingClosureReturnType when inside call and type can be inferred
|
2019-05-06 20:47:55 -04:00 |
|
Brown
|
fec1a60e90
|
Ref #1600 - partial fix inferring param types when none is available
|
2019-05-06 18:44:10 -04:00 |
|
Brown
|
4f26c8d749
|
Fix #1597 - ternary else should only know about first conditional expression
|
2019-05-02 13:43:18 -04:00 |
|
Matthew Brown
|
e08944cae0
|
Allow diff mode with --find-dead-code
|
2019-04-27 17:38:24 -04:00 |
|
Brown
|
0e4c8ce482
|
Split apart TypeCoercion issues, allowing more granular issue filtering
|
2019-04-25 18:02:19 -04:00 |
|
Matthew Brown
|
3681762a9b
|
Add detection for callable variable use
|
2019-04-23 22:31:38 -04:00 |
|