Code style fixes
This commit is contained in:
parent
644b5cacb3
commit
89817f456f
|
@ -52,8 +52,7 @@ class PhpCodeSniffer extends Plugin implements ZeroConfigPluginInterface
|
|||
protected $allowed_warnings;
|
||||
|
||||
/**
|
||||
* @var string, based on the assumption the root may not hold the code to be
|
||||
* tested, exteds the base path
|
||||
* @var string, based on the assumption the root may not hold the code to be tested, extends the base path
|
||||
*/
|
||||
protected $path;
|
||||
|
||||
|
@ -193,9 +192,9 @@ class PhpCodeSniffer extends Plugin implements ZeroConfigPluginInterface
|
|||
}
|
||||
|
||||
if (strpos($this->standard, '/') !== false) {
|
||||
$standard = ' --standard='.$this->directory.$this->standard;
|
||||
$standard = ' --standard=' . $this->directory.$this->standard;
|
||||
} else {
|
||||
$standard = ' --standard='.$this->standard;
|
||||
$standard = ' --standard=' . $this->standard;
|
||||
}
|
||||
|
||||
$suffixes = '';
|
||||
|
|
Loading…
Reference in a new issue