Skip to content

Update dependency vimeo/psalm to v6 #107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 3.2.x
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 27, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vimeo/psalm ^5.18 -> ^6.0 age adoption passing confidence

Release Notes

vimeo/psalm (vimeo/psalm)

v6.13.0

Compare Source

What's Changed

Features
  • ✨ Full support for iterables for iterator_to_array by @​andrew-demb in 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 @​danog

Full Changelog: vimeo/psalm@6.12.1...6.13.0

v6.12.1

Compare Source

What's Changed

Fixes

Full Changelog: vimeo/psalm@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: vimeo/psalm@6.11.0...6.12.0

v6.11.0

Compare Source

What's Changed

Features
Fixes

Subscribe to the brand new Psalm newsletter to stay up to date with all of Psalm's news!

Full Changelog: vimeo/psalm@6.10.3...6.11.0

v6.10.3

Compare Source

What's Changed

Fixes

Full Changelog: vimeo/psalm@6.10.2...6.10.3

v6.10.2

Compare Source

What's Changed

Fixes

New Contributors

Full Changelog: vimeo/psalm@6.10.1...6.10.2

v6.10.1

Compare Source

What's Changed

Fixes

Full Changelog: vimeo/psalm@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: vimeo/psalm@6.9.6...6.10.0

v6.9.6

Compare Source

Add git, ssh and composer to the docker image by @​danog.

Full Changelog: vimeo/psalm@6.9.5...6.9.6

v6.9.5

Compare Source

What's Changed

Fixes

Full Changelog: vimeo/psalm@6.9.4...6.9.5

v6.9.4

Compare Source

What's Changed

Fixes

Full Changelog: vimeo/psalm@6.9.3...6.9.4

v6.9.3

Compare Source

What's Changed

Fixes
Internal changes

Full Changelog: vimeo/psalm@6.9.2...6.9.3

v6.9.2

Compare Source

Fixes multiplatform builds for the latest tag of the docker image ».

Full Changelog: vimeo/psalm@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: vimeo/psalm@6.8.9...6.9.0

v6.8.9

Compare Source

What's Changed

Fixes
Internal changes

Full Changelog: vimeo/psalm@6.8.8...6.8.9

v6.8.8

Compare Source

What's Changed

Fixes
Internal changes

Full Changelog: vimeo/psalm@6.8.7...6.8.8

v6.8.7

Compare Source

What's Changed

Fixes

Full Changelog: vimeo/psalm@6.8.6...6.8.7

v6.8.6

Compare Source

What's Changed

Fixes

Full Changelog: vimeo/psalm@6.8.5...6.8.6

v6.8.5

Compare Source

What's Changed

Fixes

Full Changelog: vimeo/psalm@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: vimeo/psalm@6.8.3...6.8.4

v6.8.3

Compare Source

What's Changed

Fixes
Internal changes

Full Changelog: vimeo/psalm@6.8.2...6.8.3

v6.8.2

Compare Source

What's Changed

Fixes

Full Changelog: vimeo/psalm@6.8.1...6.8.2

v6.8.1

Compare Source

What's Changed

Internal changes

Full Changelog: vimeo/psalm@6.8.0...6.8.1

v6.8.0

Compare Source

What's Changed

Features
Fixes

New Contributors

Full Changelog: vimeo/psalm@6.7.1...6.8.0

v6.7.1

Compare Source

What's Changed

Internal changes

Full Changelog: vimeo/psalm@6.7.0...6.7.1

v6.7.0

Compare Source

What's Changed

Features
Fixes
Internal changes

New Contributors

Full Changelog: vimeo/psalm@6.6.2...6.7.0

v6.6.2

Compare Source

What's Changed

Fixes

Full Changelog: vimeo/psalm@6.6.1...6.6.2

v6.6.1

Compare Source

What's Changed

Fixes
Docs

Full Changelog: vimeo/psalm@6.6.0...6.6.1

v6.6.0

Compare Source

What's Changed

Features
Fixes
Docs
Internal changes

Full Changelog: vimeo/psalm@6.5.1...6.6.0

v6.5.1

Compare Source

What's Changed

Fixes
Internal changes

Full Changelog: vimeo/psalm@6.5.0...6.5.1

v6.5.0

Compare Source

What's Changed

Features
Fixes

Full Changelog: vimeo/psalm@6.4.1...6.5.0

v6.4.1

Compare Source

What's Changed

Fixes
Internal changes

New Contributors

Full Changelog: vimeo/psalm@6.4.0...6.5.0

v6.4.0

Compare Source

What's Changed

Features
Fixes

Full Changelog: vimeo/psalm@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: vimeo/psalm@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: vimeo/psalm@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: vimeo/psalm@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

Configuration

📅 Schedule: 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 is behind base branch, 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

Read more information about the use of Renovate Bot within Laminas.

@renovate renovate bot added the renovate label Jan 27, 2025
Copy link
Contributor Author

renovate bot commented Jan 27, 2025

⚠️ 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: composer.lock
Command failed: composer update vimeo/psalm:6.13.0 --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, found vimeo/psalm[6.0.0, ..., 6.13.0] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - psalm/plugin-phpunit is locked to version 0.19.0 and an update of this package was not requested.
    - psalm/plugin-phpunit 0.19.0 requires vimeo/psalm dev-master || ^5@beta || ^5.0 -> found vimeo/psalm[5.0.0, ..., 5.26.1] but it conflicts with your root composer.json require (^6.0).

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

@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch from d35b027 to ec5fb3d Compare January 27, 2025 04:42
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch 2 times, most recently from 3852c10 to 72e8512 Compare February 10, 2025 05:09
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch from 72e8512 to 63e77b4 Compare February 17, 2025 06:28
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch from 63e77b4 to 0b783a2 Compare February 24, 2025 07:06
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch from 0b783a2 to db8607c Compare March 3, 2025 07:17
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch 2 times, most recently from 9a67de7 to 43c9cc9 Compare March 24, 2025 06:50
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch from 43c9cc9 to b53dd38 Compare March 31, 2025 06:12
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch 2 times, most recently from 6b5de1d to d38b215 Compare April 14, 2025 06:43
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch 2 times, most recently from 0028ec5 to 803ea53 Compare May 5, 2025 06:27
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch from 803ea53 to 448c9d8 Compare May 12, 2025 05:51
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch 2 times, most recently from f24e40e to 5da5620 Compare May 26, 2025 05:31
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch from 5da5620 to 2820540 Compare June 2, 2025 05:55
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch 2 times, most recently from 26c453f to d6c52a2 Compare June 16, 2025 06:12
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch 2 times, most recently from 6d5012e to e37ddb3 Compare June 30, 2025 04:48
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch from e37ddb3 to 8f77e5d Compare July 7, 2025 05:05
| datasource | package     | from   | to     |
| ---------- | ----------- | ------ | ------ |
| packagist  | vimeo/psalm | 5.26.1 | 6.13.0 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch from 8f77e5d to ec57b52 Compare July 21, 2025 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants