mirror of
				https://github.com/OpenAPITools/openapi-generator.git
				synced 2025-10-31 16:53:54 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
		
			770 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			770 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| /**
 | |
|  * @generated
 | |
|  * @link https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/HEAD/doc/config.rst
 | |
|  */
 | |
| $finder = PhpCsFixer\Finder::create()
 | |
|     ->in(__DIR__)
 | |
|     ->exclude('vendor')
 | |
|     ->exclude('test')
 | |
|     ->exclude('tests')
 | |
| ;
 | |
| 
 | |
| $config = new PhpCsFixer\Config();
 | |
| return $config->setRules([
 | |
|         '@PSR12' => true,
 | |
|         'phpdoc_order' => true,
 | |
|         'array_syntax' => [ 'syntax' => 'short' ],
 | |
|         'strict_comparison' => true,
 | |
|         'strict_param' => true,
 | |
|         'no_trailing_whitespace' => false,
 | |
|         'no_trailing_whitespace_in_comment' => false,
 | |
|         'braces' => false,
 | |
|         'single_blank_line_at_eof' => false,
 | |
|         'blank_line_after_namespace' => false,
 | |
|         'no_leading_import_slash' => false,
 | |
|     ])
 | |
|     ->setFinder($finder)
 | |
| ;
 |