Skip to content

Update dependency vimeo/psalm to v6 #270

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: 1.26.x
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 28, 2025

This PR contains the following updates:

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

Release Notes

vimeo/psalm (vimeo/psalm)

v6.13.0

Compare Source

What's Changed

Features

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 28, 2025
Copy link
Contributor Author

renovate bot commented Jan 28, 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.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
Dependency symfony/console is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency psr/log is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency psr/http-message is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires vimeo/psalm ^6.0.0, found vimeo/psalm[6.0.0, ..., 6.13.1] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - php-standard-library/psalm-plugin is locked to version 2.3.0 and an update of this package was not requested.
    - php-standard-library/psalm-plugin 2.3.0 requires vimeo/psalm >=5.16 -> found vimeo/psalm[5.16.0, ..., 5.26.1, 6.0.0, ..., 6.13.1] but these were not loaded, likely because it conflicts with another require.
  Problem 3
    - 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.0).
  Problem 4
    - roave/infection-static-analysis-plugin is locked to version 1.35.0 and an update of this package was not requested.
    - roave/infection-static-analysis-plugin 1.35.0 requires vimeo/psalm ^4.30.0 || ^5.15 -> found vimeo/psalm[4.30.0, 5.15.0, ..., 5.26.1] but it conflicts with your root composer.json require (^6.0.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 907139b to 9735a26 Compare February 3, 2025 05:23
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch 2 times, most recently from f1517df to bab6684 Compare February 24, 2025 05:35
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch from bab6684 to b767ecb Compare March 3, 2025 06:26
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch 2 times, most recently from 8690ded to 45777eb Compare March 31, 2025 05:56
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch from 45777eb to b177664 Compare April 7, 2025 05:47
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch from b177664 to 4677bee Compare April 14, 2025 07:06
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch from 4677bee to eae6018 Compare May 5, 2025 06:22
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch from eae6018 to 5c9e15e Compare May 12, 2025 07:01
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch from 5c9e15e to 3bee61f Compare May 19, 2025 08:26
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch 2 times, most recently from 415d877 to d21f191 Compare June 16, 2025 06:50
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch 2 times, most recently from 792aeb9 to 5831a35 Compare June 30, 2025 06:14
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch 2 times, most recently from 17a1c9f to 382792a Compare July 14, 2025 07:13
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch from 382792a to 8bcbfd6 Compare July 21, 2025 06:12
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch 2 times, most recently from ea7b20e to e09c34c Compare August 4, 2025 05:45
@renovate renovate bot force-pushed the renovate/vimeo-psalm-6.x branch from e09c34c to 3ad6d81 Compare August 11, 2025 05:51
| datasource | package     | from   | to     |
| ---------- | ----------- | ------ | ------ |
| packagist  | vimeo/psalm | 5.26.1 | 6.13.1 |


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 3ad6d81 to 48bbfe7 Compare August 11, 2025 15:56
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