Skip to content
Open
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
13 changes: 5 additions & 8 deletions .platform.app.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: laminas_dev

type: php:8.2
type: php:8.4

size: S

Expand All @@ -9,9 +9,9 @@ disk: 256
build:
flavor: none

dependencies:
php:
composer/composer: "~2.5.8"
runtime:
extensions:
- swoole

mounts:
'data/cache':
Expand All @@ -21,9 +21,6 @@ mounts:
hooks:
build: |
set -e
OPENSWOOLE_VERSION=22.1.2
echo "Installing Swoole extension"
bash install-swoole.sh openswoole "$OPENSWOOLE_VERSION"
echo "Current PHP modules:"
php -m
echo "Installing platform.sh CLI"
Expand All @@ -32,7 +29,7 @@ hooks:
rm -f config/development.config.php config/autoload/*.local.php
mv config/autoload/local.php.dist config/autoload/local.php
echo "- Installing application dependencies"
composer install --no-ansi --no-dev --no-interaction --no-scripts --no-plugins --optimize-autoloader --ignore-platform-req=ext-openswoole
composer install --no-ansi --no-dev --no-interaction --no-scripts --no-plugins --optimize-autoloader
deploy: |
rm -rf data/cache/*

Expand Down
22 changes: 9 additions & 13 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
"rss": "https://github.com/laminas/laminas.dev/releases.atom"
},
"require": {
"php": "~8.2.0",
"php": "~8.4.0",
"ext-curl": "*",
"ext-hash": "*",
"ext-json": "*",
"ext-openswoole": "*",
"ext-swoole": "*",
"beberlei/assert": "^3.3.2",
"colorfield/mastodon-api": "^0.1.5",
"guzzlehttp/guzzle": "^7.8.1",
Expand All @@ -30,35 +30,34 @@
"laminas/laminas-servicemanager": "^3.22.1",
"laminas/laminas-stdlib": "^3.19.0",
"laminas/laminas-stratigility": "^3.11.0",
"league/commonmark": "^2.4.2",
"league/commonmark": "^2.7.1",
"mezzio/mezzio": "^3.19.0",
"mezzio/mezzio-fastroute": "^3.11.0",
"mezzio/mezzio-hal": "^2.9.0",
"mezzio/mezzio-helpers": "^5.16.0",
"mezzio/mezzio-platesrenderer": "^2.10.0",
"mezzio/mezzio-problem-details": "^1.14.0",
"mezzio/mezzio-swoole": "^4.9.0",
"mezzio/mezzio-swoole": "^4.12.0",
"mezzio/mezzio-template": "^2.10.0",
"monolog/monolog": "^3.5.0",
"phly/phly-event-dispatcher": "^1.4.0",
"phpseclib/phpseclib": "^3.0.37",
"psr/container": "^1.1.2 || ^2.0.2",
"psr/event-dispatcher": "^1.0",
"psr/http-factory": "^1.0.2",
"psr/http-factory": "^1.1.0",
"psr/http-message": "^2.0.0",
"psr/http-server-handler": "^1.0.2",
"psr/http-server-middleware": "^1.0.2",
"psr/log": "^3.0"
},
"require-dev": {
"filp/whoops": "^2.15.3",
"laminas/laminas-coding-standard": "~2.5.0",
"filp/whoops": "^2.18.4",
"laminas/laminas-coding-standard": "~3.1.0",
"laminas/laminas-development-mode": "^3.11",
"mezzio/mezzio-tooling": "^2.8",
"mezzio/mezzio-tooling": "^2.12.0",
"phpspec/prophecy-phpunit": "^2.0.2",
"phpunit/phpunit": "^9.6.13",
"roave/security-advisories": "dev-master",
"squizlabs/php_codesniffer": "^3.7.2"
"roave/security-advisories": "dev-master"
},
"config": {
"discard-changes": true,
Expand All @@ -85,9 +84,6 @@
}
},
"autoload": {
"files": [
"override/openswoole22-compat.php"
],
"psr-4": {
"App\\": "src/"
}
Expand Down
Loading