Skip to content

Commit 94c3c46

Browse files
Stream (#16)
* Resolves #13 - Implements sendStreamAsFile, sendFile via sendStreamAsFile - Improves error handler deregistration from #15 - Updates dependencies in composer.lock file - Tested on PHP 8.2 * Update readme
1 parent 4d43774 commit 94c3c46

11 files changed

+1132
-879
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ Before the application exists, it will call `getPsr7Response` on your `response`
344344
- [x] `yii-gii`.
345345
- [x] Fix fatal memory leak under load
346346
- [ ] `yii\filters\auth\CompositeAuth` compatability.
347-
- [ ] Implement comparable `sendFile`.
347+
- [x] Implement comparable `sendFile`, `sendStreamAsFile`
348348
- [ ] `yii\web\Request::$methodParam` support. (Not really applicable to `ServerRequestInterface`)
349349
- [ ] Test Coverage
350350

composer.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"samdark/yii2-psr-log-target": "^1.0",
2222
"monolog/monolog": "~2.1.0",
2323
"squizlabs/php_codesniffer": "^3.2",
24-
"phpunit/phpunit": "~9.2.0",
24+
"phpunit/phpunit": "^9.0",
2525
"spiral/roadrunner": "^2.5"
2626
},
2727
"autoload": {
@@ -33,5 +33,11 @@
3333
"psr-4": {
3434
"yii\\Psr7\\tests\\": "tests/"
3535
}
36+
},
37+
"config": {
38+
"allow-plugins": {
39+
"yiisoft/yii2-compose": true,
40+
"yiisoft/yii2-composer": true
41+
}
3642
}
3743
}

0 commit comments

Comments
 (0)