Skip to content

Drop the bare command aliases, and group dependabot action updates - #15

Merged
imanimanyara merged 1 commit into
mainfrom
ci/alias-and-dependabot
Sep 16, 2026
Merged

imanimanyara merged 1 commit into
mainfrom
ci/alias-and-dependabot

Conversation

@imanimanyara

Copy link
Copy Markdown
Member

Two changes, both about names that live in a flat global registry.

The bare command aliases are gone. Every alias this package declared was an unscoped, generic name — env:set, make:crud, license, tidy. Artisan keeps command names in a flat map, so a second package claiming one does not collide loudly: it silently replaces the first, and the damage surfaces far away as the wrong code running under a familiar name. That is exactly the collision laranail::<slug>.<command> exists to prevent, and an unscoped alias hands it straight back. 127 of them across twelve packages, and not one was vendor-scoped.

The primary name is unchanged, so every command is still reachable as laranail::<slug>.<command>. The trait still applies $commandAliases when a command declares one, so a vendor-scoped alias remains possible where a short form genuinely earns it. Breaking for anyone typing an old short name.

Dependabot now groups action updates. github/codeql-action/init and /analyze must be the same version — CodeQL fails with "Loaded a configuration file for version X, but running version Y" — and dependabot proposed each subpath as its own pull request, so each one alone left the pair mismatched and red. laranail/confetti had two such PRs open, both failing, neither wrong on its own. Grouping fixes that for any paired action, not just CodeQL.

Copilot AI lite review requested due to automatic review settings September 16, 2026 12:33

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@imanimanyara
imanimanyara force-pushed the ci/alias-and-dependabot branch 2 times, most recently from a14a7e3 to 1c1d667 Compare September 16, 2026 15:05
@gitguardian

gitguardian Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

️✅ There are no secrets present in this pull request anymore.

If these secrets were true positive and are still valid, we highly recommend you to revoke them.
While these secrets were previously flagged, we no longer have a reference to the
specific commits where they were detected. Once a secret has been leaked into a git
repository, you should consider it compromised, even if it was deleted immediately.
Find here more information about risks.


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@imanimanyara
imanimanyara force-pushed the ci/alias-and-dependabot branch 3 times, most recently from 29cd782 to d9b5ea0 Compare September 16, 2026 16:18
**Style.** `vendor/bin/laranail-pint` resolves the one config in
vendor/laranail/package-tools and errors when it is absent. Bare
`vendor/bin/pint` takes a `--config` path that does not exist, silently falls
back to its own defaults and exits 0 -- so twelve workflows in this family were
reporting "code style clean" against a rule set no other package uses. Those now
call laranail-pint, and this is what the shared config actually wanted: import
order, `.` spacing, `=>` alignment, brace position, single-line empty bodies,
phpdoc alignment. No behaviour changes; the suites are unchanged and green.

**Pins.** The release.yml consistency pass had copied one repo's pins over
fourteen others, and that repo was behind: `softprops/action-gh-release` went
v3.0.3 -> v3.0.2 (v3.0.3 -> v2 in enumerator) and `anchore/sbom-action` went
v0.24.2 -> v0.24.0. Pinning to a SHA is a supply-chain control, so a pin moving
backwards is the one direction that must never happen by accident -- and nothing
catches it, because the pin check verifies the SHA against its comment, not that
the version moved forward. Both are on one pin family-wide now, at the newest
release, with the exact release tag in the comment rather than a moving major.

**And the alias debris.** Where the `$commandAliases` declarations were deleted,
this also fixes the two command bases that read `$this->commandAliases` without
declaring it (an `Undefined property` at construction, which took out
`artisan package:discover`), a command that called a sibling by its deleted
alias, a success message naming a command that no longer exists, and the docs
that still documented the aliases as the way in.
@imanimanyara
imanimanyara force-pushed the ci/alias-and-dependabot branch from d9b5ea0 to 06abc2f Compare September 16, 2026 16:37
@imanimanyara
imanimanyara merged commit 4d6f768 into main Sep 16, 2026
18 checks passed
@imanimanyara
imanimanyara deleted the ci/alias-and-dependabot branch September 28, 2026 14:04
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.

2 participants