Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Build api docs with php 8.1 requirements
# Build api docs with php 8.2 requirements
FROM alpine:3.19 as builder

RUN apk add --no-cache \
Expand All @@ -7,11 +7,12 @@ RUN apk add --no-cache \
git \
make \
openssh-client \
php81 \
php82 \
php82-bz2 \
php82-curl \
php82-dom \
php82-intl \
php82-iconv \
php82-json \
php82-mbstring \
php82-openssl \
Expand All @@ -38,8 +39,8 @@ RUN git clone https://github.com/cakephp/cakephp.git /cakephp \
&& git clone https://github.com/cakephp/queue.git /queue

RUN ls -lah \
&& make build-cakephp3-all CAKEPHP_SOURCE_DIR=/cakephp \
&& make build-cakephp4-all CAKEPHP_SOURCE_DIR=/cakephp \
# && make build-cakephp3-all CAKEPHP_SOURCE_DIR=/cakephp \
# && make build-cakephp4-all CAKEPHP_SOURCE_DIR=/cakephp \
&& make build-cakephp5-all CAKEPHP_SOURCE_DIR=/cakephp \
&& make build-authentication-all AUTHENTICATION_SOURCE_DIR=/authentication \
&& make build-authorization-all AUTHORIZATION_SOURCE_DIR=/authorization \
Expand Down
13 changes: 8 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,27 @@
"description": "API docs for CakePHP",
"type": "application",
"config": {
"platform": {
"php": "8.2.29"
},
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require": {
"php": ">=8.1",
"cakephp/collection": "^5.0",
"cakephp/console": "^5.0",
"cakephp/collection": "^5.2",
"cakephp/console": "^5.2",
"composer/composer": "^2.0",
"erusev/parsedown": "^1.7",
"nikic/php-parser": "^4.13",
"phpstan/phpdoc-parser": "^1.29.1",
"nikic/php-parser": "^5.3",
"phpstan/phpdoc-parser": "^2.3",
"twig/markdown-extra": "^3.0",
"twig/twig": "^3.0"
},
"require-dev": {
"cakephp/cakephp-codesniffer": "^4.0"
"cakephp/cakephp-codesniffer": "^5.3"
},
"autoload": {
"psr-4": {
Expand Down
Loading
Loading