dxw / whippet-theme-template

This repo holds the template for a Whippet-enabled theme.
2 stars 1 forks source link

Bump friendsofphp/php-cs-fixer from 1.11.4 to 2.16.3 #91

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Bumps friendsofphp/php-cs-fixer from 1.11.4 to 2.16.3.

Release notes

Sourced from friendsofphp/php-cs-fixer's releases.

v2.16.3 Yellow Bird

  • bug #4915 Fix handling property PHPDocs with unsupported type (julienfalque)
  • minor #4916 Fix AppVeyor build (julienfalque)
  • minor #4917 CircleCI - Bump xcode to 11.4 (GrahamCampbell)
  • minor #4918 DX: do not fix ".phpt" files by default (kubawerlos)

v2.16.2 Yellow Bird

  • bug #3820 Braces - (re)indenting comment issues (SpacePossum)
  • bug #3911 PhpdocVarWithoutNameFixer - fix for properties only (dmvdbrugge)
  • bug #4601 ClassKeywordRemoveFixer - Fix for namespace (yassine-ah, kubawerlos)
  • bug #4630 FullyQualifiedStrictTypesFixer - Ignore partial class names which look like FQCNs (localheinz, SpacePossum)
  • bug #4661 ExplicitStringVariableFixer - variables pair if one is already explicit (kubawerlos)
  • bug #4675 NonPrintableCharacterFixer - fix for backslash and quotes when changing to escape sequences (kubawerlos)
  • bug #4678 TokensAnalyzer::isConstantInvocation - fix for importing multiple classes with single "use" (kubawerlos)
  • bug #4682 Fix handling array type declaration in properties (julienfalque)
  • bug #4685 Improve Symfony 5 compatibility (keradus)
  • bug #4688 TokensAnalyzer::isConstantInvocation - Fix detection for fully qualified return type (julienfalque)
  • bug #4689 DeclareStrictTypesFixer - fix for "strict_types" set to "0" (kubawerlos)
  • bug #4690 PhpdocVarAnnotationCorrectOrderFixer - fix for multiline @var without type (kubawerlos)
  • bug #4710 SingleTraitInsertPerStatement - fix formatting for multiline "use" (kubawerlos)
  • bug #4711 Ensure that files from "tests" directory in release are autoloaded (kubawerlos)
  • bug #4749 TokensAnalyze::isUnaryPredecessorOperator fix for CT::T_ARRAY_INDEX_C… (SpacePossum)
  • bug #4759 Add more priority cases (SpacePossum)
  • bug #4761 NoSuperfluousElseifFixer - handle single line (SpacePossum)
  • bug #4783 NoSuperfluousPhpdocTagsFixer - fix for really big PHPDoc (kubawerlos, mvorisek)
  • bug #4787 NoUnneededFinalMethodFixer - Mark as risky (SpacePossum)
  • bug #4795 OrderedClassElementsFixer - Fix (SpacePossum)
  • bug #4801 GlobalNamespaceImportFixer - fix docblock handling (gharlan)
  • bug #4804 TokensAnalyzer::isUnarySuccessorOperator fix for array curly braces (SpacePossum)
  • bug #4807 IncrementStyleFixer - handle after ")" (SpacePossum)
  • bug #4808 Modernize types casting fixer array curly (SpacePossum)
  • bug #4809 Fix "braces" and "method_argument_space" priority (julienfalque)
  • bug #4813 BracesFixer - fix invalid code generation on alternative syntax (SpacePossum)
  • bug #4822 fix 2 bugs in phpdoc_line_span (lmichelin)
  • bug #4823 ReturnAssignmentFixer - repeat fix (SpacePossum)
  • bug #4824 NoUnusedImportsFixer - SingleLineAfterImportsFixer - fix priority (SpacePossum)
  • bug #4825 GlobalNamespaceImportFixer - do not import global into global (SpacePossum)
  • bug #4829 YodaStyleFixer - fix precedence for T_MOD_EQUAL and T_COALESCE_EQUAL (SpacePossum)
  • bug #4830 TernaryToNullCoalescingFixer - handle yield from (SpacePossum)
  • bug #4835 Remove duplicate "function_to_constant" from RuleSet (SpacePossum)
  • bug #4840 LineEndingFixer - T_CLOSE_TAG support, StringLineEndingFixer - T_INLI… (SpacePossum)
  • bug #4846 FunctionsAnalyzer - better isGlobalFunctionCall detection (SpacePossum)
  • bug #4852 Priority issues (SpacePossum)
  • bug #4870 HeaderCommentFixer - do not remove class docs (gharlan)
  • bug #4871 NoExtraBlankLinesFixer - handle cases on same line (SpacePossum)
  • bug #4895 Fix conflict between header_comment and declare_strict_types (BackEndTea, julienfalque)
  • bug #4911 PhpdocSeparationFixer - fix regression with lack of next line (keradus)
  • feature #4742 FunctionToConstantFixer - get_class($this) support (SpacePossum)
  • minor #4377 CommentsAnalyzer - fix for declare before header comment (kubawerlos)
  • minor #4636 DX: do not check for PHPDBG when collecting coverage (kubawerlos)
... (truncated)
Changelog

Sourced from friendsofphp/php-cs-fixer's changelog.

Changelog for v2.16.3

  • bug #4915 Fix handling property PHPDocs with unsupported type (julienfalque)
  • minor #4916 Fix AppVeyor build (julienfalque)
  • minor #4917 CircleCI - Bump xcode to 11.4 (GrahamCampbell)
  • minor #4918 DX: do not fix ".phpt" files by default (kubawerlos)

Changelog for v2.16.2

  • bug #3820 Braces - (re)indenting comment issues (SpacePossum)
  • bug #3911 PhpdocVarWithoutNameFixer - fix for properties only (dmvdbrugge)
  • bug #4601 ClassKeywordRemoveFixer - Fix for namespace (yassine-ah, kubawerlos)
  • bug #4630 FullyQualifiedStrictTypesFixer - Ignore partial class names which look like FQCNs (localheinz, SpacePossum)
  • bug #4661 ExplicitStringVariableFixer - variables pair if one is already explicit (kubawerlos)
  • bug #4675 NonPrintableCharacterFixer - fix for backslash and quotes when changing to escape sequences (kubawerlos)
  • bug #4678 TokensAnalyzer::isConstantInvocation - fix for importing multiple classes with single "use" (kubawerlos)
  • bug #4682 Fix handling array type declaration in properties (julienfalque)
  • bug #4685 Improve Symfony 5 compatibility (keradus)
  • bug #4688 TokensAnalyzer::isConstantInvocation - Fix detection for fully qualified return type (julienfalque)
  • bug #4689 DeclareStrictTypesFixer - fix for "strict_types" set to "0" (kubawerlos)
  • bug #4690 PhpdocVarAnnotationCorrectOrderFixer - fix for multiline @var without type (kubawerlos)
  • bug #4710 SingleTraitInsertPerStatement - fix formatting for multiline "use" (kubawerlos)
  • bug #4711 Ensure that files from "tests" directory in release are autoloaded (kubawerlos)
  • bug #4749 TokensAnalyze::isUnaryPredecessorOperator fix for CT::T_ARRAY_INDEX_C… (SpacePossum)
  • bug #4759 Add more priority cases (SpacePossum)
  • bug #4761 NoSuperfluousElseifFixer - handle single line (SpacePossum)
  • bug #4783 NoSuperfluousPhpdocTagsFixer - fix for really big PHPDoc (kubawerlos, mvorisek)
  • bug #4787 NoUnneededFinalMethodFixer - Mark as risky (SpacePossum)
  • bug #4795 OrderedClassElementsFixer - Fix (SpacePossum)
  • bug #4801 GlobalNamespaceImportFixer - fix docblock handling (gharlan)
  • bug #4804 TokensAnalyzer::isUnarySuccessorOperator fix for array curly braces (SpacePossum)
  • bug #4807 IncrementStyleFixer - handle after ")" (SpacePossum)
  • bug #4808 Modernize types casting fixer array curly (SpacePossum)
  • bug #4809 Fix "braces" and "method_argument_space" priority (julienfalque)
  • bug #4813 BracesFixer - fix invalid code generation on alternative syntax (SpacePossum)
  • bug #4822 fix 2 bugs in phpdoc_line_span (lmichelin)
  • bug #4823 ReturnAssignmentFixer - repeat fix (SpacePossum)
  • bug #4824 NoUnusedImportsFixer - SingleLineAfterImportsFixer - fix priority (SpacePossum)
  • bug #4825 GlobalNamespaceImportFixer - do not import global into global (SpacePossum)
  • bug #4829 YodaStyleFixer - fix precedence for T_MOD_EQUAL and T_COALESCE_EQUAL (SpacePossum)
  • bug #4830 TernaryToNullCoalescingFixer - handle yield from (SpacePossum)
  • bug #4835 Remove duplicate "function_to_constant" from RuleSet (SpacePossum)
  • bug #4840 LineEndingFixer - T_CLOSE_TAG support, StringLineEndingFixer - T_INLI… (SpacePossum)
  • bug #4846 FunctionsAnalyzer - better isGlobalFunctionCall detection (SpacePossum)
  • bug #4852 Priority issues (SpacePossum)
  • bug #4870 HeaderCommentFixer - do not remove class docs (gharlan)
  • bug #4871 NoExtraBlankLinesFixer - handle cases on same line (SpacePossum)
  • bug #4895 Fix conflict between header_comment and declare_strict_types (BackEndTea, julienfalque)
