Skip to content

Commit

Permalink
Fix: Drop support for PHP 7.1, 7.2, and 7.3 (#543)
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Dec 7, 2022
1 parent c9dec13 commit 9b8d695
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coding-standards.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
php-version:
- "7.1"
- "7.4"

steps:
- name: "Checkout code"
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/tests.yml
Expand Up @@ -18,9 +18,6 @@ jobs:
operating-system:
- "ubuntu-latest"
php-version:
- "7.1"
- "7.2"
- "7.3"
- "7.4"
- "8.0"
- "8.1"
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,8 @@

## [Unreleased](https://github.com/FakerPHP/Faker/compare/v1.20.0...main)

- Dropped support for PHP 7.1, 7.2, and 7.3 (#543)

## [2022-07-20, v1.20.0](https://github.com/FakerPHP/Faker/compare/v1.19.0..v1.20.0)

- Fixed typo in French phone number (#452)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -15,7 +15,7 @@ It's heavily inspired by Perl's [Data::Faker](https://metacpan.org/pod/Data::Fak

### Installation

Faker requires PHP >= 7.1.
Faker requires PHP >= 7.4.

```shell
composer require fakerphp/faker
Expand Down
7 changes: 5 additions & 2 deletions composer.json
Expand Up @@ -14,7 +14,7 @@
}
],
"require": {
"php": "^7.1 || ^8.0",
"php": "^7.4 || ^8.0",
"psr/container": "^1.0 || ^2.0",
"symfony/deprecation-contracts": "^2.2 || ^3.0"
},
Expand Down Expand Up @@ -50,7 +50,10 @@
"bamarni/composer-bin-plugin": true,
"composer/package-versions-deprecated": true
},
"sort-packages": true
"sort-packages": true,
"platform": {
"php": "7.4.32"
}
},
"extra": {
"branch-alias": {
Expand Down
4 changes: 2 additions & 2 deletions vendor-bin/php-cs-fixer/composer.json
@@ -1,11 +1,11 @@
{
"require": {
"php": "^7.1 || ^8.0",
"php": "^7.4 || ^8.0",
"friendsofphp/php-cs-fixer": "^3.3.0"
},
"config": {
"platform": {
"php": "7.1.33"
"php": "7.4.32"
},
"preferred-install": "dist",
"sort-packages": true
Expand Down
8 changes: 4 additions & 4 deletions vendor-bin/php-cs-fixer/composer.lock

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

4 changes: 2 additions & 2 deletions vendor-bin/phpstan/composer.json
@@ -1,13 +1,13 @@
{
"require": {
"php": "^7.1 || ^8.0",
"php": "^7.4 || ^8.0",
"phpstan/extension-installer": "^1.1.0",
"phpstan/phpstan": "^0.12.100",
"phpstan/phpstan-deprecation-rules": "^0.12.6"
},
"config": {
"platform": {
"php": "7.1.33"
"php": "7.4.32"
},
"preferred-install": "dist",
"sort-packages": true,
Expand Down
6 changes: 3 additions & 3 deletions vendor-bin/phpstan/composer.lock

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

4 changes: 2 additions & 2 deletions vendor-bin/psalm/composer.json
@@ -1,11 +1,11 @@
{
"require": {
"php": "^7.1 || ^8.0",
"php": "^7.4 || ^8.0",
"vimeo/psalm": "^4.30.0"
},
"config": {
"platform": {
"php": "7.1.33"
"php": "7.4.32"
},
"preferred-install": "dist",
"sort-packages": true,
Expand Down
6 changes: 3 additions & 3 deletions vendor-bin/psalm/composer.lock

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

0 comments on commit 9b8d695

Please sign in to comment.