Location: PHPKode > scripts > PHP Coding Standards Fixer > fabpot-PHP-CS-Fixer-082a0e0/Symfony/CS/Finder/Symfony20Finder.php
<?php

/*
 * This file is part of the PHP CS utility.
 *
 * (c) Fabien Potencier <hide@address.com>
 *
 * This source file is subject to the MIT license that is bundled
 * with this source code in the file LICENSE.
 */

namespace Symfony\CS\Finder;

use Symfony\Component\Finder\Finder;

/**
 * @author Fabien Potencier <hide@address.com>
 */
class Symfony20Finder extends DefaultFinder
{
    protected function getDirs($dir)
    {
        return array($dir.'/src', $dir.'/tests');
    }

    protected function getFilesToExclude()
    {
        return array(
            'Symfony/Tests/Component/ClassLoader/ClassCollectionLoaderTest.php',
            'Symfony/Tests/Component/DependencyInjection/Fixtures/containers/container9.php',
            'Symfony/Tests/Component/DependencyInjection/Fixtures/includes/foo.php',
            'Symfony/Tests/Component/DependencyInjection/Fixtures/php/services9.php',
            'Symfony/Tests/Component/DependencyInjection/Fixtures/yaml/services9.yml',
            'Symfony/Tests/Component/Routing/Fixtures/dumper/url_matcher1.php',
            'Symfony/Tests/Component/Routing/Fixtures/dumper/url_matcher2.php',
            'Symfony/Tests/Component/Yaml/Fixtures/sfTests.yml',
        );
    }
}
Return current item: PHP Coding Standards Fixer