Example #1
0
 /**
  * @param integer $severity
  * @param integer $spacing
  */
 public function __construct($severity, $spacing = 1)
 {
     parent::__construct($severity);
     $this->spacing = $spacing;
 }
Example #2
0
 /**
  * @param integer                 $severity
  * @param string[]                $operators
  * @param integer                 $spacing
  * @param WhitelistInterface|null $whitelist
  */
 public function __construct($severity, array $operators, $spacing, WhitelistInterface $whitelist = null)
 {
     parent::__construct($severity, $whitelist);
     $this->spacing = $spacing;
     $this->operators = $operators;
 }
 /**
  * @param integer $spaces
  */
 public function __construct($severity, $spaces = 0)
 {
     parent::__construct($severity);
     $this->spaces = $spaces;
 }
 /**
  * @param integer $spaceBefore
  * @param integer $spaceAfter
  */
 public function __construct($severity, $spaceBefore = 0, $spaceAfter = 1)
 {
     parent::__construct($severity);
     $this->spaceBefore = $spaceBefore;
     $this->spaceAfter = $spaceAfter;
 }
Example #5
0
 /**
  * @param integer $severity
  * @param integer $spacing
  */
 public function __construct($severity, $spacing = 0, $controlStructureSpacing = 1)
 {
     parent::__construct($severity);
     $this->spacing = $spacing;
     $this->controlStructureSpacing = $controlStructureSpacing;
 }
Example #6
0
 /**
  * @param integer                 $severity
  * @param string[]                $punctuations
  * @param integer                 $spacing
  * @param WhitelistInterface|null $whitelist
  */
 public function __construct($severity, array $punctuations, $spacing, WhitelistInterface $whitelist = null)
 {
     parent::__construct($severity, $whitelist);
     $this->spacing = $spacing;
     $this->punctuations = $punctuations;
 }