<?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);
|