Update dependency vimeo/psalm to v6 #8

Open
renovate-bot wants to merge 1 commit from renovate/vimeo-psalm-6.x into main
Collaborator

This PR contains the following updates:

Package Change Age Confidence
vimeo/psalm ^5.23^6.0 age confidence

⚠️ Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

vimeo/psalm (vimeo/psalm)

v6.16.1

Compare Source

What's Changed

Fixes

Full Changelog: https://github.com/vimeo/psalm/compare/6.16.0...6.16.1

v6.16.0

Compare Source

What's Changed

Features
Fixes
Internal changes

New Contributors

Full Changelog: https://github.com/vimeo/psalm/compare/6.15.1...6.16.0

v6.15.1

Compare Source

What's Changed

Internal changes

Full Changelog: https://github.com/vimeo/psalm/compare/6.15.0...6.15.1

v6.15.0

Compare Source

Note: GPG signatures for older releases will be regenerated shortly using the new 99BF4D9A33D65E1E key, since the old one expired.

What's Changed

Features
Fixes
Other changes

New Contributors

Full Changelog: https://github.com/vimeo/psalm/compare/6.14.3...6.15.0

v6.14.3

Compare Source

What's Changed

Fixes
Internal changes
Other changes

New Contributors

Full Changelog: https://github.com/vimeo/psalm/compare/6.14.2...6.14.3

v6.14.2

Compare Source

What's Changed

Fixes

Full Changelog: https://github.com/vimeo/psalm/compare/6.14.1...6.14.2

v6.14.1

Compare Source

What's Changed

Features

Full Changelog: https://github.com/vimeo/psalm/compare/6.14.0...6.14.1

v6.14.0

Compare Source

What's Changed

Features
Internal changes
  • Improve performance by avoiding repeated scanning of files included/required only once by @​mmcev106 in #​11478
Other changes

New Contributors

Full Changelog: https://github.com/vimeo/psalm/compare/6.13.1...6.14.0

v6.13.1

Compare Source

What's Changed

Fixes

Full Changelog: https://github.com/vimeo/psalm/compare/6.13.0...6.13.1

v6.13.0

Compare Source

What's Changed

Features
  • Full support for iterables for iterator_to_array by @​andrew-demb in #​11430
  • Add an arrayCache configuration 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

Compare Source

What's Changed

Fixes

Full Changelog: https://github.com/vimeo/psalm/compare/6.12.0...6.12.1

v6.12.0: - Cache refactoring

Compare Source

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
Fixes
Docs

New Contributors

Full Changelog: https://github.com/vimeo/psalm/compare/6.11.0...6.12.0

v6.11.0

Compare Source

What's Changed

Features
  • Add new ClassFilePathProviderInterface plugin hook to polyfill custom autoloaders by @​danog in #​11422
Fixes

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

Compare Source

What's Changed

Fixes

Full Changelog: https://github.com/vimeo/psalm/compare/6.10.2...6.10.3

v6.10.2

Compare Source

What's Changed

Fixes

New Contributors

Full Changelog: https://github.com/vimeo/psalm/compare/6.10.1...6.10.2

v6.10.1

Compare Source

What's Changed

Fixes

Full Changelog: https://github.com/vimeo/psalm/compare/6.10.0...6.10.1

v6.10.0

Compare Source

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

Full Changelog: https://github.com/vimeo/psalm/compare/6.9.6...6.10.0

v6.9.6

Compare Source

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

Compare Source

What's Changed

Fixes

Full Changelog: https://github.com/vimeo/psalm/compare/6.9.4...6.9.5

v6.9.4

Compare Source

What's Changed

Fixes

Full Changelog: https://github.com/vimeo/psalm/compare/6.9.3...6.9.4

v6.9.3

Compare Source

What's Changed

Fixes
Internal changes

Full Changelog: https://github.com/vimeo/psalm/compare/6.9.2...6.9.3

v6.9.2

Compare Source

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

Compare Source

v6.9.0: - Docker image!

Compare Source

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

Compare Source

What's Changed

Fixes
Internal changes

Full Changelog: https://github.com/vimeo/psalm/compare/6.8.8...6.8.9

v6.8.8

Compare Source

What's Changed

Fixes
Internal changes

Full Changelog: https://github.com/vimeo/psalm/compare/6.8.7...6.8.8

v6.8.7

Compare Source

What's Changed

Fixes

Full Changelog: https://github.com/vimeo/psalm/compare/6.8.6...6.8.7

v6.8.6

Compare Source

What's Changed

Fixes

Full Changelog: https://github.com/vimeo/psalm/compare/6.8.5...6.8.6

v6.8.5

Compare Source

What's Changed

Fixes
  • Fixes PHP Error: Undefined array key 1 by @​tm1000 in #​11328
  • Fix issue with plugins by @danog

Full Changelog: https://github.com/vimeo/psalm/compare/6.8.4...6.8.5

v6.8.4

Compare Source

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

Compare Source

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

Compare Source

What's Changed

Fixes

Full Changelog: https://github.com/vimeo/psalm/compare/6.8.1...6.8.2

v6.8.1

Compare Source

What's Changed

Internal changes

Full Changelog: https://github.com/vimeo/psalm/compare/6.8.0...6.8.1

v6.8.0

Compare Source

What's Changed

Features
Fixes

New Contributors

Full Changelog: https://github.com/vimeo/psalm/compare/6.7.1...6.8.0

v6.7.1

Compare Source

What's Changed

Internal changes

Full Changelog: https://github.com/vimeo/psalm/compare/6.7.0...6.7.1

v6.7.0

Compare Source

What's Changed

Features
  • Add new allowBoolToLiteralBoolComparison config (disabled by default), used to control emission of RedundantIdentityWithTrue issues (previously, their emission was controlled by the strictBinaryOperands config) 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 @method or @property, see here for more info by @​danog in #​11283
  • Disable dangerous @psalm-suppress all annotation (may be re-enabled manually with the disableSuppressAll config) by @​danog in #​11283
  • Types in lazy objects by @​BenMorel in #​11296
Fixes
Internal changes

New Contributors

Full Changelog: https://github.com/vimeo/psalm/compare/6.6.2...6.7.0

v6.6.2

Compare Source

What's Changed

Fixes

Full Changelog: https://github.com/vimeo/psalm/compare/6.6.1...6.6.2

v6.6.1

Compare Source

What's Changed

Fixes
Docs

Full Changelog: https://github.com/vimeo/psalm/compare/6.6.0...6.6.1

v6.6.0

Compare Source

What's Changed

Features
Fixes
Docs
Internal changes

Full Changelog: https://github.com/vimeo/psalm/compare/6.5.1...6.6.0

v6.5.1

Compare Source

What's Changed

Fixes
Internal changes

Full Changelog: https://github.com/vimeo/psalm/compare/6.5.0...6.5.1

v6.5.0

Compare Source

What's Changed

Features
  • The psalm.dev REPL now supports the disableVarParsing config by @​danog
  • Add allFunctionsGlobal and allConstantsGlobal options, useful for legacy codebases which do not use Composer to preload functions and constants by @​danog in #​11259
Fixes

Full Changelog: https://github.com/vimeo/psalm/compare/6.4.1...6.5.0

v6.4.1

Compare Source

What's Changed

Fixes
Internal changes

New Contributors

Full Changelog: https://github.com/vimeo/psalm/compare/6.4.0...6.5.0

v6.4.0

Compare Source

What's Changed

Features
Fixes

Full Changelog: https://github.com/vimeo/psalm/compare/6.3.0...6.4.0

v6.3.0

Compare Source

This release adds the new psalm-review tool!

What's Changed

Features
Fixes

Full Changelog: https://github.com/vimeo/psalm/compare/6.2.0...6.3.0

v6.2.0

Compare Source

This release was possible thanks to a Psalm support contract!

This release adds the new LiteralKeyUnshapedArray issue, controlled by the disallowLiteralKeysOnUnshapedArrays configuration flag (false by default), useful to enforce usage of shaped arrays instead of generic arrays.

What's Changed

Features
Fixes

Full Changelog: https://github.com/vimeo/psalm/compare/6.1.0...6.2.0

v6.1.0

Compare Source

This release was possible thanks to a Psalm support contract!

This release greatly improves multithreaded mode, fixing some nasty issues and greatly improving efficiency, thanks to efficient task scheduling powered by amphp/parallel (& some custom code to allow usage of copy-on-write optimizations with forks instead of spawning new processes).

This release also adds a runtime check to prevent Psalm from running on Linux systems where VM overcommitting is disabled: Psalm makes heavy use of VM overcommitting (specifically during forking in multithreaded mode) to greatly reduce RAM usage and improve performance.
Note that in the vast majority of Linux systems, VM overcommitting is already enabled by default.

What's Changed

Features
Fixes
Internal changes
Other changes

Full Changelog: https://github.com/vimeo/psalm/compare/6.0.0...6.1.0

v6.0.0: Psalm v6

Compare Source

This is the first release of Psalm v6!

Users are encouraged to switch to Psalm v6 right away, as v5 is not supported anymore.

Also announcing Psalm's new support model: you can support Psalm development by requesting a support contract from Daniil Gentili, the only active maintainer of Psalm.

Support contracts can cover full integration of Psalm into existing codebases, support for Psalm issues and development of additional Psalm features.

See here » for info, pricing and contact information.

