Skip to content

Commit e2ac79f

Browse files
authored
Merge pull request #12 from blitz-php/1.x-devs
fix style
2 parents 57b48e5 + 9926855 commit e2ac79f

61 files changed

Lines changed: 2020 additions & 1690 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,5 @@ nb-configuration.xml
107107

108108
codeclimate.json
109109
coveralls.json
110-
clover.xml
110+
clover.xml
111+
scrutinizer.xml

.php-cs-fixer.dist.php

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -13,42 +13,23 @@
1313

1414
use BlitzPHP\CodingStandard\Blitz;
1515
use Nexus\CsConfig\Factory;
16-
use Nexus\CsConfig\Fixer\Comment\NoCodeSeparatorCommentFixer;
17-
use Nexus\CsConfig\FixerGenerator;
1816
use PhpCsFixer\Finder;
1917

2018
$finder = Finder::create()
2119
->files()
22-
->in([
23-
__DIR__ . '/src',
24-
// __DIR__ . '/tests',
25-
// __DIR__ . '/utils',
26-
])
27-
// ->exclude(['ThirdParty'])
28-
->notName('#Foobar.php$#')
29-
->append([
30-
__FILE__,
31-
__DIR__ . '/.php-cs-fixer.no-header.php',
32-
__DIR__ . '/.php-cs-fixer.user-guide.php',
33-
// __DIR__ . '/rector.php',
34-
// __DIR__ . '/spark',
35-
// __DIR__ . '/user_guide_src/renumerate.php',
36-
]);
20+
->in([__DIR__ . '/src'])
21+
->append([__FILE__]);
3722

3823
$overrides = [];
3924

4025
$options = [
41-
'cacheFile' => 'build/.php-cs-fixer.cache',
42-
'finder' => $finder,
43-
'customFixers' => FixerGenerator::create('vendor/nexusphp/cs-config/src/Fixer', 'Nexus\\CsConfig\\Fixer'),
44-
'customRules' => [
45-
NoCodeSeparatorCommentFixer::name() => true,
46-
],
26+
'cacheFile' => 'build/.php-cs-fixer.cache',
27+
'finder' => $finder,
4728
];
4829

4930
return Factory::create(new Blitz(), $overrides, $options)->forLibrary(
5031
'Blitz PHP framework - Database Layer',
5132
'Dimitri Sitchet Tomkeu',
5233
'devcode.dst@gmail.com',
53-
2022
34+
2022,
5435
);

0 commit comments

Comments
 (0)