[DOCKER] Bump to PHP version 8

This commit is contained in:
Hugo Sales 2021-02-20 22:42:28 +00:00
parent 2c9bd3575b
commit f486656756
4 changed files with 69 additions and 73 deletions

View File

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

View File

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