diff options
author | Gerard Roche <gerardroche@users.noreply.github.com> | 2020-05-12 17:24:21 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-05-13 09:52:44 +0200 |
commit | 10edee7f03a32e2c910507979b68fb081b82c14e (patch) | |
tree | bb6f88270d5d23cbfbd1e161f3b676f5cffa7e35 /ext/xmlrpc/xmlrpc-epi-php.c | |
parent | 7d66e4f3234a921df62d5d5746ee6b3fbc9214f3 (diff) | |
download | php-git-10edee7f03a32e2c910507979b68fb081b82c14e.tar.gz |
run-tests: cs fixes (cleanup)
I used php-cs-fixer to do the cs fixes. The configuration I used is
posted below. The reason I disabled some of the rules is because they
create too much noise and would make it difficult to review. But please
feel free to close this PR and run the php-cs-fixer yourself.
<?php
$config = PhpCsFixer\Config::create();
$config->setRiskyAllowed(false);
$config->setRules([
'@PSR2' => true,
'@Symfony' => true,
'array_syntax' => false,
'binary_operator_spaces' => false,
'blank_line_before_statement' => false,
'concat_space' => false,
'increment_style' => false,
'phpdoc_align' => false,
'single_quote' => false,
'trailing_comma_in_multiline_array' => false,
'unary_operator_spaces' => false,
'yoda_style' => false,
]);
$finder = PhpCsFixer\Finder::create();
$finder->in(getcwd());
$finder->exclude('Zend');
$finder->exclude('build');
$finder->exclude('ext');
$finder->exclude('pear');
$finder->exclude('sapi');
$finder->exclude('scripts');
$finder->exclude('win32');
$config->setFinder($finder);
return $config;
Closes GH-5557.
Diffstat (limited to 'ext/xmlrpc/xmlrpc-epi-php.c')
0 files changed, 0 insertions, 0 deletions