Main highlights of Psalm v6:

  • PHP 8.4 support
  • Amp v3 support
  • PHP-Parser v5 support
  • Fully overhauled dictionaries, for much more accurate and always up to date signatures for PHP and extension functions and methods, and much simpler PHP version upgrades.
  • ignoreInternalFunctionFalseReturn and ignoreInternalFunctionNullReturn are now false by default: this means Psalm now warns when a false/null return type of a native function is not explicitly checked.
  • Modernization of the codebase for higher performance.
  • Many other bugfixes and performance improvements.

Plugin authors should consult the changelog for info about BC-breaking changes.

What's Changed

Features
Fixes
Docs
Internal changes
Typos
Other changes

New Contributors

Full Changelog: https://github.com/vimeo/psalm/compare/5.26.1...6.0.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [vimeo/psalm](https://github.com/vimeo/psalm) | `^5.23` → `^6.0` | ![age](https://developer.mend.io/api/mc/badges/age/packagist/vimeo%2fpsalm/6.16.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/vimeo%2fpsalm/5.26.1/6.16.1?slim=true) | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/5) for more information. --- ### Release Notes <details> <summary>vimeo/psalm (vimeo/psalm)</summary> ### [`v6.16.1`](https://github.com/vimeo/psalm/releases/tag/6.16.1) [Compare Source](https://github.com/vimeo/psalm/compare/6.16.0...6.16.1) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Fixes - Fix --show-snippet option silently consuming next CLI argument by [@&#8203;alies-dev](https://github.com/alies-dev) in [#&#8203;11684](https://github.com/vimeo/psalm/pull/11684) - Explicitly disable JIT by default by [@&#8203;danog](https://github.com/danog) in [#&#8203;11745](https://github.com/vimeo/psalm/pull/11745) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.16.0...6.16.1> ### [`v6.16.0`](https://github.com/vimeo/psalm/releases/tag/6.16.0) [Compare Source](https://github.com/vimeo/psalm/compare/6.15.1...6.16.0) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Features - Add stub for memcached by [@&#8203;ADmad](https://github.com/ADmad) in [#&#8203;11717](https://github.com/vimeo/psalm/pull/11717) ##### Fixes - Fix duplicate error for abstract methods in traits if the issue is due to the implementer by [@&#8203;kkmuffme](https://github.com/kkmuffme) in [#&#8203;11695](https://github.com/vimeo/psalm/pull/11695) - Report regular issue instead of throw/crash by [@&#8203;kkmuffme](https://github.com/kkmuffme) in [#&#8203;11693](https://github.com/vimeo/psalm/pull/11693) - Add PHP 8.5 (and 8.4) handling where it wasn't added yet by [@&#8203;kkmuffme](https://github.com/kkmuffme) in [#&#8203;11697](https://github.com/vimeo/psalm/pull/11697) - curl\_share\_init\_persistent requires non-empty array otherwise throws by [@&#8203;kkmuffme](https://github.com/kkmuffme) in [#&#8203;11701](https://github.com/vimeo/psalm/pull/11701) - Add max\_depth option to unserialize() callmap type by [@&#8203;eyupcanakman](https://github.com/eyupcanakman) in [#&#8203;11702](https://github.com/vimeo/psalm/pull/11702) - Fix false InvalidArgument for sprintf precision placeholders by [@&#8203;eyupcanakman](https://github.com/eyupcanakman) in [#&#8203;11729](https://github.com/vimeo/psalm/pull/11729) ##### Internal changes - Disable JIT by default, make it opt-in via --force-jit by [@&#8203;alies-dev](https://github.com/alies-dev) in [#&#8203;11682](https://github.com/vimeo/psalm/pull/11682) - Regenerate callmaps to include new ext-mongodb 2.2 API by [@&#8203;alcaeus](https://github.com/alcaeus) in [#&#8203;11720](https://github.com/vimeo/psalm/pull/11720) - Bump docker/setup-buildx-action from 3 to 4 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;11719](https://github.com/vimeo/psalm/pull/11719) #### New Contributors - [@&#8203;eyupcanakman](https://github.com/eyupcanakman) made their first contribution in [#&#8203;11702](https://github.com/vimeo/psalm/pull/11702) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.15.1...6.16.0> ### [`v6.15.1`](https://github.com/vimeo/psalm/releases/tag/6.15.1) [Compare Source](https://github.com/vimeo/psalm/compare/6.15.0...6.15.1) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Internal changes - Allow sebastian/diff 8 by [@&#8203;Jean85](https://github.com/Jean85) in [#&#8203;11667](https://github.com/vimeo/psalm/pull/11667) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.15.0...6.15.1> ### [`v6.15.0`](https://github.com/vimeo/psalm/releases/tag/6.15.0) [Compare Source](https://github.com/vimeo/psalm/compare/6.14.3...6.15.0) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> Note: GPG signatures for older releases will be regenerated shortly using the new `99BF4D9A33D65E1E` key, since the old one expired. #### What's Changed ##### Features - Support PHP 8.4 interface property hooks by [@&#8203;adamaveray](https://github.com/adamaveray) in [#&#8203;11569](https://github.com/vimeo/psalm/pull/11569) ##### Fixes - Improve performance of getIssueTrace by [@&#8203;danog](https://github.com/danog) in [#&#8203;11629](https://github.com/vimeo/psalm/pull/11629) - Minor property hook improvements by [@&#8203;danog](https://github.com/danog) in [#&#8203;11657](https://github.com/vimeo/psalm/pull/11657) - Fix GPG signing key by [@&#8203;danog](https://github.com/danog) in [#&#8203;11658](https://github.com/vimeo/psalm/pull/11658) ##### Other changes - Add a missing argument of PDO::sqliteCreateFunction(). by [@&#8203;sukei](https://github.com/sukei) in [#&#8203;11591](https://github.com/vimeo/psalm/pull/11591) #### New Contributors - [@&#8203;adamaveray](https://github.com/adamaveray) made their first contribution in [#&#8203;11569](https://github.com/vimeo/psalm/pull/11569) - [@&#8203;sukei](https://github.com/sukei) made their first contribution in [#&#8203;11591](https://github.com/vimeo/psalm/pull/11591) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.14.3...6.15.0> ### [`v6.14.3`](https://github.com/vimeo/psalm/releases/tag/6.14.3) [Compare Source](https://github.com/vimeo/psalm/compare/6.14.2...6.14.3) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Fixes - Remove redefinition of Attribute constants. by [@&#8203;hschletz](https://github.com/hschletz) in [#&#8203;11625](https://github.com/vimeo/psalm/pull/11625) - Remove usages of deprecated `curl_close()` function by [@&#8203;theodorejb](https://github.com/theodorejb) in [#&#8203;11626](https://github.com/vimeo/psalm/pull/11626) - Declare `NoDiscard` attribute as immutable by [@&#8203;Baptouuuu](https://github.com/Baptouuuu) in [#&#8203;11611](https://github.com/vimeo/psalm/pull/11611) - dependencies : allow symfony 8 by [@&#8203;NicolasDievart](https://github.com/NicolasDievart) in [#&#8203;11594](https://github.com/vimeo/psalm/pull/11594) ##### Internal changes - Bump actions/cache from 4 to 5 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;11623](https://github.com/vimeo/psalm/pull/11623) ##### Other changes #### New Contributors - [@&#8203;hschletz](https://github.com/hschletz) made their first contribution in [#&#8203;11625](https://github.com/vimeo/psalm/pull/11625) - [@&#8203;Baptouuuu](https://github.com/Baptouuuu) made their first contribution in [#&#8203;11611](https://github.com/vimeo/psalm/pull/11611) - [@&#8203;NicolasDievart](https://github.com/NicolasDievart) made their first contribution in [#&#8203;11594](https://github.com/vimeo/psalm/pull/11594) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.14.2...6.14.3> ### [`v6.14.2`](https://github.com/vimeo/psalm/releases/tag/6.14.2) [Compare Source](https://github.com/vimeo/psalm/compare/6.14.1...6.14.2) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Fixes - Fix supported versions regex by [@&#8203;danog](https://github.com/danog) in [#&#8203;11614](https://github.com/vimeo/psalm/pull/11614) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.14.1...6.14.2> ### [`v6.14.1`](https://github.com/vimeo/psalm/releases/tag/6.14.1) [Compare Source](https://github.com/vimeo/psalm/compare/6.14.0...6.14.1) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Features - Do not ignore null array offsets within isset by [@&#8203;danog](https://github.com/danog) in [#&#8203;11608](https://github.com/vimeo/psalm/pull/11608) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.14.0...6.14.1> ### [`v6.14.0`](https://github.com/vimeo/psalm/releases/tag/6.14.0) [Compare Source](https://github.com/vimeo/psalm/compare/6.13.1...6.14.0) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Features - Add PHP 8.5 support by [@&#8203;MarjovanLier](https://github.com/MarjovanLier) in [#&#8203;11604](https://github.com/vimeo/psalm/pull/11604) - Add PHP 8.5 support by [@&#8203;danog](https://github.com/danog) ##### Internal changes - Improve performance by avoiding repeated scanning of files included/required only once by [@&#8203;mmcev106](https://github.com/mmcev106) in [#&#8203;11478](https://github.com/vimeo/psalm/pull/11478) ##### Other changes - feat(language server): add --on-open-debounce-ms by [@&#8203;kk-daniel](https://github.com/kk-daniel) in [#&#8203;11550](https://github.com/vimeo/psalm/pull/11550) - fix(language server): fix --on-change-debounce-ms by [@&#8203;kk-daniel](https://github.com/kk-daniel) in [#&#8203;11549](https://github.com/vimeo/psalm/pull/11549) - Replace deprecated \_\_sleep method with \_\_serialize by [@&#8203;theodorejb](https://github.com/theodorejb) in [#&#8203;11563](https://github.com/vimeo/psalm/pull/11563) - Fix the opcache status retrieval if restricted paths are set. by [@&#8203;dmvrtx](https://github.com/dmvrtx) in [#&#8203;11556](https://github.com/vimeo/psalm/pull/11556) - Bump actions/checkout from 4 to 5 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;11539](https://github.com/vimeo/psalm/pull/11539) - fix: deprecations for PHP 8.5 by [@&#8203;jorgsowa](https://github.com/jorgsowa) in [#&#8203;11541](https://github.com/vimeo/psalm/pull/11541) - ci: add nikic/php-parser deprecations to Psalm baseline by [@&#8203;jorgsowa](https://github.com/jorgsowa) in [#&#8203;11596](https://github.com/vimeo/psalm/pull/11596) - fix: deprecated null offset by [@&#8203;jorgsowa](https://github.com/jorgsowa) in [#&#8203;11599](https://github.com/vimeo/psalm/pull/11599) - Bump actions/checkout from 5 to 6 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;11593](https://github.com/vimeo/psalm/pull/11593) #### New Contributors - [@&#8203;dmvrtx](https://github.com/dmvrtx) made their first contribution in [#&#8203;11556](https://github.com/vimeo/psalm/pull/11556) - [@&#8203;MarjovanLier](https://github.com/MarjovanLier) made their first contribution in [#&#8203;11604](https://github.com/vimeo/psalm/pull/11604) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.13.1...6.14.0> ### [`v6.13.1`](https://github.com/vimeo/psalm/releases/tag/6.13.1) [Compare Source](https://github.com/vimeo/psalm/compare/6.13.0...6.13.1) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Fixes - Add windows support to psalm-review by [@&#8203;HenkPoley](https://github.com/HenkPoley) in [#&#8203;11528](https://github.com/vimeo/psalm/pull/11528) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.13.0...6.13.1> ### [`v6.13.0`](https://github.com/vimeo/psalm/releases/tag/6.13.0) [Compare Source](https://github.com/vimeo/psalm/compare/6.12.1...6.13.0) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Features - :sparkles: Full support for iterables for `iterator_to_array` by [@&#8203;andrew-demb](https://github.com/andrew-demb) in [#&#8203;11430](https://github.com/vimeo/psalm/pull/11430) - Add an `arrayCache` configuration 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 [@&#8203;danog](https://github.com/danog) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.12.1...6.13.0> ### [`v6.12.1`](https://github.com/vimeo/psalm/releases/tag/6.12.1) [Compare Source](https://github.com/vimeo/psalm/compare/6.12.0...6.12.1) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Fixes - Fix false negatives with mixed in templated value-of/key-of by [@&#8203;danog](https://github.com/danog) in [#&#8203;11499](https://github.com/vimeo/psalm/pull/11499) - [Avoid tainting problems with first-class callables](https://github.com/vimeo/psalm/commit/a9d82d46f6c21cf3e31cbe197157343654420694) by [@&#8203;danog](https://github.com/danog) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.12.0...6.12.1> ### [`v6.12.0`](https://github.com/vimeo/psalm/releases/tag/6.12.0): - Cache refactoring [Compare Source](https://github.com/vimeo/psalm/compare/6.11.0...6.12.0) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> 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 [@&#8203;danog](https://github.com/danog) in [#&#8203;11450](https://github.com/vimeo/psalm/pull/11450) - Cache refactoring by [@&#8203;danog](https://github.com/danog) in [#&#8203;11415](https://github.com/vimeo/psalm/pull/11415) - Add ignoreIncludeSideEffects configuration key by [@&#8203;danog](https://github.com/danog) in [#&#8203;11451](https://github.com/vimeo/psalm/pull/11451) ##### Fixes - Fix crash on numeric annotation by [@&#8203;VincentLanglet](https://github.com/VincentLanglet) in [#&#8203;11445](https://github.com/vimeo/psalm/pull/11445) - Disable diffing if not in diff run by [@&#8203;danog](https://github.com/danog) in [#&#8203;11447](https://github.com/vimeo/psalm/pull/11447) - Update stubs for ext-mongodb 2.0 by [@&#8203;alcaeus](https://github.com/alcaeus) in [#&#8203;11453](https://github.com/vimeo/psalm/pull/11453) - Update stubs for ext-mongodb 2.1 by [@&#8203;alcaeus](https://github.com/alcaeus) in [#&#8203;11454](https://github.com/vimeo/psalm/pull/11454) ##### Docs - \[Doc] Clarify union vs. intersection for `numeric` supertype by [@&#8203;kylekatarnls](https://github.com/kylekatarnls) in [#&#8203;11444](https://github.com/vimeo/psalm/pull/11444) #### New Contributors - [@&#8203;kylekatarnls](https://github.com/kylekatarnls) made their first contribution in [#&#8203;11444](https://github.com/vimeo/psalm/pull/11444) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.11.0...6.12.0> ### [`v6.11.0`](https://github.com/vimeo/psalm/releases/tag/6.11.0) [Compare Source](https://github.com/vimeo/psalm/compare/6.10.3...6.11.0) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Features - Add new `ClassFilePathProviderInterface` plugin hook to polyfill custom autoloaders by [@&#8203;danog](https://github.com/danog) in [#&#8203;11422](https://github.com/vimeo/psalm/pull/11422) ##### Fixes - Small analysis bugfix by [@&#8203;danog](https://github.com/danog) Subscribe to the brand new [Psalm newsletter to stay up to date with all of Psalm's news](https://blog.daniil.it/newsletter/)! **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.10.3...6.11.0> ### [`v6.10.3`](https://github.com/vimeo/psalm/releases/tag/6.10.3) [Compare Source](https://github.com/vimeo/psalm/compare/6.10.2...6.10.3) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Fixes - Fix [#&#8203;11420](https://github.com/vimeo/psalm/issues/11420) by [@&#8203;danog](https://github.com/danog) in [#&#8203;11421](https://github.com/vimeo/psalm/pull/11421) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.10.2...6.10.3> ### [`v6.10.2`](https://github.com/vimeo/psalm/releases/tag/6.10.2) [Compare Source](https://github.com/vimeo/psalm/compare/6.10.1...6.10.2) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Fixes - InvalidNamedArgument "objectOrClass" for ReflectionClass constructor due to incorrect stub by [@&#8203;savinmikhail](https://github.com/savinmikhail) in [#&#8203;11407](https://github.com/vimeo/psalm/pull/11407) - DateTimeImmutable::setTimestamp rename argument to $timestamp by [@&#8203;savinmikhail](https://github.com/savinmikhail) in [#&#8203;11409](https://github.com/vimeo/psalm/pull/11409) - fix: alter of ClassMustBeFinal inserts final before attributes by [@&#8203;Tofandel](https://github.com/Tofandel) in [#&#8203;11390](https://github.com/vimeo/psalm/pull/11390) - Add fix for PropertyHooks by [@&#8203;craig-mcmahon](https://github.com/craig-mcmahon) in [#&#8203;11411](https://github.com/vimeo/psalm/pull/11411) - Disable diff mode by [@&#8203;danog](https://github.com/danog) in [#&#8203;11416](https://github.com/vimeo/psalm/pull/11416) #### New Contributors - [@&#8203;savinmikhail](https://github.com/savinmikhail) made their first contribution in [#&#8203;11407](https://github.com/vimeo/psalm/pull/11407) - [@&#8203;craig-mcmahon](https://github.com/craig-mcmahon) made their first contribution in [#&#8203;11411](https://github.com/vimeo/psalm/pull/11411) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.10.1...6.10.2> ### [`v6.10.1`](https://github.com/vimeo/psalm/releases/tag/6.10.1) [Compare Source](https://github.com/vimeo/psalm/compare/6.10.0...6.10.1) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Fixes - Deprecate reflection's setAccessible on 8.1+ by [@&#8203;danog](https://github.com/danog) in [#&#8203;11401](https://github.com/vimeo/psalm/pull/11401) - Better types for mb\_substitute\_character by [@&#8203;danog](https://github.com/danog) in [#&#8203;11400](https://github.com/vimeo/psalm/pull/11400) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.10.0...6.10.1> ### [`v6.10.0`](https://github.com/vimeo/psalm/releases/tag/6.10.0) [Compare Source](https://github.com/vimeo/psalm/compare/6.9.6...6.10.0) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> [Join the new official Psalm news channel](https://t.me/psalmphp) and the [Psalm community](https://t.me/psalmphp_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 [@&#8203;danog](https://github.com/danog) in [#&#8203;11383](https://github.com/vimeo/psalm/pull/11383) - Add forceJit and noCache configuration keys by [@&#8203;danog](https://github.com/danog) in [#&#8203;11380](https://github.com/vimeo/psalm/pull/11380) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.9.6...6.10.0> ### [`v6.9.6`](https://github.com/vimeo/psalm/releases/tag/6.9.6) [Compare Source](https://github.com/vimeo/psalm/compare/6.9.5...6.9.6) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> Add git, ssh and composer to the docker image by [@&#8203;danog](https://github.com/danog). **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.9.5...6.9.6> ### [`v6.9.5`](https://github.com/vimeo/psalm/releases/tag/6.9.5) [Compare Source](https://github.com/vimeo/psalm/compare/6.9.4...6.9.5) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Fixes - Fix some possible JIT crashes in official docker image by [@&#8203;danog](https://github.com/danog) - Improve stub generation by [@&#8203;danog](https://github.com/danog) - Merge multiple docblocks for statements by [@&#8203;robchett](https://github.com/robchett) in [#&#8203;11371](https://github.com/vimeo/psalm/pull/11371) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.9.4...6.9.5> ### [`v6.9.4`](https://github.com/vimeo/psalm/releases/tag/6.9.4) [Compare Source](https://github.com/vimeo/psalm/compare/6.9.3...6.9.4) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Fixes - Backport [#&#8203;11364](https://github.com/vimeo/psalm/issues/11364) to 6.x by [@&#8203;haas-dtv](https://github.com/haas-dtv) in [#&#8203;11369](https://github.com/vimeo/psalm/pull/11369) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.9.3...6.9.4> ### [`v6.9.3`](https://github.com/vimeo/psalm/releases/tag/6.9.3) [Compare Source](https://github.com/vimeo/psalm/compare/6.9.2...6.9.3) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Fixes - Hotfix [#&#8203;11363](https://github.com/vimeo/psalm/issues/11363) by [@&#8203;danog](https://github.com/danog) in [#&#8203;11366](https://github.com/vimeo/psalm/pull/11366) ##### Internal changes - Bump docker image to PHP 8.4.5 by [@&#8203;danog](https://github.com/danog) in [#&#8203;11367](https://github.com/vimeo/psalm/pull/11367) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.9.2...6.9.3> ### [`v6.9.2`](https://github.com/vimeo/psalm/releases/tag/6.9.2) [Compare Source](https://github.com/vimeo/psalm/compare/6.9.1...6.9.2) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> Fixes multiplatform builds for the `latest` tag of the [docker image »](https://psalm.dev/docs/running_psalm/installation/#docker-image). **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.9.1...6.9.2> ### [`v6.9.1`](https://github.com/vimeo/psalm/compare/6.9.0...6.9.1) [Compare Source](https://github.com/vimeo/psalm/compare/6.9.0...6.9.1) ### [`v6.9.0`](https://github.com/vimeo/psalm/releases/tag/6.9.0): - Docker image! [Compare Source](https://github.com/vimeo/psalm/compare/6.8.9...6.9.0) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> 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: ```bash 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 »](https://psalm.dev/docs/running_psalm/configuration/#enableextensions) 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](https://github.com/JetBrains/phpstorm-stubs/). #### What's Changed ##### Features - Add docker image by [@&#8203;danog](https://github.com/danog) in [#&#8203;11307](https://github.com/vimeo/psalm/pull/11307) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.8.9...6.9.0> ### [`v6.8.9`](https://github.com/vimeo/psalm/releases/tag/6.8.9) [Compare Source](https://github.com/vimeo/psalm/compare/6.8.8...6.8.9) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Fixes - Fix polyfill version range by [@&#8203;danog](https://github.com/danog) in [#&#8203;11345](https://github.com/vimeo/psalm/pull/11345) - Improve idn\_to\_\* signatures for 8.4 by [@&#8203;danog](https://github.com/danog) in [#&#8203;11351](https://github.com/vimeo/psalm/pull/11351) - push original callable when creating callable-object in order to keep return type by [@&#8203;orklah](https://github.com/orklah) in [#&#8203;11354](https://github.com/vimeo/psalm/pull/11354) ##### Internal changes - Small performance improvement by [@&#8203;danog](https://github.com/danog) in [#&#8203;11348](https://github.com/vimeo/psalm/pull/11348) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.8.8...6.8.9> ### [`v6.8.8`](https://github.com/vimeo/psalm/releases/tag/6.8.8) [Compare Source](https://github.com/vimeo/psalm/compare/6.8.7...6.8.8) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Fixes - Fix Could not locate trait statement errors by [@&#8203;danog](https://github.com/danog) in [#&#8203;11341](https://github.com/vimeo/psalm/pull/11341) ##### Internal changes - Improve debugging of PHP bugs by [@&#8203;danog](https://github.com/danog) in [#&#8203;11339](https://github.com/vimeo/psalm/pull/11339) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.8.7...6.8.8> ### [`v6.8.7`](https://github.com/vimeo/psalm/releases/tag/6.8.7) [Compare Source](https://github.com/vimeo/psalm/compare/6.8.6...6.8.7) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Fixes - Fix array\_reverse type for `list{0: int, 1?: int}` etc. by [@&#8203;MoonE](https://github.com/MoonE) in [#&#8203;11150](https://github.com/vimeo/psalm/pull/11150) - Improve closure template inference by [@&#8203;danog](https://github.com/danog) in [#&#8203;11334](https://github.com/vimeo/psalm/pull/11334) - Allow RoundingMode as param to round by [@&#8203;danog](https://github.com/danog) in [#&#8203;11335](https://github.com/vimeo/psalm/pull/11335) - Fix issues with array\_any by [@&#8203;danog](https://github.com/danog) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.8.6...6.8.7> ### [`v6.8.6`](https://github.com/vimeo/psalm/releases/tag/6.8.6) [Compare Source](https://github.com/vimeo/psalm/compare/6.8.5...6.8.6) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Fixes - Allow integer and string concatenation by [@&#8203;danog](https://github.com/danog) in [#&#8203;11329](https://github.com/vimeo/psalm/pull/11329) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.8.5...6.8.6> ### [`v6.8.5`](https://github.com/vimeo/psalm/releases/tag/6.8.5) [Compare Source](https://github.com/vimeo/psalm/compare/6.8.4...6.8.5) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Fixes - Fixes PHP Error: Undefined array key 1 by [@&#8203;tm1000](https://github.com/tm1000) in [#&#8203;11328](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`](https://github.com/vimeo/psalm/releases/tag/6.8.4) [Compare Source](https://github.com/vimeo/psalm/compare/6.8.3...6.8.4) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> 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`](https://github.com/vimeo/psalm/releases/tag/6.8.3) [Compare Source](https://github.com/vimeo/psalm/compare/6.8.2...6.8.3) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Fixes - Fix phar build by bumping box (the minimum supported PHP version for the phar is now PHP 8.2) by [@&#8203;danog](https://github.com/danog) in [#&#8203;11324](https://github.com/vimeo/psalm/pull/11324) ##### Internal changes - Reproducible builds (fixes [#&#8203;10446](https://github.com/vimeo/psalm/issues/10446)) by [@&#8203;danog](https://github.com/danog) in [#&#8203;10566](https://github.com/vimeo/psalm/pull/10566) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.8.2...6.8.3> ### [`v6.8.2`](https://github.com/vimeo/psalm/releases/tag/6.8.2) [Compare Source](https://github.com/vimeo/psalm/compare/6.8.1...6.8.2) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Fixes - Fix phar generation by [@&#8203;danog](https://github.com/danog) in [#&#8203;11323](https://github.com/vimeo/psalm/pull/11323) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.8.1...6.8.2> ### [`v6.8.1`](https://github.com/vimeo/psalm/releases/tag/6.8.1) [Compare Source](https://github.com/vimeo/psalm/compare/6.8.0...6.8.1) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Internal changes - Log PHP version earlier by [@&#8203;danog](https://github.com/danog) in [#&#8203;11317](https://github.com/vimeo/psalm/pull/11317) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.8.0...6.8.1> ### [`v6.8.0`](https://github.com/vimeo/psalm/releases/tag/6.8.0) [Compare Source](https://github.com/vimeo/psalm/compare/6.7.1...6.8.0) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Features - Add longScanWarning config by [@&#8203;danog](https://github.com/danog) in [#&#8203;11302](https://github.com/vimeo/psalm/pull/11302) - Preload all classes before forking (+5% performance) by [@&#8203;danog](https://github.com/danog) in [#&#8203;11309](https://github.com/vimeo/psalm/pull/11309) - Improve new array function types, add Deprecated attr support by [@&#8203;danog](https://github.com/danog) in [#&#8203;11303](https://github.com/vimeo/psalm/pull/11303) ##### Fixes - Die when PHP doc not found in update-property-map.php by [@&#8203;M393](https://github.com/M393) in [#&#8203;11136](https://github.com/vimeo/psalm/pull/11136) - Do not throw exceptions on deprecation errors while autoloading deps by [@&#8203;danog](https://github.com/danog) in [#&#8203;11313](https://github.com/vimeo/psalm/pull/11313) - Fix ElseIfAnalyzer inconsistency and remove dead code by [@&#8203;theodorejb](https://github.com/theodorejb) in [#&#8203;10611](https://github.com/vimeo/psalm/pull/10611) - Deduplicate loop analysis by [@&#8203;theodorejb](https://github.com/theodorejb) in [#&#8203;10782](https://github.com/vimeo/psalm/pull/10782) - Add correct type to readline\_completion\_function by [@&#8203;danog](https://github.com/danog) in [#&#8203;11316](https://github.com/vimeo/psalm/pull/11316) - Add rdkafka to extension list in config.xsd by [@&#8203;danog](https://github.com/danog) in [#&#8203;11314](https://github.com/vimeo/psalm/pull/11314) #### New Contributors - [@&#8203;M393](https://github.com/M393) made their first contribution in [#&#8203;11136](https://github.com/vimeo/psalm/pull/11136) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.7.1...6.8.0> ### [`v6.7.1`](https://github.com/vimeo/psalm/releases/tag/6.7.1) [Compare Source](https://github.com/vimeo/psalm/compare/6.7.0...6.7.1) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Internal changes - Require jsonmapper v5 by [@&#8203;danog](https://github.com/danog) in [#&#8203;11300](https://github.com/vimeo/psalm/pull/11300) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.7.0...6.7.1> ### [`v6.7.0`](https://github.com/vimeo/psalm/releases/tag/6.7.0) [Compare Source](https://github.com/vimeo/psalm/compare/6.6.2...6.7.0) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Features - Add new `allowBoolToLiteralBoolComparison` config (disabled by default), used to control emission of `RedundantIdentityWithTrue` issues (previously, their emission was controlled by the `strictBinaryOperands` config) by [@&#8203;danog](https://github.com/danog) in [#&#8203;11283](https://github.com/vimeo/psalm/pull/11283) - Enable missing `#[Override]` attribute detection (automatic Psalter fixer available) by [@&#8203;danog](https://github.com/danog) in [#&#8203;11283](https://github.com/vimeo/psalm/pull/11283) - Enable strict binary operand comparison checks (useful for strict\_types migration) by [@&#8203;danog](https://github.com/danog) in [#&#8203;11283](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 `@method` or `@property`, see [here](https://psalm.dev/docs/running_psalm/issues/UndefinedMagicPropertyFetch/) for more info by [@&#8203;danog](https://github.com/danog) in [#&#8203;11283](https://github.com/vimeo/psalm/pull/11283) - Disable dangerous `@psalm-suppress all` annotation (may be re-enabled manually with the disableSuppressAll config) by [@&#8203;danog](https://github.com/danog) in [#&#8203;11283](https://github.com/vimeo/psalm/pull/11283) - Types in lazy objects by [@&#8203;BenMorel](https://github.com/BenMorel) in [#&#8203;11296](https://github.com/vimeo/psalm/pull/11296) ##### Fixes - Fix parameter name in SplObjectStorage by [@&#8203;kamil-tekiela](https://github.com/kamil-tekiela) in [#&#8203;11134](https://github.com/vimeo/psalm/pull/11134) - Fix empty compact report if baseline file is used by [@&#8203;andrey-tech](https://github.com/andrey-tech) in [#&#8203;11111](https://github.com/vimeo/psalm/pull/11111) ##### Internal changes - Expose Progress instance to plugins by [@&#8203;danog](https://github.com/danog) in [#&#8203;11297](https://github.com/vimeo/psalm/pull/11297) - Change PluginEntryPointInterface to take a PluginRegistrationSocket [@&#8203;danog](https://github.com/danog) in [#&#8203;11298](https://github.com/vimeo/psalm/pull/11298) #### New Contributors - [@&#8203;andrey-tech](https://github.com/andrey-tech) made their first contribution in [#&#8203;11111](https://github.com/vimeo/psalm/pull/11111) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.6.2...6.7.0> ### [`v6.6.2`](https://github.com/vimeo/psalm/releases/tag/6.6.2) [Compare Source](https://github.com/vimeo/psalm/compare/6.6.1...6.6.2) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Fixes - Allow running generate\_testsuites.php from a different dir by [@&#8203;MoonE](https://github.com/MoonE) in [#&#8203;11155](https://github.com/vimeo/psalm/pull/11155) - Add missing reset of context inside\_general\_use by [@&#8203;MoonE](https://github.com/MoonE) in [#&#8203;11157](https://github.com/vimeo/psalm/pull/11157) - Fix false positives for UnusedIssueHandlerSuppression by [@&#8203;edsrzf](https://github.com/edsrzf) in [#&#8203;11212](https://github.com/vimeo/psalm/pull/11212) - Fix condition on literal-string by [@&#8203;VincentLanglet](https://github.com/VincentLanglet) in [#&#8203;11252](https://github.com/vimeo/psalm/pull/11252) - Object property types by [@&#8203;MoonE](https://github.com/MoonE) in [#&#8203;11291](https://github.com/vimeo/psalm/pull/11291) - Fix some more tests when running phpunit with args by [@&#8203;MoonE](https://github.com/MoonE) in [#&#8203;11153](https://github.com/vimeo/psalm/pull/11153) - Fix type of property-get with coalesce by [@&#8203;MoonE](https://github.com/MoonE) in [#&#8203;11152](https://github.com/vimeo/psalm/pull/11152) - Fix condition on lowercase-string by [@&#8203;VincentLanglet](https://github.com/VincentLanglet) in [#&#8203;11293](https://github.com/vimeo/psalm/pull/11293) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.6.1...6.6.2> ### [`v6.6.1`](https://github.com/vimeo/psalm/releases/tag/6.6.1) [Compare Source](https://github.com/vimeo/psalm/compare/6.6.0...6.6.1) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Fixes - fix: add taint source on plugin-added taints by [@&#8203;Patrick-Remy](https://github.com/Patrick-Remy) in [#&#8203;10206](https://github.com/vimeo/psalm/pull/10206) - handle instanceof $this by [@&#8203;orklah](https://github.com/orklah) in [#&#8203;11286](https://github.com/vimeo/psalm/pull/11286) ##### Docs - Fix key type in PossiblyUndefinedStringArrayOffset.md by [@&#8203;emmanuelGuiton](https://github.com/emmanuelGuiton) in [#&#8203;11277](https://github.com/vimeo/psalm/pull/11277) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.6.0...6.6.1> ### [`v6.6.0`](https://github.com/vimeo/psalm/releases/tag/6.6.0) [Compare Source](https://github.com/vimeo/psalm/compare/6.5.1...6.6.0) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Features - Add ClassMustBeFinal issue by [@&#8203;danog](https://github.com/danog) in [#&#8203;11279](https://github.com/vimeo/psalm/pull/11279) - Enable MissingOverrideAttribute on all PHP versions by [@&#8203;danog](https://github.com/danog) in [#&#8203;11284](https://github.com/vimeo/psalm/pull/11284) ##### Fixes - Fix trait issue with MissingOverrideAttribute by [@&#8203;danog](https://github.com/danog) in [#&#8203;11284](https://github.com/vimeo/psalm/pull/11284) - Enable attribute parsing on versions lower than 8.0 by [@&#8203;danog](https://github.com/danog) in [#&#8203;11284](https://github.com/vimeo/psalm/pull/11284) - Fix type assertion for Arithemtic addition and subtraction by [@&#8203;KevinVanSonsbeek](https://github.com/KevinVanSonsbeek) in [#&#8203;11269](https://github.com/vimeo/psalm/pull/11269) - Fix config error in LSP by [@&#8203;tm1000](https://github.com/tm1000) in [#&#8203;11255](https://github.com/vimeo/psalm/pull/11255) - Replace felixfbecker/advanced-json-rpc with maintained fork by [@&#8203;danog](https://github.com/danog) in [#&#8203;11282](https://github.com/vimeo/psalm/pull/11282) ##### Docs - Improve stub docs by [@&#8203;danog](https://github.com/danog) in [#&#8203;11276](https://github.com/vimeo/psalm/pull/11276) ##### Internal changes - Reorganize tools by [@&#8203;danog](https://github.com/danog) in [#&#8203;11278](https://github.com/vimeo/psalm/pull/11278) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.5.1...6.6.0> ### [`v6.5.1`](https://github.com/vimeo/psalm/releases/tag/6.5.1) [Compare Source](https://github.com/vimeo/psalm/compare/6.5.0...6.5.1) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Fixes - Specify minimum PHP patch release in composer.json as well by [@&#8203;danog](https://github.com/danog) in [#&#8203;11271](https://github.com/vimeo/psalm/pull/11271) - Bump `symfony/filesystem` by [@&#8203;weirdan](https://github.com/weirdan) in [#&#8203;11273](https://github.com/vimeo/psalm/pull/11273) ##### Internal changes - Enable opcache if installed by [@&#8203;danog](https://github.com/danog) in [#&#8203;11274](https://github.com/vimeo/psalm/pull/11274) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.5.0...6.5.1> ### [`v6.5.0`](https://github.com/vimeo/psalm/releases/tag/6.5.0) [Compare Source](https://github.com/vimeo/psalm/compare/6.4.1...6.5.0) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Features - The [psalm.dev](https://psalm.dev) REPL now supports the `disableVarParsing` config by [@&#8203;danog](https://github.com/danog) - Add allFunctionsGlobal and allConstantsGlobal options, useful for legacy codebases which do not use Composer to preload functions and constants by [@&#8203;danog](https://github.com/danog) in [#&#8203;11259](https://github.com/vimeo/psalm/pull/11259) ##### Fixes - Fix deep scanning of files light-scanned in main thread by [@&#8203;danog](https://github.com/danog) in [#&#8203;11264](https://github.com/vimeo/psalm/pull/11264) - Template inference bugfix by [@&#8203;danog](https://github.com/danog) in [#&#8203;11267](https://github.com/vimeo/psalm/pull/11267) - Force usage of latest patch version of PHP to avoid PHP bugs by [@&#8203;danog](https://github.com/danog) in [#&#8203;11270](https://github.com/vimeo/psalm/pull/11270) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.4.1...6.5.0> ### [`v6.4.1`](https://github.com/vimeo/psalm/releases/tag/6.4.1) [Compare Source](https://github.com/vimeo/psalm/compare/6.4.0...6.4.1) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Fixes - Disable uv to avoid fork() issues by [@&#8203;danog](https://github.com/danog) in [#&#8203;11250](https://github.com/vimeo/psalm/pull/11250) - Fix issue with insufficient shared memory for interned strings buffer by [@&#8203;yethee](https://github.com/yethee) in [#&#8203;11243](https://github.com/vimeo/psalm/pull/11243) - Simplify redis return types by [@&#8203;danog](https://github.com/danog) in [#&#8203;11256](https://github.com/vimeo/psalm/pull/11256) - Improve performance and accuracy of types comparison by [@&#8203;danog](https://github.com/danog) in [#&#8203;11257](https://github.com/vimeo/psalm/pull/11257) - Fix TemplateInferredTypeReplacer by [@&#8203;VincentLanglet](https://github.com/VincentLanglet) in [#&#8203;11258](https://github.com/vimeo/psalm/pull/11258) ##### Internal changes - Allow sebastian/diff v7 by [@&#8203;liviuconcioiu](https://github.com/liviuconcioiu) in [#&#8203;11260](https://github.com/vimeo/psalm/pull/11260) #### New Contributors - [@&#8203;liviuconcioiu](https://github.com/liviuconcioiu) made their first contribution in [#&#8203;11260](https://github.com/vimeo/psalm/pull/11260) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.4.0...6.5.0> ### [`v6.4.0`](https://github.com/vimeo/psalm/releases/tag/6.4.0) [Compare Source](https://github.com/vimeo/psalm/compare/6.3.0...6.4.0) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> #### What's Changed ##### Features - Add forbiddenConstants config by [@&#8203;danog](https://github.com/danog) in [#&#8203;11245](https://github.com/vimeo/psalm/pull/11245) - Add --review shortcut for psalm.phar by [@&#8203;danog](https://github.com/danog) in [#&#8203;11246](https://github.com/vimeo/psalm/pull/11246) ##### Fixes - Add array function parameter type providers by [@&#8203;danog](https://github.com/danog) in [#&#8203;11247](https://github.com/vimeo/psalm/pull/11247) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.3.0...6.4.0> ### [`v6.3.0`](https://github.com/vimeo/psalm/releases/tag/6.3.0) [Compare Source](https://github.com/vimeo/psalm/compare/6.2.0...6.3.0) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> This release adds the new [psalm-review](https://psalm.dev/docs/running_psalm/command_line_usage/#reviewing-issues-in-your-ide-of-choice) tool! #### What's Changed ##### Features - Add new psalm-review tool by [@&#8203;danog](https://github.com/danog) in [#&#8203;11237](https://github.com/vimeo/psalm/pull/11237) ##### Fixes - Fix return type of yield from by [@&#8203;danog](https://github.com/danog) in [#&#8203;11236](https://github.com/vimeo/psalm/pull/11236) - Fix standalone block analysis by [@&#8203;danog](https://github.com/danog) in [#&#8203;11234](https://github.com/vimeo/psalm/pull/11234) - Fix indirect magic property usage by [@&#8203;danog](https://github.com/danog) in [#&#8203;11238](https://github.com/vimeo/psalm/pull/11238) - Allow iterating over generator with void send() type by [@&#8203;danog](https://github.com/danog) in [#&#8203;11240](https://github.com/vimeo/psalm/pull/11240) - Fix closure typehints in arrays by [@&#8203;danog](https://github.com/danog) in [#&#8203;11239](https://github.com/vimeo/psalm/pull/11239) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.2.0...6.3.0> ### [`v6.2.0`](https://github.com/vimeo/psalm/releases/tag/6.2.0) [Compare Source](https://github.com/vimeo/psalm/compare/6.1.0...6.2.0) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> This release was possible thanks to a [Psalm support contract](https://psalm.dev/support)! This release adds the new LiteralKeyUnshapedArray issue, controlled by the [disallowLiteralKeysOnUnshapedArrays](https://psalm.dev/docs/running_psalm/configuration/#disallowliteralkeysonunshapedarrays) configuration flag (false by default), useful to enforce usage of shaped arrays instead of generic arrays. #### What's Changed ##### Features - Add LiteralKeyUnshapedArray issue by [@&#8203;danog](https://github.com/danog) in [#&#8203;11230](https://github.com/vimeo/psalm/pull/11230) - Periodic logging for long processing by [@&#8203;danog](https://github.com/danog) in [#&#8203;11231](https://github.com/vimeo/psalm/pull/11231) ##### Fixes - Fix storage should not be null errors by [@&#8203;danog](https://github.com/danog) in [#&#8203;11232](https://github.com/vimeo/psalm/pull/11232) - Avoid further issues caused by duplicate class declarations by [@&#8203;danog](https://github.com/danog) in [#&#8203;11233](https://github.com/vimeo/psalm/pull/11233) - Parse uppercase-string by [@&#8203;VincentLanglet](https://github.com/VincentLanglet) in [#&#8203;11228](https://github.com/vimeo/psalm/pull/11228) **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.1.0...6.2.0> ### [`v6.1.0`](https://github.com/vimeo/psalm/releases/tag/6.1.0) [Compare Source](https://github.com/vimeo/psalm/compare/6.0.0...6.1.0) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> This release was possible thanks to a [Psalm support contract](https://psalm.dev/support)! This release greatly improves multithreaded mode, fixing some nasty issues and greatly improving efficiency, thanks to efficient task scheduling powered by amphp/parallel (& some custom code to allow usage of copy-on-write optimizations with forks instead of spawning new processes). This release also adds a runtime check to prevent Psalm from running on Linux systems where VM overcommitting is *disabled*: Psalm makes heavy use of VM overcommitting (specifically during forking in multithreaded mode) to greatly reduce RAM usage and improve performance.\ Note that in the vast majority of Linux systems, VM overcommitting is already *enabled by default*. #### What's Changed ##### Features - Refactor Pool for much more efficient multithreaded parallelism by [@&#8203;danog](https://github.com/danog) in [#&#8203;11219](https://github.com/vimeo/psalm/pull/11219) - Add support for --scan-threads CLI and config flag by [@&#8203;danog](https://github.com/danog) in [#&#8203;11216](https://github.com/vimeo/psalm/pull/11216) - Log files being processed for too long by [@&#8203;danog](https://github.com/danog) in [#&#8203;11225](https://github.com/vimeo/psalm/pull/11225) - Add VM overcommit warning by [@&#8203;danog](https://github.com/danog) in [#&#8203;1121](https://github.com/vimeo/psalm/pull/1121) ##### Fixes - Fix language server by [@&#8203;danog](https://github.com/danog) in [#&#8203;11221](https://github.com/vimeo/psalm/pull/11221) ##### Internal changes - Improve default opcache options by [@&#8203;danog](https://github.com/danog) in [#&#8203;11222](https://github.com/vimeo/psalm/pull/11222) ##### Other changes **Full Changelog**: <https://github.com/vimeo/psalm/compare/6.0.0...6.1.0> ### [`v6.0.0`](https://github.com/vimeo/psalm/releases/tag/6.0.0): Psalm v6 [Compare Source](https://github.com/vimeo/psalm/compare/5.26.1...6.0.0) <!-- Release notes generated using configuration in .github/release.yml at 6.x --> This is the first release of Psalm v6! Users are encouraged to switch to Psalm v6 right away, as v5 is not supported anymore. Also announcing Psalm's new **support model**: you can support Psalm development by requesting a support contract from [Daniil Gentili](https://daniil.it), the only active maintainer of Psalm. Support contracts can cover full integration of Psalm into existing codebases, support for Psalm issues and development of additional Psalm features. See [here »](https://daniil.it) for info, pricing and contact information. Main highlights of Psalm v6: - PHP 8.4 support - Amp v3 support - PHP-Parser v5 support - Fully overhauled [dictionaries](https://psalm.dev/docs/contributing/editing_callmaps/), for much more accurate and always up to date signatures for PHP and extension functions and methods, and much simpler PHP version upgrades. - `ignoreInternalFunctionFalseReturn` and `ignoreInternalFunctionNullReturn` are now `false` by default: this means Psalm now warns when a false/null return type of a native function is not explicitly checked. - Modernization of the codebase for higher performance. - Many other bugfixes and performance improvements. Plugin authors should consult the [changelog](https://github.com/vimeo/psalm/blob/6.x/UPGRADING.md) for info about BC-breaking changes. #### What's Changed ##### Features - Add --force-jit flag by [@&#8203;danog](https://github.com/danog) in [#&#8203;11165](https://github.com/vimeo/psalm/pull/11165) - Xpath injection detection [#&#8203;10162](https://github.com/vimeo/psalm/issues/10162) by [@&#8203;cgocast](https://github.com/cgocast) in [#&#8203;10163](https://github.com/vimeo/psalm/pull/10163) - Backed enum value changed to Atomic instead of scalar int or strings by [@&#8203;tuqqu](https://github.com/tuqqu) in [#&#8203;10165](https://github.com/vimeo/psalm/pull/10165) - Introduce NonVariableReferenceReturn issue by [@&#8203;tuqqu](https://github.com/tuqqu) in [#&#8203;10227](https://github.com/vimeo/psalm/pull/10227) - Detect DoS by sleep [#&#8203;10178](https://github.com/vimeo/psalm/issues/10178) by [@&#8203;cgocast](https://github.com/cgocast) in [#&#8203;10183](https://github.com/vimeo/psalm/pull/10183) - Introduce `DuplicateProperty` issue by [@&#8203;tuqqu](https://github.com/tuqqu) in [#&#8203;10265](https://github.com/vimeo/psalm/pull/10265) - Disable ignoreInternalFunction(False|Null)Return by default by [@&#8203;robchett](https://github.com/robchett) in [#&#8203;10211](https://github.com/vimeo/psalm/pull/10211) - Add intl extension stub by [@&#8203;braindawg](https://github.com/braindawg) in [#&#8203;10276](https://github.com/vimeo/psalm/pull/10276) - Improved type of callable-array by [@&#8203;robchett](https://github.com/robchett) in [#&#8203;9794](https://github.com/vimeo/psalm/pull/9794) - Add progress for scanning stage by [@&#8203;robchett](https://github.com/robchett) in [#&#8203;10345](https://github.com/vimeo/psalm/pull/10345) - Allow enum cases to be global constants by [@&#8203;robchett](https://github.com/robchett) in [#&#8203;10339](https://github.com/vimeo/psalm/pull/10339) - Report unused issue handler suppressions by [@&#8203;robchett](https://github.com/robchett) in [#&#8203;10341](https://github.com/vimeo/psalm/pull/10341) - Support @&#8203;(no-)seal-(properties|methods) annotations without prefix by [@&#8203;robchett](https://github.com/robchett) in [#&#8203;10344](https://github.com/vimeo/psalm/pull/10344) - Stub constants for ZipArchive from ext-zip by [@&#8203;braindawg](https://github.com/braindawg) in [#&#8203;10332](https://github.com/vimeo/psalm/pull/10332) - Allow type aliases for static variables by [@&#8203;robchett](https://github.com/robchett) in [#&#8203;10362](https://github.com/vimeo/psalm/pull/10362) - Inherit magic methods from [@&#8203;mixin](https://github.com/mixin) by [@&#8203;robchett](https://github.com/robchett) in [#&#8203;10356](https://github.com/vimeo/psalm/pull/10356) - TaintedExtract by [@&#8203;cgocast](https://github.com/cgocast) in [#&#8203;10417](https://github.com/vimeo/psalm/pull/10417) - feat: Default baseline file by [@&#8203;jorgsowa](https://github.com/jorgsowa) in [#&#8203;10696](https://github.com/vimeo/psalm/pull/10696) - Add phpstub for amqp extension (php-amqp) by [@&#8203;mkilmanas](https://github.com/mkilmanas) in [#&#8203;11172](https://github.com/vimeo/psalm/pull/11172) - Add phpstub for amqp extension (php-amqp) by [@&#8203;mkilmanas](https://github.com/mkilmanas) in [#&#8203;11181](https://github.com/vimeo/psalm/pull/11181) ##### Fixes - Fix [#&#8203;10047](https://github.com/vimeo/psalm/issues/10047) by [@&#8203;cgocast](https://github.com/cgocast) in [#&#8203;10048](https://github.com/vimeo/psalm/pull/10048) - Respect stubs in all cases by [@&#8203;mmcev106](https://github.com/mmcev106) in [#&#8203;10092](https://github.com/vimeo/psalm/pull/10092) - Hotfix Shepard build by [@&#8203;robchett](https://github.com/robchett) in [#&#8203;10268](https://github.com/vimeo/psalm/pull/10268) - Hotfix shepard build by [@&#8203;robchett](https://github.com/robchett) in [#&#8203;10343](https://github.com/vimeo/psalm/pull/10343) - Add constants from SOAP extension to stub by [@&#8203;braindawg](https://github.com/braindawg) in [#&#8203;10333](https://github.com/vimeo/psalm/pull/10333) - Incorrectly asserting non-empty-list after combining with empty list by [@&#8203;robchett](https://github.com/robchett) in [#&#8203;9787](https://github.com/vimeo/psalm/pull/9787) - Consistent type docblock parsing by [@&#8203;robchett](https://github.com/robchett) in [#&#8203;10326](https://github.com/vimeo/psalm/pull/10326) - Fix stub for RecursiveArrayIterator::getChildren by [@&#8203;robchett](https://github.com/robchett) in [#&#8203;10340](https://github.com/vimeo/psalm/pull/10340) - Maintain loop start val after increment/decrement by [@&#8203;robchett](https://github.com/robchett) in [#&#8203;10263](https://github.com/vimeo/psalm/pull/10263) - Method annotation fixes by [@&#8203;robchett](https://github.com/robchett) in [#&#8203;10361](https://github.com/vimeo/psalm/pull/10361) - A segment of progress was being output early as the startScanningFile… by [@&#8203;robchett](https://github.com/robchett) in [#&#8203;10360](https://github.com/vimeo/psalm/pull/10360) - Fix at in array keys by [@&#8203;danog](https://github.com/danog) in [#&#8203;10426](https://github.com/vimeo/psalm/pull/10426) - Inherit conditional returns by [@&#8203;robchett](https://github.com/robchett) in [#&#8203;10357](https://github.com/vimeo/psalm/pull/10357) - Fix iteration over weakmaps by [@&#8203;danog](https://github.com/danog) in [#&#8203;10472](https://github.com/vimeo/psalm/pull/10472) - Suppress scanning output in CI by [@&#8203;robchett](https://github.com/robchett) in [#&#8203;10688](https://github.com/vimeo/psalm/pull/10688) - Suppress unused config suppression detection when running in partial or cache mode by [@&#8203;weirdan](https://github.com/weirdan) in [#&#8203;10694](https://github.com/vimeo/psalm/pull/10694) - Fix trait analysis by [@&#8203;danog](https://github.com/danog) in [#&#8203;10904](https://github.com/vimeo/psalm/pull/10904) ##### Docs - Doc typo by [@&#8203;cgocast](https://github.com/cgocast) in [#&#8203;10393](https://github.com/vimeo/psalm/pull/10393) - Fixed docblock spacing in `@psalm-internal` documentation example by [@&#8203;still-dreaming-1](https://github.com/still-dreaming-1) in [#&#8203;10467](https://github.com/vimeo/psalm/pull/10467) - Update dealing\_with\_code\_issues.md: Minor by [@&#8203;ThomasLandauer](https://github.com/ThomasLandauer) in [#&#8203;10954](https://github.com/vimeo/psalm/pull/10954) - Fix broken links to PHPDoc Types page in documentation by [@&#8203;elazar](https://github.com/elazar) in [#&#8203;11105](https://github.com/vimeo/psalm/pull/11105) - Fix broken phpDocumentor links on Supported Annotations docs page by [@&#8203;elazar](https://github.com/elazar) in [#&#8203;11119](https://github.com/vimeo/psalm/pull/11119) ##### Internal changes - Switch to amp v3 by [@&#8203;danog](https://github.com/danog) in [#&#8203;10024](https://github.com/vimeo/psalm/pull/10024) - Psalm v6 by [@&#8203;danog](https://github.com/danog) in [#&#8203;10040](https://github.com/vimeo/psalm/pull/10040) - Make `TLiteralFloat::$value` and `TLiteralInt::$value` typed by [@&#8203;weirdan](https://github.com/weirdan) in [#&#8203;9517](https://github.com/vimeo/psalm/pull/9517) - Psalm v6: strict\_types=1 by [@&#8203;danog](https://github.com/danog) in [#&#8203;10044](https://github.com/vimeo/psalm/pull/10044) - V6 fixes by [@&#8203;danog](https://github.com/danog) in [#&#8203;10310](https://github.com/vimeo/psalm/pull/10310) - Remove MixedInferredReturnType by [@&#8203;robchett](https://github.com/robchett) in [#&#8203;9783](https://github.com/vimeo/psalm/pull/9783) - Merge 5.x by [@&#8203;danog](https://github.com/danog) in [#&#8203;10369](https://github.com/vimeo/psalm/pull/10369) - Improve scan progress by [@&#8203;danog](https://github.com/danog) in [#&#8203;10415](https://github.com/vimeo/psalm/pull/10415) - Merge 5.x by [@&#8203;danog](https://github.com/danog) in [#&#8203;10504](https://github.com/vimeo/psalm/pull/10504) - Apply rector fixes by [@&#8203;danog](https://github.com/danog) in [#&#8203;10305](https://github.com/vimeo/psalm/pull/10305) - Do not use JIT on windows by [@&#8203;danog](https://github.com/danog) in [#&#8203;10564](https://github.com/vimeo/psalm/pull/10564) - Let disable-extension also disable zend extensions by [@&#8203;danog](https://github.com/danog) in [#&#8203;10565](https://github.com/vimeo/psalm/pull/10565) - Merge 5.x by [@&#8203;danog](https://github.com/danog) in [#&#8203;10569](https://github.com/vimeo/psalm/pull/10569) - Merge 5.x by [@&#8203;danog](https://github.com/danog) in [#&#8203;10576](https://github.com/vimeo/psalm/pull/10576) - Remove unnecessary null type from `initialized_methods` Context property by [@&#8203;theodorejb](https://github.com/theodorejb) in [#&#8203;10610](https://github.com/vimeo/psalm/pull/10610) - Update master from 5.x by [@&#8203;weirdan](https://github.com/weirdan) in [#&#8203;10597](https://github.com/vimeo/psalm/pull/10597) - Update master from 5.x by [@&#8203;weirdan](https://github.com/weirdan) in [#&#8203;10618](https://github.com/vimeo/psalm/pull/10618) - Update master from 5.x by [@&#8203;weirdan](https://github.com/weirdan) in [#&#8203;10656](https://github.com/vimeo/psalm/pull/10656) - Update master from 5.x by [@&#8203;weirdan](https://github.com/weirdan) in [#&#8203;10684](https://github.com/vimeo/psalm/pull/10684) - Fix composer warnings by [@&#8203;weirdan](https://github.com/weirdan) in [#&#8203;10695](https://github.com/vimeo/psalm/pull/10695) - Update master from 5.x by [@&#8203;weirdan](https://github.com/weirdan) in [#&#8203;10693](https://github.com/vimeo/psalm/pull/10693) - Update master from 5.x by [@&#8203;weirdan](https://github.com/weirdan) in [#&#8203;10714](https://github.com/vimeo/psalm/pull/10714) - Update master from 5.x by [@&#8203;weirdan](https://github.com/weirdan) in [#&#8203;10750](https://github.com/vimeo/psalm/pull/10750) - Update `master` from `5.x` by [@&#8203;weirdan](https://github.com/weirdan) in [#&#8203;10775](https://github.com/vimeo/psalm/pull/10775) - Update `master` from `5.x` by [@&#8203;weirdan](https://github.com/weirdan) in [#&#8203;10803](https://github.com/vimeo/psalm/pull/10803) - Fix the tests broken when running with Paratest by [@&#8203;weirdan](https://github.com/weirdan) in [#&#8203;11122](https://github.com/vimeo/psalm/pull/11122) - Fix grammar by [@&#8203;MoonE](https://github.com/MoonE) in [#&#8203;11154](https://github.com/vimeo/psalm/pull/11154) - Merge 5.x by [@&#8203;danog](https://github.com/danog) in [#&#8203;11164](https://github.com/vimeo/psalm/pull/11164) - Normalize callmap by [@&#8203;danog](https://github.com/danog) in [#&#8203;11174](https://github.com/vimeo/psalm/pull/11174) - Normalize callmap by [@&#8203;danog](https://github.com/danog) in [#&#8203;11175](https://github.com/vimeo/psalm/pull/11175) - Remove unnecessary array spread of temp arrays by [@&#8203;MoonE](https://github.com/MoonE) in [#&#8203;11182](https://github.com/vimeo/psalm/pull/11182) - PHP 8.4 support, dictionary refactoring by [@&#8203;danog](https://github.com/danog) in [#&#8203;11169](https://github.com/vimeo/psalm/pull/11169) - Add support for PHP 8.4 by [@&#8203;GromNaN](https://github.com/GromNaN) in [#&#8203;10928](https://github.com/vimeo/psalm/pull/10928) ##### Typos - Fix typos by [@&#8203;szepeviktor](https://github.com/szepeviktor) in [#&#8203;10963](https://github.com/vimeo/psalm/pull/10963) ##### Other changes - Update nikic/php-parser to 5.0 by [@&#8203;edsrzf](https://github.com/edsrzf) in [#&#8203;10567](https://github.com/vimeo/psalm/pull/10567) - :bug: Fix "Config supression" link by [@&#8203;homersimpsons](https://github.com/homersimpsons) in [#&#8203;11185](https://github.com/vimeo/psalm/pull/11185) #### New Contributors - [@&#8203;braindawg](https://github.com/braindawg) made their first contribution in [#&#8203;10276](https://github.com/vimeo/psalm/pull/10276) - [@&#8203;elazar](https://github.com/elazar) made their first contribution in [#&#8203;11105](https://github.com/vimeo/psalm/pull/11105) - [@&#8203;mkilmanas](https://github.com/mkilmanas) made their first contribution in [#&#8203;11172](https://github.com/vimeo/psalm/pull/11172) - [@&#8203;homersimpsons](https://github.com/homersimpsons) made their first contribution in [#&#8203;11185](https://github.com/vimeo/psalm/pull/11185) **Full Changelog**: <https://github.com/vimeo/psalm/compare/5.26.1...6.0.0> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC41LjIiLCJ1cGRhdGVkSW5WZXIiOiI0NC4yOS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Update dependency vimeo/psalm to v6
Some checks failed
renovate/artifacts Artifact file update failure
Lint info.xml / info.xml lint (pull_request) Successful in 3s
PHPUnit SQLite / changes (pull_request) Successful in 1s
PHPUnit SQLite / versions (pull_request) Successful in 14s
PHP / versions (pull_request) Successful in 14s
Static analysis / versions (pull_request) Successful in 12s
Node / NPM (pull_request) Successful in 15s
REUSE Compliance Check / reuse-compliance-check (pull_request) Successful in 3s
PHP / PHP 8.1 (8.1) (pull_request) Failing after 50s
PHPUnit SQLite / SQLite PHP 8.5 Nextcloud master (8.5, master) (pull_request) Failing after 1m44s
Static analysis / static-psalm-analysis dev-stable31 (dev-stable31, 8.4) (pull_request) Failing after 50s
Static analysis / static-psalm-analysis dev-master (dev-master, 8.5) (pull_request) Failing after 59s
Static analysis / static-psalm-analysis dev-stable32 (dev-stable32, 8.4) (pull_request) Failing after 41s
PHP / PHP 8.5 (8.5) (pull_request) Failing after 1m19s
Static analysis / static-psalm-analysis dev-stable33 (dev-stable33, 8.5) (pull_request) Failing after 58s
Static analysis / static-psalm-analysis dev-stable34 (dev-stable34, 8.5) (pull_request) Failing after 58s
PHPUnit SQLite / phpunit-sqlite-summary (pull_request) Failing after 2s
Static analysis / static-psalm-analysis-summary (pull_request) Failing after 1s
6f617ae099
Author
Collaborator

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: vendor-bin/psalm/composer.lock
Command failed: composer update vimeo/psalm:6.16.1 --with-dependencies --ignore-platform-req=ext-* --ignore-platform-req=lib-* --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires vimeo/psalm ^6.0 -> satisfiable by vimeo/psalm[6.16.1].
    - vimeo/psalm 6.16.1 requires php ~8.1.31 || ~8.2.27 || ~8.3.16 || ~8.4.3 || ~8.5.0 -> your php version (8.1; overridden via config.platform, same as actual) does not satisfy that requirement.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

