Skip to content

Commit 5e700ac

Browse files
committed
Merge branch '2.15' into 2.16
# Conflicts: # src/Console/Application.php
2 parents c8ba40f + 83460b5 commit 5e700ac

File tree

2 files changed

+53
-2
lines changed

2 files changed

+53
-2
lines changed

CHANGELOG.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,57 @@ CHANGELOG for PHP CS Fixer
33

44
This file contains changelogs for stable releases only.
55

6+
Changelog for v2.15.4
7+
---------------------
8+
9+
* bug #4183 IndentationTypeFixer - fix handling 2 spaces indent (kubawerlos)
10+
* bug #4406 NoSuperfluousElseifFixer - fix invalid escape sequence in character class (remicollet, SpacePossum)
11+
* bug #4416 NoUnusedImports - Fix imports detected as used in namespaces (julienfalque, SpacePossum)
12+
* bug #4518 PhpUnitNoExpectationAnnotationFixer - fix handling expect empty exception message (ktomk)
13+
* bug #4548 HeredocIndentationFixer - remove whitespace in empty lines (gharlan)
14+
* bug #4556 ClassKeywordRemoveFixer - fix for self,static and parent keywords (kubawerlos)
15+
* bug #4572 TokensAnalyzer - handle nested anonymous classes (SpacePossum)
16+
* bug #4573 CombineConsecutiveIssetsFixer - fix stop based on precedence (SpacePossum)
17+
* bug #4577 Fix command exit code on lint error after fixing fix. (SpacePossum)
18+
* bug #4581 FunctionsAnalyzer: fix for comment in type (kubawerlos)
19+
* bug #4586 BracesFixer - handle dynamic static method call (SpacePossum)
20+
* bug #4594 Braces - fix both single line comment styles (SpacePossum)
21+
* bug #4609 PhpdocTypesOrderFixer - Prevent unexpected default value change (laurent35240)
22+
* minor #4458 Add PHPStan (julienfalque)
23+
* minor #4479 IncludeFixer - remove braces when the statement is wrapped in block (kubawerlos)
24+
* minor #4490 Allow running if installed as project specific (ticktackk)
25+
* minor #4517 Verify PCRE pattern before use (ktomk)
26+
* minor #4521 Remove superfluous leading backslash, closes 4520 (ktomk)
27+
* minor #4532 DX: ensure data providers are used (kubawerlos)
28+
* minor #4534 Redo PHP7.4 - Add "str_split" => "mb_str_split" mapping (keradus, Slamdunk)
29+
* minor #4536 DX: use PHIVE for dev tools (keradus)
30+
* minor #4538 Docs: update Cookbook (keradus)
31+
* minor #4541 Enhancement: Use default name property to configure command names (localheinz)
32+
* minor #4546 DX: removing unnecessary variable initialization (kubawerlos)
33+
* minor #4549 DX: use ::class whenever possible (keradus, kubawerlos)
34+
* minor #4550 DX: travis_retry for dev-tools install (ktomk, keradus)
35+
* minor #4559 Allow 7.4snapshot to fail due to a bug on it (kubawerlos)
36+
* minor #4563 GitlabReporter - fix report output (mjanser)
37+
* minor #4564 Move readme-update command to Section 3 (iwasherefirst2)
38+
* minor #4566 Update symfony ruleset (gharlan)
39+
* minor #4570 Command::execute() should always return an integer (derrabus)
40+
* minor #4580 Add suport for true/false return type hints. (SpacePossum)
41+
* minor #4584 Increase PHPStan level to 1 (julienfalque)
42+
* minor #4585 Fix deprecation notices (julienfalque)
43+
* minor #4587 Output details - Explain why a file was skipped (SpacePossum)
44+
* minor #4588 Fix STDIN test when path is one level deep (julienfalque)
45+
* minor #4589 PhpdocToReturnType - Add support for Foo[][] (SpacePossum)
46+
* minor #4593 Ensure compatibility with PHP 7.4 typed properties (julienfalque)
47+
* minor #4595 Import cannot be used after `::` so can be removed (SpacePossum)
48+
* minor #4596 Ensure compatibility with PHP 7.4 numeric literal separator (julienfalque)
49+
* minor #4597 Fix PHP 7.4 deprecation notices (julienfalque)
50+
* minor #4600 Ensure compatibility with PHP 7.4 arrow functions (julienfalque)
51+
* minor #4602 Ensure compatibility with PHP 7.4 spread operator in array expression (julienfalque)
52+
* minor #4603 Ensure compatibility with PHP 7.4 null coalescing assignment operator (julienfalque)
53+
* minor #4606 Configure no_superfluous_phpdoc_tags for Symfony (keradus)
54+
* minor #4610 Travis CI - Update known files list (julienfalque)
55+
* minor #4615 Remove workaround for dev-tools install reg. Phive (ktomk)
56+
657
Changelog for v2.15.3
758
---------------------
859

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ or with specified version:
4646

4747
.. code-block:: bash
4848
49-
$ wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.15.3/php-cs-fixer.phar -O php-cs-fixer
49+
$ wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.15.4/php-cs-fixer.phar -O php-cs-fixer
5050
5151
or with curl:
5252

@@ -1993,7 +1993,7 @@ Config file
19931993

19941994
Instead of using command line options to customize the rule, you can save the
19951995
project configuration in a ``.php_cs.dist`` file in the root directory of your project.
1996-
The file must return an instance of `PhpCsFixer\\ConfigInterface <https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/v2.15.3/src/ConfigInterface.php>`_
1996+
The file must return an instance of `PhpCsFixer\\ConfigInterface <https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/v2.15.4/src/ConfigInterface.php>`_
19971997
which lets you configure the rules, the files and directories that
19981998
need to be analyzed. You may also create ``.php_cs`` file, which is
19991999
the local configuration that will be used instead of the project configuration. It

0 commit comments

Comments
 (0)