-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from Spomky-Labs/Preparation2.0
Preparation 2.1
- Loading branch information
Showing
118 changed files
with
5,533 additions
and
2,492 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
github: Spomky | ||
patreon: FlorentMorselli |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
name: 🐛 Bug Report | ||
about: ⚠️ See below for security reports | ||
labels: Bug | ||
|
||
--- | ||
|
||
**Version(s) affected**: x.y.z | ||
|
||
**Description** | ||
<!-- A clear and concise description of the problem. --> | ||
|
||
**How to reproduce** | ||
<!-- Code and/or config needed to reproduce the problem. If it's a complex bug, | ||
create a "bug reproducer" as explained in: --> | ||
|
||
**Possible Solution** | ||
<!--- Optional: only if you have suggestions on a fix/reason for the bug --> | ||
|
||
**Additional context** | ||
<!-- Optional: any other context about the problem: log messages, screenshots, etc. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
h--- | ||
name: 🚀 Feature Request | ||
about: Ideas for new features and improvements | ||
|
||
--- | ||
|
||
**Description** | ||
<!-- A clear and concise description of the new feature. --> | ||
|
||
**Example** | ||
<!-- A simple example of the new feature in action (include PHP code, YAML config, etc.) | ||
If the new feature changes an existing feature, include a simple before/after comparison. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
name: ⛔ Support Question | ||
about: We usually do not provide support. Please ask your question on https://stackoverflow.com/ | ||
|
||
--- | ||
|
||
We use GitHub issues only to discuss about bugs and new features. | ||
For this kind of questions about using the library or the bundle, please use | ||
https://stackoverflow.com/ using the tags `[cbor]` and `[php]` | ||
|
||
Thanks! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
name: ⛔ Documentation Issue | ||
about: See https://github.com/Spomky-Labs/cbor-php/issues for documentation issues | ||
|
||
--- | ||
|
||
The documentation has its own dedicated repository. Please open your | ||
documentation-related issue at https://github.com/Spomky-Labs/cbor-php/issues | ||
|
||
Thanks! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
| Q | A | ||
| ------------- | --- | ||
| Bug fix? | yes/no <!-- #-prefixed issue number(s), if any --> | ||
| New feature? | yes/no | ||
| BC breaks? | yes/no | ||
| Deprecations? | yes/no | ||
| Tests added | <!--highly recommended for new features--> | ||
| Doc PR | <!--highly recommended for new features--> | ||
|
||
| Branch? | <!-- see below --> | ||
| Bug fix? | yes/no | ||
| New feature? | yes/no <!-- please update src/**/CHANGELOG.md files --> | ||
| Deprecations? | yes/no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | ||
| Tickets | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | ||
| License | MIT | ||
<!-- | ||
Fill in this template according to the PR you're about to submit. | ||
Replace this comment by a description of what your PR is solving. | ||
Replace this notice by a short README for your feature/bugfix. This will help people | ||
understand your PR and can be used as a start for the documentation. | ||
Please consider the following requirement: | ||
* Modification of existing tests should be avoided unless deemed necessary. | ||
* You MUST never open a PR related to a security issue. Contact Spomky in private at https://gitter.im/Spomky/ | ||
--> | ||
Additionally: | ||
- Always add tests and ensure they pass. | ||
- Never break backward compatibility (unless you are working on the next major release branch). | ||
- Bug fixes must be submitted against the lowest maintained branch where they apply | ||
(lowest branches are regularly merged to upper ones so they get the fixes too.) | ||
- Features and deprecations must be submitted against the last major branch (e.g. 1.x). | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
daysUntilStale: 60 | ||
daysUntilClose: 7 | ||
staleLabel: wontfix | ||
markComment: > | ||
This issue has been automatically marked as stale because it has not had | ||
recent activity. It will be closed if no further activity occurs. Thank you | ||
for your contributions. | ||
closeComment: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Coding Standards | ||
|
||
on: [push] | ||
|
||
jobs: | ||
tests: | ||
runs-on: ${{ matrix.operating-system }} | ||
strategy: | ||
matrix: | ||
operating-system: [ubuntu-latest] | ||
php-versions: ['7.4'] | ||
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
|
||
- name: Setup PHP, with composer and extensions | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php-versions }} | ||
extensions: json, mbstring, openssl | ||
coverage: xdebug | ||
|
||
- name: Install Composer dependencies | ||
run: | | ||
composer update --no-progress --no-suggest --prefer-dist --optimize-autoloader | ||
- name: ECS | ||
run: make coding-standards |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Mutation Testing | ||
|
||
on: [push] | ||
|
||
jobs: | ||
tests: | ||
runs-on: ${{ matrix.operating-system }} | ||
strategy: | ||
matrix: | ||
operating-system: [ubuntu-latest] | ||
php-versions: ['7.4'] | ||
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
|
||
- name: Setup PHP, with composer and extensions | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php-versions }} | ||
extensions: json, mbstring, openssl | ||
coverage: xdebug | ||
|
||
- name: Install Composer dependencies | ||
run: | | ||
composer update --no-progress --no-suggest --prefer-dist --optimize-autoloader | ||
- name: Fetch Git base reference | ||
run: git fetch --depth=1 origin $GITHUB_BASE_REF | ||
|
||
- name: Infection | ||
run: make mutation-tests-github |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Rector Checkstyle | ||
|
||
on: [push] | ||
|
||
jobs: | ||
tests: | ||
runs-on: ${{ matrix.operating-system }} | ||
strategy: | ||
matrix: | ||
operating-system: [ ubuntu-latest ] | ||
php-versions: ['7.4'] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
|
||
- name: Setup PHP, with composer and extensions | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php-versions }} | ||
extensions: json, mbstring, openssl | ||
coverage: none | ||
|
||
- name: Install Composer dependencies | ||
run: composer update --no-progress --no-suggest --prefer-dist --optimize-autoloader | ||
|
||
- name: Rector | ||
run: make rector |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Static Analyze | ||
|
||
on: [push] | ||
|
||
jobs: | ||
tests: | ||
runs-on: ${{ matrix.operating-system }} | ||
strategy: | ||
matrix: | ||
operating-system: [ubuntu-latest] | ||
php-versions: ['7.4'] | ||
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
|
||
- name: Setup PHP, with composer and extensions | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php-versions }} | ||
extensions: json, mbstring, openssl | ||
coverage: xdebug | ||
|
||
- name: Install Composer dependencies | ||
run: | | ||
composer update --no-progress --no-suggest --prefer-dist --optimize-autoloader | ||
- name: PHPStan | ||
run: make static-analyse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Unit and Functional Tests | ||
|
||
on: [push] | ||
|
||
jobs: | ||
tests: | ||
runs-on: ${{ matrix.operating-system }} | ||
strategy: | ||
matrix: | ||
operating-system: [ ubuntu-latest ] | ||
php-versions: ['7.3', '7.4', '8.0', '8.1'] | ||
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
|
||
- name: Setup PHP, with composer and extensions | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php-versions }} | ||
extensions: json, mbstring, openssl | ||
coverage: xdebug | ||
|
||
- name: Install Composer dependencies | ||
run: | | ||
composer update --no-progress --no-suggest --prefer-dist --optimize-autoloader | ||
- name: Run tests | ||
run: make tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/vendor/ | ||
/composer.lock | ||
/*cache | ||
/*cache | ||
/build | ||
/infection.log |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.