style(styleci): Lint

This commit is contained in:
Pierre Rudloff 2019-04-21 00:58:04 +02:00
parent ddc27a8a2c
commit 586f20adb4
4 changed files with 8 additions and 17 deletions

View file

@ -120,13 +120,12 @@ class PlaylistArchiveStream extends TarArchive implements StreamInterface
*/
public function getSize()
{
return null;
}
/**
* Returns whether or not the stream is seekable.
*
* @return boolean
* @return bool
*/
public function isSeekable()
{
@ -146,7 +145,7 @@ class PlaylistArchiveStream extends TarArchive implements StreamInterface
/**
* Returns whether or not the stream is writable.
*
* @return boolean
* @return bool
*/
public function isWritable()
{
@ -156,7 +155,7 @@ class PlaylistArchiveStream extends TarArchive implements StreamInterface
/**
* Returns whether or not the stream is readable.
*
* @return boolean
* @return bool
*/
public function isReadable()
{
@ -182,7 +181,6 @@ class PlaylistArchiveStream extends TarArchive implements StreamInterface
*/
public function getMetadata($key = null)
{
return null;
}
/**
@ -194,6 +192,7 @@ class PlaylistArchiveStream extends TarArchive implements StreamInterface
{
$stream = $this->buffer;
$this->close();
return $stream;
}
@ -214,7 +213,7 @@ class PlaylistArchiveStream extends TarArchive implements StreamInterface
}
/**
* Returns the current position of the file read/write pointer
* Returns the current position of the file read/write pointer.
*
* @return int|false
*/

View file

@ -5,12 +5,6 @@
namespace Alltube;
use Barracuda\ArchiveStream\TarArchive;
use GuzzleHttp\Client;
use Psr\Http\Message\StreamInterface;
use RuntimeException;
use stdClass;
/**
* Video streamed to a PlaylistArchiveStream.
*/

View file

@ -5,7 +5,6 @@ use Alltube\Config;
use Alltube\Controller\FrontController;
use Alltube\LocaleManager;
use Alltube\LocaleMiddleware;
use Alltube\PlaylistArchiveStream;
use Alltube\UglyRouter;
use Alltube\ViewFactory;
use Slim\App;

View file

@ -8,8 +8,8 @@ namespace Alltube\Test;
use Alltube\Config;
use Alltube\PlaylistArchiveStream;
use PHPUnit\Framework\TestCase;
use stdClass;
use RuntimeException;
use stdClass;
/**
* Unit tests for the ViewFactory class.
@ -64,7 +64,6 @@ class PlaylistArchiveStreamTest extends TestCase
$this->stream->write('foo');
}
/**
* Test the tell() function.
*