Skip to content

Commit d0856f9

Browse files
Merge pull request #31 from utopia-php/revert-0.8.0
Revert 0.8.x changes
2 parents a518b27 + e8817c5 commit d0856f9

File tree

25 files changed

+685
-994
lines changed

25 files changed

+685
-994
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/tests.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
language: php
2+
php: 8.0
3+
services:
4+
- docker
5+
6+
notifications:
7+
email:
8+
- team@appwrite.io
9+
10+
before_script:
11+
- composer install --ignore-platform-reqs
12+
13+
script:
14+
- docker-compose up -d
15+
- docker-compose exec tests vendor/bin/pint --test
16+
- docker-compose exec tests vendor/bin/phpstan analyse
17+
- docker-compose exec tests vendor/bin/phpunit

php-8.3.Dockerfile renamed to Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ COPY composer.json /usr/local/src/
77

88
RUN composer install --ignore-platform-reqs
99

10-
FROM appwrite/utopia-base:php-8.3-0.1.0 as final
10+
FROM phpswoole/swoole:php8.1-alpine
1111

12-
RUN docker-php-ext-configure pcntl --enable-pcntl
12+
WORKDIR /usr/local/src/
1313

14-
RUN docker-php-ext-install pcntl
14+
RUN apk add autoconf build-base
1515

16-
WORKDIR /usr/local/src/
16+
RUN docker-php-ext-enable redis
1717

1818
COPY . .
1919

composer.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@
2525
},
2626
"require": {
2727
"php": ">=8.0",
28-
"utopia-php/cli": "0.19.*",
29-
"utopia-php/servers": "0.1.*",
30-
"utopia-php/di": "0.1.*"
28+
"utopia-php/cli": "0.15.*",
29+
"utopia-php/framework": "0.*.*"
3130
},
3231
"require-dev": {
3332
"swoole/ide-helper": "4.8.8",
@@ -37,7 +36,6 @@
3736
"phpstan/phpstan": "^1.8"
3837
},
3938
"suggest": {
40-
"ext-redis": "Needed to support Redis connections",
4139
"ext-swoole": "Needed to support Swoole.",
4240
"workerman/workerman": "Needed to support Workerman."
4341
}

0 commit comments

Comments
 (0)