1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-04 02:27:59 +01:00
Commit Graph

12223 Commits

Author SHA1 Message Date
3ce782f0f1 Fixes 2022-12-02 21:14:02 +01:00
78d64e3604 Fix 2022-12-02 21:07:17 +01:00
55edadcb65 Merge remote-tracking branch 'origin/master' into tnon_empty_list_refactoring 2022-12-02 21:03:47 +01:00
23b0ac012a Hack 2022-12-02 21:03:39 +01:00
abe722d577 Fix array_key_exists with constants 2022-12-02 20:50:37 +01:00
c4c30160ab Fix 2022-12-02 20:47:45 +01:00
4a77e8344d Fix 2022-12-02 20:42:29 +01:00
709324bf86 Fixes 2022-12-02 20:25:29 +01:00
c05ce2d622 Fixes 2022-12-02 19:05:31 +01:00
5f291af229 Fixes 2022-12-02 19:02:53 +01:00
59ab73fa91 Fixes 2022-12-02 18:28:43 +01:00
c80221344b Fixes 2022-12-02 18:22:33 +01:00
d4df856124 Cleanup 2022-12-02 18:18:26 +01:00
8f2a8c0746 Fixes 2022-12-02 18:13:59 +01:00
550a7aabad Fixes 2022-12-02 18:03:59 +01:00
c894b893df Fixes 2022-12-02 17:53:20 +01:00
4847165254 Fixes 2022-12-02 17:51:49 +01:00
f015c50dec Fixes 2022-12-02 17:46:25 +01:00
e628c7b9fc Fixes 2022-12-02 17:31:16 +01:00
b07aba9f47 Fix 2022-12-02 15:32:58 +01:00
a5df5660d4 Fixes 2022-12-02 15:16:00 +01:00
c96a44d245 Revert 2022-12-02 14:49:03 +01:00
dead1be566 Fix 2022-12-02 14:34:59 +01:00
8aecadda83 Fixes 2022-12-02 14:03:51 +01:00
a0bf4cf371 Fixes 2022-12-02 13:58:15 +01:00
096b39022a Cleanup 2022-12-02 13:46:35 +01:00
b8ffb3163c Possible fix 2022-12-02 13:36:05 +01:00
7e571f4df1 Fixes 2022-12-02 13:00:50 +01:00
4bf708717b Fixes 2022-12-02 12:53:03 +01:00
54600ca967 Fixup 2022-12-02 12:40:32 +01:00
f89a3c9665 Fix 2022-12-02 12:23:28 +01:00
e50b351512 Cleanup 2022-12-02 12:22:16 +01:00
Bruce Weirdan
4defa177c8
Merge pull request #8774 from bdsl/report-by-issue-type-severity 2022-12-01 21:23:35 -04:00
Barney Laurance
1dbdf7882c Code style fix 2022-12-02 00:40:01 +00:00
Barney Laurance
ad57727593 Sort issue by position in codebase in ByIssueLevelAndTypeReport if level & type equal
PHP sorting only became stable in 8.0. For previous versions we would
still like duplicate issues to be sorted into a logical order.
2022-12-02 00:27:51 +00:00
Barney Laurance
a29f65ecfe Fix too lax function visibility in test 2022-12-02 00:24:44 +00:00
Barney Laurance
6693421379 Code style fix 2022-12-02 00:24:05 +00:00
Barney Laurance
54239838fe Fix error in ByIssueLvelAndTypeReport heading 2022-12-02 00:17:27 +00:00
Barney Laurance
699ee344d4 Indent heredoc in test 2022-12-02 00:14:43 +00:00
Barney Laurance
d6c7c86362 Remove unecassary subheadings in error levels documentation 2022-12-02 00:07:37 +00:00
Barney Laurance
cd18cdc554 Re-order list of errors in docs
I think it makes more sense to have the errors that almost always appear
(level 7 errors) next to the errors that always appear, instead of
the level 1, least likely to appear errors being next to the ones that
always appear.

This also makes the order more similar to that output by the new
--by-issue-level format report.

Some time it might be nice to see if there's a way to auto generate most
of this docs page from the actual issue class definitions, or have
a test that checks the list of issues for each level is accurate and
complete.
2022-12-02 00:04:43 +00:00
Barney Laurance
9e63bf6a4d Minor code edits in ByIssueLevelAndType 2022-12-02 00:04:43 +00:00
Bruce Weirdan
c1d2e5618a
Set vimeo/psalm version explicitly 2022-12-01 19:59:51 -04:00
Barney Laurance
3f5616672a Add test for ByIsueLevelAndTypeReport 2022-12-01 23:27:53 +00:00
Barney Laurance
386aa27f4c Improve issue level and type report 2022-12-01 23:00:48 +00:00
Barney Laurance
3bc3f1c273 Fix report name: Issue level, not issue severity 2022-12-01 22:11:29 +00:00
Barney Laurance
4fde49313e Fix implicit constant visibility 2022-12-01 22:05:27 +00:00
Barney Laurance
aea1c5603d Reduce function visibility
Co-authored-by: Bruce Weirdan <weirdan@gmail.com>
2022-12-01 22:03:19 +00:00
Barney Laurance
32881a3c65 Add comments 2022-12-01 22:02:09 +00:00
Barney Laurance
6bde0d3a68 Delete unused code 2022-12-01 22:02:08 +00:00