|
596ee11d0d
|
cs-fix
|
2023-10-21 20:48:06 +02:00 |
|
|
3b66272aa0
|
More rector fixes
|
2023-10-21 20:45:09 +02:00 |
|
Alies Lapatsin
|
67648ac248
|
Use new IssueBuffer constants
|
2023-05-31 13:00:16 +02:00 |
|
Alies Lapatsin
|
174cd5c0fe
|
Introduce and use IssueData constants for severity
they are not the same as Config::REPORT_* constants
|
2023-05-31 12:38:15 +02:00 |
|
Gregor Harlan
|
80e781315a
|
RedundantCast
|
2023-02-18 12:58:40 +01:00 |
|
Bruce Weirdan
|
1ab02125b0
|
Added issue type and psalm.dev link to Emacs report
Fixes vimeo/psalm#8331
|
2023-02-14 21:19:29 -04:00 |
|
Jack Worman
|
1c19260cdd
|
Require trailing commas
|
2022-12-18 13:20:31 -06:00 |
|
Jack Worman
|
9ce31a7709
|
Re-add short closure sniff
|
2022-12-16 17:02:10 -06:00 |
|
Jack Worman
|
a52f35e5e1
|
Even more property typehints
|
2022-12-16 13:24:21 -06:00 |
|
Jack Worman
|
69658e8315
|
SlevomatCodingStandard.Commenting.DocCommentSpacing
|
2022-12-14 13:34:41 -06:00 |
|
Bruce Weirdan
|
d0e335ab29
|
Replace unmaintained openlss/lib-array2xml with spatie/array-to-xml
Fixes vimeo/psalm#8852
|
2022-12-13 05:27:55 -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
|
54239838fe
|
Fix error in ByIssueLvelAndTypeReport heading
|
2022-12-02 00:17:27 +00:00 |
|
Barney Laurance
|
9e63bf6a4d
|
Minor code edits in ByIssueLevelAndType
|
2022-12-02 00:04:43 +00: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
|
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 |
|
Barney Laurance
|
b70d3e228e
|
WIP: Add new option --output-format=by-issue-severity to sort issues by level and type
|
2022-12-01 22:02:08 +00:00 |
|
Bruce Weirdan
|
874eb7d2ce
|
Fix crashes when XML report is used on PHP 8.1
Fixes vimeo/psalm#8321
|
2022-11-28 18:01:35 -04:00 |
|
Matthew Brown
|
8d36bdc3ed
|
Make array shapes strict by default (#8701)
* Make array shapes strict by default
* Fix PSL tests
|
2022-11-11 20:14:21 -05:00 |
|
|
1986c8b4a8
|
Add support for strict arrays, fix type alias intersection, fix array_is_list assertion on non-lists (#8395)
* Immutable CodeLocation
* Remove excess clones
* Remove external clones
* Remove leftover clones
* Fix final clone issue
* Immutable storages
* Refactoring
* Fixes
* Fixes
* Fix
* Fix
* Fixes
* Simplify
* Fixes
* Fix
* Fixes
* Update
* Fix
* Cache global types
* Fix
* Update
* Update
* Fixes
* Fixes
* Refactor
* Fixes
* Fix
* Fix
* More caching
* Fix
* Fix
* Update
* Update
* Fix
* Fixes
* Update
* Refactor
* Update
* Fixes
* Break one more test
* Fix
* FIx
* Fix
* Fix
* Fix
* Fix
* Improve performance and readability
* Equivalent logic
* Fixes
* Revert
* Revert "Revert"
This reverts commit f9175100c8452c80559234200663fd4c4f4dd889.
* Fix
* Fix reference bug
* Make default TypeVisitor immutable
* Bugfix
* Remove clones
* Partial refactoring
* Refactoring
* Fixes
* Fix
* Fixes
* Fixes
* cs-fix
* Fix final bugs
* Add test
* Misc fixes
* Update
* Fixes
* Experiment with removing different property
* revert "Experiment with removing different property"
This reverts commit ac1156e077fc4ea633530d51096d27b6e88bfdf9.
* Uniform naming
* Uniform naming
* Hack hotfix
* Clean up $_FILES ref #8621
* Undo hack, try fixing properly
* Helper method
* Remove redundant call
* Partially fix bugs
* Cleanup
* Change defaults
* Fix bug
* Fix (?, hope this doesn't break anything else)
* cs-fix
* Review fixes
* Bugfix
* Bugfix
* Improve logic
* Add support for list{} and callable-list{} types, properly implement array_is_list assertions (fixes #8389)
* Default to sealed arrays
* Fix array_merge bug
* Fixes
* Fix
* Sealed type checks
* Properly infer properties-of and get_object_vars on final classes
* Fix array_map zipping
* Fix tests
* Fixes
* Fixes
* Fix more stuff
* Recursively resolve type aliases
* Fix typo
* Fixes
* Fix array_is_list assertion on keyed array
* Add BC docs
* Fixes
* fix
* Update
* Update
* Update
* Update
* Seal arrays with count assertions
* Fix #8528
* Fix
* Update
* Improve sealed array foreach logic
* get_object_vars on template properties
* Fix sealed array assertion reconciler logic
* Improved reconciler
* Add tests
* Single source of truth for test types
* Fix tests
* Fixup tests
* Fixup tests
* Fixup tests
* Update
* Fix tests
* Fix tests
* Final fixes
* Fixes
* Use list syntax only when needed
* Fix tests
* Cs-fix
* Update docs
* Update docs
* Update docs
* Update docs
* Update docs
* Document missing types
* Update docs
* Improve class-string-map docs
* Update
* Update
* I love working on psalm :)
* Keep arrays unsealed by default
* Fixup tests
* Fix syntax mistake
* cs-fix
* Fix typo
* Re-import missing types
* Keep strict types only in return types
* argc/argv fixes
* argc/argv fixes
* Fix test
* Comment-out valinor code, pinging @romm pls merge https://github.com/CuyZ/Valinor/pull/246 so we can add valinor to the psalm docs :)
|
2022-11-05 22:34:42 +01:00 |
|
|
748a74bb2c
|
Merge remote-tracking branch 'origin/4.x' into HEAD
|
2022-10-16 13:41:27 +02:00 |
|
Jack Worman
|
3b76ac85dc
|
Count Report Format
|
2022-07-10 17:50:50 -05:00 |
|
Aleksandr Zhuravlev
|
b4fdc3e326
|
Made most of callbacks static. Reworked some array_map() into foreach()
|
2022-04-09 21:58:26 +12:00 |
|
Bruce Weirdan
|
3e837cabd0
|
Finalize (and internalize) more classes
|
2022-02-05 23:51:03 +02:00 |
|
Bruce Weirdan
|
638a10dd39
|
Restore return docblock
|
2022-01-06 01:58:52 +02:00 |
|
Bruce Weirdan
|
8726065d21
|
Applied ClosureToArrowFunctionRector
|
2022-01-06 00:48:04 +02:00 |
|
rarila
|
97e6511fab
|
Set number of lines before and after namespace.
|
2021-12-15 04:58:32 +01:00 |
|
rarila
|
39402c233d
|
Return type hints (#7065)
Co-authored-by: ralila <>
|
2021-12-05 19:51:26 +02:00 |
|
Bruce Weirdan
|
e9d9481ea6
|
Merge pull request #7060 from rarila/codingstyle-convert-fqn
|
2021-12-05 02:46:03 +02:00 |
|
Bruce Weirdan
|
14dcbc908a
|
Don't output console links in CI env (#7049)
|
2021-12-04 19:49:24 +02: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 |
|
Bruce Weirdan
|
99d3d5e811
|
Escape GHA output
Refs Roave/BackwardCompatibilityCheck#342
Thanks @staabm for highlighting this issue.
|
2021-11-29 04:47:47 +02:00 |
|
Bruce Weirdan
|
ec1571d261
|
Adjust link test to account for colors
|
2021-11-28 01:14:03 +02:00 |
|
Andrey Savchenko
|
03ae329837
|
Colorized file name and line in console output
Fixes #4129
|
2021-11-28 01:06:21 +02:00 |
|
Bruce Weirdan
|
4cab21d903
|
Use snake_case property name
|
2021-11-14 22:55:12 +02:00 |
|
Bruce Weirdan
|
bc604a36c1
|
Do not output links with --monochrome flag on
|
2021-11-14 22:50:08 +02:00 |
|
Gregor Harlan
|
ab0049d0ff
|
ConsoleReport: Add links to open file in editor
|
2021-11-07 15:04:14 +01:00 |
|
Bruce Weirdan
|
6610a2f918
|
Improve Github Actions output
* Use issue type in title
* Also provide issue type and location in the (use-visible) error message
Fixes vimeo/psalm#6817
|
2021-11-04 03:03:25 +02:00 |
|
orklah
|
46801c4b98
|
clearer string operations
|
2021-09-26 23:34:31 +02:00 |
|
orklah
|
a5aa824258
|
unnecessary local variable
|
2021-09-26 22:37:17 +02:00 |
|
orklah
|
97e91e6bf0
|
code trimming
|
2021-09-25 02:34:21 +02:00 |
|
Bruce Weirdan
|
abf557da44
|
Encode XML output consistently
This fixes test failures when running on PHP 8.1, due to changed
`htmlspecialchars()` defaults
|
2021-09-05 20:06:59 +03:00 |
|
Bruce Weirdan
|
b149097086
|
Replace array cast with get_object_vars() which Psalm understands
|
2021-07-20 23:26:15 +03:00 |
|
Nathan Dench
|
39555a2df8
|
add type signature in XmlReport
|
2021-07-20 21:54:44 +10:00 |
|