Hello community, here is the log from the commit of package php-cs-fixer for openSUSE:Factory checked in at 2019-05-13 14:51:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/php-cs-fixer (Old) and /work/SRC/openSUSE:Factory/.php-cs-fixer.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "php-cs-fixer" Mon May 13 14:51:32 2019 rev:2 rq:702475 version:2.14.3 Changes: -------- --- /work/SRC/openSUSE:Factory/php-cs-fixer/php-cs-fixer.changes 2019-04-04 15:29:01.782935519 +0200 +++ /work/SRC/openSUSE:Factory/.php-cs-fixer.new.5148/php-cs-fixer.changes 2019-05-13 14:51:35.422947492 +0200 @@ -1,0 +2,33 @@ +Mon May 6 16:01:37 UTC 2019 - [email protected] + +- Update to release 2.14.3 + * bug #4298 NoTrailingWhitespaceInCommentFixer - fix for non-Unix + line separators (kubawerlos) + * bug #4303 FullyQualifiedStrictTypesFixer - Fix the short type + detection when a question mark (nullable) is prefixing it. (drupol) + * bug #4313 SelfAccessorFixer - fix for part qualified class name + (kubawerlos, SpacePossum) + * bug #4314 PhpUnitTestCaseStaticMethodCallsFixer - fix for having + property with name as method to update (kubawerlos, SpacePossum) + * bug #4316 NoUnsetCastFixer - Test for higher-precedence operators + (SpacePossum) + * bug #4327 TokensAnalyzer - add concat operator to list of binary + operators (SpacePossum) + * bug #4335 Cache - add indent and line ending to cache signature + (dmvdbrugge) + * bug #4344 VoidReturnFixer - handle yield from (SpacePossum) + * bug #4346 BracesFixer - Do not pull close tag onto same line as a + comment (SpacePossum) + * bug #4350 StrictParamFixer - Don't detect functions in use + statements (bolmstedt) + * bug #4357 Fix short list syntax detection. (SpacePossum) + * bug #4365 Fix output escaping of diff for text format when line is + not changed (SpacePossum) + * bug #4370 PhpUnitConstructFixer - Fix handle different casing + (SpacePossum) + * bug #4379 ExplicitStringVariableFixer - add test case for variable + as an array key (kubawerlos, Slamdunk) + * feature #4337 PhpUnitTestCaseStaticMethodCallsFixer - prepare for + PHPUnit 8 (kubawerlos) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ php-cs-fixer.spec ++++++ --- /var/tmp/diff_new_pack.NVb8L4/_old 2019-05-13 14:51:36.126949265 +0200 +++ /var/tmp/diff_new_pack.NVb8L4/_new 2019-05-13 14:51:36.130949274 +0200 @@ -19,7 +19,7 @@ %define package_name PHP-CS-Fixer %global doc_version 2.14 Name: php-cs-fixer -Version: 2.14.2 +Version: 2.14.3 Release: 0 Summary: PHP Coding Standards Fixer License: MIT ++++++ README.rst ++++++ --- /var/tmp/diff_new_pack.NVb8L4/_old 2019-05-13 14:51:36.178949396 +0200 +++ /var/tmp/diff_new_pack.NVb8L4/_new 2019-05-13 14:51:36.178949396 +0200 @@ -46,7 +46,7 @@ .. code-block:: bash - $ wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.14.2/php-cs-fixer.phar -O php-cs-fixer + $ wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.14.3/php-cs-fixer.phar -O php-cs-fixer or with curl: @@ -1323,7 +1323,7 @@ * **php_unit_namespaced** [@PHPUnit48Migration:risky, @PHPUnit50Migration:risky, @PHPUnit52Migration:risky, @PHPUnit54Migration:risky, @PHPUnit55Migration:risky, @PHPUnit56Migration:risky, @PHPUnit57Migration:risky, @PHPUnit60Migration:risky] - PHPUnit classes MUST be used in namespaced version, eg + PHPUnit classes MUST be used in namespaced version, e.g. ``\PHPUnit\Framework\TestCase`` instead of ``\PHPUnit_Framework_TestCase``. *Risky rule: risky when PHPUnit classes are overridden or not accessible, or when project has PHPUnit incompatibilities.* @@ -1827,7 +1827,7 @@ Instead of using command line options to customize the rule, you can save the project configuration in a ``.php_cs.dist`` file in the root directory of your project. -The file must return an instance of `PhpCsFixer\\ConfigInterface <https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/v2.14.2/src/ConfigInterface.php>`_ +The file must return an instance of `PhpCsFixer\\ConfigInterface <https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/v2.14.3/src/ConfigInterface.php>`_ which lets you configure the rules, the files and directories that need to be analyzed. You may also create ``.php_cs`` file, which is the local configuration that will be used instead of the project configuration. It @@ -1944,22 +1944,22 @@ $ if ! echo "${CHANGED_FILES}" | grep -qE "^(\\.php_cs(\\.dist)?|composer\\.lock)$"; then EXTRA_ARGS=$(printf -- '--path-mode=intersection\n--\n%s' "${CHANGED_FILES}"); else EXTRA_ARGS=''; fi $ vendor/bin/php-cs-fixer fix --config=.php_cs.dist -v --dry-run --stop-on-violation --using-cache=no ${EXTRA_ARGS} -Where ``$COMMIT_RANGE`` is your range of commits, eg ``$TRAVIS_COMMIT_RANGE`` or ``HEAD~..HEAD``. +Where ``$COMMIT_RANGE`` is your range of commits, e.g. ``$TRAVIS_COMMIT_RANGE`` or ``HEAD~..HEAD``. -Exit codes ----------- +Exit code +--------- Exit code is built using following bit flags: -* 0 OK. -* 1 General error (or PHP minimal requirement not matched). -* 4 Some files have invalid syntax (only in dry-run mode). -* 8 Some files need fixing (only in dry-run mode). -* 16 Configuration error of the application. -* 32 Configuration error of a Fixer. -* 64 Exception raised within the application. +* 0 - OK. +* 1 - General error (or PHP minimal requirement not matched). +* 4 - Some files have invalid syntax (only in dry-run mode). +* 8 - Some files need fixing (only in dry-run mode). +* 16 - Configuration error of the application. +* 32 - Configuration error of a Fixer. +* 64 - Exception raised within the application. -(applies to exit codes of the `fix` command only) +(Applies to exit code of the `fix` command only) Helpers ------- ++++++ php-cs-fixer.phar ++++++ Binary files /var/tmp/diff_new_pack.NVb8L4/_old and /var/tmp/diff_new_pack.NVb8L4/_new differ ++++++ php-cs-fixer.phar.asc ++++++ Binary files /var/tmp/diff_new_pack.NVb8L4/_old and /var/tmp/diff_new_pack.NVb8L4/_new differ
