Skip to content

Commit e1f97f6

Browse files
committed
Prepare release
1 parent f25333c commit e1f97f6

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# CHANGELOG for PHP CS Fixer: custom fixers
22

3+
## v3.36.0
4+
- CommentedOutFunctionFixer - add `dump`, `dd`, `d` to default functions
5+
6+
## v3.35.0
7+
- PhpdocPropertySortedFixer - support `@property-read `and `@property-write`
8+
- PhpdocNoIncorrectVarAnnotationFixer - keep string literals
9+
310
## v3.34.0
411
- Add PhpdocPropertySortedFixer
512
- Deprecate PhpDocPropertySorterFixer - use PhpdocPropertySortedFixer

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Comments must be surrounded by spaces.
6565
The configured functions must be commented out.
6666
*Risky: when any of the configured functions have side effects or are overwritten.*
6767
Configuration options:
68-
- `functions` (`array`): list of functions to comment out; defaults to `['print_r', 'var_dump', 'var_export', 'dd', 'dump', 'd']`
68+
- `functions` (`array`): list of functions to comment out; defaults to `['print_r', 'var_dump', 'var_export', 'dump', 'dd', 'd']`
6969
```diff
7070
<?php
7171
-var_dump($x);

src/Fixer/CommentedOutFunctionFixer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
final class CommentedOutFunctionFixer extends AbstractFixer implements ConfigurableFixerInterface
3636
{
3737
/** @var list<string> */
38-
private array $functions = ['print_r', 'var_dump', 'var_export', 'dd', 'dump', 'd'];
38+
private array $functions = ['print_r', 'var_dump', 'var_export', 'dump', 'dd', 'd'];
3939

4040
public function getDefinition(): FixerDefinitionInterface
4141
{

0 commit comments

Comments
 (0)