Skip to content
This repository has been archived by the owner on Nov 26, 2019. It is now read-only.

Commit

Permalink
Fix: Drop support for PHP 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Nov 17, 2019
1 parent 23ae44a commit 5c5e9be
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
3 changes: 0 additions & 3 deletions .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ branches:
required_status_checks:
contexts:
- "Coding Standards"
- "Tests (php7.1, lowest)"
- "Tests (php7.1, locked)"
- "Tests (php7.1, highest)"
- "Tests (php7.2, lowest)"
- "Tests (php7.2, locked)"
- "Tests (php7.2, highest)"
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,27 @@ jobs:
uses: actions/[email protected]

- 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: "Cache dependencies installed with composer"
uses: actions/[email protected]
with:
path: ~/.composer/cache
key: php7.1-composer-locked-${{ hashFiles('**/composer.lock') }}
key: php7.2-composer-locked-${{ hashFiles('**/composer.lock') }}
restore-keys: |
php7.1-composer-locked-
php7.2-composer-locked-
- 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"
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

tests:
name: "Tests"
Expand All @@ -51,7 +51,6 @@ jobs:
strategy:
matrix:
php-binary:
- php7.1
- php7.2
- php7.3

Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## Unreleased

For a full diff see [`1.23.0...master`](https://github.com/localheinz/php-cs-fixer-config/compare/1.23.0...master).
For a full diff see [`1.24.0...master`](https://github.com/localheinz/php-cs-fixer-config/compare/1.24.0...master).

### Fixed

* Dropped support for PHP 7.1 ([#221](https://github.com/localheinz/php-cs-fixer-config/pull/221)), 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 @@ -11,7 +11,7 @@
}
],
"require": {
"php": "^7.1",
"php": "^7.2",
"friendsofphp/php-cs-fixer": "~2.16.0"
},
"require-dev": {
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 5c5e9be

Please sign in to comment.