1
0
mirror of https://github.com/danog/byte-stream.git synced 2024-11-26 20:04:51 +01:00

Add .editorconfig and fix code style

This commit is contained in:
Niklas Keller 2017-05-07 22:14:45 +02:00
parent 6241988750
commit 55a7118da9
6 changed files with 14 additions and 5 deletions

8
.editorconfig Normal file
View File

@ -0,0 +1,8 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = spaces
charset = utf-8

View File

@ -53,4 +53,4 @@ class GzipInputStream implements InputStream {
$this->source->close();
}
}
}

View File

@ -143,4 +143,4 @@ class Parser implements OutputStream {
public function close() {
$this->generator = null;
}
}
}

View File

@ -1,6 +1,7 @@
<?php
namespace Amp\ByteStream;
use Throwable;
/**
@ -14,4 +15,4 @@ class PendingReadException extends StreamException {
) {
parent::__construct($message, $code, $previous);
}
}
}

View File

@ -136,4 +136,4 @@ class ResourceInputStream implements InputStream {
$this->close();
}
}
}
}

View File

@ -29,4 +29,4 @@ function pipe(InputStream $source, OutputStream $destination): Promise {
return $written;
});
}
}