From 44e6eb6f79d77c294113a2a70e29f5a7adf4dbda Mon Sep 17 00:00:00 2001 From: grosroro Date: Thu, 31 May 2012 16:16:35 +0200 Subject: [PATCH] Fix CS --- src/FFMpeg/FFMpeg.php | 4 ++-- src/FFMpeg/FFProbe.php | 12 ++++++------ src/FFMpeg/Format/Audio.php | 4 ++-- src/FFMpeg/Format/Dimension.php | 12 ++++++------ src/FFMpeg/Format/Video.php | 2 +- src/FFMpeg/Format/Video/Resizable.php | 6 +++--- src/FFMpeg/Format/Video/Transcodable.php | 1 - 7 files changed, 20 insertions(+), 21 deletions(-) diff --git a/src/FFMpeg/FFMpeg.php b/src/FFMpeg/FFMpeg.php index a373bbe..b7d9863 100644 --- a/src/FFMpeg/FFMpeg.php +++ b/src/FFMpeg/FFMpeg.php @@ -117,7 +117,7 @@ class FFMpeg extends Binary try { $process->run(); } catch (\RuntimeException $e) { - + } if ( ! $process->isSuccessful()) { @@ -198,7 +198,7 @@ class FFMpeg extends Binary try { $process->run(); } catch (\RuntimeException $e) { - + } if ( ! $process->isSuccessful()) { diff --git a/src/FFMpeg/FFProbe.php b/src/FFMpeg/FFProbe.php index b2484e4..6e51b79 100644 --- a/src/FFMpeg/FFProbe.php +++ b/src/FFMpeg/FFProbe.php @@ -26,9 +26,9 @@ class FFProbe extends Binary /** * Probe the format of a given file * - * @param string $pathfile - * @return string A Json object containing the key/values of the probe output - * + * @param string $pathfile + * @return string A Json object containing the key/values of the probe output + * * @throws InvalidArgumentException * @throws RuntimeException */ @@ -72,9 +72,9 @@ class FFProbe extends Binary /** * Probe the streams contained in a given file * - * @param string $pathfile - * @return array An array of streams array - * + * @param string $pathfile + * @return array An array of streams array + * * @throws InvalidArgumentException * @throws RuntimeException */ diff --git a/src/FFMpeg/Format/Audio.php b/src/FFMpeg/Format/Audio.php index 12161e1..cddf1f5 100644 --- a/src/FFMpeg/Format/Audio.php +++ b/src/FFMpeg/Format/Audio.php @@ -25,11 +25,11 @@ interface Audio * @return integer */ public function getKiloBitrate(); - + /** * Give som extra parameters to add to ffmpeg commandline * Parameters MUST be escaped - * + * * @return string */ public function getExtraParams(); diff --git a/src/FFMpeg/Format/Dimension.php b/src/FFMpeg/Format/Dimension.php index cdec4e5..625bee1 100644 --- a/src/FFMpeg/Format/Dimension.php +++ b/src/FFMpeg/Format/Dimension.php @@ -15,7 +15,7 @@ use FFMpeg\Exception\InvalidArgumentException; /** * Dimension object, used for manipulating width and height couples - * + * * @author Romain Neutron imprec@gmail.com */ class Dimension @@ -25,9 +25,9 @@ class Dimension /** * Constructor - * - * @param integer $width - * @param integer $height + * + * @param integer $width + * @param integer $height * @throws InvalidArgumentException when one of the parameteres is invalid */ public function __construct($width, $height) @@ -42,7 +42,7 @@ class Dimension /** * Return width - * + * * @return width */ public function getWidth() @@ -52,7 +52,7 @@ class Dimension /** * Return height - * + * * @return integer */ public function getHeight() diff --git a/src/FFMpeg/Format/Video.php b/src/FFMpeg/Format/Video.php index 99fa20e..4e62b52 100644 --- a/src/FFMpeg/Format/Video.php +++ b/src/FFMpeg/Format/Video.php @@ -18,5 +18,5 @@ namespace FFMpeg\Format; */ interface Video extends Audio { - + } diff --git a/src/FFMpeg/Format/Video/Resizable.php b/src/FFMpeg/Format/Video/Resizable.php index 4391f7f..a3b0e99 100644 --- a/src/FFMpeg/Format/Video/Resizable.php +++ b/src/FFMpeg/Format/Video/Resizable.php @@ -28,9 +28,9 @@ interface Resizable extends BaseVideo * Returns the computed dimensions for the resize, after operation. * This method return the actual dimensions that FFmpeg will use. * - * @param integer $originalWidth - * @param integer $originalHeight - * @return Dimension A dimension + * @param integer $originalWidth + * @param integer $originalHeight + * @return Dimension A dimension */ public function getComputedDimensions($originalWidth, $originalHeight); } diff --git a/src/FFMpeg/Format/Video/Transcodable.php b/src/FFMpeg/Format/Video/Transcodable.php index 60c01ee..5ef2395 100644 --- a/src/FFMpeg/Format/Video/Transcodable.php +++ b/src/FFMpeg/Format/Video/Transcodable.php @@ -12,7 +12,6 @@ namespace FFMpeg\Format\Video; use FFMpeg\Format\Video as BaseVideo; -use FFMpeg\Format\Dimension; /** * @author Romain Neutron imprec@gmail.com