Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

Commit

Permalink
Fix infection (#53)
Browse files Browse the repository at this point in the history
* Update infection/infection requirement from ~0.15 || ~0.16 to ^0.17.2

Updates the requirements on [infection/infection](https://github.com/infection/infection) to permit the latest version.
- [Release notes](https://github.com/infection/infection/releases)
- [Changelog](https://github.com/infection/infection/blob/master/CHANGELOG.md)
- [Commits](infection/infection@0.16.0...0.17.2)

Signed-off-by: dependabot[bot] <support@github.com>

* Update infection dependency semver

* Add PHP nightly to CI tests

* Create FUNDING.yml

* Set infection modules with any semver

* Restrict php version

* Fix infection semver for php 7.2 and 7.3

* Run coveralls only on php 7.4

* Fix travis branches

* Set shuffle as true for codeception

* Update github action

* Update infection branch in config

* Add coverall to gh action

* Remove infection and coveralls from travis

* Update gh action env variables

* Remove coverage from travis

* Remove infection packages if PHP 8.0

* Fix private methods cannot be final

* Fix type error on str_replace

* Update PHP compatibility info

* Update travis to fail on PHP8.0 jobs (#50)

* Fix README.md links

* Fix README.md links

* update infection deps

* add XDEBUG_MODE=coverage

* remove php 7.3

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
edno and dependabot[bot] committed Aug 16, 2021
1 parent 6b8ee49 commit fb59f44
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
Expand All @@ -18,10 +17,13 @@ jobs:

- name: Run test suite
run: ./vendor/bin/codecept run -q --no-colors --coverage-xml
env:
XDEBUG_MODE: coverage

- name: Run mutation tests
run: ./vendor/bin/infection --min-covered-msi=70 --threads=4 --no-progress --log-verbosity="none"
env:
XDEBUG_MODE: coverage
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}

- name: Run Coveralls reporting
Expand Down
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ branches:
- main

php:
- 7.2
- 7.3
- 7.4
- 8.0
- nightly

jobs:
allow_failures:
- php: nightly

before_script:
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.2" || ${TRAVIS_PHP_VERSION:0:3} == "7.3" ]]; then composer require --no-interaction --dev composer/package-versions-deprecated; fi
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "8.0" ]]; then composer remove --no-interaction --dev infection/infection infection/codeception-adapter infection/extension-installer; fi
- composer install --no-interaction

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ scenario.
## Minimum Requirements

- Codeception 3.x, 4.x
- PHP 7.2 - 8.0
- PHP 7.4 - 8.0

## Installation

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
}
],
"require": {
"php": ">=7.2 <9.0",
"codeception/codeception": "3 - 5"
"php": ">=7.4 <9.0",
"codeception/codeception": "3 - 5",
"composer-runtime-api": "^2.0"
},
"require-dev": {
"php-coveralls/php-coveralls": "^2",
"codeception/module-asserts": "^1",
"infection/infection": "^0.15 | ^0.20",
"infection/codeception-adapter": "*",
"infection/extension-installer": "*"
"infection/infection": "^0.24",
"infection/codeception-adapter": "^0.3.4"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit fb59f44

Please sign in to comment.