Commit 085d06f0 authored by Daniel Hürtgen's avatar Daniel Hürtgen

TASK: Fix code style

parent 19497218
......@@ -21,8 +21,8 @@ namespace Higidi\ComposerPhpCSStandardsPlugin\PHPCodeSniffer;
* 02110-1301, USA.
*/
use Higidi\ComposerPhpCSStandardsPlugin\PHPCodeSniffer\Standards\Standards;
use Higidi\ComposerPhpCSStandardsPlugin\PHPCodeSniffer\Standards\Factory;
use Higidi\ComposerPhpCSStandardsPlugin\PHPCodeSniffer\Standards\Standards;
use Higidi\ComposerPhpCSStandardsPlugin\Symfony\Finder\Factory as FinderFactory;
use Symfony\Component\Finder\Finder as SymfonyFinder;
......@@ -55,6 +55,7 @@ class Finder
* Find and return PHPCodeSniffer standards.
*
* @param string $path
*
* @return Standards
*
* @SuppressWarnings(PHPMD.ShortMethodName)
......@@ -91,6 +92,7 @@ class Finder
* Creates PHPCodeSniffer standards from paths.
*
* @param array $path
*
* @return Standards
*/
protected function createStandardsFromPaths(array $paths)
......
......@@ -45,6 +45,7 @@ class Factory
* Creates PHPCodeSniffer standards from paths.
*
* @param array $paths Paths with PHPCodeSniffer standard paths.
*
* @return Standards PHPCodeSniffer standards object.
*/
public function create(array $paths)
......
......@@ -30,6 +30,7 @@ class Factory
* Creates PHPCodeSniffer standard from path.
*
* @param string $path Path to the PHPCodeSniffer standard.
*
* @return Standard PHPCodeSniffer standard object.
*/
public function create($path)
......
......@@ -71,6 +71,7 @@ class Standard implements StandardInterface
* Fetch PHPCodeSniffer standard name from ruleset.xml.
*
* @param string $ruleSetXmlPath The absolute path to ruleset.xml.
*
* @return string The name of the PHPCodeSniffer standard.
*/
protected function getNameFromRuleSet($ruleSetXmlPath)
......
......@@ -25,7 +25,6 @@ use Higidi\ComposerPhpCSStandardsPlugin\PHPCodeSniffer\Standards\Standard\Standa
class Standards implements \Iterator
{
/**
* @var StandardInterface[]
*/
......@@ -43,6 +42,7 @@ class Standards implements \Iterator
/**
* @param StandardInterface $standard
*
* @return $this
*/
public function addStandard(StandardInterface $standard)
......@@ -54,6 +54,7 @@ class Standards implements \Iterator
/**
* @param string|StandardInterface $standard
*
* @return bool
*/
public function hasStandard($standard)
......@@ -63,6 +64,7 @@ class Standards implements \Iterator
/**
* @param string|StandardInterface $standard
*
* @return $this
*/
public function removeStandard($standard)
......@@ -76,6 +78,7 @@ class Standards implements \Iterator
/**
* @param string|StandardInterface $standard
*
* @return StandardInterface|null
*/
public function getStandard($standard)
......@@ -97,6 +100,7 @@ class Standards implements \Iterator
/**
* @param string|StandardInterface $standard
*
* @return string
*/
protected function getStandardName($standard)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment