Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Aug 22, 2021
1 parent 449bf4a commit c420cb6
Show file tree
Hide file tree
Showing 258 changed files with 20,085 additions and 98,457 deletions.
3,415 changes: 150 additions & 3,265 deletions src/Target/Php70/IssetExpressionFixer.php

Large diffs are not rendered by default.

3,272 changes: 353 additions & 2,919 deletions src/Target/Php70/NestedExpressionFixer.php

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/Target/Php70/NullCoalesce/DisallowedExpressions.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ abstract class DisallowedExpressions extends Plugin
'PhpParser\\Node\\Expr\\Match_' => true,
'PhpParser\\Node\\Expr\\MethodCall' => true,
'PhpParser\\Node\\Expr\\New_' => true,
'PhpParser\\Node\\Expr\\NullsafeMethodCall' => true,
'PhpParser\\Node\\Expr\\NullsafePropertyFetch' => true,
'PhpParser\\Node\\Expr\\PostDec' => true,
'PhpParser\\Node\\Expr\\PostInc' => true,
Expand All @@ -36,7 +37,6 @@ abstract class DisallowedExpressions extends Plugin
'PhpParser\\Node\\Expr\\Throw_' => true,
'PhpParser\\Node\\Expr\\UnaryMinus' => true,
'PhpParser\\Node\\Expr\\UnaryPlus' => true,
'PhpParser\\Node\\Expr\\Variable' => true,
'PhpParser\\Node\\Expr\\YieldFrom' => true,
'PhpParser\\Node\\Expr\\Yield_' => true,
'PhpParser\\Node\\Expr\\AssignOp\\BitwiseAnd' => true,
Expand All @@ -51,6 +51,7 @@ abstract class DisallowedExpressions extends Plugin
'PhpParser\\Node\\Expr\\AssignOp\\Plus' => true,
'PhpParser\\Node\\Expr\\AssignOp\\Pow' => true,
'PhpParser\\Node\\Expr\\AssignOp\\ShiftLeft' => true,
'PhpParser\\Node\\Expr\\AssignOp\\ShiftRight' => true,
'PhpParser\\Node\\Expr\\BinaryOp\\BitwiseAnd' => true,
'PhpParser\\Node\\Expr\\BinaryOp\\BitwiseOr' => true,
'PhpParser\\Node\\Expr\\BinaryOp\\BitwiseXor' => true,
Expand Down
Loading

0 comments on commit c420cb6

Please sign in to comment.