Skip to content

composer(deps-dev): bump vimeo/psalm from 3.12.2 to 3.13.1#249

Merged
ergebnis-bot merged 3 commits intomainfrom
dependabot/composer/vimeo/psalm-3.13.1
Jul 31, 2020
Merged

composer(deps-dev): bump vimeo/psalm from 3.12.2 to 3.13.1#249
ergebnis-bot merged 3 commits intomainfrom
dependabot/composer/vimeo/psalm-3.13.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jul 31, 2020

Bumps vimeo/psalm from 3.12.2 to 3.13.1.

Release notes

Sourced from vimeo/psalm's releases.

Minor bugfixes

  • fixes a possible crash when recursing through template params (#3912)
  • improves the return type for fgetcsv (now more lenient)

Allow MissingPropertyType to be fixed automatically

Features

MissingPropertyType fixer

Running vendor/bin/psalm --alter --issues=MissingPropertyType (when using PHP 7.4) on

<?php
class A {
    public $string_or_int;
    public $only_string;
    public $conditionally_set_string;
public function __construct()
{
    if (rand(0, 1)) {
        $this-&gt;string_or_int = 5;
    } else {
        $this-&gt;string_or_int = &quot;hello&quot;;
        $this-&gt;conditionally_set_string = &quot;goodbye&quot;;
    }
$this-&amp;gt;only_string = &amp;quot;bar&amp;quot;;

}

}

gives

<?php
class A {
    /**
     * @var string|int
     */
    public $string_or_int;
public string $only_string;
/**

@var null|string
*/
public $conditionally_set_string;

public function __construct()

</tr></table> ... (truncated)

Commits

Dependabot compatibility score

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

Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 3.12.2 to 3.13.1.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](vimeo/psalm@3.12.2...3.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 31, 2020

Codecov Report

Merging #249 into main will increase coverage by 0.06%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #249      +/-   ##
============================================
+ Coverage     83.88%   83.95%   +0.06%     
- Complexity      149      150       +1     
============================================
  Files            23       23              
  Lines           484      486       +2     
============================================
+ Hits            406      408       +2     
  Misses           78       78              
Impacted Files Coverage Δ Complexity Δ
src/Classes/FinalRule.php 88.88% <100.00%> (ø) 17.00 <0.00> (ø)
src/Classes/NoExtendsRule.php 84.61% <100.00%> (ø) 7.00 <0.00> (ø)
.../Functions/NoNullableReturnTypeDeclarationRule.php 69.23% <100.00%> (ø) 5.00 <0.00> (ø)
src/Methods/FinalInAbstractClassRule.php 80.00% <0.00%> (+1.73%) 9.00% <0.00%> (+1.00%)

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 c51e259...fbb4d79. Read the comment docs.

@localheinz localheinz self-requested a review July 31, 2020 17:59
@localheinz localheinz self-assigned this Jul 31, 2020
@localheinz localheinz force-pushed the dependabot/composer/vimeo/psalm-3.13.1 branch from dc85d87 to fbb4d79 Compare July 31, 2020 17:59
@ergebnis-bot ergebnis-bot self-requested a review July 31, 2020 18:01
@ergebnis-bot ergebnis-bot self-assigned this Jul 31, 2020
@ergebnis-bot ergebnis-bot merged commit e6e2bbf into main Jul 31, 2020
@ergebnis-bot ergebnis-bot deleted the dependabot/composer/vimeo/psalm-3.13.1 branch July 31, 2020 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants