Update dependency vimeo/psalm to v6.14.2
This MR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| vimeo/psalm |
6.6.2 -> 6.14.2
|
Release Notes
vimeo/psalm (vimeo/psalm)
v6.14.2
What's Changed
Fixes
Full Changelog: https://github.com/vimeo/psalm/compare/6.14.1...6.14.2
v6.14.1
What's Changed
Features
Full Changelog: https://github.com/vimeo/psalm/compare/6.14.0...6.14.1
v6.14.0
What's Changed
Features
- Add PHP 8.5 support by @MarjovanLier in #11604
- Add PHP 8.5 support by @danog
Internal changes
- Improve performance by avoiding repeated scanning of files included/required only once by @mmcev106 in #11478
Other changes
- feat(language server): add --on-open-debounce-ms by @kk-daniel in #11550
- fix(language server): fix --on-change-debounce-ms by @kk-daniel in #11549
- Replace deprecated __sleep method with __serialize by @theodorejb in #11563
- Fix the opcache status retrieval if restricted paths are set. by @dmvrtx in #11556
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in #11539
- fix: deprecations for PHP 8.5 by @jorgsowa in #11541
- ci: add nikic/php-parser deprecations to Psalm baseline by @jorgsowa in #11596
- fix: deprecated null offset by @jorgsowa in #11599
- Bump actions/checkout from 5 to 6 by @dependabot[bot] in #11593
New Contributors
- @dmvrtx made their first contribution in #11556
- @MarjovanLier made their first contribution in #11604
Full Changelog: https://github.com/vimeo/psalm/compare/6.13.1...6.14.0
v6.13.1
What's Changed
Fixes
- Add windows support to psalm-review by @HenkPoley in #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 #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 #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 #11450
- Cache refactoring by @danog in #11415
- Add ignoreIncludeSideEffects configuration key by @danog in #11451
Fixes
- Fix crash on numeric annotation by @VincentLanglet in #11445
- Disable diffing if not in diff run by @danog in #11447
- Update stubs for ext-mongodb 2.0 by @alcaeus in #11453
- Update stubs for ext-mongodb 2.1 by @alcaeus in #11454
Docs
- [Doc] Clarify union vs. intersection for
numericsupertype by @kylekatarnls in #11444
New Contributors
- @kylekatarnls made their first contribution in #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 #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 #11407
- DateTimeImmutable::setTimestamp rename argument to $timestamp by @savinmikhail in #11409
- fix: alter of ClassMustBeFinal inserts final before attributes by @Tofandel in #11390
- Add fix for PropertyHooks by @craig-mcmahon in #11411
- Disable diff mode by @danog in #11416
New Contributors
- @savinmikhail made their first contribution in #11407
- @craig-mcmahon made their first contribution in #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 #11401
- Better types for mb_substitute_character by @danog in #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 #11383
- Add forceJit and noCache configuration keys by @danog in #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 #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 #11369
Full Changelog: https://github.com/vimeo/psalm/compare/6.9.3...6.9.4
v6.9.3
What's Changed
Fixes
Internal changes
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
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 #11345
- Improve idn_to_* signatures for 8.4 by @danog in #11351
- push original callable when creating callable-object in order to keep return type by @orklah in #11354
Internal changes
Full Changelog: https://github.com/vimeo/psalm/compare/6.8.8...6.8.9
v6.8.8
What's Changed
Fixes
Internal changes
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 #11150 - Improve closure template inference by @danog in #11334
- Allow RoundingMode as param to round by @danog in #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
Full Changelog: https://github.com/vimeo/psalm/compare/6.8.5...6.8.6
v6.8.5
What's Changed
Fixes
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 #11324
Internal changes
Full Changelog: https://github.com/vimeo/psalm/compare/6.8.2...6.8.3
v6.8.2
What's Changed
Fixes
Full Changelog: https://github.com/vimeo/psalm/compare/6.8.1...6.8.2
v6.8.1
What's Changed
Internal changes
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 #11302
- Preload all classes before forking (+5% performance) by @danog in #11309
- Improve new array function types, add Deprecated attr support by @danog in #11303
Fixes
- Die when PHP doc not found in update-property-map.php by @M393 in #11136
- Do not throw exceptions on deprecation errors while autoloading deps by @danog in #11313
- Fix ElseIfAnalyzer inconsistency and remove dead code by @theodorejb in #10611
- Deduplicate loop analysis by @theodorejb in #10782
- Add correct type to readline_completion_function by @danog in #11316
- Add rdkafka to extension list in config.xsd by @danog in #11314
New Contributors
Full Changelog: https://github.com/vimeo/psalm/compare/6.7.1...6.8.0
v6.7.1
What's Changed
Internal changes
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 #11283 - Enable missing
#[Override]attribute detection (automatic Psalter fixer available) by @danog in #11283 - Enable strict binary operand comparison checks (useful for strict_types migration) by @danog in #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 #11283 - Disable dangerous
@psalm-suppress allannotation (may be re-enabled manually with the disableSuppressAll config) by @danog in #11283 - Types in lazy objects by @BenMorel in #11296
Fixes
- Fix parameter name in SplObjectStorage by @kamil-tekiela in #11134
- Fix empty compact report if baseline file is used by @andrey-tech in #11111
Internal changes
- Expose Progress instance to plugins by @danog in #11297
- Change PluginEntryPointInterface to take a PluginRegistrationSocket @danog in #11298
New Contributors
- @andrey-tech made their first contribution in #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.