mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 19:07:33 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			488 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			488 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
$finder = Symfony\Component\Finder\Finder::create()
 | 
						|
    ->notPath('vendor')
 | 
						|
    ->notPath('bootstrap')
 | 
						|
    ->notPath('storage')
 | 
						|
    ->notPath('node_modules')
 | 
						|
    ->in(__DIR__)
 | 
						|
    ->name('*.php')
 | 
						|
    ->notName('*.blade.php');
 | 
						|
 | 
						|
return PhpCsFixer\Config::create()
 | 
						|
    ->setRules([
 | 
						|
        '@PSR2' => true,
 | 
						|
        'array_syntax' => ['syntax' => 'short'],
 | 
						|
        'ordered_imports' => ['sortAlgorithm' => 'alpha'],
 | 
						|
        'no_unused_imports' => true,
 | 
						|
    ])
 | 
						|
    ->setFinder($finder); |