Documentation

PhpdocSingleLineVarFixer
in package
implements FixerInterface

Main implementation taken from kubawerlos/php-cs-fixer-customere-fixers Copyright (c) 2018 Kuba Werłos

Slightly modified to work without the gazillion of composer dependencies

Original: https://github.com/kubawerlos/php-cs-fixer-custom-fixers/blob/master/src/Fixer/PhpdocSingleLineVarFixer.php

Table of Contents

Interfaces

FixerInterface

Methods

fix()  : void
getDefinition()  : FixerDefinition
getName()  : string
getPriority()  : int
isCandidate()  : bool
isRisky()  : bool
supports()  : bool

Methods

fix()

public fix(SplFileInfo $file, Tokens $tokens) : void
Parameters
$file : SplFileInfo
$tokens : Tokens

        
On this page

Search results