From 412958a732c63ed9c32c1a323d5d5ceba852d15e Mon Sep 17 00:00:00 2001 From: Doug Wright Date: Mon, 28 Sep 2020 21:09:19 +0100 Subject: [PATCH] Bump min PHP version to 7.1, document maintainance mode --- .github/workflows/ci.yml | 4 ---- behat.yml | 27 +++++++++++---------------- composer.json | 8 ++++---- docs/index.rst | 7 +++++++ 4 files changed, 22 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 296eee49..ed519e20 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,8 +20,6 @@ jobs: - "7.3" - "7.2" - "7.1" - - "7.0" - - "5.6" dependencies: - highest @@ -113,8 +111,6 @@ jobs: - "7.3" - "7.2" - "7.1" - - "7.0" - - "5.6" dependencies: - highest diff --git a/behat.yml b/behat.yml index e1ab6213..e303212c 100644 --- a/behat.yml +++ b/behat.yml @@ -6,21 +6,16 @@ default: contexts: [ PackerContext ] extensions: - LeanPHP\Behat\CodeCoverage\Extension: - auth: ~ - drivers: - - local + DVDoug\Behat\CodeCoverage\Extension: filter: - forceCoversAnnotation: false - mapTestClassNameToCoveredClassName: false - whitelist: - addUncoveredFilesFromWhitelist: true - processUncoveredFilesFromWhitelist: true - include: - directories: - 'src': - prefix: '' - report: - format: clover - options: + include: + directories: + 'src': ~ + reports: + clover: target: build/coverage-behat/clover.xml + html: + target: build/coverage-behat + text: + showColors: true + showUncoveredFiles: true diff --git a/composer.json b/composer.json index d8d0bd47..92f5afad 100644 --- a/composer.json +++ b/composer.json @@ -12,15 +12,15 @@ ], "license": "MIT", "require": { - "php": "^5.6||^7.0||^8.0", + "php": "^7.1||^8.0", "ext-json": "*", "psr/log": "^1.0" }, "require-dev": { - "behat/behat": "^3.5", - "dvdoug/behat-code-coverage": "^3.0||^4.0", + "behat/behat": "^3.7", + "dvdoug/behat-code-coverage": "^5.0", "monolog/monolog": "^1.25||^2.0", - "phpunit/phpunit": "^5.7.27||^6.5.14||^7.5.20||^8.5.2||^9.0" + "phpunit/phpunit": "^7.5.20||^8.5.8||^9.3.11" }, "config": { "preferred-install": { diff --git a/docs/index.rst b/docs/index.rst index 0dea3232..6671d2b1 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -7,6 +7,13 @@ fit them all in. Especially useful for e.g. e-commerce contexts when you need to know box size/weight to calculate shipping costs, or even just want to know the right number of labels to print. +.. warning:: + + You are reading the documentation for BoxPacker v2 which is no longer maintained except for the bare minimum work + to allow it to function on newer PHP versions. + + All users are recommended to upgrade to v3. + License ------- BoxPacker is licensed under the `MIT license`_.