src/Standards/BestIt/Sniffs/Comparisons/EmptyArrayForComparisonSniff.php
protected function setUp(): void
    {
        parent::setUp();

        $this->invalidStructure = [
            T_ARRAY => [T_OPEN_PARENTHESIS, T_CLOSE_PARENTHESIS],
            T_OPEN_SHORT_ARRAY => [T_CLOSE_SHORT_ARRAY]
        ];
    }
protected function setUp(): void
    {
        parent::setUp();

        $this->invalidStructure = [
            T_ARRAY => [T_OPEN_PARENTHESIS, T_CLOSE_PARENTHESIS],
            T_OPEN_SHORT_ARRAY => [T_CLOSE_SHORT_ARRAY]
        ];
    }
protected function setUp ( ) : void { parent :: setUp ( ) ; $ this -> invalidStructure = [ T_ARRAY => [ T_OPEN_PARENTHESIS , T_CLOSE_PARENTHESIS ] , T_OPEN_SHORT_ARRAY => [ T_CLOSE_SHORT_ARRAY ] ] ; }
Declares the forbidden array structure.

@return void
Declares the forbidden array structure .