Skip to content

Fix bugs found in codebase review and add test suite#9

Open
dream-hun wants to merge 7 commits into
YWatchman:developfrom
dream-hun:develop
Open

Fix bugs found in codebase review and add test suite#9
dream-hun wants to merge 7 commits into
YWatchman:developfrom
dream-hun:develop

Conversation

@dream-hun

Copy link
Copy Markdown
Contributor
  • Fix Response code cast: attr() returns string but getCode() declares int; cast to (int) and compare with 1000
  • Fix ProvidesCheckCommand: 'domainname' property does not exist on Domain model, use 'name'; remove duplicate setAttributeNodeNS call
  • Fix TransferResponse: assign .text() to $token instead of Crawler object; getter return types changed to ?string
  • Fix SIDN namespace URLs: http:// → https:// in CreateCommand and LoginCommand service extensions
  • Add legalForm mapping in Contact CreateCommand: PERSON → PERSOON, OTHER → ANDERS
  • Fix HasExtensions::getExtensions() to actually return $this->extensions
  • Fix nullable getter return types in Contact/Host CreateResponse subclasses

dream-hun and others added 7 commits May 12, 2026 13:05
- Fix Response code cast: attr() returns string but getCode() declares int; cast to (int) and compare with 1000
- Fix ProvidesCheckCommand: 'domainname' property does not exist on Domain model, use 'name'; remove duplicate setAttributeNodeNS call
- Fix TransferResponse: assign .text() to $token instead of Crawler object; getter return types changed to ?string
- Fix SIDN namespace URLs: http:// → https:// in CreateCommand and LoginCommand service extensions
- Add legalForm mapping in Contact CreateCommand: PERSON → PERSOON, OTHER → ANDERS
- Fix HasExtensions::getExtensions() to actually return $this->extensions
- Fix nullable getter return types in Contact/Host CreateResponse subclasses
These files are local development aids and should not be tracked in git.
Added both to .gitignore so they remain on disk but are never pushed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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