Skip to content

Bump tomasvotruba/type-coverage from 2.3.6 to 2.4.0 - #62

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/tomasvotruba/type-coverage-2.4.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/tomasvotruba/type-coverage-2.4.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 4, 2026

Copy link
Copy Markdown
Contributor

Bumps tomasvotruba/type-coverage from 2.3.6 to 2.4.0.

Release notes

Sourced from tomasvotruba/type-coverage's releases.

Type Coverage 2.4.0

NarrowPublicClassMethodParamTypeRule is gone - the narrow_param group now checks private methods only.

Removed 🧹

NarrowPublicClassMethodParamTypeRule

Public method can be called from places outside the analysed code, so narrowing its param types based on known calls was risky and yielded false positives (#90).

parameters:
    type_perfect:
        # now runs only NarrowPrivateClassMethodParamTypeRule
        narrow_param: true

Its 3 collectors and helper services went with it.

⚠️ Drop any ignoreErrors or direct registration of NarrowPublicClassMethodParamTypeRule from your phpstan.neon - the class no longer exists.

Type Coverage 2.3.7

Bugfixes 🐛

  • Count a trait member once per declaration, not once per using class - fixes return coverage counting a trait method N times when N classes use the trait, so the denominator describes the code instead of trait popularity (#78), thanks @​SanderMuller
  • Count a trait param once per declaration - same fix for param coverage, keyed on start position so multiple declarations on one line stay distinct (#85), thanks @​SanderMuller
Commits
  • 7980db4 [deprecated] Remove NarrowPublicClassMethodParamTypeRule (#90)
  • 7f7c869 Remove downgraded release workflow (#89)
  • 429c42c Count a trait param declaration once per declaration (param coverage) (#85)
  • bf1fd95 Count a trait member once per declaration, not once per using class (#78)
  • See full diff in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [tomasvotruba/type-coverage](https://github.com/TomasVotruba/type-coverage) from 2.3.6 to 2.4.0.
- [Release notes](https://github.com/TomasVotruba/type-coverage/releases)
- [Commits](TomasVotruba/type-coverage@2.3.6...2.4.0)

---
updated-dependencies:
- dependency-name: tomasvotruba/type-coverage
  dependency-version: 2.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Oct 4, 2026
@dependabot @github

dependabot Bot commented on behalf of github Oct 4, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: php. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants