Skip to content

Commit f8af1d6

Browse files
Merge pull request #39 from utopia-php/dev-coroutines
Adding coroutine processor
2 parents 48610e0 + 2862d90 commit f8af1d6

11 files changed

Lines changed: 2452 additions & 86 deletions

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
composer.lock
21
/vendor/
32
/.idea/
43
.phpunit.result.cache

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ require_once './vendor/autoload.php';
2222

2323
use Utopia\CLI\CLI;
2424
use Utopia\CLI\Console;
25+
use Utopia\CLI\Adapters\Generic;
2526
use Utopia\Http\Validator\Wildcard;
2627

27-
$cli = new CLI();
28+
$cli = new CLI(new Generic());
2829

2930
$cli
3031
->task('command-name')

composer.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"type": "library",
55
"keywords": ["php","framework", "upf", "utopia", "cli", "command line"],
66
"license": "MIT",
7-
87
"scripts": {
98
"test": "vendor/bin/phpunit --configuration phpunit.xml < tests/input.txt",
109
"check": "vendor/bin/phpstan analyse -c phpstan.neon",
@@ -16,13 +15,17 @@
1615
},
1716
"require": {
1817
"php": ">=7.4",
19-
"utopia-php/framework": "0.34.*"
18+
"utopia-php/framework": "1.0.*",
19+
"utopia-php/di": "0.1.*"
2020
},
2121
"require-dev": {
2222
"phpunit/phpunit": "^9.3",
2323
"squizlabs/php_codesniffer": "^3.6",
2424
"phpstan/phpstan": "^1.10",
25-
"laravel/pint": "1.2.*"
25+
"laravel/pint": "1.2.*",
26+
"swoole/ide-helper": "4.8.8"
2627
},
2728
"minimum-stability": "dev"
29+
30+
2831
}

0 commit comments

Comments
 (0)