sabre-io / Baikal

Baïkal is a Calendar+Contacts server
https://sabre.io/baikal/
GNU General Public License v3.0
2.42k stars 281 forks source link

Update friendsofphp/php-cs-fixer requirement from 3.3.2 to 3.45.0 #1229

Closed dependabot[bot] closed 5 months ago

dependabot[bot] commented 6 months ago

Updates the requirements on friendsofphp/php-cs-fixer to permit the latest version.

Release notes

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

v3.45.0 Three Keys

What's Changed

Full Changelog: https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.44.0...v3.45.0

Changelog

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

Changelog for v3.45.0

  • feat: Enable symbol importing in @PhpCsFixer ruleset (#7629)
  • fix: NoUnneededBracesFixer - improve handling of global namespace (#7639)
  • test: run tests with "short_open_tag" enabled (#7637)

Changelog for v3.44.0

  • feat: Introduce percentage bar as new default progress output (#7603)

Changelog for v3.43.1

  • fix: Import only unique symbols' short names (#7635)

Changelog for v3.43.0

  • chore: change base of @Symfony set to @PER-CS2.0 (#7627)
  • chore: PHPUnit - allow for v10 (#7606)
  • chore: Preg - rework catching the error (#7616)
  • chore: Revert unneeded peer-dep-pin and re-gen lock file (#7618)
  • docs: drop extra note about 8.0.0 bug in README.md (#7614)
  • feat: add cast_spaces into @PER-CS2.0 (#7625)
  • feat: Configurable phpDoc tags for FQCN processing (#7628)
  • feat: StatementIndentationFixer - introduce stick_comment_to_next_continuous_control_statement config (#7624)
  • feat: UnaryOperatorSpacesFixer - introduce only_dec_inc config (#7626)
  • fix: FullyQualifiedStrictTypesFixer - better support annotations in inline {} (#7633)
  • fix: Improve how FQCN is handled in phpDoc (#7622)
  • fix: phpdoc_align - fix multiline tag alignment issue (#7630)

Changelog for v3.42.0

  • chore: aim to not rely on internal array pointer but use array_key_first (#7613)
  • chore: deprecate Token::isKeyCaseSensitive (#7599)
  • chore: deprecate Token::isKeyCaseSensitive, 2nd part (#7601)
  • chore: do not check PHP_VERSION_ID (#7602)
  • chore: FileFilterIteratorTest - more accurate type in docs (#7542)
  • chore: minor code cleanup (#7607)
  • chore: more types (#7598)
  • chore: PHPDoc key-value spacing (#7592)
  • chore: PHPUnit - run defects first (#7570)
  • chore: ProjectCodeTest - DRY on Tokens creation (#7574)
  • chore: ProjectCodeTest - prepare for symfony/console v7 (#7605)
  • chore: ProjectCodeTest::provide*ClassCases to return iterable with key for better tests execution log (#7572)
  • chore: ProjectCodeTest::testDataProvidersDeclaredReturnType - use better DataProvider to simplify test logic (#7573)
  • chore: TokensAnalyzer - string-enum for better typehinting (#7571)

... (truncated)

Commits
  • c0daa33 prepared the 3.45.0 release
  • 858cd04 fix: NoUnneededBracesFixer - improve handling of global namespace (#7639)
  • 99ea823 test: run tests with "short_open_tag" enabled (#7637)
  • adaea49 feat: Enable symbol importing in @PhpCsFixer ruleset (#7629)
  • f6f9b7f bumped version
  • 5445834 prepared the 3.44.0 release
  • cfdeac1 feat: Introduce percentage bar as new default progress output (#7603)
  • 5ea7c20 bumped version
  • 91c0b47 prepared the 3.43.1 release
  • 77a5d43 fix: Import only unique symbols' short names (#7635)
  • Additional commits viewable in compare view


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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)
phil-davis commented 6 months ago

@ByteHamster the later versions of php-cs-fixer want to make some format changes. I made those chages in the 2nd commit of this PR. The latest php-cs-fixer also only runs on PHP 7.4 or later. I adjusted CI for this, and added PHP 8.3. The code changes it made look fine for PHP 7.2 and 7.3 - so I don't think that those old PHP versions have to be dropped just yet. I also adjusted the phpstan version to have the current minor release series 1.10 - that is what ends up being used in CI anyway, so it is nice to have that specified as the minimum (we know it passes).

If you are OK with the formatting changes here, then feel free to merge There is nothing that changes code functionality.

dependabot[bot] commented 5 months ago

A newer version of friendsofphp/php-cs-fixer exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.