Remove obsolete phpstan rule

This commit is contained in:
Pierre Rudloff 2020-05-14 00:21:25 +02:00
parent d4c1357c32
commit 1d9a709444
3 changed files with 3 additions and 5 deletions

View file

@ -50,7 +50,10 @@ class PlaylistArchiveStream extends ZipArchive implements StreamInterface
/**
* PlaylistArchiveStream constructor.
*
* We don't call the parent constructor because it messes up the output buffering.
*
* @param Video $video Video/playlist to download
* @noinspection PhpMissingParentConstructorInspection
*/
public function __construct(Video $video)
{

View file

@ -12,6 +12,5 @@ parameters:
- RoboFile.php
phpstan:
level: max
configuration: phpstan.neon
ignore_patterns:
- RoboFile.php

View file

@ -1,4 +0,0 @@
parameters:
ignoreErrors:
# The Archive constructor messes up the output buffering.
- '#Alltube\\Stream\\PlaylistArchiveStream::__construct\(\) does not call parent constructor from Barracuda\\ArchiveStream\\ZipArchive\.#'