Skip to content

Bump tomasvotruba/type-coverage from 2.2.2 to 2.3.0 - #31

Merged
CodeWithSushil merged 1 commit into
masterfrom
dependabot/composer/tomasvotruba/type-coverage-2.3.0
Aug 12, 2026
Merged

Bump tomasvotruba/type-coverage from 2.2.2 to 2.3.0#31
CodeWithSushil merged 1 commit into
masterfrom
dependabot/composer/tomasvotruba/type-coverage-2.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 2, 2026

Copy link
Copy Markdown
Contributor

Bumps tomasvotruba/type-coverage from 2.2.2 to 2.3.0.

Release notes

Sourced from tomasvotruba/type-coverage's releases.

Type Coverage 2.3.0 released

Type Perfect rules are now part of this package

rector/type-perfect has been merged into tomasvotruba/type-coverage (#68). Its rules live in packages/type-perfect and keep the Rector\TypePerfect\ namespace, so existing ignoreErrors patterns still match.

The extension is registered automatically via phpstan/extension-installer — no extra includes needed.

If you use both packages, drop rector/type-perfect from composer.json to avoid duplicate rules:

 "require-dev": {
     "tomasvotruba/type-coverage": "^2.3",
-    "rector/type-perfect": "^2.1"
 }

All Type Perfect rules are opt-in

Four rules used to report right after install, with no way off short of ignoreErrors. They now match the rest of the set — off by default, one parameter each (#69):

 parameters:
     type_perfect:
         narrow_param: false
         narrow_return: false
         no_mixed: false
         null_over_false: false
+        no_param_type_removal: false
+        no_array_access_on_object: false
+        no_isset_on_object: false
+        no_empty_on_object: false

Enable what you want:

parameters:
    type_perfect:
        narrow_param: true
        narrow_return: true
        no_mixed_property: true
        no_mixed_caller: true
        null_over_false: true
        no_param_type_removal: true
        no_array_access_on_object: true
        no_isset_on_object: true
        no_empty_on_object: true

What each of those 4 catches:

... (truncated)

Commits
  • 7ba48c1 bump symfony/dom-crawler to ^8.1 (#70)
  • 8cedbb8 [DX] Make type-perfect rules configurable, disabled by default (#69)
  • fbba498 Merge rector/type-perfect into this repo (#68)
  • See full diff in compare view

@dependabot @github

dependabot Bot commented on behalf of github Aug 2, 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.

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Aug 2, 2026
Bumps [tomasvotruba/type-coverage](https://github.com/TomasVotruba/type-coverage) from 2.2.2 to 2.3.0.
- [Release notes](https://github.com/TomasVotruba/type-coverage/releases)
- [Commits](TomasVotruba/type-coverage@2.2.2...2.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/composer/tomasvotruba/type-coverage-2.3.0 branch from ee40e09 to c1796e1 Compare August 12, 2026 15:24
@CodeWithSushil
CodeWithSushil merged commit 9d41b8c into master Aug 12, 2026
1 check passed
@dependabot
dependabot Bot deleted the dependabot/composer/tomasvotruba/type-coverage-2.3.0 branch August 12, 2026 15:32
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.

1 participant