-
Notifications
You must be signed in to change notification settings - Fork 11
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 #14 from veewee/php80
Add PHP80 compatibility
- Loading branch information
Showing
12 changed files
with
152 additions
and
47 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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
name: 🐞 Bug Report | ||
about: Something is broken? 🔨 | ||
--- | ||
|
||
### Bug Report | ||
|
||
<!-- Fill in the relevant information below to help triage your issue. --> | ||
|
||
| Q | A | ||
|------------ | ------ | ||
| BC Break | yes/no | ||
| Version | x.y.z | ||
|
||
#### Summary | ||
|
||
<!-- Provide a summary describing the problem you are experiencing. --> | ||
|
||
#### Current behaviour | ||
|
||
<!-- What is the current (buggy) behaviour? --> | ||
|
||
#### How to reproduce | ||
|
||
<!-- | ||
Provide steps to reproduce the bug. | ||
If possible, also add a code snippet with relevant configuration, driver/platform information, SQL queries, etc. | ||
Adding a failing Unit or Functional Test would help us a lot - you can submit one in a Pull Request separately, referencing this bug report. | ||
--> | ||
|
||
#### Expected behaviour | ||
|
||
<!-- What was the expected (correct) behaviour? --> | ||
|
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,18 @@ | ||
--- | ||
name: 🎉 Feature Request | ||
about: You have a neat idea that should be implemented? 🎩 | ||
--- | ||
|
||
### Feature Request | ||
|
||
<!-- Fill in the relevant information below to help triage your issue. --> | ||
|
||
| Q | A | ||
|------------ | ------ | ||
| New Feature | yes | ||
| RFC | yes/no | ||
| BC Break | yes/no | ||
|
||
#### Summary | ||
|
||
<!-- Provide a summary of the feature you would like to see implemented. --> |
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,15 @@ | ||
--- | ||
name: ❓ Support Question | ||
about: Have a problem that you can't figure out? 🤔 | ||
--- | ||
|
||
<!-- Fill in the relevant information below to help triage your issue. --> | ||
|
||
| Q | A | ||
|------------ | ----- | ||
| Version | x.y.z | ||
|
||
|
||
### Support Question | ||
|
||
<!-- Describe the issue you are facing here. --> |
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 @@ | ||
<!-- Fill in the relevant information below to help triage your pull request. --> | ||
|
||
| Q | A | ||
|------------- | ----------- | ||
| Type | bug/feature/improvement | ||
| BC Break | yes/no | ||
| Fixed issues | <!-- use #NUM format to reference an issue --> | ||
|
||
#### Summary | ||
|
||
<!-- Provide a summary of your change. --> |
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,53 @@ | ||
name: GrumPHP | ||
|
||
on: [push, pull_request] | ||
jobs: | ||
run: | ||
runs-on: ${{ matrix.operating-system }} | ||
strategy: | ||
matrix: | ||
operating-system: [ubuntu-latest] | ||
php-versions: ['7.3', '7.4', '8.0'] | ||
composer-options: ['', '--prefer-lowest'] | ||
fail-fast: false | ||
name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }} with ${{ matrix.composer-options }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@master | ||
- name: Install PHP | ||
uses: shivammathur/setup-php@master | ||
with: | ||
php-version: ${{ matrix.php-versions }} | ||
tools: 'composer:v2' | ||
extensions: pcov, mbstring, posix | ||
- name: Check Versions | ||
run: | | ||
php -v | ||
php -m | ||
composer --version | ||
- name: Get composer cache directory | ||
id: composercache | ||
run: echo "::set-output name=dir::$(composer config cache-files-dir)" | ||
- name: Cache dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: ${{ steps.composercache.outputs.dir }} | ||
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} | ||
restore-keys: ${{ runner.os }}-composer- | ||
- name: Install dependencies <PHP8 | ||
if: matrix.php-versions != '8.0' | ||
run: composer update --prefer-dist --no-progress --no-suggest ${{ matrix.composer-options }} | ||
# | ||
# Currently php-cs-fixer is nog PHP 8 compatible yet! | ||
# | ||
- name: Install dependencies PHP8 | ||
if: matrix.php-versions == '8.0' | ||
run: composer update --prefer-dist --no-progress --no-suggest ${{ matrix.composer-options }} --ignore-platform-reqs | ||
- name: Set git variables | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Your Name" | ||
- name: Run the tests | ||
run: php vendor/bin/grumphp run --no-interaction | ||
env: | ||
PHP_CS_FIXER_IGNORE_ENV: ${{ matrix.php-versions == '8.0'}} |
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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