-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
99 lines (87 loc) · 2.94 KB
/
Copy path.coderabbit.yaml
File metadata and controls
99 lines (87 loc) · 2.94 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
#
# CodeRabbit configuration for nowo-tech/ComposerUpdateHelper.
# Requires the CodeRabbit GitHub App installed on nowo-tech/ComposerUpdateHelper.
# Manual review: comment `@coderabbitai review` on a pull request.
language: en-US
reviews:
profile: chill
request_changes_workflow: false
high_level_summary: true
review_status: true
commit_status: true
poem: false
collapse_walkthrough: true
sequence_diagrams: true
changed_files_summary: true
auto_review:
enabled: true
auto_incremental_review: true
auto_pause_after_reviewed_commits: 10
drafts: false
base_branches:
- main
- master
ignore_title_keywords:
- WIP
- "[skip review]"
path_filters:
- "!**/vendor/**"
- "!**/coverage/**"
- "!**/*.lock"
- "!phpstan-baseline.neon"
- "!.cursor/**"
- "src/**"
- "tests/**"
- "docs/**"
- ".github/**"
- "*.md"
- "*.yaml"
- "*.yml"
- "Makefile"
path_instructions:
- path: "src/**/*.php"
instructions: |
nowo-tech/composer-update-helper — Generates composer require commands from outdated dependencies. Works with any PHP project (Symfony, Laravel, Yii, CodeIgniter, etc.)
Follow PSR-12 and `.php-cs-fixer.dist.php`. Prefer PHP 8 attributes over annotations.
Respect PHP and Symfony ranges in `composer.json` when present. Preserve backward compatibility unless the PR explicitly breaks it.
Use strict comparison (`===`) where appropriate. Keep changes minimal and consistent with existing patterns.
Align with `composer cs-check`, `composer phpstan`, and `composer test` when those scripts exist.
- path: "tests/**/*.php"
instructions: |
PHPUnit tests for this package. Add or update tests for new behaviour.
Match existing test structure (Unit vs Integration). Avoid trivial assertions.
Ensure changes remain compatible with the CI matrix when one is defined.
- path: "docs/**/*.md"
instructions: |
User-facing documentation in English under `docs/`. Do not invent features, versions, or commands.
For notable releases, keep CHANGELOG and UPGRADING aligned. Preserve document structure and tone.
- path: ".github/workflows/**"
instructions: |
GitHub Actions workflows for this repository. Match existing workflow style (checkout@v6, matrix exclusions).
Do not echo secrets. Pin third-party actions to major versions already used in this repo.
tools:
phpstan:
enabled: true
phpcs:
enabled: false
phpmd:
enabled: false
yamllint:
enabled: true
hadolint:
enabled: true
gitleaks:
enabled: true
github-checks:
enabled: true
timeout_ms: 900000
actionlint:
enabled: true
zizmor:
enabled: true
knowledge_base:
learnings:
scope: auto
pull_requests:
scope: auto