Skip to content
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

PHP 8 support #3

Merged
merged 2 commits into from Feb 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-latest]
php-version: ['7.3']
php-version: ['7.4', '8.0 ']
coverage-driver: [pcov]

name: CI with PHP ${{ matrix.php-version }}, using ${{ matrix.coverage-driver }}
Expand All @@ -31,7 +31,7 @@ jobs:
with:
php-version: ${{ matrix.php-version }}
coverage: ${{ matrix.coverage-driver }}
tools: composer:v1
tools: composer:v2

- name: Get composer cache directory
id: composer-cache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cs.yaml
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-latest]
php-version: ['7.3']
php-version: ['7.4']
check: ['cs', 'static-analyze']

name: Coding Standards on PHP ${{ matrix.php-version }}
Expand All @@ -30,7 +30,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
tools: composer:v1
tools: composer:v2

- name: Get composer cache directory
id: composer-cache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mt.yaml
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-latest]
php-version: ['7.3']
php-version: ['7.4']
coverage-driver: [pcov]

name: Mutation testing with PHP ${{ matrix.php-version }}, using ${{ matrix.coverage-driver }}
Expand All @@ -31,7 +31,7 @@ jobs:
with:
php-version: ${{ matrix.php-version }}
coverage: ${{ matrix.coverage-driver }}
tools: composer:v1
tools: composer:v2

- name: Get composer cache directory
id: composer-cache
Expand Down
26 changes: 13 additions & 13 deletions composer.json
Expand Up @@ -26,8 +26,8 @@
"sort-packages": true
},
"require": {
"php": "^7.3",
"infection/abstract-testframework-adapter": "^0.3.0",
"php": "^7.4 || ^8.0",
"infection/abstract-testframework-adapter": "^0.3.1",
"infection/include-interceptor": "^0.2.0",
"symfony/filesystem": "^3.4.29 || ^4.0 || ^5.0",
"symfony/process": "^3.4.29 || ^4.0 || ^5.0",
Expand All @@ -39,19 +39,19 @@
}
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.16",
"infection/infection": "^0.15.2",
"friendsofphp/php-cs-fixer": "^2.18",
"infection/infection": "^0.21.0",
"php-coveralls/php-coveralls": "^2.4",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^0.12.10",
"phpstan/phpstan-phpunit": "^0.12.6",
"phpstan/phpstan-strict-rules": "^0.12.2",
"phpstan/phpstan-webmozart-assert": "^0.12.2",
"phpunit/phpunit": "^8.5",
"thecodingmachine/safe": "^0.1.16",
"vimeo/psalm": "^3.8"
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^0.12.70",
"phpstan/phpstan-phpunit": "^0.12.17",
"phpstan/phpstan-strict-rules": "^0.12.9",
"phpstan/phpstan-webmozart-assert": "^0.12.9",
"phpunit/phpunit": "^9.5",
"thecodingmachine/safe": "^1.3",
"vimeo/psalm": "^4.4"
},
"conflict": {
"codeception/codeception": "<3.1.1"
"codeception/codeception": "<4.1.9"
Copy link
Member Author

Choose a reason for hiding this comment

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

bumped up codeception/codeception as it compatible with both 7.4 and 8.0

}
}