ramsey / php-library-starter-kit

:building_construction: A tool to quickly set up the base files of a PHP library project.
MIT License
244 stars 25 forks source link

chore(deps-dev): update vimeo/psalm requirement from ^3.12.2 to ^4.1.0 #12

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Updates the requirements on vimeo/psalm to permit the latest version.

Release notes

Sourced from vimeo/psalm's releases.

Support PHP 8 Attributes

Features

This adds basic support for PHP 8 attributes (#4367). Psalm checks attribute arguments, and also emits a UndefinedAttributeClass issue if the attribute cannot be found.

This version of Psalm can also be installed when using PHP 8.

Bugfixes

  • class getIterator calls are used inside loops (#3625)
  • allow Psalm to understand more assignments when evaluating implicit else (#4374)
  • promoted properties are always used in the constructor (#4386)
  • arraylike-object should be Countable too (#4398)
  • signature types (return & param types) weren't being invalidated when their use changed, now they are
  • allow multiple @psalm-assert-if-true on a single variable (#4414)
  • uses better path normalisation when resolveFromConfig="true" so that existing baselines need only small adjustments (#4410)
  • @BenMorel improved some ext-ds stubs (#4415)
  • allow implicit null->offsetGet() inside an isset call (#4397)
  • fix try analysis on assigned vars when they're typed to mixed (#4418)
  • any class with a __toString method in PHP 8 is assumed to implement Stringable (#4429)
  • fix crash when encountering no-argument str_replace, DOMNode::appendChild, crypt, get_class_methods, iterator_to_array, get_object_vars calls
  • prevent unused variable false-positive when (bool) or (float) casts are used (#4435)
  • @enumag improved ext-ds stubs with immutable data structures (#4425)
Commits
  • 8929bde Add psalm-mutation-free to ext-ds (#4425)
  • 4bb675e Pass CodeLocation to FunctionParamsProviderInterface interface (#4444)
  • 82f35c1 Ensure Stringable is always available to tests that need it
  • 438bcc6 Use softer return
  • 2e95d1f Use more robust check for Stringable stub
  • 5c784dc Fix #4435 - ensure casts are always flow-sensitive
  • fce5c26 Remove subpar test
  • dab1aac Protect more calls
  • f43dba8 Use more accurate comparison for non-empty-lists
  • 083102a Fix count call
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
codecov[bot] commented 3 years ago

Codecov Report

Merging #12 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##              master       #12   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity       269       269           
===========================================
  Files             48        48           
  Lines           1009       968   -41     
===========================================
- Hits            1009       968   -41     
Impacted Files Coverage Δ Complexity Δ
src/Skeleton/Setup.php 100.00% <0.00%> (ø) 13.00% <0.00%> (ø%)
src/Skeleton/Task/Task.php 100.00% <0.00%> (ø) 11.00% <0.00%> (ø%)
src/Skeleton/Task/Build.php 100.00% <0.00%> (ø) 7.00% <0.00%> (ø%)
src/Skeleton/Task/Prompt.php 100.00% <0.00%> (ø) 6.00% <0.00%> (ø%)
src/Skeleton/Task/Builder.php 100.00% <0.00%> (ø) 2.00% <0.00%> (ø%)
src/Skeleton/Task/Question.php 100.00% <0.00%> (ø) 17.00% <0.00%> (ø%)
src/Skeleton/Task/Builder/Cleanup.php 100.00% <0.00%> (ø) 2.00% <0.00%> (ø%)
src/Skeleton/Task/Builder/RunTests.php 100.00% <0.00%> (ø) 1.00% <0.00%> (ø%)
src/Skeleton/Task/InstallQuestions.php 100.00% <0.00%> (ø) 2.00% <0.00%> (ø%)
src/Skeleton/Task/Questions/License.php 100.00% <0.00%> (ø) 6.00% <0.00%> (ø%)
... and 17 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3e35d6a...6f7deae. Read the comment docs.

dependabot-preview[bot] commented 3 years ago

This pull request will no longer be automatically closed when a new version is found as this pull request was created by Dependabot Preview and this repo is using a version: 2 config file. You can close this pull request and let Dependabot re-create it the next time it checks for updates.

dependabot-preview[bot] commented 3 years ago

Looks like vimeo/psalm is no longer a dependency, so this is no longer needed.