Dropped support for php 8.1 in 0.x branch

This commit is contained in:
R. Eric Wheeler 2022-05-11 13:44:28 -07:00
parent 6b37c60dab
commit 60113ba427
4 changed files with 5 additions and 21 deletions

2
.gitignore vendored
View File

@ -1,5 +1,5 @@
.idea/
vendor/
.php_cs.cache
.phpunit.cache/
.php-cs-fixer.cache

View File

@ -15,7 +15,7 @@ before_script:
apt-get update -yqq && apt-get upgrade -yqq && apt-get install -yqq git libzip-dev unzip zip libpcre3-dev && docker-php-ext-install zip && pecl install xdebug && docker-php-ext-enable xdebug
fi
- >
if [ "$CI_JOB_NAME" == "test:7.4" ] || [ "$CI_JOB_NAME" == "test:8.0" ] || [ "$CI_JOB_NAME" == "test:8.1" ]; then
if [ "$CI_JOB_NAME" == "test:7.4" ] || [ "$CI_JOB_NAME" == "test:8.0" ]; then
pecl install ds && docker-php-ext-enable ds
fi
- >
@ -55,22 +55,6 @@ test:8.0-without-ext-ds:
image: php:8.0
script:
- vendor/bin/phpunit --configuration phpunit.xml --coverage-text --colors=never
test:8.1:
only:
- branches
tags:
- default
image: php:8.1
script:
- vendor/bin/phpunit --configuration phpunit.xml --coverage-text --colors=never
test:8.1-without-ext-ds:
only:
- branches
tags:
- default
image: php:8.1
script:
- vendor/bin/phpunit --configuration phpunit.xml --coverage-text --colors=never
stages:
- test
- security

View File

@ -3,7 +3,7 @@
"description": "Generic map for PHP",
"type": "library",
"require": {
"php": ">=7.4",
"php": "7.4 - 8.0",
"php-ds/php-ds": "^1.3",
"symfony/polyfill-php80": "^1.22"
},

4
composer.lock generated
View File

@ -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": "714ccb738ce62bf9d3fb5fef95cea1c1",
"content-hash": "3a97b3bda39ca237952799687ed87f15",
"packages": [
{
"name": "php-ds/php-ds",
@ -4268,7 +4268,7 @@
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
"php": ">=7.4"
"php": ">=7.4 <8.1"
},
"platform-dev": [],
"plugin-api-version": "2.3.0"