diff --git a/.github/settings.yml b/.github/settings.yml index 3136922e..add4188d 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -14,14 +14,11 @@ branches: required_approving_review_count: 1 required_status_checks: contexts: - - "Code Coverage (7.2, locked)" - - "Coding Standards (7.2, locked)" - - "Dependency Analysis (7.2, locked)" - - "Mutation Tests (7.2, locked)" - - "Static Code Analysis (7.2, locked)" - - "Tests (7.2, highest)" - - "Tests (7.2, locked)" - - "Tests (7.2, lowest)" + - "Code Coverage (7.3, locked)" + - "Coding Standards (7.3, locked)" + - "Dependency Analysis (7.3, locked)" + - "Mutation Tests (7.3, locked)" + - "Static Code Analysis (7.3, locked)" - "Tests (7.3, highest)" - "Tests (7.3, locked)" - "Tests (7.3, lowest)" diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index ec12d7f9..cacbaa6d 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -22,7 +22,7 @@ jobs: strategy: matrix: php-version: - - "7.2" + - "7.3" dependencies: - "locked" @@ -72,7 +72,7 @@ jobs: strategy: matrix: php-version: - - "7.2" + - "7.3" dependencies: - "locked" @@ -137,7 +137,7 @@ jobs: strategy: matrix: php-version: - - "7.2" + - "7.3" dependencies: - "locked" @@ -179,7 +179,7 @@ jobs: strategy: matrix: php-version: - - "7.2" + - "7.3" dependencies: - "locked" @@ -221,7 +221,7 @@ jobs: strategy: matrix: php-version: - - "7.2" + - "7.3" dependencies: - "locked" @@ -266,7 +266,6 @@ jobs: strategy: matrix: php-version: - - "7.2" - "7.3" - "7.4" - "8.0" diff --git a/.github/workflows/renew.yaml b/.github/workflows/renew.yaml index f2c9fcaf..fef0ea5e 100644 --- a/.github/workflows/renew.yaml +++ b/.github/workflows/renew.yaml @@ -18,7 +18,7 @@ jobs: strategy: matrix: php-version: - - "7.2" + - "7.3" dependencies: - "locked" diff --git a/CHANGELOG.md b/CHANGELOG.md index e7630d7a..d3fa707c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), For a full diff see [`1.2.0...main`][1.2.0...main]. +### Fixed + +- Dropped support for PHP 7.2 ([#481]), by [@localheinz] + ## [`1.2.0`][1.2.0] For a full diff see [`1.1.1...1.2.0`][1.1.0...1.2.0]. @@ -134,6 +138,7 @@ For a full diff see [`0.4.0...0.5.0`][0.4.0...0.5.0]. [#343]: https://github.com/ergebnis/classy/pull/343 [#467]: https://github.com/ergebnis/classy/pull/467 [#478]: https://github.com/ergebnis/classy/pull/478 +[#481]: https://github.com/ergebnis/classy/pull/481 [@ergebnis]: https://github.com/ergebnis [@localheinz]: https://github.com/localheinz diff --git a/composer.json b/composer.json index df65b64c..e4011c80 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "source": "https://github.com/ergebnis/classy" }, "require": { - "php": "^7.2 || ^8.0", + "php": "^7.3 || ^8.0", "ext-tokenizer": "*" }, "require-dev": { @@ -56,7 +56,7 @@ "ergebnis/composer-normalize": true }, "platform": { - "php": "7.2.33" + "php": "7.3.32" }, "preferred-install": "dist", "sort-packages": true diff --git a/composer.lock b/composer.lock index deb7dace..251a1e61 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "6f80bf289dacba07a6d88cf9a850be8b", + "content-hash": "bebc83543c7440058bb1f3218af0108b", "packages": [], "packages-dev": [ { @@ -5670,12 +5670,12 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "^7.2 || ^8.0", + "php": "^7.3 || ^8.0", "ext-tokenizer": "*" }, "platform-dev": [], "platform-overrides": { - "php": "7.2.33" + "php": "7.3.32" }, "plugin-api-version": "2.2.0" } diff --git a/test/Fixture/Classy/Php72/WithinNamespace/source.php b/test/Fixture/Classy/Php72/WithinNamespace/source.php deleted file mode 100644 index 342c432b..00000000 --- a/test/Fixture/Classy/Php72/WithinNamespace/source.php +++ /dev/null @@ -1,9 +0,0 @@ -