Skip to content
This repository was archived by the owner on Jul 30, 2026. It is now read-only.

Deprecate package, merged into tomasvotruba/type-coverage - #78

Merged
TomasVotruba merged 1 commit into
mainfrom
deprecate-in-favor-of-type-coverage
Jul 30, 2026
Merged

Deprecate package, merged into tomasvotruba/type-coverage#78
TomasVotruba merged 1 commit into
mainfrom
deprecate-in-favor-of-type-coverage

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Rules were merged into tomasvotruba/type-coverage in 2.3.0. This marks rector/type-perfect as abandoned and documents the switch.

composer.json

-    "description": "Next level type declaration checks",
+    "description": "Next level type declaration checks - DEPRECATED, merged into tomasvotruba/type-coverage",
     "license": "MIT",
+    "abandoned": "tomasvotruba/type-coverage",

Composer now warns on every composer install that uses this package, and points at the replacement.

README

Warning admonition at the top + a "How to switch" section covering:

 "require-dev": {
-    "rector/type-perfect": "^2.1"
+    "tomasvotruba/type-coverage": "^2.3"
 }
  • ignoreErrors and baselines need no change — rules keep the Rector\TypePerfect\ namespace in Type Coverage
  • PHP requirement moves from ^8.2 to ^8.4
  • The 3 rules that ran out of the box here are opt-in there:
 parameters:
     type_perfect:
+        no_param_type_removal: true
+        no_isset_on_object: true
+        no_empty_on_object: true

Downgrade build removed

downgraded_release.yaml, build/ and full-tool-build.sh are gone — no more PHP 7.4 builds pushed to anywherephp/type-perfect.

Rules were merged into tomasvotruba/type-coverage 2.3.0. Mark the package
abandoned, document how to switch, and drop the downgraded release build
for anywherephp/type-perfect.
@TomasVotruba
TomasVotruba merged commit 33d189f into main Jul 30, 2026
6 checks passed
@TomasVotruba
TomasVotruba deleted the deprecate-in-favor-of-type-coverage branch July 30, 2026 14:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant