Dropped support for php 8.1 in 0.x branch
This commit is contained in:
parent
6b37c60dab
commit
60113ba427
|
@ -1,5 +1,5 @@
|
||||||
.idea/
|
.idea/
|
||||||
vendor/
|
vendor/
|
||||||
|
|
||||||
.php_cs.cache
|
.php_cs.cache
|
||||||
.phpunit.cache/
|
.phpunit.cache/
|
||||||
|
.php-cs-fixer.cache
|
|
@ -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
|
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
|
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
|
pecl install ds && docker-php-ext-enable ds
|
||||||
fi
|
fi
|
||||||
- >
|
- >
|
||||||
|
@ -55,22 +55,6 @@ test:8.0-without-ext-ds:
|
||||||
image: php:8.0
|
image: php:8.0
|
||||||
script:
|
script:
|
||||||
- vendor/bin/phpunit --configuration phpunit.xml --coverage-text --colors=never
|
- 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:
|
stages:
|
||||||
- test
|
- test
|
||||||
- security
|
- security
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"description": "Generic map for PHP",
|
"description": "Generic map for PHP",
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=7.4",
|
"php": "7.4 - 8.0",
|
||||||
"php-ds/php-ds": "^1.3",
|
"php-ds/php-ds": "^1.3",
|
||||||
"symfony/polyfill-php80": "^1.22"
|
"symfony/polyfill-php80": "^1.22"
|
||||||
},
|
},
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "714ccb738ce62bf9d3fb5fef95cea1c1",
|
"content-hash": "3a97b3bda39ca237952799687ed87f15",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "php-ds/php-ds",
|
"name": "php-ds/php-ds",
|
||||||
|
@ -4268,7 +4268,7 @@
|
||||||
"prefer-stable": false,
|
"prefer-stable": false,
|
||||||
"prefer-lowest": false,
|
"prefer-lowest": false,
|
||||||
"platform": {
|
"platform": {
|
||||||
"php": ">=7.4"
|
"php": ">=7.4 <8.1"
|
||||||
},
|
},
|
||||||
"platform-dev": [],
|
"platform-dev": [],
|
||||||
"plugin-api-version": "2.3.0"
|
"plugin-api-version": "2.3.0"
|
||||||
|
|
Loading…
Reference in New Issue