Skip to content

Conversation

@danielgnh
Copy link
Owner

Update code to support further PHP 8.1 patterns.
Remove dead code

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the codebase to use PHP 8.1-compatible patterns by removing PHP 8.4 property hooks and adjusting readonly modifiers. It also removes internal development documentation.

  • Converts property hooks to traditional getter method in Eip712Signer
  • Moves readonly modifier from class-level to property-level for PHP 8.1 compatibility
  • Removes internal CLAUDE.md development documentation file

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/Auth/Signer/Eip712Signer.php Replaced PHP 8.4 property hook syntax with traditional getAddress() method, updated all internal usages
src/Auth/ClobAuthenticator.php Moved readonly keyword from class to individual properties, updated all references to use getAddress() method
src/Auth/ApiCredentials.php Moved readonly keyword from class to individual properties for PHP 8.1 compatibility
CLAUDE.md Removed internal development documentation file (dead code cleanup)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@danielgnh danielgnh merged commit 8a54241 into main Jan 8, 2026
11 checks passed
@danielgnh danielgnh deleted the chore/cleanup-code branch January 8, 2026 09:19
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