Skip to content

add session-start hook for Claude Code web sessions - #61

Merged
benrowe merged 3 commits into
masterfrom
claude/code-hook-dependencies-pm7s5e
Jun 30, 2026
Merged

add session-start hook for Claude Code web sessions#61
benrowe merged 3 commits into
masterfrom
claude/code-hook-dependencies-pm7s5e

Conversation

@benrowe

@benrowe benrowe commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Installs PHP, Composer, and vendor/ at session start so linting and
tests work natively without Docker. Makefile auto-detects Docker and
falls back to host PHP. check.sh falls back to tests without coverage
when pcov is unavailable.

Installs PHP, Composer, and vendor/ at session start so linting and
tests work natively without Docker. Makefile auto-detects Docker and
falls back to host PHP. check.sh falls back to tests without coverage
when pcov is unavailable.
Comment thread scripts/check.sh Outdated
echo ""
echo "Running tests with coverage..."
composer test:coverage
if php -m 2>/dev/null | grep -q pcov; then

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

it should fail if we dont have pcov, dont work around this

@benrowe
benrowe merged commit 6bdec67 into master Jun 30, 2026
8 checks passed
@benrowe
benrowe deleted the claude/code-hook-dependencies-pm7s5e branch June 30, 2026 23:27
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