rarila
|
97e6511fab
|
Set number of lines before and after namespace.
|
2021-12-15 04:58:32 +01:00 |
|
ralila
|
8fb2e0f885
|
Handle some partials
|
2021-12-04 21:55:53 +01:00 |
|
ralila
|
245920e53c
|
Import instead of using fqn
|
2021-12-03 20:11:20 +01:00 |
|
AndrolGenhald
|
d4590711d6
|
Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428)
* Fix object-like array keys (fixes #5427).
* Fix incorrect return types for tests.
* Fix false positive list with literal int key.
|
2021-03-19 21:44:44 -04:00 |
|
Matt Brown
|
2feba22a00
|
Make more try vars potentially undefined
Fixes #4764
|
2020-12-03 11:44:10 -05:00 |
|
Matt Brown
|
928fdda00f
|
Don’t do new isset conversion on try-set vars
|
2020-12-02 01:47:49 -05:00 |
|
Matt Brown
|
d3464cb22a
|
Fix #4418 - improve try analysis for mixed, too
|
2020-10-26 09:05:48 -04:00 |
|
Matt Brown
|
3803bbfce0
|
Fix #4368 - improve handling of try with finally
|
2020-10-20 09:07:10 -04:00 |
|
Matt Brown
|
1a6b684993
|
Fix #4366 - possibly-undefined vars in finally block should not error
|
2020-10-19 09:56:38 -04:00 |
|
Matt Brown
|
8d2e88ef41
|
Fix #4333 - don’t get tripped up on try with no catches
|
2020-10-15 10:15:55 -04:00 |
|
Matt Brown
|
1ae9a6127e
|
Fix #4315 - prevent crash when setting unknown property in finally
|
2020-10-13 08:32:26 -04:00 |
|
Brown
|
b501db6dd2
|
Skip currently-failing undefined variable test
|
2020-09-21 16:01:14 -04:00 |
|
Brown
|
3e0f449163
|
Detect more issues inside finally block
|
2020-09-21 15:16:19 -04:00 |
|
orklah
|
ead107fa9e
|
More return types (#4173)
* add native return types
* redundant phpdoc
|
2020-09-12 11:24:05 -04:00 |
|
Brown
|
b9ea115487
|
Support string class_alias calls with leading backslash
Fixes #3465
|
2020-05-27 08:14:47 -04:00 |
|
Brown
|
ef53ee3a3b
|
Fix crash on aliased exception
Ref #3465
|
2020-05-27 08:09:58 -04:00 |
|
Brown
|
da03902f76
|
Fix handling of do... while vars defined in try
|
2019-11-11 18:24:43 -05:00 |
|
Brown
|
f22266b2ff
|
Improve reasoning around try/catch possibly-undefined vars
|
2019-11-11 17:42:46 -05:00 |
|
Brown
|
d15989c975
|
Allow catch to assume no try statements completed
|
2019-11-11 15:17:53 -05:00 |
|
Matthew Brown
|
94d4b876ba
|
Fix #2177 - mark variables in try block as potentially undefined
|
2019-11-09 12:25:30 -05:00 |
|
Matthew Brown
|
820eba1151
|
Add test for null init
|
2019-07-07 14:01:33 -04:00 |
|
Matthew Brown
|
cd715a60fd
|
Fix #1909 - populate var scope if try always leaves
|
2019-07-07 13:52:43 -04:00 |
|
Matthew Brown
|
da42be175f
|
Apply PHPCS fixes
Fixes #1880
|
2019-07-05 16:27:53 -04:00 |
|
Matthew Brown
|
1c10ae11bf
|
Fix #1580 - look for no-returns in try/catch statements
|
2019-05-14 21:22:29 -04:00 |
|
bugreportuser
|
4550d362eb
|
Add new test file for exceptions in global scope
|
2019-03-31 14:22:19 -04:00 |
|
bugreportuser
|
47d8da6135
|
Add tests
|
2019-03-24 23:03:37 -04:00 |
|
Matthew Brown
|
c772914910
|
Add some formatting
|
2019-03-23 14:27:54 -04:00 |
|
Bruce Weirdan
|
9bdc9f774f
|
More provider typing
|
2019-03-02 08:43:19 -05:00 |
|
Matthew Brown
|
83e22a10f8
|
Fix #1299 - vars defined in catches before throw are possibly-defined for finally
|
2019-02-09 15:39:30 -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
|
0ac7d106a3
|
Fix #1221 - no TypeDoesNotContainType in catch or finally
|
2019-01-20 09:27:46 -05:00 |
|
Matthew Brown
|
9c9e57cf6b
|
Fix #1153 - ignore redundant conditions in finally block
|
2019-01-06 12:39:18 -05:00 |
|
Matthew Brown
|
4688b25fd9
|
Move internal classes to own namespace
|
2018-11-12 11:20:59 -05:00 |
|
Matthew Brown
|
a8a504c3b9
|
Fix #889 - allow variables defined in try to avoid isset issues
|
2018-07-13 14:06:01 -04:00 |
|
Matthew Brown
|
e419a8fe01
|
Exit early when there’s an issue in block-level elements
Fixes #550
|
2018-03-03 13:20:41 -05:00 |
|
Matthew Brown
|
1c34dbe289
|
Fix erroneous treatment of finally blocks after return in try
Fixes #473
|
2018-01-28 19:02:31 -05:00 |
|
Matt Brown
|
2120d258a4
|
Fix formatting of return type adder
|
2018-01-11 15:50:58 -05:00 |
|
Matt Brown
|
310f91ea81
|
Warn when methods with typehints don’t return for all codepaths
|
2018-01-02 16:57:40 -05:00 |
|
Matthew Brown
|
b8c349166e
|
Add InvalidCatch and InvalidThrow to prevent erroneous exceptions
Fix #411 and fix #412
|
2017-12-28 20:40:28 +01:00 |
|
Matthew Brown
|
dd0f046aee
|
Fix #410 - make sure anything inside a catch statement is treated as Throwable (#413)
|
2017-12-28 01:49:36 +01:00 |
|