Matthew Brown
|
01c876e9cb
|
Remove stray comma
|
2019-08-14 00:50:35 -04:00 |
|
Matthew Brown
|
600999a3a8
|
Add better typing
|
2019-08-14 00:47:57 -04:00 |
|
Brown
|
c3949e3194
|
Improve taint protection for exec-related commands
|
2019-08-13 19:18:50 -04:00 |
|
Brown
|
d6e084ec9c
|
Remove false-positive for callmap function arg
|
2019-08-13 14:53:31 -04:00 |
|
Brown
|
0468d11158
|
Detect function in array access op
|
2019-08-13 14:07:45 -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
|
10b8a94564
|
Fix #2007 - improve unused variable detection in always-entered loops
|
2019-08-12 16:01:24 -04:00 |
|
Brown
|
669b50e8b4
|
Fix erroneous callable parsing
|
2019-08-12 15:04:43 -04:00 |
|
Brown
|
4046b44903
|
fix #2010 - properties with defaults should work with static type
|
2019-08-12 14:29:14 -04:00 |
|
Matthew Brown
|
7ed30cd5b0
|
Add support for @readonly annotation
|
2019-08-11 16:01:37 -04:00 |
|
Matthew Brown
|
60c0133fff
|
Break apart reconciler
|
2019-08-10 13:22:21 -04:00 |
|
Matthew Brown
|
3f78082720
|
Fix is_string call
|
2019-08-10 09:16:32 -04:00 |
|
Matthew Brown
|
460120ec45
|
Fix #1994 - make assert-if-true work for $this properties
|
2019-08-10 09:12:02 -04:00 |
|
Brown
|
5254b7501e
|
Fix #1996 - detect unused variable in static property name
|
2019-08-09 12:55:47 -04:00 |
|
Brown
|
d5e2c323d3
|
Add support for pure-ish instance methods
|
2019-08-08 14:17:34 -04:00 |
|
Matthew Brown
|
747782d258
|
Fix #1987 - avoid inferredType not being null
|
2019-08-07 22:41:26 -04:00 |
|
Brown
|
955899ade0
|
Builtin functions are assumed to be pure
|
2019-08-07 15:21:15 -04:00 |
|
Matthew Brown
|
50bd18c404
|
Fix #1985 - prevent complicatedExpressionException from breaking analysis
|
2019-08-06 22:58:53 -04:00 |
|
Brown
|
16a1dc8538
|
Fix errors
|
2019-08-06 18:56:36 -04:00 |
|
Brown
|
14b37b95af
|
Fix potential recursion
|
2019-08-06 17:29:44 -04:00 |
|
Brown
|
fc8d2bd563
|
Do more taint creation for magic properties
|
2019-08-06 14:27:21 -04:00 |
|
Brown
|
37d93141c4
|
Only register taints on known magic properties
|
2019-08-06 13:05:34 -04:00 |
|
Brown
|
0dc6b74fb4
|
Add taintedness to magic property fetches
|
2019-08-06 12:54:12 -04:00 |
|
Brown
|
17753865f3
|
Add detection to mixed params
|
2019-08-06 10:33:21 -04:00 |
|
Matthew Brown
|
8f6d432dd0
|
Add support for magic property comprehension
|
2019-08-05 23:19:22 -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 |
|
Matthew Brown
|
ea1f9874fb
|
Remove more memory leaks
|
2019-08-02 01:55:24 -04:00 |
|
Brown
|
c67e38aded
|
Rename var to be more uniform
|
2019-07-31 17:14:00 -04:00 |
|
Brown
|
8cb5d012d9
|
Check expressions in variable name static calls
|
2019-07-25 09:45:11 -04:00 |
|
Matthew Brown
|
2c89a97f91
|
Fix #1970 - make sure reconciled types are templated
|
2019-07-25 08:33:27 -04:00 |
|
Matthew Brown
|
5a4a133f50
|
Fix #1970 - allow comparison to templated param class
|
2019-07-24 22:13:51 -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
|
e22e0ac92c
|
Fix unused ref in assign op
Fixes #1968
|
2019-07-24 16:53:14 -04:00 |
|
Brown
|
c283f0877d
|
Analyse binary ops always
|
2019-07-22 18:04:52 -04:00 |
|
Matthew Brown
|
3d4adee6b3
|
Reduce with / before converting back
|
2019-07-21 11:03:02 -04:00 |
|
Matthew Brown
|
76508e6d64
|
Improve behaviour of templated template assertions
Fixes #1956
|
2019-07-21 01:40:19 -04:00 |
|
Tyson Andre
|
5d5a9c6eac
|
Remove redundant casts and unused use statements (#1955)
* Remove redundant casts
(not sure about older versions of php-parser)
* Remove unused use statements
|
2019-07-18 23:37:36 -04:00 |
|
Matthew Brown
|
0e6bd79a09
|
Allow completion from functions to work without namespacing cc @iluuu1994
|
2019-07-18 21:50:59 -04:00 |
|
Matthew Brown
|
3df248eea2
|
Add concept of purity to functions and methods
|
2019-07-18 01:31:48 -04:00 |
|
Brown
|
7f0dcae0b2
|
Always evaluate property calls on mixed methods
|
2019-07-12 14:39:06 -04:00 |
|
Brown
|
1208437b4c
|
Fix #1940 - allow proper evaluation of /a/b/../../
|
2019-07-12 14:28:21 -04:00 |
|
Brown
|
8e149461f0
|
Remove unnecessary references to had_template
|
2019-07-10 14:03:13 -04:00 |
|
Brown
|
e7aadee88f
|
Fix #1931 - narrow down property assignment
|
2019-07-10 13:49:11 -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 |
|
Brown
|
884a03078b
|
Fix #1886 - derived types from templates in new calls should be coercable
|
2019-07-09 14:48:26 -04:00 |
|
Matthew Brown
|
5c4ac97546
|
Fix #1915 - allow @psalm-assert-if-true to operate on $this
|
2019-07-07 15:06:03 -04:00 |
|