Skip to content

PHPStan lvl9 - #4

Merged
smnandre merged 5 commits into
mainfrom
chore/clean-json-rpc
Aug 23, 2025
Merged

smnandre merged 5 commits into
mainfrom
chore/clean-json-rpc

Conversation

@smnandre

Copy link
Copy Markdown
Member

New example scripts, come cleaning, plus stricter code quality (PHPStan lvl 9, final classes, simplified PHPUnit config)...

Add array type docblocks to BrowserContext methods

Fix PHPStan array type errors by adding proper docblocks for:
- cookies() method return type array<array<string, mixed>>
- grantPermissions() parameter array<string>
- pages() method return type array<PageInterface>
- storageState() method return type array<string, mixed>
- startTracing() parameter array<string, mixed>
- waitForEvent() method return type array<string, mixed>

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

clean json RPC
@smnandre
smnandre merged commit 11851c8 into main Aug 23, 2025
4 of 6 checks passed
@smnandre
smnandre deleted the chore/clean-json-rpc branch August 23, 2025 03:53
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