Skip to content

Commit

Permalink
Merge pull request #125 from Xerkus/feature/swoole-v5-tests
Browse files Browse the repository at this point in the history
Fix Swoole v5 compatibility in hot reloader. Fix unit tests
  • Loading branch information
Xerkus committed Jan 15, 2024
2 parents 3048a8b + 0701fb5 commit 2f036dc
Show file tree
Hide file tree
Showing 21 changed files with 317 additions and 269 deletions.
3 changes: 1 addition & 2 deletions .laminas-ci.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"extensions": [
"inotify",
"swoole"
"inotify"
]
}
7 changes: 7 additions & 0 deletions .laminas-ci/pre-install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

JOB=$3
PHP_VERSION=$(echo "${JOB}" | jq -r '.php')

apt update
apt install -y "php${PHP_VERSION}-swoole"
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
This library provides support for [Swoole](https://github.com/swoole/swoole-src) or [Open Swoole](https://www.swoole.co.uk/) for [Mezzio](https://docs.mezzio.dev/) applications.
This means you can execute your Mezzio application using Swoole directly from the command line.


## Installation

Run the following to install this library:
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@
"filp/whoops": "^2.15.2",
"laminas/laminas-coding-standard": "~2.5.0",
"laminas/laminas-servicemanager": "^3.20",
"phpunit/phpunit": "^10.2.2",
"phpunit/phpunit": "^10.5",
"psalm/plugin-phpunit": "^0.18.4",
"swoole/ide-helper": "^5.0.3",
"vimeo/psalm": "^5.12"
"vimeo/psalm": "^5.19"
},
"suggest": {
"ext-inotify": "To use inotify based file watcher. Required for hot code reloading.",
Expand Down
Loading

0 comments on commit 2f036dc

Please sign in to comment.