PhpFixer
class PhpFixer (View source)
Constants
| FLAG_OLDPHP | 
                     Coding style rules flag: compatible with PHP versions prior to 5.5.9 (the minimum PHP version required by concrete5).  | 
            
| FLAG_PHPONLY | 
                     Coding style rules flag: PHP-only files.  | 
            
| FLAG_BOOTSTRAP | 
                     Coding style rules flag: bootstrap files.  | 
            
| FLAG_PSR4CLASS | 
                     Coding style rules flag: files that implement classes following the PSR-4 rules.  | 
            
Properties
| protected PhpFixerOptions | $options | ||
| protected PhpFixerRuleResolver | $ruleResolver | ||
| protected PhpFixerRunner | $runner | 
Methods
                    __construct(PhpFixerOptions $options, PhpFixerRuleResolver $ruleResolver, PhpFixerRunner $runner)
        
                                            
                
            Initialize the instance.
                    getOptions()
        
                                            
                
            Get the fixer options.
                    array
                
                
                    fix(InputInterface $input, OutputInterface $output, array $paths, bool $dryRun = false)
        
                                            
                
            No description
                    array
                
                
                
            
                    array
                
                
                
            
                    array
                
                
                
            
                    array
                
                
                    mergePathAndFlags(array $list1, array $list2)
        
                                            
                
            No description
Details
        
                            
    __construct(PhpFixerOptions $options, PhpFixerRuleResolver $ruleResolver, PhpFixerRunner $runner)
        
    
    Initialize the instance.
        
                            PhpFixerOptions
    getOptions()
        
    
    Get the fixer options.
        
                            array
    fix(InputInterface $input, OutputInterface $output, array $paths, bool $dryRun = false)
        
    
    No description
        
                    protected        array
    splitPathToPathAndFlags(SplFileInfo $path)
        
    
    No description
        
                    protected        array
    splitFileToPathAndFlags(SplFileInfo $file)
        
    
    No description
        
                    protected        array
    splitDirectoryToPathAndFlags(SplFileInfo $directory)
        
    
    No description
        
                    protected        array
    mergePathAndFlags(array $list1, array $list2)
        
    
    No description