diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php
index 32a7a44..385bca2 100644
--- a/.php-cs-fixer.dist.php
+++ b/.php-cs-fixer.dist.php
@@ -24,11 +24,15 @@ namespace PhpCsFixer;
/**
* Configuration for PHP-CS-Fixer.
+ *
* @see https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/doc/config.rst
*
* @return ConfigInterface
*/
-return (new Config())
+$config = new Config();
+$finder = new Finder();
+
+return $config
->setRiskyAllowed(true)
->setRules(['@PSR12' => true])
- ->setFinder((new Finder())->in(__DIR__));
+ ->setFinder($finder->in([__DIR__ . '/src']));
diff --git a/phpcs.xml.dist b/phpcs.xml.dist
index 55e97f3..44db698 100644
--- a/phpcs.xml.dist
+++ b/phpcs.xml.dist
@@ -3,5 +3,7 @@
Open Culture Consulting strictly follows PSR standards.
./src
+
+