mezzio-authentication-oauth2
mezzio-authentication-oauth2 copied to clipboard
Update dependency vimeo/psalm to v6
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| vimeo/psalm | ^5.26.1 -> ^6.0.0 |
Release Notes
vimeo/psalm (vimeo/psalm)
v6.0.0: Psalm v6
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.
ignoreInternalFunctionFalseReturnandignoreInternalFunctionNullReturnare nowfalseby 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
- Add --force-jit flag by @danog in https://github.com/vimeo/psalm/pull/11165
- Xpath injection detection #10162 by @cgocast in https://github.com/vimeo/psalm/pull/10163
- Backed enum value changed to Atomic instead of scalar int or strings by @tuqqu in https://github.com/vimeo/psalm/pull/10165
- Introduce NonVariableReferenceReturn issue by @tuqqu in https://github.com/vimeo/psalm/pull/10227
- Detect DoS by sleep #10178 by @cgocast in https://github.com/vimeo/psalm/pull/10183
- Introduce
DuplicatePropertyissue by @tuqqu in https://github.com/vimeo/psalm/pull/10265 - Disable ignoreInternalFunction(False|Null)Return by default by @robchett in https://github.com/vimeo/psalm/pull/10211
- Add intl extension stub by @braindawg in https://github.com/vimeo/psalm/pull/10276
- Improved type of callable-array by @robchett in https://github.com/vimeo/psalm/pull/9794
- Add progress for scanning stage by @robchett in https://github.com/vimeo/psalm/pull/10345
- Allow enum cases to be global constants by @robchett in https://github.com/vimeo/psalm/pull/10339
- Report unused issue handler suppressions by @robchett in https://github.com/vimeo/psalm/pull/10341
- Support @(no-)seal-(properties|methods) annotations without prefix by @robchett in https://github.com/vimeo/psalm/pull/10344
- Stub constants for ZipArchive from ext-zip by @braindawg in https://github.com/vimeo/psalm/pull/10332
- Allow type aliases for static variables by @robchett in https://github.com/vimeo/psalm/pull/10362
- Inherit magic methods from @mixin by @robchett in https://github.com/vimeo/psalm/pull/10356
- TaintedExtract by @cgocast in https://github.com/vimeo/psalm/pull/10417
- feat: Default baseline file by @jorgsowa in https://github.com/vimeo/psalm/pull/10696
- Add phpstub for amqp extension (php-amqp) by @mkilmanas in https://github.com/vimeo/psalm/pull/11172
- Add phpstub for amqp extension (php-amqp) by @mkilmanas in https://github.com/vimeo/psalm/pull/11181
Fixes
- Fix #10047 by @cgocast in https://github.com/vimeo/psalm/pull/10048
- Respect stubs in all cases by @mmcev106 in https://github.com/vimeo/psalm/pull/10092
- Hotfix Shepard build by @robchett in https://github.com/vimeo/psalm/pull/10268
- Hotfix shepard build by @robchett in https://github.com/vimeo/psalm/pull/10343
- Add constants from SOAP extension to stub by @braindawg in https://github.com/vimeo/psalm/pull/10333
- Incorrectly asserting non-empty-list after combining with empty list by @robchett in https://github.com/vimeo/psalm/pull/9787
- Consistent type docblock parsing by @robchett in https://github.com/vimeo/psalm/pull/10326
- Fix stub for RecursiveArrayIterator::getChildren by @robchett in https://github.com/vimeo/psalm/pull/10340
- Maintain loop start val after increment/decrement by @robchett in https://github.com/vimeo/psalm/pull/10263
- Method annotation fixes by @robchett in https://github.com/vimeo/psalm/pull/10361
- A segment of progress was being output early as the startScanningFile… by @robchett in https://github.com/vimeo/psalm/pull/10360
- Fix at in array keys by @danog in https://github.com/vimeo/psalm/pull/10426
- Inherit conditional returns by @robchett in https://github.com/vimeo/psalm/pull/10357
- Fix iteration over weakmaps by @danog in https://github.com/vimeo/psalm/pull/10472
- Suppress scanning output in CI by @robchett in https://github.com/vimeo/psalm/pull/10688
- Suppress unused config suppression detection when running in partial or cache mode by @weirdan in https://github.com/vimeo/psalm/pull/10694
- Fix trait analysis by @danog in https://github.com/vimeo/psalm/pull/10904
Docs
- Doc typo by @cgocast in https://github.com/vimeo/psalm/pull/10393
- Fixed docblock spacing in
@psalm-internaldocumentation example by @still-dreaming-1 in https://github.com/vimeo/psalm/pull/10467 - Update dealing_with_code_issues.md: Minor by @ThomasLandauer in https://github.com/vimeo/psalm/pull/10954
- Fix broken links to PHPDoc Types page in documentation by @elazar in https://github.com/vimeo/psalm/pull/11105
- Fix broken phpDocumentor links on Supported Annotations docs page by @elazar in https://github.com/vimeo/psalm/pull/11119
Internal changes
- Switch to amp v3 by @danog in https://github.com/vimeo/psalm/pull/10024
- Psalm v6 by @danog in https://github.com/vimeo/psalm/pull/10040
- Make
TLiteralFloat::$valueandTLiteralInt::$valuetyped by @weirdan in https://github.com/vimeo/psalm/pull/9517 - Psalm v6: strict_types=1 by @danog in https://github.com/vimeo/psalm/pull/10044
- V6 fixes by @danog in https://github.com/vimeo/psalm/pull/10310
- Remove MixedInferredReturnType by @robchett in https://github.com/vimeo/psalm/pull/9783
- Merge 5.x by @danog in https://github.com/vimeo/psalm/pull/10369
- Improve scan progress by @danog in https://github.com/vimeo/psalm/pull/10415
- Merge 5.x by @danog in https://github.com/vimeo/psalm/pull/10504
- Apply rector fixes by @danog in https://github.com/vimeo/psalm/pull/10305
- Do not use JIT on windows by @danog in https://github.com/vimeo/psalm/pull/10564
- Let disable-extension also disable zend extensions by @danog in https://github.com/vimeo/psalm/pull/10565
- Merge 5.x by @danog in https://github.com/vimeo/psalm/pull/10569
- Merge 5.x by @danog in https://github.com/vimeo/psalm/pull/10576
- Remove unnecessary null type from
initialized_methodsContext property by @theodorejb in https://github.com/vimeo/psalm/pull/10610 - Update master from 5.x by @weirdan in https://github.com/vimeo/psalm/pull/10597
- Update master from 5.x by @weirdan in https://github.com/vimeo/psalm/pull/10618
- Update master from 5.x by @weirdan in https://github.com/vimeo/psalm/pull/10656
- Update master from 5.x by @weirdan in https://github.com/vimeo/psalm/pull/10684
- Fix composer warnings by @weirdan in https://github.com/vimeo/psalm/pull/10695
- Update master from 5.x by @weirdan in https://github.com/vimeo/psalm/pull/10693
- Update master from 5.x by @weirdan in https://github.com/vimeo/psalm/pull/10714
- Update master from 5.x by @weirdan in https://github.com/vimeo/psalm/pull/10750
- Update
masterfrom5.xby @weirdan in https://github.com/vimeo/psalm/pull/10775 - Update
masterfrom5.xby @weirdan in https://github.com/vimeo/psalm/pull/10803 - Fix the tests broken when running with Paratest by @weirdan in https://github.com/vimeo/psalm/pull/11122
- Fix grammar by @MoonE in https://github.com/vimeo/psalm/pull/11154
- Merge 5.x by @danog in https://github.com/vimeo/psalm/pull/11164
- Normalize callmap by @danog in https://github.com/vimeo/psalm/pull/11174
- Normalize callmap by @danog in https://github.com/vimeo/psalm/pull/11175
- Remove unnecessary array spread of temp arrays by @MoonE in https://github.com/vimeo/psalm/pull/11182
- PHP 8.4 support, dictionary refactoring by @danog in https://github.com/vimeo/psalm/pull/11169
- Add support for PHP 8.4 by @GromNaN in https://github.com/vimeo/psalm/pull/10928
Typos
- Fix typos by @szepeviktor in https://github.com/vimeo/psalm/pull/10963
Other changes
- Update nikic/php-parser to 5.0 by @edsrzf in https://github.com/vimeo/psalm/pull/10567
- :bug: Fix "Config supression" link by @homersimpsons in https://github.com/vimeo/psalm/pull/11185
New Contributors
- @braindawg made their first contribution in https://github.com/vimeo/psalm/pull/10276
- @elazar made their first contribution in https://github.com/vimeo/psalm/pull/11105
- @mkilmanas made their first contribution in https://github.com/vimeo/psalm/pull/11172
- @homersimpsons made their first contribution in https://github.com/vimeo/psalm/pull/11185
Full Changelog: https://github.com/vimeo/psalm/compare/5.26.1...6.0.0
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.
⚠️ 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 webmozart/assert 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/container 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.
Dependency psr/http-factory 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
- 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).
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠️ Warning: custom changes will be lost.