Skip to content
This repository was archived by the owner on Oct 30, 2024. It is now read-only.

Commit 7a987a1

Browse files
authored
Merge branch 'develop' into feature/docker-tests
2 parents 16dd6c3 + 98111f9 commit 7a987a1

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
lint:
2+
find src -name *.php -exec php -l {} \;
3+
find tests -name *.php -exec php -l {} \;
4+
find examples -name *.php -exec php -l {} \;
5+
16
cs: lint
27
./vendor/bin/phpcbf --standard=PSR2 src tests examples
38
./vendor/bin/phpcs --standard=PSR2 --warning-severity=0 src tests examples
@@ -9,11 +14,6 @@ test:
914
cover:
1015
./vendor/bin/phpunit --coverage-html ./cover
1116

12-
lint:
13-
find src -name *.php -exec php -l {} \;
14-
find tests -name *.php -exec php -l {} \;
15-
find examples -name *.php -exec php -l {} \;
16-
1717
deps:
1818
wget -q https://getcomposer.org/composer.phar -O ./composer.phar
1919
chmod +x composer.phar

src/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ private function receive($len = null)
167167
$receivedBytes = 0;
168168
while ($receivedBytes < $len) {
169169
$bytesLeft = $len - $receivedBytes;
170-
if ( $bytesLeft < 1500 ) {
170+
if ( $bytesLeft < $this->chunkSize ) {
171171
$chunkSize = $bytesLeft;
172172
}
173173

0 commit comments

Comments
 (0)