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

Prepare push repository logic to anywherephp/type-perfect - #75

Merged
TomasVotruba merged 2 commits into
mainfrom
anywhere-push-repository
Jun 7, 2026
Merged

Prepare push repository logic to anywherephp/type-perfect#75
TomasVotruba merged 2 commits into
mainfrom
anywhere-push-repository

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Mirrors TomasVotruba/type-coverage@6474f96 for this repository.

The Downgraded Release workflow now builds the PHP 7.4 downgraded code and pushes it to https://github.com/anywherephp/type-perfect (already seeded with a main branch), instead of force-pushing downgraded tags back into this repository:

  • trigger on main pushes (updates remote main) and on tags (pushes a tag to the remote repository)
  • build/target-repository/composer.json renamed to anywherephp/type-perfect + proprietary license
  • added README.md and auto_closer.yaml pointing back here, removed FUNDING.yml, standalone_install.yaml and phpstan-for-tests.neon from the target repository files
  • downgrade target stays at PHP 7.4 (unlike type-coverage's 7.2), as src requires ^7.4|^8.0

⚠️ Notes:

  • this replaces the self-tagging downgraded release of rector/type-perfect — same as the type-coverage change
  • requires the WORKFLOWS_TOKEN secret (already used by the old workflow) to have push access to the anywherephp org

The Collector interface already allows returning null from processNode()
as a skip signal - null never appears in collected data, so it does not
belong in the TValue generic. Newer PHPStan reports destructuring of the
collected items as possibly-null because of it.
@TomasVotruba
TomasVotruba merged commit bf9bd55 into main Jun 7, 2026
6 checks passed
@TomasVotruba
TomasVotruba deleted the anywhere-push-repository branch June 7, 2026 18:30
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