### ⚠️ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: vendor-bin/psalm/composer.lock ``` Command failed: composer update vimeo/psalm:6.16.1 --with-dependencies --ignore-platform-req=ext-* --ignore-platform-req=lib-* --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires vimeo/psalm ^6.0 -> satisfiable by vimeo/psalm[6.16.1]. - vimeo/psalm 6.16.1 requires php ~8.1.31 || ~8.2.27 || ~8.3.16 || ~8.4.3 || ~8.5.0 -> your php version (8.1; overridden via config.platform, same as actual) does not satisfy that requirement. Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. ```
Some checks failed
renovate/artifacts Artifact file update failure
Lint info.xml / info.xml lint (pull_request) Successful in 3s
PHPUnit SQLite / changes (pull_request) Successful in 1s
PHPUnit SQLite / versions (pull_request) Successful in 14s
PHP / versions (pull_request) Successful in 14s
Static analysis / versions (pull_request) Successful in 12s
Node / NPM (pull_request) Successful in 15s
REUSE Compliance Check / reuse-compliance-check (pull_request) Successful in 3s
PHP / PHP 8.1 (8.1) (pull_request) Failing after 50s
PHPUnit SQLite / SQLite PHP 8.5 Nextcloud master (8.5, master) (pull_request) Failing after 1m44s
Static analysis / static-psalm-analysis dev-stable31 (dev-stable31, 8.4) (pull_request) Failing after 50s
Static analysis / static-psalm-analysis dev-master (dev-master, 8.5) (pull_request) Failing after 59s
Static analysis / static-psalm-analysis dev-stable32 (dev-stable32, 8.4) (pull_request) Failing after 41s
PHP / PHP 8.5 (8.5) (pull_request) Failing after 1m19s
Static analysis / static-psalm-analysis dev-stable33 (dev-stable33, 8.5) (pull_request) Failing after 58s
Static analysis / static-psalm-analysis dev-stable34 (dev-stable34, 8.5) (pull_request) Failing after 58s
PHPUnit SQLite / phpunit-sqlite-summary (pull_request) Failing after 2s
Static analysis / static-psalm-analysis-summary (pull_request) Failing after 1s
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/vimeo-psalm-6.x:renovate/vimeo-psalm-6.x
git switch renovate/vimeo-psalm-6.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff renovate/vimeo-psalm-6.x
git switch renovate/vimeo-psalm-6.x
git rebase main
git switch main
git merge --ff-only renovate/vimeo-psalm-6.x
git switch renovate/vimeo-psalm-6.x
git rebase main
git switch main
git merge --no-ff renovate/vimeo-psalm-6.x
git switch main
git merge --squash renovate/vimeo-psalm-6.x
git switch main
git merge --ff-only renovate/vimeo-psalm-6.x
git switch main
git merge renovate/vimeo-psalm-6.x
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lukasdotcom/nextcloud-shortcuts!8
No description provided.