From fbc0fa9688562a3668110d720df808b507a912c0 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 28 May 2015 14:51:01 +0100 Subject: [PATCH] Fix line endings --- .php_cs | 36 ++++++++++++++++++------------------ bin/update-spdx-licenses | 18 +++++++++--------- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.php_cs b/.php_cs index 301620817..ba9d1251a 100644 --- a/.php_cs +++ b/.php_cs @@ -1,18 +1,18 @@ -files() - ->name('*.php') - ->exclude('Fixtures') - ->in(__DIR__.'/src') - ->in(__DIR__.'/tests') -; - -return Symfony\CS\Config\Config::create() - ->setUsingCache(true) - ->level(Symfony\CS\FixerInterface::NONE_LEVEL) - ->fixers(array( - 'psr0', 'encoding', 'short_tag', 'braces', 'elseif', 'eof_ending', 'function_declaration', 'indentation', 'line_after_namespace', 'linefeed', 'lowercase_constants', 'lowercase_keywords', 'multiple_use', 'php_closing_tag', 'trailing_spaces', 'visibility', 'duplicate_semicolon', 'extra_empty_lines', 'include', 'namespace_no_leading_whitespace', 'object_operator', 'operators_spaces', 'phpdoc_params', 'return', 'single_array_no_trailing_comma', 'spaces_cast', 'standardize_not_equal', 'ternary_spaces', 'unused_use', 'whitespacy_lines', 'multiline_array_tailing_comma', - )) - ->finder($finder) -; +files() + ->name('*.php') + ->exclude('Fixtures') + ->in(__DIR__.'/src') + ->in(__DIR__.'/tests') +; + +return Symfony\CS\Config\Config::create() + ->setUsingCache(true) + ->level(Symfony\CS\FixerInterface::NONE_LEVEL) + ->fixers(array( + 'psr0', 'encoding', 'short_tag', 'braces', 'elseif', 'eof_ending', 'function_declaration', 'indentation', 'line_after_namespace', 'linefeed', 'lowercase_constants', 'lowercase_keywords', 'multiple_use', 'php_closing_tag', 'trailing_spaces', 'visibility', 'duplicate_semicolon', 'extra_empty_lines', 'include', 'namespace_no_leading_whitespace', 'object_operator', 'operators_spaces', 'phpdoc_params', 'return', 'single_array_no_trailing_comma', 'spaces_cast', 'standardize_not_equal', 'ternary_spaces', 'unused_use', 'whitespacy_lines', 'multiline_array_tailing_comma', + )) + ->finder($finder) +; diff --git a/bin/update-spdx-licenses b/bin/update-spdx-licenses index 99e9a0268..e509ded93 100644 --- a/bin/update-spdx-licenses +++ b/bin/update-spdx-licenses @@ -1,9 +1,9 @@ -#!/usr/bin/env php -update(); \ No newline at end of file +#!/usr/bin/env php +update();