Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/HuasoFoundries/phpPgAdmin6.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.php_cs.php')
-rw-r--r--.php_cs.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/.php_cs.php b/.php_cs.php
index 43d3c524..1c5b6884 100644
--- a/.php_cs.php
+++ b/.php_cs.php
@@ -16,7 +16,6 @@ $header = "PHPPgAdmin {$version}";
$config = Config\Factory::fromRuleSet(new Config\RuleSet\Php71($header), [
'declare_strict_types' => false,
- //'header_comment' => ['commentType' => 'PHPDoc', 'header' => $header],
'escape_implicit_backslashes' => false,
'final_class' => false,
'final_internal_class' => false,
@@ -35,6 +34,7 @@ $config = Config\Factory::fromRuleSet(new Config\RuleSet\Php71($header), [
$config->getFinder()
->ignoreDotFiles(false)
->in(__DIR__)
+ ->notName('rector.php')
->exclude([
'.build',
'.configs',
@@ -43,12 +43,13 @@ $config->getFinder()
'docs',
'node_modules',
'temp',
+ 'rector.php',
'src/router.php',
'vendor',
'.github',
])
- ->name('.php_cs');
+ ->name('.php_cs.php');
-$config->setCacheFile(__DIR__ . '/.build/php-cs-fixer/php_cs.cache');
+$config->setCacheFile(__DIR__ . '/.build/phpcs/csfixer.cache');
return $config;