mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
20 lines
389 B
PHP
20 lines
389 B
PHP
<?php
|
|
|
|
$finder = PhpCsFixer\Finder::create()->in(__DIR__);
|
|
|
|
$config = new PhpCsFixer\Config();
|
|
|
|
$finder = $config->getFinder()
|
|
->ignoreDotFiles(false)
|
|
->in(__DIR__)
|
|
->name(__FILE__);
|
|
|
|
$config->setRules([
|
|
'indentation_type' => true,
|
|
'no_trailing_whitespace' => true,
|
|
'visibility_required' => true,
|
|
'whitespace_after_comma_in_array' => true,
|
|
]);
|
|
|
|
return $config;
|