heiglandreas/DateIntervalComparator

View on GitHub
.php_cs

Summary

Maintainability
Test Coverage
<?php
$finder = PhpCsFixer\Finder::create()
    ->in('src')
    ->in('tests')
    ->notPath('_assets')
    ->filter(function (SplFileInfo $file) {
        if (strstr($file->getPath(), 'compatibility')) {
            return false;
        }
    });
$config = PhpCsFixer\Config::create();
$config->setRules(['@PSR2' => true]);
$config->setFinder($finder);
return $config;