Matthew Brown
|
2b0a17c1c8
|
Add simple tool to move static methods
|
2019-06-02 01:10:50 -04:00 |
|
Matthew Brown
|
01f4e39719
|
Remove redundant code from toNamespacedString
|
2019-05-31 20:21:47 -04:00 |
|
Matthew Brown
|
4002504ff0
|
Allow trait_exists to inform type for ReflectionClass
|
2019-05-31 09:43:46 -04:00 |
|
Matthew Brown
|
962d8f30a1
|
Fix #710 - treat keyed intersections of iterators properly
|
2019-05-29 19:58:54 -04:00 |
|
Brown
|
7df88197ef
|
Fix #762 - support key-of and value-of types
|
2019-05-28 10:44:04 -04:00 |
|
Matthew Brown
|
a001616753
|
Remove object-like array under falsy assertion when it contains a sure key
|
2019-05-28 00:32:27 -04:00 |
|
Matthew Brown
|
97f4cdb7f5
|
Fix #1686 - intersect object and named class properly
|
2019-05-26 13:11:43 -04:00 |
|
Matthew Brown
|
3e2b7163ca
|
Fix #1674 - treat intersections more equally regardless of order
|
2019-05-24 12:48:37 -04:00 |
|
Matthew Brown
|
c80f9d8ecd
|
Add class-based support for key-of
Ref #762
|
2019-05-24 02:12:58 -04:00 |
|
Matthew Brown
|
a18a564ad9
|
Add parser support for key-of and indexed access
|
2019-05-23 23:52:48 -04:00 |
|
Brown
|
4ecf370900
|
Coerce mixed values when passed as arguments
|
2019-05-21 11:51:41 -04:00 |
|
Matthew Brown
|
a1eb191f57
|
Remove TSqlSelectString and related dependency
|
2019-05-20 23:14:41 -04:00 |
|
Brown
|
0bd4dbcbc4
|
Bump to PHP 7.1
Fixes #1650
|
2019-05-16 18:36:36 -04:00 |
|
Brown
|
d1f4622a80
|
Fix #1542 - disable SQL parsing by default
|
2019-04-22 10:01:25 -04:00 |
|
Brown
|
7f8b47c5cf
|
Fix buggy behaviour around callable tests
|
2019-04-09 18:09:57 -04:00 |
|
Brown
|
b9ba24929d
|
Refactor storage of template names to prevent clashes
|
2019-03-22 15:59:10 -04:00 |
|
Matthew Brown
|
3704e75049
|
Catch sql parsing exceptions
|
2019-03-14 10:23:26 -04:00 |
|
Brown
|
85f34f2aca
|
Add defining class and increas string length
|
2019-03-12 12:58:04 -04:00 |
|
Brown
|
5beb26659e
|
Add special type for SQL select strings for plugins to consume
|
2019-03-07 14:56:18 -05:00 |
|
bugreportuser
|
65102b8088
|
Fix non-empty-array @param in namespace (#1416)
|
2019-03-02 08:35:50 -05:00 |
|
Matthew Brown
|
6af222f36a
|
Fix #1393 - support analysing non-empty-array calls
|
2019-02-27 09:08:27 -05:00 |
|
Matthew Brown
|
1c8a573b5f
|
Change TGenericParam to TTemplateParam
|
2019-02-21 21:40:06 -05:00 |
|
Brown
|
00b225beda
|
Strip $ in token
|
2019-02-21 16:13:31 -05:00 |
|
Brown
|
0b7d4e4aad
|
Add slightly hacky support for param names in callables
|
2019-02-21 16:00:18 -05:00 |
|
Matthew Brown
|
3497ad4765
|
Allow namespaced use of optional callable params
|
2019-02-11 08:41:48 -05:00 |
|
Matthew Brown
|
0bca8db561
|
Don’t throw exception when property is missing type
|
2019-02-07 18:10:32 -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
|
6d5c995458
|
Fix #1282 - allow generic self and static
|
2019-02-05 08:02:06 -05:00 |
|
Tyson Andre
|
53756e7017
|
Remove redundant catching and rethrowing
I assume these used to have additional logging,
but they're no-ops.
|
2019-01-31 21:18:00 -05:00 |
|
Brown
|
0bb5143efd
|
Fix #1254 - merge literal and class-strings types into string
|
2019-01-29 10:34:31 -05:00 |
|
Matthew Brown
|
89999fd554
|
Add suppport for float enums
Fixes #1099
|
2019-01-27 18:34:13 -05:00 |
|
Matthew Brown
|
22ee72808a
|
Remove a bunch of hacks around generic offsets
Also fixes #1245
|
2019-01-26 16:58:49 -05:00 |
|
Matthew Brown
|
8bc17e47be
|
Fix #1227 - allow genric params in @psalm-assert
|
2019-01-22 23:42:54 -05:00 |
|
Matthew Brown
|
394d6509c6
|
Restrict class-string types to named objects (and intersections)
|
2019-01-19 22:46:06 -05:00 |
|
Matthew Brown
|
4ec7903e8b
|
Fix #390 - add support for object{foo:int, bar:string} annotation
|
2019-01-18 00:56:24 -05:00 |
|
Matthew Brown
|
1de0e35545
|
Add checks for Psalm reserved words in assertions
|
2019-01-13 14:06:30 -05:00 |
|
Matthew Brown
|
9ef1ce1535
|
Make @template-extends more robust
|
2019-01-12 18:18:23 -05:00 |
|
Brown
|
3533339884
|
Remove nullable arg
|
2019-01-10 13:07:22 -05:00 |
|
Brown
|
b8d822cd26
|
Prohibit leaking of template params across class boundaries
|
2019-01-10 12:13:49 -05:00 |
|
Brown
|
f3133aac84
|
Prevent more crashes
|
2019-01-08 14:50:45 -05:00 |
|
Matthew Brown
|
6f1d56a80f
|
Upcast iterables to traversables when used in a templated class string
|
2019-01-05 10:32:39 -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 |
|
Matthew Brown
|
87052537cf
|
Fix #1167 - don’t worry about AbstractInstantiation when it could be a descendant
|
2019-01-04 12:28:00 -05:00 |
|
Brown
|
6a744c0f07
|
Add no-returns et al to list of psalm-reserved words
|
2019-01-02 17:26:05 -05:00 |
|
Brown
|
c39446330e
|
Make class-string rules more strict
|
2019-01-02 14:24:45 -05:00 |
|
Matthew Brown
|
c4d024a72d
|
Check variable static calls
Fixes #1142 and #1160
|
2019-01-02 09:00:45 -05:00 |
|
Matthew Brown
|
3024ea1ef1
|
Improve handling of class constants in types
|
2018-12-22 12:12:35 -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 |
|