Brown
|
b7a0950aea
|
Prevent passing casts to byref vars
|
2019-02-21 13:26:37 -05:00 |
|
Brown
|
079ac44263
|
Prevent pass by ref when type type is given
|
2019-02-20 17:43:12 -05:00 |
|
Matthew Brown
|
75104f4712
|
Fix #1359 - error on bad iterable args
|
2019-02-18 16:35:23 -05:00 |
|
Matthew Brown
|
c58100e3af
|
Fix #1313 - don’t allow mixed function calls
|
2019-02-10 16:15:52 -05:00 |
|
Matthew Brown
|
c383e61805
|
Fix #1296 - array_filter should allow scalar values
|
2019-02-07 13:05:17 -05:00 |
|
Matthew Brown
|
17541b415f
|
Fix #1191 - allow Psalm to check against different versions of PHP
|
2019-02-07 12:25:57 -05:00 |
|
Matthew Brown
|
f8f5ddfb04
|
Add support for string range
|
2019-02-07 10:50:42 -05:00 |
|
Brown
|
9edbae2bdc
|
Fix possible fatal when builtin function is called in array_filter
|
2019-01-28 17:54:50 -05:00 |
|
Brown
|
f33415827e
|
Add checks for rounded values
|
2019-01-28 11:57:49 -05:00 |
|
Matthew Brown
|
cd4d2027d0
|
Fix #1249 - allow iterator_to_array to respect getIterator method
|
2019-01-27 14:50:05 -05:00 |
|
Brown
|
184ee76176
|
Remove erroneous regular namespace check
Fixes #1235
|
2019-01-24 10:41:06 -05:00 |
|
Matthew Brown
|
99569e8ee3
|
Fix #1173 - transform const X = true to a true type
|
2019-01-21 16:55:50 -05:00 |
|
Matthew Brown
|
1c17d2e2f2
|
Extract template params from string/array callables cc @weirdan
The culmination of what you were getting at
|
2019-01-19 20:18:45 -05:00 |
|
Matthew Brown
|
ed68cb973d
|
Fix #1109 - add bad usort protection
|
2019-01-19 18:11:49 -05:00 |
|
Brown
|
8d61cb4816
|
Fix #1200 - no fatal error in array_map when not checking functions
|
2019-01-15 17:53:23 -05:00 |
|
Matthew Brown
|
214fd7d461
|
Add DuplicateFunction issue
Fixes #49
|
2019-01-06 16:40:44 -05:00 |
|
Matthew Brown
|
43b4c1c0a3
|
Fix #1168 - better return type for range
|
2019-01-06 13:02:46 -05:00 |
|
Matthew Brown
|
c7723df8ff
|
Allow gettype vars to be compared to strings
|
2019-01-05 16:23:18 -05:00 |
|
Matthew Brown
|
f5378bdca8
|
Improve function call resolution
|
2019-01-05 14:50:11 -05:00 |
|
Matthew Brown
|
9d8c2792e2
|
Add array-key type and improve general type handling
Fixes #1144
|
2019-01-05 00:15:53 -05:00 |
|
Matthew Brown
|
2dc3d9651f
|
Separate iterable into its own type
Fixes #1151
|
2019-01-04 14:54:40 -05:00 |
|
Andrii
|
36f6930e0c
|
🐛 #1163 Fix handling for default option in filter_var
|
2019-01-02 13:27:53 -05:00 |
|
Matthew Brown
|
c4d024a72d
|
Check variable static calls
Fixes #1142 and #1160
|
2019-01-02 09:00:45 -05:00 |
|
Matthew Brown
|
901596281c
|
Fix #1143 - check some variable new calls
|
2019-01-02 06:58:49 -05:00 |
|
Brown
|
fb848d62e9
|
Add checks for if (count($a)) and if (count($a) [operator] [number])
|
2018-12-19 16:15:19 -05:00 |
|
Matthew Brown
|
ea89a6ba29
|
Revert "First pass"
This reverts commit 9ed047234f .
|
2018-12-19 08:45:14 -05:00 |
|
Matthew Brown
|
20f7147af1
|
Revert "Maybe bad idea"
This reverts commit 03c817be08 .
|
2018-12-19 08:44:56 -05:00 |
|
Matthew Brown
|
03c817be08
|
Maybe bad idea
|
2018-12-19 01:59:26 -05:00 |
|
Matthew Brown
|
9ed047234f
|
First pass
|
2018-12-19 01:59:14 -05:00 |
|
Matthew Brown
|
f0969cb3bb
|
Fix getId calls on callable return types
Ref #1119
|
2018-12-08 14:10:06 -05:00 |
|
Matthew Brown
|
6ef79a0432
|
Improve handling of byref vars passed into functions
Fixes #1066
|
2018-11-21 12:38:51 -05:00 |
|
Brown
|
dc834fdb01
|
Default allowStringToStandInForClass to true and fix errors found
|
2018-11-12 12:03:55 -05:00 |
|
Matthew Brown
|
4688b25fd9
|
Move internal classes to own namespace
|
2018-11-12 11:20:59 -05:00 |
|
Brown
|
b7099aaf3f
|
Make sure array changes are noticed
|
2018-11-09 11:19:44 -05:00 |
|
Brown
|
496018f84a
|
Fix #1024 - add support for filter_var
|
2018-10-23 14:38:36 -04:00 |
|
Brown
|
a2e7a65f3a
|
Add better types for microtime
|
2018-10-10 16:03:00 -04:00 |
|
Brown
|
8e73b34469
|
Fix #1009 - improve handling of print_r
|
2018-10-10 10:58:47 -04:00 |
|
Matt Brown
|
6e5a9bf076
|
Fix #986 - use better return type for array_slice
|
2018-09-07 10:53:56 -04:00 |
|
Matt Brown
|
5d6fb4efdf
|
Copy inferred type when suppressing errors
|
2018-09-04 13:57:05 -04:00 |
|
Matt Brown
|
e1bc9c65fc
|
Add ksort to list of no-op by ref functions (vis-a-vis their argument shape
|
2018-09-04 13:14:44 -04:00 |
|
Matt Brown
|
f844f86a6c
|
Improve type coercion checks in strict mode
|
2018-08-28 17:42:39 -04:00 |
|
Matt Brown
|
1037485a60
|
Convert InvalidScalarArgument to InvalidArgument when declare(strict_types=1) is set
|
2018-08-28 12:37:25 -04:00 |
|
Matt Brown
|
4ef2aafdd8
|
Fix #955 - always check third argument of array_splice
|
2018-08-24 16:12:07 -04:00 |
|
Matt Brown
|
366f625c83
|
Improve handling of coerced-to-array strings in array_splice
|
2018-08-14 11:51:17 -04:00 |
|
Matthew Brown
|
abc19d7136
|
Fix #915 - never care about falsable/nullable issues when matching functions from callmap
|
2018-08-08 23:28:30 -04:00 |
|
Matthew Brown
|
695ececc22
|
Add tests for 7c10a09
|
2018-08-08 22:44:02 -04:00 |
|
Matthew Brown
|
c9a2ca9321
|
Allow output of get_parent_class to be used in new without check
|
2018-08-02 13:43:13 -05:00 |
|
Matthew Brown
|
d3fc9a51e0
|
Improve callmap with PHPStan’s additions
cc @TysonAndre
|
2018-07-22 19:15:40 -04:00 |
|
Matthew Brown
|
1589b2a01e
|
Fix #269 - allow trigger_error to count as exit statement
|
2018-07-13 18:36:25 -04:00 |
|
SignpostMarv
|
3eb027d371
|
875 addendum (#876)
* testing port
* testing return values with port
* removing redundant assertions
* forgot to return ¬_¬
* Fix build
|
2018-07-10 00:08:53 -04:00 |
|