Conversation
… alias (task 2.11)
…task 2.11) The class_alias bridge in HasherInterface.php covers use/typehint/instanceof/catch but NOT container make()/autowiring: aliases are a separate string map. Moving the 'hash' core alias to Contracts\Hashing\Hasher left Illuminate\Hashing\HasherInterface unbound, so App::make(HasherInterface::class) and autowired 'HasherInterface $hasher' params throw BindingResolutionException (interface not instantiable) downstream — hitting live paths (ApplicationGateway -> API V1 auth, UserPasswordUpdateSpecification -> password-update route) plus two integration tests. Escaped CI because no L42x test resolved the old name via the container. Add the container BC alias, mirroring the log (3.5) and encrypter (2.9) precedent in the same method. Regression test asserts both the contract name and the legacy interface name resolve to a Hasher. Full suite 1645 green. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This was referenced Sep 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task 2.11 — Hashing → Contracts L13
Changes
implements Illuminate\Contracts\Hashing\Hasher, tambah methodinfo()class_aliasContracts\Hashing\Hasherhash→Contracts\Hashing\HasherContracts\Hashing\HasherVerification
instanceofcontract & old interfaceStacked on: #45 (3.9)