Yannick Gottschalk
|
5a2f7c0a71
|
Use getParts() instead of $parts on PhpParser\Node\Name.
also use getFirst(), getLast() and getString()
|
2023-06-28 03:13:25 +02:00 |
|
andrew
|
a18eb447e0
|
Test match on class const fetch
|
2023-05-04 17:21:50 +03:00 |
|
klimick
|
ac8d489413
|
Fix ParadoxicalCondition with complex match expression
|
2023-05-04 11:58:39 +03:00 |
|
tuqqu
|
ed2285f50a
|
Flatten match arm conditions to check conditions independently
|
2023-04-13 01:30:14 +02:00 |
|
Javier Sanahuja
|
aee3665014
|
Fixes
|
2023-02-22 23:55:27 +01:00 |
|
Jack Worman
|
1c19260cdd
|
Require trailing commas
|
2022-12-18 13:20:31 -06:00 |
|
AndrolGenhald
|
ba6270c06a
|
Fix type reconciliation breaking Context::$references_in_scope (fixes #8289).
|
2022-07-21 14:27:21 -05:00 |
|
Aleksandr Zhuravlev
|
b4fdc3e326
|
Made most of callbacks static. Reworked some array_map() into foreach()
|
2022-04-09 21:58:26 +12:00 |
|
orklah
|
97a6abd823
|
don't anonymize call to count to allow assertions on count to be retrieved
|
2022-02-13 22:38:38 +01:00 |
|
Matthew Brown
|
3a298d028e
|
Rename getArrayVarId to getExtendedVarId
|
2022-02-04 12:49:12 -05:00 |
|
AndrolGenhald
|
57b99be519
|
Improve reference support for assertions, array offsets, and properties.
|
2022-01-26 12:55:47 -06:00 |
|
Bruce Weirdan
|
8726065d21
|
Applied ClosureToArrowFunctionRector
|
2022-01-06 00:48:04 +02:00 |
|
Bruce Weirdan
|
b924032850
|
Mark internal classes @internal
|
2022-01-03 09:33:22 +02:00 |
|
rarila
|
97e6511fab
|
Set number of lines before and after namespace.
|
2021-12-15 04:58:32 +01:00 |
|
ralila
|
e32af3c05a
|
Conversion of Psalm\Type\Atomic
|
2021-12-14 02:26:28 +01:00 |
|
rarila
|
39402c233d
|
Return type hints (#7065)
Co-authored-by: ralila <>
|
2021-12-05 19:51:26 +02:00 |
|
ralila
|
30a65685a2
|
Import instead of using fqn classes
|
2021-12-03 21:40:18 +01:00 |
|
ralila
|
2a956498bf
|
Import instead of using fqn functions
|
2021-12-03 21:07:25 +01:00 |
|
ralila
|
245920e53c
|
Import instead of using fqn
|
2021-12-03 20:11:20 +01:00 |
|
Matthew Brown
|
175ba83332
|
Migrate most IssueBuffer::accepts calls to IssueBuffer::maybeAdd (#7020)
|
2021-11-29 14:54:17 -05:00 |
|
|
ee8c5c9c35
|
Remove some array_values
|
2021-11-26 21:47:17 +01:00 |
|
orklah
|
ae193ca4da
|
replace elvis operator by coalesce operator when applicable
|
2021-10-13 20:16:06 +02:00 |
|
orklah
|
870ee4ff93
|
->args to ->getArgs
|
2021-10-09 23:37:04 +02:00 |
|
Bruce Weirdan
|
6abce3525a
|
Enforce use sort (#5900)
|
2021-06-07 22:55:21 -04:00 |
|
Matthew Brown
|
832a190dd4
|
Support enums (#5699)
* Add initial enum preparation
* Support cases method
* Ignore bad use error
cc @weirdan
* Fix type
|
2021-05-03 17:54:09 -04:00 |
|
orklah
|
5191dac3fa
|
Introduce Virtual Nodes in order to differentiate real nodes in plugins (#5222)
|
2021-02-15 16:18:41 -05:00 |
|
Matt Brown
|
086237aab7
|
Fix #4544 - improve handling of get_class in match
|
2020-11-13 11:55:42 -05:00 |
|
Matt Brown
|
e97a9c86eb
|
Fix #4517 - track type contradiction issues in match expressions
|
2020-11-09 10:00:53 -05:00 |
|
Matt Brown
|
683546e024
|
Fix #4519 - prevent crash with empty match
|
2020-11-09 08:36:59 -05:00 |
|
Matt Brown
|
b35db3e523
|
Reorganise things a little
|
2020-11-03 16:15:54 -05:00 |
|
orklah
|
37a2f8a33d
|
unused use statements (#4228)
|
2020-09-22 01:10:46 -04:00 |
|
orklah
|
f66d57f19d
|
add native return types (#4116)
* add native return types
* remove redundant phpdoc
|
2020-09-04 16:26:33 -04:00 |
|
Brown
|
4f578b42b8
|
Fix exhaustiveness checks for const value
|
2020-08-31 23:23:24 -04:00 |
|
Brown
|
ab063e80d7
|
Keep going
|
2020-08-31 23:11:16 -04:00 |
|
Brown
|
3cdb13f7ab
|
Fix issues
|
2020-08-31 23:03:36 -04:00 |
|
Brown
|
940459787a
|
Catch unmatched matches
|
2020-08-31 22:59:47 -04:00 |
|
Brown
|
940b673a36
|
Fix fns
|
2020-08-30 18:29:28 -04:00 |
|
Brown
|
2cbe89d55a
|
Fix Psalm errors
|
2020-08-30 16:30:43 -04:00 |
|
Brown
|
5c043b0d41
|
Ignore redundant conditions inside match potentially in perpetuity?
|
2020-08-30 16:23:53 -04:00 |
|
Brown
|
54a781ad28
|
Support match expressions and throw expressions
|
2020-08-30 16:08:22 -04:00 |
|