From aa984fb84d218cc8962b8f89ef46437298534c24 Mon Sep 17 00:00:00 2001 From: Alies Lapatsin Date: Thu, 22 Apr 2021 18:16:31 +0300 Subject: [PATCH] Drop PHP 7.2 and 7.3 support --- .github/workflows/ci.yml | 2 +- CHANGELOG.md | 4 ++++ composer.json | 8 ++++---- ..._it_can_generate_a_multiple_days_event_link__1.php | 1 - ...a_multiple_days_event_link_with_allday_flag__1.php | 1 - ...torTest__it_can_generate_a_short_event_link__1.php | 1 - ...can_generate_a_single_day_allday_event_link__1.php | 1 - ..._it_can_generate_a_multiple_days_event_link__1.php | 11 ----------- ...a_multiple_days_event_link_with_allday_flag__1.php | 11 ----------- ...torTest__it_can_generate_a_short_event_link__1.php | 11 ----------- ...can_generate_a_single_day_allday_event_link__1.php | 11 ----------- ...it_can_generate_an_ics_link_with_custom_uid__1.php | 1 - ..._it_can_generate_a_multiple_days_event_link__1.php | 1 - ...a_multiple_days_event_link_with_allday_flag__1.php | 1 - ...torTest__it_can_generate_a_short_event_link__1.php | 1 - ...can_generate_a_single_day_allday_event_link__1.php | 1 - ..._it_can_generate_a_multiple_days_event_link__1.php | 1 - ...a_multiple_days_event_link_with_allday_flag__1.php | 1 - ...torTest__it_can_generate_a_short_event_link__1.php | 1 - ...can_generate_a_single_day_allday_event_link__1.php | 1 - ...e_a_yahoo_link_for_long_multiple_days_event__1.php | 1 - 21 files changed, 9 insertions(+), 63 deletions(-) delete mode 100644 tests/Generators/__snapshots__/GoogleGeneratorTest__it_can_generate_a_multiple_days_event_link__1.php delete mode 100644 tests/Generators/__snapshots__/GoogleGeneratorTest__it_can_generate_a_multiple_days_event_link_with_allday_flag__1.php delete mode 100644 tests/Generators/__snapshots__/GoogleGeneratorTest__it_can_generate_a_short_event_link__1.php delete mode 100644 tests/Generators/__snapshots__/GoogleGeneratorTest__it_can_generate_a_single_day_allday_event_link__1.php delete mode 100644 tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_a_multiple_days_event_link__1.php delete mode 100644 tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_a_multiple_days_event_link_with_allday_flag__1.php delete mode 100644 tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_a_short_event_link__1.php delete mode 100644 tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_a_single_day_allday_event_link__1.php delete mode 100644 tests/Generators/__snapshots__/IcsGeneratorTest__it_can_generate_an_ics_link_with_custom_uid__1.php delete mode 100644 tests/Generators/__snapshots__/WebOutlookGeneratorTest__it_can_generate_a_multiple_days_event_link__1.php delete mode 100644 tests/Generators/__snapshots__/WebOutlookGeneratorTest__it_can_generate_a_multiple_days_event_link_with_allday_flag__1.php delete mode 100644 tests/Generators/__snapshots__/WebOutlookGeneratorTest__it_can_generate_a_short_event_link__1.php delete mode 100644 tests/Generators/__snapshots__/WebOutlookGeneratorTest__it_can_generate_a_single_day_allday_event_link__1.php delete mode 100644 tests/Generators/__snapshots__/YahooGeneratorTest__it_can_generate_a_multiple_days_event_link__1.php delete mode 100644 tests/Generators/__snapshots__/YahooGeneratorTest__it_can_generate_a_multiple_days_event_link_with_allday_flag__1.php delete mode 100644 tests/Generators/__snapshots__/YahooGeneratorTest__it_can_generate_a_short_event_link__1.php delete mode 100644 tests/Generators/__snapshots__/YahooGeneratorTest__it_can_generate_a_single_day_allday_event_link__1.php delete mode 100644 tests/Generators/__snapshots__/YahooGeneratorTest__it_can_generate_a_yahoo_link_for_long_multiple_days_event__1.php diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 54995f8..3ceaa39 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [7.2, 7.3, 7.4, 8.0] + php: [7.4, 8.0] dependency-version: [prefer-lowest, prefer-stable] name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ba050d..827362e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to `calendar-links` will be documented in this file ## Unreleased +## 1.6.0 - 2021-04-22 +### Changed +- Drop support for PHP 7.2 and PHP 7.3 + ## 1.5.0 - 2021-04-22 ### Changed - ICS: support URLs as option (@gulios) diff --git a/composer.json b/composer.json index 2cd45a0..ebb0744 100644 --- a/composer.json +++ b/composer.json @@ -16,12 +16,12 @@ } ], "require": { - "php": "^7.2 || ^8.0" + "php": "^7.4 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "^8.5 || ^9.0", - "spatie/phpunit-snapshot-assertions": "^3.0|^4.0", - "vimeo/psalm": "^4.1" + "phpunit/phpunit": "^9.0", + "spatie/phpunit-snapshot-assertions": "^4.0", + "vimeo/psalm": "^4.7" }, "autoload": { "psr-4": { diff --git a/tests/Generators/__snapshots__/GoogleGeneratorTest__it_can_generate_a_multiple_days_event_link__1.php b/tests/Generators/__snapshots__/GoogleGeneratorTest__it_can_generate_a_multiple_days_event_link__1.php deleted file mode 100644 index e483470..0000000 --- a/tests/Generators/__snapshots__/GoogleGeneratorTest__it_can_generate_a_multiple_days_event_link__1.php +++ /dev/null @@ -1 +0,0 @@ -