*/ public $javaStyle; var array $ta; public int $tb; protected bool $tc; private string $td; /** A variable with prose documentation but only a static type. */ public string $tdoc; // Some comment with wrong style, but typed property is okay to have it public string $wrongStyleDoc; // phpcs:disable Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect /** * Visibility is on its own line, which is rare because a Squiz * sniff complains about it, but if that sniff is suppressed * SpacingAfter shouldn't complain that the variable is not * on the line after the comment ends, see T271267 * * @var int */ private $intOnOwnLine; // phpcs:enable Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect /** * Test should not process local vars * @param int $a1 * @param int $a2 * @return int */ public function test( $a1, $a2 ) { return $a1 * $a2; } }