Skip to content

Created CONTRIBUTING.md with contribution guidelines#20

Open
AppleDinger wants to merge 1 commit intopronskiy:mainfrom
AppleDinger:docs/contributing.md
Open

Created CONTRIBUTING.md with contribution guidelines#20
AppleDinger wants to merge 1 commit intopronskiy:mainfrom
AppleDinger:docs/contributing.md

Conversation

@AppleDinger
Copy link

Added contributing guidelines for the PHP Debugger project, including PR process, branching guidelines, development setup, code style, testing requirements, and licensing.

Fixes #16

Added contributing guidelines for the PHP Debugger project, including PR process, branching guidelines, development setup, code style, testing requirements, and licensing.
Copilot AI review requested due to automatic review settings March 17, 2026 17:25
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a contributor guide for the PHP Debugger repository to standardize PR workflow, branching, build steps, and testing expectations.

Changes:

  • Introduces PR process guidelines (reviews, one-change-per-PR, diff hygiene)
  • Documents branch naming conventions and basic build steps
  • Documents testing expectations and how to run the test suite

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +1 to +2
CONTRIBUTING.md
Contributing to PHP Debugger
Comment on lines +5 to +15
PR Process
Pull Requests Only: All changes must be submitted via Pull Requests. Direct pushes to the main branch are strictly prohibited.

Review: Every PR requires a review before merging to ensure stability and performance.

Focused Changes: One feature or fix per PR. If you find multiple things to fix, please submit them as separate Pull Requests.

Diff Quality: Review your own diff before submitting. Every change should be intentional. Do not include tooling artifacts (.idea/, .vscode/, etc.) or reformat untouched code.

Branching Guidelines
Create a branch from main using the following prefixes and kebab-case:
Comment on lines +33 to +36
Bash
phpize
./configure --enable-php-debugger
make
Comment on lines +49 to +53
How to Run Tests
You can run the test suite using the provided run-xdebug-tests.php script:

Bash
TEST_PHP_ARGS='-dzend_extension=modules/php_debugger.so' php run-xdebug-tests.php -q tests/debugger/
Check our Issue Tracker for "good first issue" labels to start contributing.

License
By contributing to this project, you agree that your contributions will be licensed under The Xdebug License.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would be good to add a link to the license here

@pronskiy pronskiy self-requested a review March 18, 2026 10:35
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.

Add CONTRIBUTING.md

3 participants