Skip to content
This repository has been archived by the owner on Jan 4, 2022. It is now read-only.

Commit

Permalink
Merge pull request #118 from localheinz/fix/php7.1
Browse files Browse the repository at this point in the history
Fix: Drop support for PHP 7.1
  • Loading branch information
localheinz committed Oct 22, 2019
2 parents 6d1cb4f + 6035ead commit 656967f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@ jobs:
uses: actions/checkout@master

- name: "Disable Xdebug"
run: php7.1 --ini | grep xdebug | sed 's/,$//' | xargs sudo rm
run: php7.2 --ini | grep xdebug | sed 's/,$//' | xargs sudo rm

- name: "Validate composer.json and composer.lock"
run: php7.1 $(which composer) validate --strict
run: php7.2 $(which composer) validate --strict

- name: "Install locked dependencies with composer"
run: php7.1 $(which composer) install --no-interaction --no-progress --no-suggest
run: php7.2 $(which composer) install --no-interaction --no-progress --no-suggest

- name: "Run localheinz/composer-normalize"
run: php7.1 $(which composer) normalize --dry-run
run: php7.2 $(which composer) normalize --dry-run

- name: "Run friendsofphp/php-cs-fixer for source"
run: php7.1 vendor/bin/php-cs-fixer fix --config=.php_cs --diff --diff-format=udiff --using-cache=no --verbose
run: php7.2 vendor/bin/php-cs-fixer fix --config=.php_cs --diff --diff-format=udiff --using-cache=no --verbose

- name: "Run friendsofphp/php-cs-fixer for test fixtures"
run: php7.1 vendor/bin/php-cs-fixer fix --config=.php_cs.fixture --diff --diff-format=udiff --using-cache=no --verbose
run: php7.2 vendor/bin/php-cs-fixer fix --config=.php_cs.fixture --diff --diff-format=udiff --using-cache=no --verbose

static-code-analysis:
name: "Static Code Analysis"
Expand Down Expand Up @@ -60,7 +60,6 @@ jobs:
strategy:
matrix:
php-binary:
- php7.1
- php7.2
- php7.3

Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## Unreleased

For a full diff see [`0.7.0...master`](https://github.com/localheinz/php-library-template/compare/0.7.0...master).

### Changed

* Dropped support for PHP 7.1 ([#118](https://github.com/localheinz/test-util/pull/118)), by [@localheinz](https://github.com/localheinz)
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}
],
"require": {
"php": "^7.1",
"php": "^7.2",
"fzaninotto/faker": "^1.8.0",
"localheinz/classy": "0.3.0"
},
Expand Down
4 changes: 2 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 656967f

Please sign in to comment.