diff --git a/.github/workflows/branch-alias.yml b/.github/workflows/branch-alias.yml index baa66cdc95..542c902ba3 100644 --- a/.github/workflows/branch-alias.yml +++ b/.github/workflows/branch-alias.yml @@ -13,7 +13,7 @@ jobs: - name: Set up PHP uses: shivammathur/setup-php@v2 with: - php-version: 7.4 + php-version: "8.0" coverage: none - name: Checkout code diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index bd8910280d..6c19391c09 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: php-version: - - 7.1 + - "8.0" steps: - name: Checkout code diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 4921e502c0..91d6b4d41a 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: - php-version: [7.4] + php-version: ["8.0"] steps: - name: Checkout code @@ -57,7 +57,7 @@ jobs: strategy: matrix: - php-version: [7.4] + php-version: ["8.0"] steps: - name: Checkout diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1ab7ef17f2..138229048d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,10 +18,6 @@ jobs: operating-system: - 'ubuntu-latest' php-version: - - '7.1' - - '7.2' - - '7.3' - - '7.4' - '8.0' - '8.1' diff --git a/CHANGELOG.md b/CHANGELOG.md index 3350f92c70..10eacc3a6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## [Unreleased](https://github.com/FakerPHP/Faker/compare/v1.20.0...main) +- Dropped support for outdated PHP versions (#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) diff --git a/README.md b/README.md index 018c70bb7e..5f84e9e53d 100644 --- a/README.md +++ b/README.md @@ -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 >= 8.0. ```shell composer require fakerphp/faker diff --git a/composer.json b/composer.json index 7c192ac7e4..6b3e8f585f 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ } ], "require": { - "php": "^7.1 || ^8.0", + "php": "^8.0", "psr/container": "^1.0 || ^2.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" },