<?php

/*
 * This file is part of the Sylius package.
 *
 * (c) Sylius Sp. z o.o.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

$fixers = include 'common.php';

$fixers[] = '-visibility';

$finder = Symfony\Component\Finder\Finder::create()
    ->files()
    ->name('*Spec.php')
    ->in('src')
;

return Symfony\CS\Config\Config::create()
        ->setUsingCache(true)
        ->fixers($fixers)
        ->finder($finder)
;
