sji
|
1a3bba3e91
|
Reduce memory consumption of caching and parallel processing without igbinary
|
2024-01-09 06:42:49 +09:00 |
|
Andrew Nagy
|
5eed370fa5
|
fix outstanding CI issues
|
2023-03-02 18:02:23 +00:00 |
|
Jack Worman
|
1c19260cdd
|
Require trailing commas
|
2022-12-18 13:20:31 -06:00 |
|
Jack Worman
|
a52f35e5e1
|
Even more property typehints
|
2022-12-16 13:24:21 -06:00 |
|
Jack Worman
|
dd0d8300b1
|
Use rector to add property typehints
|
2022-12-11 17:25:23 -06: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 |
|
|
d0be59e16e
|
Immutable unions (#8627)
* 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
* Update
|
2022-11-04 19:04:23 +01:00 |
|
kkmuffme
|
cb78f54d8a
|
Performance: cut the selected_text from snippet
instead of from full text
50% faster than cutting from full text, improves performance up to 3% depending on file length and number of errors in file
|
2022-06-04 15:53:02 +02:00 |
|
rarila
|
97e6511fab
|
Set number of lines before and after namespace.
|
2021-12-15 04:58:32 +01:00 |
|
ralila
|
19b2a64ce8
|
Conversion of Psalm\Internal\Analyzer\**\*Analyzer
|
2021-12-14 02:31:26 +01:00 |
|
AndrolGenhald
|
bfe7f96b56
|
Allow suppressing UnusedPsalmSuppress, remove unused suppressions.
|
2021-12-11 13:23:00 -06: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
|
98b0b052ce
|
Remove some now superfluous casts
|
2021-11-30 05:08:56 +01:00 |
|
orklah
|
fdd20b8698
|
fix Uncaught ValueError: strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) in /var/www/html/vendor/vimeo/psalm/src/Psalm/CodeLocation.php:301
|
2021-10-21 21:27:38 +02:00 |
|
Semyon
|
0f6acacf31
|
Make psalm- prefix optional on @psalm-method annotation
|
2021-10-14 17:07:00 +03:00 |
|
Semyon
|
531aafc0c6
|
Add one more check is anything captured, it doesn't look like -1 actually expects
|
2021-10-13 18:06:10 +03:00 |
|
Semyon
|
a109d1ab27
|
Code style
|
2021-10-13 17:49:42 +03:00 |
|
Semyon
|
89f72dd9e9
|
Add check is anything captured
|
2021-10-13 17:32:40 +03:00 |
|
Semyon
|
a8d34c00cd
|
Fix psalm-method annotation parsing
|
2021-10-13 17:20:36 +03:00 |
|
Bruce Weirdan
|
6abce3525a
|
Enforce use sort (#5900)
|
2021-06-07 22:55:21 -04:00 |
|
Matt Brown
|
4f9067f5c8
|
Fix unused properties in Psalm’s own codebase
|
2021-05-21 09:15:23 -04:00 |
|
|
404db2bb1a
|
Fix JSON reports with long UTF8 strings (#5300)
* Fix JSON reports with long UTF8 strings
* CS fix
* UTF8-safe snippets
|
2021-03-01 11:23:21 -05:00 |
|
Matt Brown
|
8ede667cad
|
Remove debugging error
|
2020-11-24 08:06:26 -05:00 |
|
Matt Brown
|
39c508f9d1
|
Fix #4603 - fix arithmetic to prevent end column 0
|
2020-11-18 13:19:54 -05:00 |
|
Matt Brown
|
f6591e6d0f
|
Use resolution that works in multithreaded mode
|
2020-11-17 17:24:46 -05:00 |
|
orklah
|
10f2966dcb
|
return types (#4311)
* return types
* remove willReturn for void methods
|
2020-10-12 15:02:52 -04:00 |
|
orklah
|
1a1b88bb5e
|
add visibilities to constants (#4219)
|
2020-09-20 12:54:46 -04:00 |
|
orklah
|
cb7065ae07
|
replace deprecated methods with their equivalent (#4217)
|
2020-09-20 08:56:49 -04:00 |
|
orklah
|
ead107fa9e
|
More return types (#4173)
* add native return types
* redundant phpdoc
|
2020-09-12 11:24:05 -04:00 |
|
orklah
|
8c7423505a
|
add native param types (#4137)
* add native param types
* redundant phpdoc
* add more param types and adds "?" to nullable types
* remove redundant phpdoc
* add more param types and remove redundant phpdoc
* add more param types and remove redundant phpdoc
|
2020-09-06 19:36:47 -04:00 |
|
orklah
|
f66d57f19d
|
add native return types (#4116)
* add native return types
* remove redundant phpdoc
|
2020-09-04 16:26:33 -04:00 |
|
Matthew Brown
|
e5c262d7dc
|
Add docblock_start and docblock_end properties to CodeLocation
|
2020-02-20 22:56:03 -05:00 |
|
Matthew Brown
|
5910a362ea
|
Improve report output of taint analysis
|
2019-10-19 17:59:10 -04:00 |
|
Brown
|
b75720c32b
|
Add more list types
|
2019-10-09 10:04:34 -04:00 |
|
Brown
|
0051636a99
|
Expose code location raw line number
|
2019-08-06 17:11:25 -04:00 |
|
Matthew Brown
|
b2c0993cdc
|
Add framework for taint analysis to Psalm
Ref #611
|
2019-08-04 10:37:36 -04:00 |
|
Matthew Brown
|
da42be175f
|
Apply PHPCS fixes
Fixes #1880
|
2019-07-05 16:27:53 -04:00 |
|
Matthew Brown
|
ca53019d6b
|
Simplify class completion lookup
Ref #1822
|
2019-06-29 21:32:26 -04:00 |
|
LeSuisse
|
f29826b958
|
Fully qualify constants and function calls (#1849)
This should give a small performance boost.
Part of #1837.
The change is enforced via phpcs and can be autofixed
with phpcbf.
|
2019-06-26 16:52:29 -04:00 |
|
Matthew Brown
|
136429dfd4
|
Fix location of @method docblocks for issues
|
2019-03-18 21:05:37 -04:00 |
|
Matthew Brown
|
c2e546facb
|
Fix #531
Well, it’s basically fixed already, but this adds @TysonAndre’s suggestions (and some of the relevant implementation from Phan)
|
2018-11-17 18:01:27 -05:00 |
|
Matthew Brown
|
4d79b61e93
|
Change _checker to _analyzer
|
2018-11-12 11:20:59 -05:00 |
|
Matthew Brown
|
4688b25fd9
|
Move internal classes to own namespace
|
2018-11-12 11:20:59 -05:00 |
|
Brown
|
5eca4a8b27
|
Properly escape slashes in issue text
|
2018-11-01 12:39:48 -04:00 |
|
Matthew Brown
|
890412b557
|
Add support back for parser errors
|
2018-09-30 11:34:51 -04:00 |
|
Matthew Brown
|
3670f066bb
|
Improve dead code detection
|
2018-06-16 20:01:41 -04:00 |
|
Matt Brown
|
549e90eca4
|
Treat required files the same as the files that require them, reporting-wise
|
2018-05-30 16:19:18 -04:00 |
|
Matthew Brown
|
17b27b31e8
|
Fix erroneous input/output lines
|
2018-03-29 10:26:26 -04:00 |
|