Lint
This commit is contained in:
parent
e6bbe54474
commit
b4be0ead6a
2 changed files with 6 additions and 5 deletions
|
@ -149,7 +149,7 @@ class VideoDownload
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get filename of video with the specified extension
|
* Get filename of video with the specified extension.
|
||||||
*
|
*
|
||||||
* @param string $extension New file extension
|
* @param string $extension New file extension
|
||||||
* @param string $url URL of page
|
* @param string $url URL of page
|
||||||
|
@ -348,6 +348,7 @@ class VideoDownload
|
||||||
'pipe:1',
|
'pipe:1',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
return popen($procBuilder->getProcess()->getCommandLine(), 'r');
|
return popen($procBuilder->getProcess()->getCommandLine(), 'r');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -372,8 +372,8 @@ class FrontControllerTest extends \PHPUnit_Framework_TestCase
|
||||||
$result = $controller->redirect(
|
$result = $controller->redirect(
|
||||||
$this->request->withQueryParams(
|
$this->request->withQueryParams(
|
||||||
[
|
[
|
||||||
'url'=>'https://www.youtube.com/watch?v=M7IpKCZ47pU',
|
'url' => 'https://www.youtube.com/watch?v=M7IpKCZ47pU',
|
||||||
'format'=>'bestvideo+bestaudio'
|
'format'=> 'bestvideo+bestaudio',
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
$this->response
|
$this->response
|
||||||
|
@ -391,8 +391,8 @@ class FrontControllerTest extends \PHPUnit_Framework_TestCase
|
||||||
$result = $this->controller->redirect(
|
$result = $this->controller->redirect(
|
||||||
$this->request->withQueryParams(
|
$this->request->withQueryParams(
|
||||||
[
|
[
|
||||||
'url'=>'https://www.youtube.com/watch?v=M7IpKCZ47pU',
|
'url' => 'https://www.youtube.com/watch?v=M7IpKCZ47pU',
|
||||||
'format'=>'bestvideo+bestaudio'
|
'format'=> 'bestvideo+bestaudio',
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
$this->response
|
$this->response
|
||||||
|
|
Loading…
Reference in a new issue