forked from geekwright/RegDom
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
47 lines (44 loc) · 1.35 KB
/
.coderabbit.yaml
File metadata and controls
47 lines (44 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
language: "en-US"
early_access: false
tone_instructions: >-
Expert PHP code reviewer. Focus on type safety, PSR-12 compliance,
PHP 7.4 compatibility, and security. This is a domain lookup library
supporting PHP 7.4 through 8.5 — no PHP 8.0+ language features allowed.
reviews:
profile: "assertive"
request_changes_workflow: true
high_level_summary: true
poem: false
review_status: true
collapse_walkthrough: false
auto_review:
enabled: true
drafts: false
path_instructions:
- path: "src/**/*.php"
instructions: >-
Review for PHP 7.4 compatibility (no union types, named arguments,
match expressions, enums, readonly, constructor promotion, fibers,
intersection types, never return type, or first-class callable syntax).
Check for proper use of declare(strict_types=1) and PSR-12 code style.
- path: "tests/**/*.php"
instructions: >-
Review test code for proper assertions, test isolation, and edge
case coverage. Tests must work across PHPUnit 9.6, 10, and 11.
chat:
auto_reply: true
tools:
phpcs:
enabled: true
phpstan:
enabled: true
gitleaks:
enabled: true
markdownlint:
enabled: true
yamllint:
enabled: true
github-checks:
enabled: true
timeout_ms: 90000