Update dependency vimeo/psalm to v6.13.1
This MR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| vimeo/psalm |
6.6.2 -> 6.13.1
|
Release Notes
vimeo/psalm (vimeo/psalm)
v6.13.1
What's Changed
Fixes
- Add windows support to psalm-review by @HenkPoley in https://github.com/vimeo/psalm/pull/11528
Full Changelog: https://github.com/vimeo/psalm/compare/6.13.0...6.13.1
v6.13.0
What's Changed
Features
-
✨ Full support for iterables foriterator_to_arrayby @andrew-demb in https://github.com/vimeo/psalm/pull/11430 - Add an
arrayCacheconfiguration key that can be used to disable the newly introduced array cache: this will slightly slow down execution times while reducing RAM usage, avoiding OOM issues on bigger codebases by @danog
Full Changelog: https://github.com/vimeo/psalm/compare/6.12.1...6.13.0
v6.12.1
What's Changed
Fixes
- Fix false negatives with mixed in templated value-of/key-of by @danog in https://github.com/vimeo/psalm/pull/11499
- Avoid tainting problems with first-class callables by @danog
Full Changelog: https://github.com/vimeo/psalm/compare/6.12.0...6.12.1
v6.12.0: - Cache refactoring
This release features a major cache refactoring, improving stability, removing race conditions and adding a new feature called cache consolidation, which consolidates the cache, normally composed of split files, into one single file with the --consolidate-cache flag, for quicker runs when doing whole project scans!
To use cache consolidation, simply run Psalm with the --consolidate-cache flag after running a normal analysis: running with this flag will skip analysis and only consolidate the cache.
If you consolidate your cache in CI runs, sure to re-consolidate the cache again after running Psalm before re-saving the updated cache.
What's Changed
Features
- Implement cache consolidation with --consolidate-cache flag by @danog in https://github.com/vimeo/psalm/pull/11450
- Cache refactoring by @danog in https://github.com/vimeo/psalm/pull/11415
- Add ignoreIncludeSideEffects configuration key by @danog in https://github.com/vimeo/psalm/pull/11451
Fixes
- Fix crash on numeric annotation by @VincentLanglet in https://github.com/vimeo/psalm/pull/11445
- Disable diffing if not in diff run by @danog in https://github.com/vimeo/psalm/pull/11447
- Update stubs for ext-mongodb 2.0 by @alcaeus in https://github.com/vimeo/psalm/pull/11453
- Update stubs for ext-mongodb 2.1 by @alcaeus in https://github.com/vimeo/psalm/pull/11454
Docs
- [Doc] Clarify union vs. intersection for
numericsupertype by @kylekatarnls in https://github.com/vimeo/psalm/pull/11444
New Contributors
- @kylekatarnls made their first contribution in https://github.com/vimeo/psalm/pull/11444
Full Changelog: https://github.com/vimeo/psalm/compare/6.11.0...6.12.0
v6.11.0
What's Changed
Features
- Add new
ClassFilePathProviderInterfaceplugin hook to polyfill custom autoloaders by @danog in https://github.com/vimeo/psalm/pull/11422
Fixes
- Small analysis bugfix by @danog
Subscribe to the brand new Psalm newsletter to stay up to date with all of Psalm's news!
Full Changelog: https://github.com/vimeo/psalm/compare/6.10.3...6.11.0
v6.10.3
What's Changed
Fixes
Full Changelog: https://github.com/vimeo/psalm/compare/6.10.2...6.10.3
v6.10.2
What's Changed
Fixes
- InvalidNamedArgument "objectOrClass" for ReflectionClass constructor due to incorrect stub by @savinmikhail in https://github.com/vimeo/psalm/pull/11407
- DateTimeImmutable::setTimestamp rename argument to $timestamp by @savinmikhail in https://github.com/vimeo/psalm/pull/11409
- fix: alter of ClassMustBeFinal inserts final before attributes by @Tofandel in https://github.com/vimeo/psalm/pull/11390
- Add fix for PropertyHooks by @craig-mcmahon in https://github.com/vimeo/psalm/pull/11411
- Disable diff mode by @danog in https://github.com/vimeo/psalm/pull/11416
New Contributors
- @savinmikhail made their first contribution in https://github.com/vimeo/psalm/pull/11407
- @craig-mcmahon made their first contribution in https://github.com/vimeo/psalm/pull/11411
Full Changelog: https://github.com/vimeo/psalm/compare/6.10.1...6.10.2
v6.10.1
What's Changed
Fixes
- Deprecate reflection's setAccessible on 8.1+ by @danog in https://github.com/vimeo/psalm/pull/11401
- Better types for mb_substitute_character by @danog in https://github.com/vimeo/psalm/pull/11400
Full Changelog: https://github.com/vimeo/psalm/compare/6.10.0...6.10.1
v6.10.0
Join the new official Psalm news channel and the Psalm community!
The news channel will be used to share inside exclusive news about upcoming Psalm features (including property hook support, coming within the next few releases!), and the community group can be used to discuss and share the way you use Psalm!
What's Changed
Features
- Add rank to SARIF report by @danog in https://github.com/vimeo/psalm/pull/11383
- Add forceJit and noCache configuration keys by @danog in https://github.com/vimeo/psalm/pull/11380
Full Changelog: https://github.com/vimeo/psalm/compare/6.9.6...6.10.0
v6.9.6
Add git, ssh and composer to the docker image by @danog.
Full Changelog: https://github.com/vimeo/psalm/compare/6.9.5...6.9.6
v6.9.5
What's Changed
Fixes
- Fix some possible JIT crashes in official docker image by @danog
- Improve stub generation by @danog
- Merge multiple docblocks for statements by @robchett in https://github.com/vimeo/psalm/pull/11371
Full Changelog: https://github.com/vimeo/psalm/compare/6.9.4...6.9.5
v6.9.4
What's Changed
Fixes
- Backport #11364 to 6.x by @haas-dtv in https://github.com/vimeo/psalm/pull/11369
Full Changelog: https://github.com/vimeo/psalm/compare/6.9.3...6.9.4
v6.9.3
What's Changed
Fixes
- Hotfix #11363 by @danog in https://github.com/vimeo/psalm/pull/11366
Internal changes
- Bump docker image to PHP 8.4.5 by @danog in https://github.com/vimeo/psalm/pull/11367
Full Changelog: https://github.com/vimeo/psalm/compare/6.9.2...6.9.3
v6.9.2
Fixes multiplatform builds for the latest tag of the docker image ».
Full Changelog: https://github.com/vimeo/psalm/compare/6.9.1...6.9.2
v6.9.1
v6.9.0: - Docker image!
Psalm now has an official docker image!
It uses a custom build of PHP built from scratch, running Psalm +30% faster on average than normal PHP (+50% faster if comparing to PHP without opcache installed).
To use it, simply run:
docker run -v $PWD:/app --rm -it ghcr.io/danog/psalm:latest /composer/vendor/bin/psalm --no-cache
Issues due to missing extensions can be fixed by enabling them in psalm.xml and/or requiring them in composer.json, see here » for more info.
Extensions not stubbed by Psalm itself (and thus not available as a psalm config option) may be stubbed using traditional PHP stubs.
What's Changed
Features
- Add docker image by @danog in https://github.com/vimeo/psalm/pull/11307
Full Changelog: https://github.com/vimeo/psalm/compare/6.8.9...6.9.0
v6.8.9
What's Changed
Fixes
- Fix polyfill version range by @danog in https://github.com/vimeo/psalm/pull/11345
- Improve idn_to_* signatures for 8.4 by @danog in https://github.com/vimeo/psalm/pull/11351
- push original callable when creating callable-object in order to keep return type by @orklah in https://github.com/vimeo/psalm/pull/11354
Internal changes
- Small performance improvement by @danog in https://github.com/vimeo/psalm/pull/11348
Full Changelog: https://github.com/vimeo/psalm/compare/6.8.8...6.8.9
v6.8.8
What's Changed
Fixes
- Fix Could not locate trait statement errors by @danog in https://github.com/vimeo/psalm/pull/11341
Internal changes
- Improve debugging of PHP bugs by @danog in https://github.com/vimeo/psalm/pull/11339
Full Changelog: https://github.com/vimeo/psalm/compare/6.8.7...6.8.8
v6.8.7
What's Changed
Fixes
- Fix array_reverse type for
list{0: int, 1?: int}etc. by @MoonE in https://github.com/vimeo/psalm/pull/11150 - Improve closure template inference by @danog in https://github.com/vimeo/psalm/pull/11334
- Allow RoundingMode as param to round by @danog in https://github.com/vimeo/psalm/pull/11335
- Fix issues with array_any by @danog
Full Changelog: https://github.com/vimeo/psalm/compare/6.8.6...6.8.7
v6.8.6
What's Changed
Fixes
- Allow integer and string concatenation by @danog in https://github.com/vimeo/psalm/pull/11329
Full Changelog: https://github.com/vimeo/psalm/compare/6.8.5...6.8.6
v6.8.5
What's Changed
Fixes
- Fixes PHP Error: Undefined array key 1 by @tm1000 in https://github.com/vimeo/psalm/pull/11328
- Fix issue with plugins by
@danog
Full Changelog: https://github.com/vimeo/psalm/compare/6.8.4...6.8.5
v6.8.4
This release introduces fully reproducible builds (the composer.lock file is now added to phars).
Full Changelog: https://github.com/vimeo/psalm/compare/6.8.3...6.8.4
v6.8.3
What's Changed
Fixes
- Fix phar build by bumping box (the minimum supported PHP version for the phar is now PHP 8.2) by @danog in https://github.com/vimeo/psalm/pull/11324
Internal changes
- Reproducible builds (fixes #10446) by @danog in https://github.com/vimeo/psalm/pull/10566
Full Changelog: https://github.com/vimeo/psalm/compare/6.8.2...6.8.3
v6.8.2
What's Changed
Fixes
- Fix phar generation by @danog in https://github.com/vimeo/psalm/pull/11323
Full Changelog: https://github.com/vimeo/psalm/compare/6.8.1...6.8.2
v6.8.1
What's Changed
Internal changes
- Log PHP version earlier by @danog in https://github.com/vimeo/psalm/pull/11317
Full Changelog: https://github.com/vimeo/psalm/compare/6.8.0...6.8.1
v6.8.0
What's Changed
Features
- Add longScanWarning config by @danog in https://github.com/vimeo/psalm/pull/11302
- Preload all classes before forking (+5% performance) by @danog in https://github.com/vimeo/psalm/pull/11309
- Improve new array function types, add Deprecated attr support by @danog in https://github.com/vimeo/psalm/pull/11303
Fixes
- Die when PHP doc not found in update-property-map.php by @M393 in https://github.com/vimeo/psalm/pull/11136
- Do not throw exceptions on deprecation errors while autoloading deps by @danog in https://github.com/vimeo/psalm/pull/11313
- Fix ElseIfAnalyzer inconsistency and remove dead code by @theodorejb in https://github.com/vimeo/psalm/pull/10611
- Deduplicate loop analysis by @theodorejb in https://github.com/vimeo/psalm/pull/10782
- Add correct type to readline_completion_function by @danog in https://github.com/vimeo/psalm/pull/11316
- Add rdkafka to extension list in config.xsd by @danog in https://github.com/vimeo/psalm/pull/11314
New Contributors
- @M393 made their first contribution in https://github.com/vimeo/psalm/pull/11136
Full Changelog: https://github.com/vimeo/psalm/compare/6.7.1...6.8.0
v6.7.1
What's Changed
Internal changes
- Require jsonmapper v5 by @danog in https://github.com/vimeo/psalm/pull/11300
Full Changelog: https://github.com/vimeo/psalm/compare/6.7.0...6.7.1
v6.7.0
What's Changed
Features
- Add new
allowBoolToLiteralBoolComparisonconfig (disabled by default), used to control emission ofRedundantIdentityWithTrueissues (previously, their emission was controlled by thestrictBinaryOperandsconfig) by @danog in https://github.com/vimeo/psalm/pull/11283 - Enable missing
#[Override]attribute detection (automatic Psalter fixer available) by @danog in https://github.com/vimeo/psalm/pull/11283 - Enable strict binary operand comparison checks (useful for strict_types migration) by @danog in https://github.com/vimeo/psalm/pull/11283
- Seal all class properties and methods: this enforces exact description of all class magic (__get/__call...) methods and properties with
@methodor@property, see here for more info by @danog in https://github.com/vimeo/psalm/pull/11283 - Disable dangerous
@psalm-suppress allannotation (may be re-enabled manually with the disableSuppressAll config) by @danog in https://github.com/vimeo/psalm/pull/11283 - Types in lazy objects by @BenMorel in https://github.com/vimeo/psalm/pull/11296
Fixes
- Fix parameter name in SplObjectStorage by @kamil-tekiela in https://github.com/vimeo/psalm/pull/11134
- Fix empty compact report if baseline file is used by @andrey-tech in https://github.com/vimeo/psalm/pull/11111
Internal changes
- Expose Progress instance to plugins by @danog in https://github.com/vimeo/psalm/pull/11297
- Change PluginEntryPointInterface to take a PluginRegistrationSocket @danog in https://github.com/vimeo/psalm/pull/11298
New Contributors
- @andrey-tech made their first contribution in https://github.com/vimeo/psalm/pull/11111
Full Changelog: https://github.com/vimeo/psalm/compare/6.6.2...6.7.0
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.