Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Drop support for PHP 7.1, 7.2, and 7.3 #543

Merged
merged 1 commit into from Dec 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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"
localheinz marked this conversation as resolved.
Show resolved Hide resolved
}
},
"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.