[DOCKER] Bump to PHP version 8

This commit is contained in:
Hugo Sales 2021-02-20 22:42:28 +00:00
parent e2e53d9a2a
commit 9cd5560081
Signed by untrusted user: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0
4 changed files with 69 additions and 73 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/php
#!/usr/local/bin/php
<?php
use Symfony\Component\Yaml\Yaml;

View File

@ -4,7 +4,7 @@
"description": "Free software social networking platform.",
"license": "AGPL-3.0-only",
"require": {
"php": "^7.4",
"php": "^8.0",
"ext-ctype": "*",
"ext-iconv": "*",
"alchemy/zippy": "v0.5.x-dev",

136
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": "44946c855081fcd12f1f7e53c4c7576d",
"content-hash": "53d01cac311f428a3aa6210ac332c587",
"packages": [
{
"name": "alchemy/resource-component",
@ -269,16 +269,16 @@
},
{
"name": "doctrine/annotations",
"version": "1.11.1",
"version": "1.12.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/annotations.git",
"reference": "ce77a7ba1770462cd705a91a151b6c3746f9c6ad"
"reference": "ebec9b1708c95d7602245c8172773f6b4e0c3be1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/annotations/zipball/ce77a7ba1770462cd705a91a151b6c3746f9c6ad",
"reference": "ce77a7ba1770462cd705a91a151b6c3746f9c6ad",
"url": "https://api.github.com/repos/doctrine/annotations/zipball/ebec9b1708c95d7602245c8172773f6b4e0c3be1",
"reference": "ebec9b1708c95d7602245c8172773f6b4e0c3be1",
"shasum": ""
},
"require": {
@ -293,11 +293,6 @@
"phpunit/phpunit": "^7.5 || ^9.1.5"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.11.x-dev"
}
},
"autoload": {
"psr-4": {
"Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations"
@ -338,9 +333,9 @@
],
"support": {
"issues": "https://github.com/doctrine/annotations/issues",
"source": "https://github.com/doctrine/annotations/tree/1.11.1"
"source": "https://github.com/doctrine/annotations/tree/1.12.0"
},
"time": "2020-10-26T10:28:16+00:00"
"time": "2021-02-14T13:22:18+00:00"
},
{
"name": "doctrine/cache",
@ -1356,16 +1351,16 @@
},
{
"name": "doctrine/orm",
"version": "2.8.1",
"version": "2.8.2",
"source": {
"type": "git",
"url": "https://github.com/doctrine/orm.git",
"reference": "242cf1a33df1b8bc5e1b86c3ebd01db07851c833"
"reference": "ebae57eb9637acd8252b398df3121b120688ed5c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/orm/zipball/242cf1a33df1b8bc5e1b86c3ebd01db07851c833",
"reference": "242cf1a33df1b8bc5e1b86c3ebd01db07851c833",
"url": "https://api.github.com/repos/doctrine/orm/zipball/ebae57eb9637acd8252b398df3121b120688ed5c",
"reference": "ebae57eb9637acd8252b398df3121b120688ed5c",
"shasum": ""
},
"require": {
@ -1373,7 +1368,7 @@
"doctrine/annotations": "^1.11.1",
"doctrine/cache": "^1.9.1",
"doctrine/collections": "^1.5",
"doctrine/common": "^3.0",
"doctrine/common": "^3.0.3",
"doctrine/dbal": "^2.10.0",
"doctrine/event-manager": "^1.1",
"doctrine/inflector": "^1.4|^2.0",
@ -1442,9 +1437,9 @@
],
"support": {
"issues": "https://github.com/doctrine/orm/issues",
"source": "https://github.com/doctrine/orm/tree/2.8.1"
"source": "https://github.com/doctrine/orm/tree/2.8.2"
},
"time": "2020-12-04T19:53:07+00:00"
"time": "2021-02-16T22:10:18+00:00"
},
{
"name": "doctrine/persistence",
@ -2934,20 +2929,20 @@
},
{
"name": "psr/link",
"version": "1.0.0",
"version": "1.1.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/link.git",
"reference": "eea8e8662d5cd3ae4517c9b864493f59fca95562"
"reference": "94d170941164db307197ebf436296372b849bdb5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/link/zipball/eea8e8662d5cd3ae4517c9b864493f59fca95562",
"reference": "eea8e8662d5cd3ae4517c9b864493f59fca95562",
"url": "https://api.github.com/repos/php-fig/link/zipball/94d170941164db307197ebf436296372b849bdb5",
"reference": "94d170941164db307197ebf436296372b849bdb5",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
"php": ">=8.0.0"
},
"type": "library",
"extra": {
@ -2971,6 +2966,7 @@
}
],
"description": "Common interfaces for HTTP links",
"homepage": "https://github.com/php-fig/link",
"keywords": [
"http",
"http-link",
@ -2980,9 +2976,9 @@
"rest"
],
"support": {
"source": "https://github.com/php-fig/link/tree/master"
"source": "https://github.com/php-fig/link/tree/1.1.0"
},
"time": "2016-10-28T16:06:13+00:00"
"time": "2021-02-03T23:29:51+00:00"
},
{
"name": "psr/log",
@ -3141,7 +3137,7 @@
"authors": [
{
"name": "Hugo Sales",
"email": "hugo@hsal.es"
"email": "hugo@fc.up.pt"
}
],
"description": "No-implementation memcached extension polyfill",
@ -3183,7 +3179,7 @@
"authors": [
{
"name": "Hugo Sales",
"email": "hugo@hsal.es"
"email": "hugo@fc.up.pt"
}
],
"description": "No-implementation redis extension polyfill",
@ -4507,16 +4503,16 @@
},
{
"name": "symfony/flex",
"version": "v1.12.1",
"version": "v1.12.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/flex.git",
"reference": "394f3e4dc03ea2a5448aeedc9658c8b596b1d39f"
"reference": "e472606b4b3173564f0edbca8f5d32b52fc4f2c9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/flex/zipball/394f3e4dc03ea2a5448aeedc9658c8b596b1d39f",
"reference": "394f3e4dc03ea2a5448aeedc9658c8b596b1d39f",
"url": "https://api.github.com/repos/symfony/flex/zipball/e472606b4b3173564f0edbca8f5d32b52fc4f2c9",
"reference": "e472606b4b3173564f0edbca8f5d32b52fc4f2c9",
"shasum": ""
},
"require": {
@ -4533,7 +4529,7 @@
"type": "composer-plugin",
"extra": {
"branch-alias": {
"dev-main": "1.9-dev"
"dev-main": "1.12-dev"
},
"class": "Symfony\\Flex\\Flex"
},
@ -4555,7 +4551,7 @@
"description": "Composer plugin for Symfony",
"support": {
"issues": "https://github.com/symfony/flex/issues",
"source": "https://github.com/symfony/flex/tree/v1.12.1"
"source": "https://github.com/symfony/flex/tree/v1.12.2"
},
"funding": [
{
@ -4571,7 +4567,7 @@
"type": "tidelift"
}
],
"time": "2021-02-02T16:29:45+00:00"
"time": "2021-02-16T14:05:05+00:00"
},
{
"name": "symfony/form",
@ -5848,16 +5844,16 @@
},
{
"name": "symfony/polyfill-intl-grapheme",
"version": "v1.22.0",
"version": "v1.22.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-grapheme.git",
"reference": "267a9adeb8ecb8071040a740930e077cdfb987af"
"reference": "5601e09b69f26c1828b13b6bb87cb07cddba3170"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/267a9adeb8ecb8071040a740930e077cdfb987af",
"reference": "267a9adeb8ecb8071040a740930e077cdfb987af",
"url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/5601e09b69f26c1828b13b6bb87cb07cddba3170",
"reference": "5601e09b69f26c1828b13b6bb87cb07cddba3170",
"shasum": ""
},
"require": {
@ -5909,7 +5905,7 @@
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.22.0"
"source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.22.1"
},
"funding": [
{
@ -5925,20 +5921,20 @@
"type": "tidelift"
}
],
"time": "2021-01-07T16:49:33+00:00"
"time": "2021-01-22T09:19:47+00:00"
},
{
"name": "symfony/polyfill-intl-icu",
"version": "v1.22.0",
"version": "v1.22.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-icu.git",
"reference": "b2b1e732a6c039f1a3ea3414b3379a2433e183d6"
"reference": "af1842919c7e7364aaaa2798b29839e3ba168588"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-intl-icu/zipball/b2b1e732a6c039f1a3ea3414b3379a2433e183d6",
"reference": "b2b1e732a6c039f1a3ea3414b3379a2433e183d6",
"url": "https://api.github.com/repos/symfony/polyfill-intl-icu/zipball/af1842919c7e7364aaaa2798b29839e3ba168588",
"reference": "af1842919c7e7364aaaa2798b29839e3ba168588",
"shasum": ""
},
"require": {
@ -5996,7 +5992,7 @@
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-intl-icu/tree/v1.22.0"
"source": "https://github.com/symfony/polyfill-intl-icu/tree/v1.22.1"
},
"funding": [
{
@ -6012,20 +6008,20 @@
"type": "tidelift"
}
],
"time": "2021-01-07T16:49:33+00:00"
"time": "2021-01-22T09:19:47+00:00"
},
{
"name": "symfony/polyfill-intl-idn",
"version": "v1.22.0",
"version": "v1.22.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-idn.git",
"reference": "0eb8293dbbcd6ef6bf81404c9ce7d95bcdf34f44"
"reference": "2d63434d922daf7da8dd863e7907e67ee3031483"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/0eb8293dbbcd6ef6bf81404c9ce7d95bcdf34f44",
"reference": "0eb8293dbbcd6ef6bf81404c9ce7d95bcdf34f44",
"url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/2d63434d922daf7da8dd863e7907e67ee3031483",
"reference": "2d63434d922daf7da8dd863e7907e67ee3031483",
"shasum": ""
},
"require": {
@ -6083,7 +6079,7 @@
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.22.0"
"source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.22.1"
},
"funding": [
{
@ -6099,20 +6095,20 @@
"type": "tidelift"
}
],
"time": "2021-01-07T16:49:33+00:00"
"time": "2021-01-22T09:19:47+00:00"
},
{
"name": "symfony/polyfill-intl-normalizer",
"version": "v1.22.0",
"version": "v1.22.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-normalizer.git",
"reference": "6e971c891537eb617a00bb07a43d182a6915faba"
"reference": "43a0283138253ed1d48d352ab6d0bdb3f809f248"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/6e971c891537eb617a00bb07a43d182a6915faba",
"reference": "6e971c891537eb617a00bb07a43d182a6915faba",
"url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/43a0283138253ed1d48d352ab6d0bdb3f809f248",
"reference": "43a0283138253ed1d48d352ab6d0bdb3f809f248",
"shasum": ""
},
"require": {
@ -6167,7 +6163,7 @@
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.22.0"
"source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.22.1"
},
"funding": [
{
@ -6183,20 +6179,20 @@
"type": "tidelift"
}
],
"time": "2021-01-07T17:09:11+00:00"
"time": "2021-01-22T09:19:47+00:00"
},
{
"name": "symfony/polyfill-mbstring",
"version": "v1.22.0",
"version": "v1.22.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git",
"reference": "f377a3dd1fde44d37b9831d68dc8dea3ffd28e13"
"reference": "5232de97ee3b75b0360528dae24e73db49566ab1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f377a3dd1fde44d37b9831d68dc8dea3ffd28e13",
"reference": "f377a3dd1fde44d37b9831d68dc8dea3ffd28e13",
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/5232de97ee3b75b0360528dae24e73db49566ab1",
"reference": "5232de97ee3b75b0360528dae24e73db49566ab1",
"shasum": ""
},
"require": {
@ -6247,7 +6243,7 @@
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-mbstring/tree/v1.22.0"
"source": "https://github.com/symfony/polyfill-mbstring/tree/v1.22.1"
},
"funding": [
{
@ -6263,11 +6259,11 @@
"type": "tidelift"
}
],
"time": "2021-01-07T16:49:33+00:00"
"time": "2021-01-22T09:19:47+00:00"
},
{
"name": "symfony/polyfill-php73",
"version": "v1.22.0",
"version": "v1.22.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php73.git",
@ -6326,7 +6322,7 @@
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-php73/tree/v1.22.0"
"source": "https://github.com/symfony/polyfill-php73/tree/v1.22.1"
},
"funding": [
{
@ -6346,7 +6342,7 @@
},
{
"name": "symfony/polyfill-php80",
"version": "v1.22.0",
"version": "v1.22.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php80.git",
@ -6409,7 +6405,7 @@
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-php80/tree/v1.22.0"
"source": "https://github.com/symfony/polyfill-php80/tree/v1.22.1"
},
"funding": [
{
@ -10121,7 +10117,7 @@
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
"php": "^7.4",
"php": "^8.0",
"ext-ctype": "*",
"ext-iconv": "*"
},

View File

@ -1,4 +1,4 @@
FROM php:fpm-alpine
FROM php:8-fpm-alpine
RUN apk update && apk add git autoconf make file gettext-dev icu-dev zlib-dev libpng-dev gmp-dev \
mariadb-dev mariadb-client postgresql-dev postgresql-client composer > /dev/null