Skip to content

fix(provider): remove the unused stubs publish tag - #55

Merged
danielebarbaro merged 1 commit into
mainfrom
fix/unused-stubs-publish-tag
Nov 19, 2026
Merged

danielebarbaro merged 1 commit into
mainfrom
fix/unused-stubs-publish-tag

Conversation

@danielebarbaro

Copy link
Copy Markdown
Contributor

The provider published the stubs to stubs/clean-architecture under the clean-architecture-stubs tag, but RendersStubs::getStub() only reads the stubs shipped in the package. Editing a published stub changed nothing.

This removes the tag. vendor:publish --provider=... now publishes the config only.

Why not make getStub() read the published stubs instead: the README told everyone to run vendor:publish --provider=..., so many apps have a copy of the stubs from whatever version they installed. Reading them would silently switch those apps to old stubs, some of which predate placeholders such as {{ModelNamespace}}. Stub overrides can come back later as an explicit feature.

Apps that already published the stubs can delete stubs/clean-architecture.

Checked on the playground app: vendor:publish --tag=clean-architecture-stubs reports no publishable resources. Pint, PHPStan and the 417 tests pass.

CHANGELOG not touched.

@danielebarbaro
danielebarbaro merged commit b9cc789 into main Nov 19, 2026
8 checks passed
@danielebarbaro
danielebarbaro deleted the fix/unused-stubs-publish-tag branch November 19, 2026 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant