mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Enhancement: Run friendsofphp/php-cs-fixer on GitHub Actions
Co-authored-by: Markus Staab <maggus.staab@googlemail.com> Closes GH-559.
This commit is contained in:
14
.php-cs-fixer.php
Normal file
14
.php-cs-fixer.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
$finder = PhpCsFixer\Finder::create()->in(__DIR__);
|
||||
|
||||
$config = new PhpCsFixer\Config();
|
||||
|
||||
$finder = $config->getFinder()
|
||||
->ignoreDotFiles(false)
|
||||
->in(__DIR__)
|
||||
->name(__FILE__);
|
||||
|
||||
$config->setRules([]);
|
||||
|
||||
return $config;
|
||||
Reference in New Issue
Block a user