Skip to content

Commit

Permalink
Fix: Drop support for PHP 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Jan 1, 2021
1 parent 393c196 commit 6f0d3d1
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 14 deletions.
5 changes: 1 addition & 4 deletions .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,10 @@ branches:
required_status_checks:
contexts:
- "Code Coverage (7.4, locked)"
- "Coding Standards (7.2, locked)"
- "Coding Standards (7.3, locked)"
- "Dependency Analysis (7.4, locked)"
- "Mutation Tests (7.4, locked)"
- "Static Code Analysis (7.4, locked)"
- "Tests (7.2, highest)"
- "Tests (7.2, locked)"
- "Tests (7.2, lowest)"
- "Tests (7.3, highest)"
- "Tests (7.3, locked)"
- "Tests (7.3, lowest)"
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
matrix:
php-version:
- "7.2"
- "7.3"

dependencies:
- "locked"
Expand Down Expand Up @@ -198,7 +198,6 @@ jobs:
strategy:
matrix:
php-version:
- "7.2"
- "7.3"
- "7.4"

Expand Down
2 changes: 1 addition & 1 deletion .php_cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ $license = License\Type\MIT::markdown(

$license->save();

$config = PhpCsFixer\Config\Factory::fromRuleSet(new PhpCsFixer\Config\RuleSet\Php71($license->header()), [
$config = PhpCsFixer\Config\Factory::fromRuleSet(new PhpCsFixer\Config\RuleSet\Php73($license->header()), [
'mb_str_functions' => false,
]);

Expand Down
2 changes: 1 addition & 1 deletion .php_cs.fixture
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ $license = License\Type\MIT::markdown(

$license->save();

$config = PhpCsFixer\Config\Factory::fromRuleSet(new PhpCsFixer\Config\RuleSet\Php71($license->header()), [
$config = PhpCsFixer\Config\Factory::fromRuleSet(new PhpCsFixer\Config\RuleSet\Php73($license->header()), [
'mb_str_functions' => false,
'psr4' => false,
]);
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ For a full diff see [`0.3.1...0.3.2`][0.3.1...0.3.2].
### Fixed

* Started using `fakerphp/faker` instead of `fzaninotto/faker` ([#459]), by [@localheinz]
* Dropped support for PHP 7.2 ([#493]), by [@localheinz]

## [`0.3.1`][0.3.1]

Expand Down Expand Up @@ -220,5 +221,6 @@ For a full diff see [`fa9c564...0.1.0`][fa9c564...0.1.0].
[#374]: https://github.com/ergebnis/factory-bot/pull/374
[#375]: https://github.com/ergebnis/factory-bot/pull/375
[#459]: https://github.com/ergebnis/factory-bot/pull/459
[#493]: https://github.com/ergebnis/factory-bot/pull/493

[@localheinz]: https://github.com/localheinz
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
],
"require": {
"php": "^7.2",
"php": "^7.3",
"doctrine/annotations": "^1.7.0",
"doctrine/collections": "^1.0.0",
"doctrine/orm": "^2.6.3",
Expand Down Expand Up @@ -46,7 +46,7 @@
},
"config": {
"platform": {
"php": "7.2.25"
"php": "7.3.24"
},
"preferred-install": "dist",
"sort-packages": true
Expand Down
8 changes: 4 additions & 4 deletions composer.lock

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

0 comments on commit 6f0d3d1

Please sign in to comment.