-
Notifications
You must be signed in to change notification settings - Fork 0
Update CONTRIBUTING.md, SECURITY.md and remove SUPPORT.md.
#4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,16 +8,16 @@ By participating in this project, you agree to abide by the [Code of Conduct](CO | |
|
|
||
| **Requirements:** | ||
|
|
||
| - PHP 8.1 or higher. | ||
| - PHP 8.3 or higher. | ||
| - [Composer](https://getcomposer.org/) 2.x. | ||
|
|
||
| **Setup:** | ||
|
|
||
| ```bash | ||
| git clone https://github.com/php-forge/<package>.git | ||
| cd <package> | ||
| git clone https://github.com/php-forge/<repository>.git | ||
| cd <repository> | ||
| composer install | ||
| composer test | ||
| composer run | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Useful? React with 👍 / 👎. |
||
| ``` | ||
|
|
||
| ## Coding Standards | ||
|
|
@@ -31,12 +31,13 @@ All PHP code must follow these standards: | |
|
|
||
| ## Testing | ||
|
|
||
| - All tests use **PHPUnit 10+**. | ||
| - All tests use **PHPUnit 12+**. | ||
| - Target **100% code coverage** for new code. | ||
| - Run the test suite before submitting a pull request: | ||
| - Run the quality/test scripts defined in the target repository's `composer.json` before submitting a pull request | ||
| (for example, `test`, `static`, `ecs`, `rector`, or `check-dependencies`): | ||
|
|
||
| ```bash | ||
| composer test | ||
| composer run | ||
| ``` | ||
|
|
||
| ## Pull Request Process | ||
|
|
@@ -48,11 +49,6 @@ composer test | |
| 5. Ensure all tests pass and coding standards are met. | ||
| 6. Open a pull request against `main` with a clear description of the change. | ||
|
|
||
| ## Bug Reports and Feature Requests | ||
|
|
||
| - **Bug reports**: Use the [Bug Report](https://github.com/php-forge/.github/issues/new?template=bug-report.yml) template. | ||
| - **Feature requests**: Use the [Feature Request](https://github.com/php-forge/.github/issues/new?template=feature-request.yml) template. | ||
|
|
||
| ## Security Vulnerabilities | ||
|
|
||
| Do not open public issues for security vulnerabilities. See [SECURITY.md](SECURITY.md) for reporting instructions. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,7 +6,8 @@ | |
|
|
||
| Use the GitHub Security Advisories feature in the affected repository to report vulnerabilities privately: | ||
|
|
||
| 1. Navigate to the affected repository (e.g., `https://github.com/php-forge/<package>`). | ||
| 1. Navigate to the affected repository (for example, `https://github.com/yii2-extensions/repository`, replacing `repository` | ||
| with the affected repository). | ||
|
Comment on lines
+9
to
+10
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
This example URL now sends reporters to Useful? React with 👍 / 👎. |
||
| 2. Go to the **Security** tab. | ||
| 3. Click **Report a vulnerability**. | ||
| 4. Provide a detailed description including steps to reproduce, impact, and any suggested fix. | ||
|
|
@@ -25,4 +26,4 @@ Security fixes are applied to the latest release of each package. Older versions | |
|
|
||
| ## Scope | ||
|
|
||
| This policy applies to all repositories under the [php-forge](https://github.com/php-forge) organization. | ||
| This policy applies to all repositories under the [PHP Forge](https://github.com/php-forge) organization. | ||
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.