From 252eb8469e88cf46ee3070a1e4fbf95edb6e82b6 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Wed, 20 Oct 2021 16:49:05 +0200 Subject: [PATCH 1/4] Drop PHP support below 7.3 --- .github/workflows/tests.yml | 9 +-------- composer.json | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 23e10e6..c7101ef 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,18 +13,11 @@ jobs: strategy: fail-fast: true matrix: - php: [7.2, 7.3, 7.4, 8.0] + php: [7.3, 7.4, 8.0] laravel: [5.5, 6.0, 7.0, 8.0] exclude: - php: 8.0 laravel: 5.5 - - php: 7.0 - laravel: 8.0 - - php: 7.2 - laravel: 8.0 - include: - - php: 7.1 - laravel: 5.5 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} diff --git a/composer.json b/composer.json index ea547ea..af2199f 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ } ], "require": { - "php": ">=5.5.9", + "php": "^7.3|~8.0.0", "ext-json": "*", "ext-soap": "*" }, From 371e49be54602a6e1278f859341e5053671eeed7 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Wed, 20 Oct 2021 16:51:54 +0200 Subject: [PATCH 2/4] Drop Laravel 5.5 support --- .github/workflows/tests.yml | 5 +---- composer.json | 6 +++--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c7101ef..d3a96cc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,10 +14,7 @@ jobs: fail-fast: true matrix: php: [7.3, 7.4, 8.0] - laravel: [5.5, 6.0, 7.0, 8.0] - exclude: - - php: 8.0 - laravel: 5.5 + laravel: [6.0, 7.0, 8.0] name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} diff --git a/composer.json b/composer.json index af2199f..1bafa43 100644 --- a/composer.json +++ b/composer.json @@ -19,10 +19,10 @@ "ext-soap": "*" }, "require-dev": { - "illuminate/contracts": "~5.5|^6.0|^7.0|^8.0", + "illuminate/contracts": "^6.0|^7.0|^8.0", "mockery/mockery": "^1.3.3", - "orchestra/testbench": "~3.5|^4.0|^5.0|^6.0", - "phpunit/phpunit": "^6.5|^7.5|^8.5|^9.5" + "orchestra/testbench": "^4.0|^5.0|^6.0", + "phpunit/phpunit": "^7.5|^8.5|^9.5" }, "autoload": { "psr-0": { From e1e9e2bde944782d3f9c832dd812cdac62cc5ab1 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Wed, 20 Oct 2021 16:53:04 +0200 Subject: [PATCH 3/4] wip --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 1bafa43..07a0d85 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "illuminate/contracts": "^6.0|^7.0|^8.0", "mockery/mockery": "^1.3.3", "orchestra/testbench": "^4.0|^5.0|^6.0", - "phpunit/phpunit": "^7.5|^8.5|^9.5" + "phpunit/phpunit": "^9.5" }, "autoload": { "psr-0": { From 689693607b4d34d5458e938bc1fde5d0e4859d3b Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Wed, 20 Oct 2021 16:55:20 +0200 Subject: [PATCH 4/4] wip --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a6f2f19..92e7cc1 100644 --- a/README.md +++ b/README.md @@ -28,8 +28,8 @@ VatCalculator::isValidVATNumber('NL123456789B01'); ## Requirements -- PHP 5.5 or higher -- (optional) Laravel 5.0 or higher +- PHP 7.3 or higher +- (optional) Laravel 6.0 or higher ## Installation