"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "public_html/lists/base/vendor/symfony/symfony/.php_cs.dist" between
phplist-3.4.5.tgz and phplist-3.4.6.tgz

About: phpList is a one-way email announcement delivery system for newsletters, publicity lists, notifications, and many other uses (requires PHP and MySQL).

.php_cs.dist  (phplist-3.4.5.tgz):.php_cs.dist  (phplist-3.4.6.tgz)
<?php <?php
if (!file_exists(__DIR__.'/src')) { if (!file_exists(__DIR__.'/src')) {
exit(0); exit(0);
} }
return PhpCsFixer\Config::create() return PhpCsFixer\Config::create()
->setRules([ ->setRules([
'@Symfony' => true, '@Symfony' => true,
'@Symfony:risky' => true, '@Symfony:risky' => true,
'@PHPUnit48Migration:risky' => true, '@PHPUnit75Migration:risky' => true,
'php_unit_no_expectation_annotation' => false, // part of `PHPUnitXYMigr 'php_unit_dedicate_assert' => ['target' => '5.6'],
ation:risky` ruleset, to be enabled when PHPUnit 4.x support will be dropped, as 'phpdoc_no_empty_return' => false, // triggers almost always false posit
we don't want to rewrite exceptions handling twice ive
'array_syntax' => ['syntax' => 'short'], 'array_syntax' => ['syntax' => 'short'],
'fopen_flags' => false, 'fopen_flags' => false,
'ordered_imports' => true, 'ordered_imports' => true,
'phpdoc_trim_consecutive_blank_line_separation' => true,
'no_superfluous_phpdoc_tags' => ['allow_mixed' => true],
'protected_to_private' => false, 'protected_to_private' => false,
// Part of @Symfony:risky in PHP-CS-Fixer 2.13.0. To be removed from the config file once upgrading // Part of @Symfony:risky in PHP-CS-Fixer 2.13.0. To be removed from the config file once upgrading
'native_function_invocation' => ['include' => ['@compiler_optimized'], ' scope' => 'namespaced', 'strict' => true], 'native_function_invocation' => ['include' => ['@compiler_optimized'], ' scope' => 'namespaced', 'strict' => true],
// Part of future @Symfony ruleset in PHP-CS-Fixer To be removed from th e config file once upgrading // Part of future @Symfony ruleset in PHP-CS-Fixer To be removed from th e config file once upgrading
'phpdoc_types_order' => ['null_adjustment' => 'always_last', 'sort_algor ithm' => 'none'], 'phpdoc_types_order' => ['null_adjustment' => 'always_last', 'sort_algor ithm' => 'none'],
]) ])
->setRiskyAllowed(true) ->setRiskyAllowed(true)
->setFinder( ->setFinder(
PhpCsFixer\Finder::create() PhpCsFixer\Finder::create()
->in(__DIR__.'/src') ->in(__DIR__.'/src')
->append([__FILE__]) ->append([__FILE__])
->notPath('#/Fixtures/#')
->exclude([ ->exclude([
// directories containing files with content that is autogenerat ed by `var_export`, which breaks CS in output code // directories containing files with content that is autogenerat ed by `var_export`, which breaks CS in output code
'Symfony/Component/DependencyInjection/Tests/Fixtures',
'Symfony/Component/Routing/Tests/Fixtures/dumper',
// fixture templates // fixture templates
'Symfony/Component/Templating/Tests/Fixtures/templates',
'Symfony/Bundle/FrameworkBundle/Tests/Fixtures/TemplatePathsCach
e',
'Symfony/Bundle/FrameworkBundle/Tests/Templating/Helper/Resource s/Custom', 'Symfony/Bundle/FrameworkBundle/Tests/Templating/Helper/Resource s/Custom',
// generated fixtures
'Symfony/Component/VarDumper/Tests/Fixtures',
// resource templates // resource templates
'Symfony/Bundle/FrameworkBundle/Resources/views/Form', 'Symfony/Bundle/FrameworkBundle/Resources/views/Form',
// explicit trigger_error tests // explicit trigger_error tests
'Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/', 'Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/',
]) ])
// Support for older PHPunit version // Support for older PHPunit version
->notPath('Symfony/Bridge/PhpUnit/SymfonyTestsListener.php') ->notPath('Symfony/Bridge/PhpUnit/SymfonyTestsListener.php')
->notPath('#Symfony/Bridge/PhpUnit/.*Mock\.php#')
->notPath('#Symfony/Bridge/PhpUnit/.*Legacy#')
// file content autogenerated by `var_export` // file content autogenerated by `var_export`
->notPath('Symfony/Component/Translation/Tests/fixtures/resources.ph p') ->notPath('Symfony/Component/Translation/Tests/fixtures/resources.ph p')
// test template // test template
->notPath('Symfony/Bundle/FrameworkBundle/Tests/Templating/Helper/Re sources/Custom/_name_entry_label.html.php') ->notPath('Symfony/Bundle/FrameworkBundle/Tests/Templating/Helper/Re sources/Custom/_name_entry_label.html.php')
// explicit heredoc test
->notPath('Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Resources/v
iews/translation.html.php')
// explicit trigger_error tests // explicit trigger_error tests
->notPath('Symfony/Component/Debug/Tests/DebugClassLoaderTest.php') ->notPath('Symfony/Component/Debug/Tests/DebugClassLoaderTest.php')
) )
; ;
 End of changes. 8 change blocks. 
14 lines changed or deleted 9 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)