-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.php-cs-fixer.php
More file actions
36 lines (31 loc) · 950 Bytes
/
.php-cs-fixer.php
File metadata and controls
36 lines (31 loc) · 950 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
/**
* @copyright ©2026 Maatify.dev
* @Library maatify/IAM-CORE
* @Project maatify:IAM-CORE
* @author Mohamed Abdulalim (megyptm) <mohamed@maatify.dev>
* @since 2026-03-02 03:22:00
* @see https://www.maatify.dev
* @link https://github.com/Maatify/IAM-CORE view Project on GitHub
* @note Distributed in the hope that it will be useful - WITHOUT WARRANTY.
*/
declare(strict_types=1);
use PhpCsFixer\Config;
use PhpCsFixer\Finder;
$finder = Finder::create()
->in(__DIR__ . '/src')
->in(__DIR__ . '/tests')
->name('*.php')
->ignoreDotFiles(true)
->ignoreVCS(true);
return (new Config())
->setRiskyAllowed(true)
->setRules([
'@PSR12' => true,
'strict_param' => true,
'declare_strict_types' => true,
'no_unused_imports' => true,
'no_extra_blank_lines' => true,
'single_quote' => true
])
->setFinder($finder);