Skip to content

Fix bugs in adapters, test setup, exceptions, and CI config#7

Merged
ethanhann merged 1 commit intomainfrom
claude/fix-bugs-VR6fG
Mar 9, 2026
Merged

Fix bugs in adapters, test setup, exceptions, and CI config#7
ethanhann merged 1 commit intomainfrom
claude/fix-bugs-VR6fG

Conversation

@ethanhann
Copy link
Copy Markdown
Owner

No description provided.

- PhpRedisAdapter::connect(): guard auth() behind null check to avoid
  "ERR Client sent AUTH, but no password is set" on password-less Redis
- PhpRedisAdapter::rawCommand(): call validateRawCommandResults() after
  the try/catch so string error responses (e.g. "cannot create index on
  db != 0") are validated and throw UnsupportedRedisDatabaseException,
  consistent with PredisAdapter and RedisClientAdapter
- AbstractTestCase::setUp(): replace ?? with ?: for REDIS_HOST/PORT/DB
  fallbacks since getenv() returns false (not null) when unset
- Exception constructors: change Exception \$previous = null to
  ?\Throwable \$previous = null to match parent signature and accept
  any Throwable as a cause
- CI: set IS_LOGGING_ENABLED to empty string instead of YAML false;
  YAML false becomes string "false" in env vars which PHP treats as truthy

https://claude.ai/code/session_01TAZxBvfTTM5rk51ZoJYEjm
@ethanhann ethanhann merged commit 9b7fd1f into main Mar 9, 2026
2 checks passed
@ethanhann ethanhann deleted the claude/fix-bugs-VR6fG branch March 9, 2026 00:48
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