<?php

$finder = PhpCsFixer\Finder::create()
  ->in(__DIR__ . '/../src');

$config = new PhpCsFixer\Config();
return $config->setRules([
  '@Symfony' => true,
  '@PSR2' => true,
  '@PhpCsFixer' => true,
  'phpdoc_to_comment' => false,
  'phpdoc_align' => false,
  '@PHP84Migration' => true,
])
  ->setFinder($finder)
  ->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect());
