github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/openapi-generator/templates/php/.php_cs (about)

     1  <?php
     2  
     3  return PhpCsFixer\Config::create()
     4      ->setUsingCache(true)
     5      ->setRules([
     6          '@PSR2' => true,
     7          'ordered_imports' => true,
     8          'phpdoc_order' => true,
     9          'array_syntax' => [ 'syntax' => 'short' ],
    10          'strict_comparison' => true,
    11          'strict_param' => true,
    12          'no_trailing_whitespace' => false,
    13          'no_trailing_whitespace_in_comment' => false,
    14          'braces' => false,
    15          'single_blank_line_at_eof' => false,
    16          'blank_line_after_namespace' => false,
    17      ])
    18      ->setFinder(
    19          PhpCsFixer\Finder::create()
    20          ->exclude('test')
    21          ->exclude('tests')
    22          ->in(__DIR__)
    23      );