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.0
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Aug 22, 2019
1 parent 96c2dc6 commit 0645881
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 684 deletions.
2 changes: 1 addition & 1 deletion .php_cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ the LICENSE file that was distributed with this source code.
@see https://github.com/localheinz/php-cs-fixer-config
EOF;

$config = Config\Factory::fromRuleSet(new Config\RuleSet\Php70($header));
$config = Config\Factory::fromRuleSet(new Config\RuleSet\Php71($header));

$config->getFinder()
->ignoreDotFiles(false)
Expand Down
22 changes: 2 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
include:
- stage: Style

php: 7.0
php: 7.1

before_install:
- source .travis/xdebug.sh
Expand All @@ -38,7 +38,7 @@ jobs:

stage: Test

php: 7.0
php: 7.1

env: WITH_LOWEST=true

Expand All @@ -61,24 +61,6 @@ jobs:
after_success:
- if [[ "$WITH_COVERAGE" == "true" ]]; then bash <(curl -s https://codecov.io/bash); fi

- <<: *TEST

php: 7.0

env: WITH_LOCKED=true

- <<: *TEST

php: 7.0

env: WITH_HIGHEST=true

- <<: *TEST

php: 7.1

env: WITH_LOWEST=true

- <<: *TEST

php: 7.1
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ $ composer require --dev localheinz/php-cs-fixer-config

Pick one of the rule sets:

* `Localheinz\PhpCsFixer\RuleSet\Php70`
* `Localheinz\PhpCsFixer\RuleSet\Php71`
* `Localheinz\PhpCsFixer\RuleSet\Php73`

Expand Down
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.0",
"php": "^7.1",
"friendsofphp/php-cs-fixer": "~2.15.1"
},
"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.

Loading

0 comments on commit 0645881

Please sign in to comment.