... (truncated)
Upgrade guide

Sourced from friendsofphp/php-cs-fixer's upgrade guide.

UPGRADE GUIDE FROM 1.x to 2.0

This is guide for upgrade from version 1.x to 2.0 for using the CLI tool.

Rules and sets

To configure which fixers should be used you must now set rules and sets instead of fixers and level. This affects both configuration file and CLI arguments.

Default ruleset was changed from Symfony standard to more generic PSR2. You can still use Symfony standard, which in fact extends PSR2.

The term of risky fixers was introduced. Risky fixer is a fixer that may change the meaning of code (like StrictComparisonFixer fixer, which will change == into ===). No rules that are followed by risky fixers are run by default. You need to explicitly permit risky fixers to run them.

Default configuration changes

By default, PSR2 rules are used instead of Symfony rules. Files that will be fixed are php/phpt/twig instead of php/twig/xml/yml. Finally, the caching mechanism is enabled by default.

CLI options

1.x 2.0 Description Note
    --allow-risky Are risky fixers allowed                                                
--cache-file The path to the cache file option was added
--config Config class codename option was removed
--config-file --config The path to a .php_cs file option was renamed
--diff --diff Show diff
--dry-run --dry-run Run in dry-run mode
--fixers Coding standard fixers option was removed, see --rules
--format --format Choose format
--level Coding standard level option was removed, see --rules
--path-mode Should the finder from config be
overridden or intersected with path arg
option was added
--rules Rules to be used option was added
--using-cache Does cache should be used option was added

CLI argument

On 2.x line path argument is an array, so you may pass multiple paths.

Intersection path mode makes the path argument a mask for finder you have defined in your configuration file. Only files pointed by both finder and CLI path argument will be fixed.

Exit codes

Exit codes for fix command have been changed and are build using the following bit flags:

... (truncated)
Commits
  • 83baf82 prepared the 2.16.3 release
  • 316c2e7 Merge branch '2.15' into 2.16
  • 45e0d57 bumped version
  • d69fb62 prepared the 2.15.7 release
  • c2bc21b minor #4918 DX: do not fix ".phpt" files by default (kubawerlos)
  • b5b76c0 Merge branch '2.15' into 2.16
  • 0ac4405 bug #4915 Fix handling property PHPDocs with unsupported type (julienfalque)
  • ddaf702 minor #4917 CircleCI - Bump xcode to 11.4 (GrahamCampbell)
  • 037c71b Bumped xcode to 11.4
  • 38cb8bc Fix handling property PHPDocs with unsupported type
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 4 years ago

Superseded by #96.