From e77f7137e77e4904fe6b781abdd8fa479158752b Mon Sep 17 00:00:00 2001 From: Martin Modler Date: Mon, 13 Jul 2015 09:44:42 +0200 Subject: [PATCH 1/2] Added laravel 5.1 rules --- src/CleanupRules.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/CleanupRules.php b/src/CleanupRules.php index cd383dd..6df365e 100644 --- a/src/CleanupRules.php +++ b/src/CleanupRules.php @@ -48,6 +48,16 @@ public static function getRules() 'stack/builder' => array($docs, $tests), 'swiftmailer/swiftmailer' => array($docs, $tests, 'build* notes test-suite create_pear_package.php'), + // Default Laravel 5 install + 'danielstjules/stringy' => array($docs, $tests), + 'dnoegel/php-xdg-base-dir' => array($docs, $tests), + 'jakub-onderka/php-console-color' => array($docs, $tests, 'build.xml example.php'), + 'jakub-onderka/php-console-highlighter' => array($docs, $tests, 'build.xml'), + 'league/flysystem' => array($docs, $tests), + 'mtdowling/cron-expression' => array($docs, $tests), + 'psy/psysh' => array($docs, $tests), + 'vlucas/phpdotenv' => array($docs, $tests), + // Common packages 'anahkiasen/former' => array($docs, $tests), 'anahkiasen/html-object' => array($docs, 'phpunit.xml* tests/*'), @@ -93,5 +103,4 @@ public static function getRules() 'willdurand/geocoder' => array($docs, $tests), ); } - } From 372ff8d299b6fb8a6c0fe7822ea31b6ba1254206 Mon Sep 17 00:00:00 2001 From: Martin Modler Date: Mon, 13 Jul 2015 09:46:52 +0200 Subject: [PATCH 2/2] Sorted all rules alphabetically --- src/CleanupRules.php | 90 ++++++++++++++++++++------------------------ 1 file changed, 41 insertions(+), 49 deletions(-) diff --git a/src/CleanupRules.php b/src/CleanupRules.php index 6df365e..c3937f7 100644 --- a/src/CleanupRules.php +++ b/src/CleanupRules.php @@ -11,64 +11,20 @@ public static function getRules() $tests = '.travis.yml .scrutinizer.yml phpunit.xml* phpunit.php test tests Tests travis'; return array( - - // Symfony components - 'symfony/browser-kit' => array($docs, $tests), - 'symfony/class-loader' => array($docs, $tests), - 'symfony/console' => array($docs, $tests), - 'symfony/css-selector' => array($docs, $tests), - 'symfony/debug' => array($docs, $tests), - 'symfony/dom-crawler' => array($docs, $tests), - 'symfony/event-dispatcher' => array($docs, $tests), - 'symfony/filesystem' => array($docs, $tests), - 'symfony/finder' => array($docs, $tests), - 'symfony/http-foundation' => array($docs, $tests), - 'symfony/http-kernel' => array($docs, $tests), - 'symfony/process' => array($docs, $tests), - 'symfony/routing' => array($docs, $tests), - 'symfony/security' => array($docs, $tests), - 'symfony/security-core' => array($docs, $tests), - 'symfony/translation' => array($docs, $tests), - 'symfony/var-dumper' => array($docs, $tests), - - // Default Laravel 4 install - 'classpreloader/classpreloader' => array($docs, $tests), - 'd11wtq/boris' => array($docs, $tests), - 'filp/whoops' => array($docs, $tests), - 'ircmaxell/password-compat' => array($docs, $tests), - 'jeremeamia/SuperClosure' => array($docs, $tests, 'demo'), - 'laravel/framework' => array($docs, $tests, 'build'), - 'monolog/monolog' => array($docs, $tests), - 'nesbot/carbon' => array($docs, $tests), - 'nikic/php-parser' => array($docs, $tests, 'test_old'), - 'patchwork/utf8' => array($docs, $tests), - 'phpseclib/phpseclib' => array($docs, $tests, 'build'), - 'predis/predis' => array($docs, $tests, 'bin'), - 'psr/log' => array($docs, $tests), - 'stack/builder' => array($docs, $tests), - 'swiftmailer/swiftmailer' => array($docs, $tests, 'build* notes test-suite create_pear_package.php'), - - // Default Laravel 5 install - 'danielstjules/stringy' => array($docs, $tests), - 'dnoegel/php-xdg-base-dir' => array($docs, $tests), - 'jakub-onderka/php-console-color' => array($docs, $tests, 'build.xml example.php'), - 'jakub-onderka/php-console-highlighter' => array($docs, $tests, 'build.xml'), - 'league/flysystem' => array($docs, $tests), - 'mtdowling/cron-expression' => array($docs, $tests), - 'psy/psysh' => array($docs, $tests), - 'vlucas/phpdotenv' => array($docs, $tests), - - // Common packages 'anahkiasen/former' => array($docs, $tests), 'anahkiasen/html-object' => array($docs, 'phpunit.xml* tests/*'), - 'anahkiasen/underscore-php' => array($docs, $tests), 'anahkiasen/rocketeer' => array($docs, $tests), + 'anahkiasen/underscore-php' => array($docs, $tests), 'barryvdh/composer-cleanup-plugin' => array($docs, $tests), 'barryvdh/laravel-debugbar' => array($docs, $tests), 'barryvdh/laravel-ide-helper' => array($docs, $tests), 'bllim/datatables' => array($docs, $tests), 'cartalyst/sentry' => array($docs, $tests), + 'classpreloader/classpreloader' => array($docs, $tests), + 'd11wtq/boris' => array($docs, $tests), + 'danielstjules/stringy' => array($docs, $tests), 'dflydev/markdown' => array($docs, $tests), + 'dnoegel/php-xdg-base-dir' => array($docs, $tests), 'doctrine/annotations' => array($docs, $tests, 'bin'), 'doctrine/cache' => array($docs, $tests, 'bin'), 'doctrine/collections' => array($docs, $tests), @@ -76,30 +32,66 @@ public static function getRules() 'doctrine/dbal' => array($docs, $tests, 'bin build* docs2 lib/vendor'), 'doctrine/inflector' => array($docs, $tests), 'dompdf/dompdf' => array($docs, $tests, 'www'), + 'filp/whoops' => array($docs, $tests), 'guzzle/guzzle' => array($docs, $tests), 'guzzlehttp/guzzle' => array($docs, $tests), 'guzzlehttp/oauth-subscriber' => array($docs, $tests), 'guzzlehttp/streams' => array($docs, $tests), 'imagine/imagine' => array($docs, $tests, 'lib/Imagine/Test'), 'intervention/image' => array($docs, $tests, 'public'), + 'ircmaxell/password-compat' => array($docs, $tests), + 'jakub-onderka/php-console-color' => array($docs, $tests, 'build.xml example.php'), + 'jakub-onderka/php-console-highlighter' => array($docs, $tests, 'build.xml'), 'jasonlewis/basset' => array($docs, $tests), + 'jeremeamia/SuperClosure' => array($docs, $tests, 'demo'), 'kriswallsmith/assetic' => array($docs, $tests), + 'laravel/framework' => array($docs, $tests, 'build'), 'leafo/lessphp' => array($docs, $tests, 'Makefile package.sh'), + 'league/flysystem' => array($docs, $tests), 'league/stack-robots' => array($docs, $tests), 'maximebf/debugbar' => array($docs, $tests, 'demo'), 'mccool/laravel-auto-presenter' => array($docs, $tests), 'mockery/mockery' => array($docs, $tests), + 'monolog/monolog' => array($docs, $tests), 'mrclay/minify' => array($docs, $tests, 'MIN.txt min_extras min_unit_tests min/builder min/config* min/quick-test* min/utils.php min/groupsConfig.php min/index.php'), + 'mtdowling/cron-expression' => array($docs, $tests), 'mustache/mustache' => array($docs, $tests, 'bin'), + 'nesbot/carbon' => array($docs, $tests), + 'nikic/php-parser' => array($docs, $tests, 'test_old'), 'oyejorge/less.php' => array($docs, $tests), + 'patchwork/utf8' => array($docs, $tests), 'phenx/php-font-lib' => array($docs, $tests. 'www'), 'phpdocumentor/reflection-docblock' => array($docs, $tests), 'phpoffice/phpexcel' => array($docs, $tests, 'Examples unitTests changelog.txt'), + 'phpseclib/phpseclib' => array($docs, $tests, 'build'), + 'predis/predis' => array($docs, $tests, 'bin'), + 'psr/log' => array($docs, $tests), + 'psy/psysh' => array($docs, $tests), 'rcrowe/twigbridge' => array($docs, $tests), 'simplepie/simplepie' => array($docs, $tests, 'build compatibility_test ROADMAP.md'), + 'stack/builder' => array($docs, $tests), + 'swiftmailer/swiftmailer' => array($docs, $tests, 'build* notes test-suite create_pear_package.php'), + 'symfony/browser-kit' => array($docs, $tests), + 'symfony/class-loader' => array($docs, $tests), + 'symfony/console' => array($docs, $tests), + 'symfony/css-selector' => array($docs, $tests), + 'symfony/debug' => array($docs, $tests), + 'symfony/dom-crawler' => array($docs, $tests), + 'symfony/event-dispatcher' => array($docs, $tests), + 'symfony/filesystem' => array($docs, $tests), + 'symfony/finder' => array($docs, $tests), + 'symfony/http-foundation' => array($docs, $tests), + 'symfony/http-kernel' => array($docs, $tests), + 'symfony/process' => array($docs, $tests), + 'symfony/routing' => array($docs, $tests), + 'symfony/security' => array($docs, $tests), + 'symfony/security-core' => array($docs, $tests), + 'symfony/translation' => array($docs, $tests), + 'symfony/var-dumper' => array($docs, $tests), 'tijsverkoyen/css-to-inline-styles' => array($docs, $tests), 'twig/twig' => array($docs, $tests), 'venturecraft/revisionable' => array($docs, $tests), + 'vlucas/phpdotenv' => array($docs, $tests), 'willdurand/geocoder' => array($docs, $tests), ); }