Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update squizlabs/php_codesniffer requirement from ^3.7 to ^3.8#3308

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@dependabot
Copy link
Contributor

@dependabotdependabotbot commented on behalf ofgithubJan 1, 2024
edited
Loading

Updates the requirements onsquizlabs/php_codesniffer to permit the latest version.

Release notes

Sourced fromsquizlabs/php_codesniffer's releases.

3.8.0 - 2023-12-08

Squizlabs/PHP_CodeSniffer is dead. Long livePHPCSStandards/PHP_CodeSniffer!

Breaking Changes

  • Thesquizlabs/PHP_CodeSniffer repository has been abandoned. ThePHPCSStandards/PHP_CodeSniffer repository will serve as the continuation of the project. For more information about this change, please read theannouncement.
    • Installation of PHP_CodeSniffer via PEAR is no longer supported.
      • Users will need to switch to another installation method.
      • Note: this does not affect the PEAR sniffs.
    • For Composer users, nothing changes.
      • In contrast to earlier information, thesquizlabs/php_codesniffer package now points to the new repository and everything will continue to work as before.
    • PHIVE users may need to clear the PHIVE URL cache.
      • PHIVE users who don't use the package alias, but refer to the package URL, will need to update the URL fromhttps://squizlabs.github.io/PHP_CodeSniffer/phars/ tohttps://phars.phpcodesniffer.com/phars/.
    • Users who download the PHAR files using curl or wget, will need to update the download URL fromhttps://squizlabs.github.io/PHP_CodeSniffer/[phpcs|phpcbf].phar orhttps://github.com/squizlabs/PHP_CodeSnifffer/releases/latest/download/[phpcs|phpcbf].phar tohttps://phars.phpcodesniffer.com/[phpcs|phpcbf].phar.
    • For users who install PHP_CodeSniffer via thesetup-php action runner for GitHub Actions, nothing changes.
    • Users using a git clone will need to update the clone address fromgit@github.com:squizlabs/PHP_CodeSniffer.git togit@github.com:PHPCSStandards/PHP_CodeSniffer.git.
      • Contributors will need to fork the new repo and add both the new fork as well as the new repo as remotes to their local git copy of PHP_CodeSniffer.
      • Users who have (valid) open issues or pull requests in thesquizlabs/PHP_CodeSniffer repository are invited to resubmit these to thePHPCSStandards/PHP_CodeSniffer repository.

Added

  • Runtime support for PHP 8.3. All known PHP 8.3 deprecation notices have been fixed
    • Syntax support for new PHP 8.3 features will follow in a future release
    • If you find any PHP 8.3 deprecation notices which were missed, please report them
    • Thanks to Juliette Reinders Folmer (@​jrfnl) for the patches
  • Added support for PHP 8.2 readonly classes to File::getClassProperties() through a new is_readonly array index in the return value
    • Thanks to Juliette Reinders Folmer (@​jrfnl) for the patch
  • Added support for PHP 8.2 readonly classes to a number of sniffs
    • Generic.CodeAnalysis.UnnecessaryFinalModifier
    • PEAR.Commenting.ClassComment
    • PEAR.Commenting.FileComment
    • PSR1.Files.SideEffects
    • PSR2.Classes.ClassDeclaration
    • PSR12.Files.FileHeader
    • Squiz.Classes.ClassDeclaration
    • Squiz.Classes.LowercaseClassKeywords
    • Squiz.Commenting.ClassComment
    • Squiz.Commenting.DocCommentAlignment
    • Squiz.Commenting.FileComment
    • Squiz.Commenting.InlineComment
    • Thanks to Juliette Reinders Folmer (@​jrfnl) for the patch
  • Added support for PHP 8.2true as a stand-alone type declaration
    • TheFile::getMethodProperties(),File::getMethodParameters() andFile::getMemberProperties() methods now all support thetrue type
    • Thanks to Juliette Reinders Folmer (@​jrfnl) for the patch
  • Added support for PHP 8.2true as a stand-alone type to a number of sniffs
    • Generic.PHP.LowerCaseType
    • PSr12.Functions.NullableTypeDeclaration
    • Thanks to Juliette Reinders Folmer (@​jrfnl) for the patch
  • Added a Performance report to allow for finding "slow" sniffs
    • To run this report, run PHPCS with --report=Performance.
    • Thanks to Juliette Reinders Folmer (@​jrfnl) for the patch
  • Generic.PHP.RequireStrictTypes : new warning for when there is a declare statement, but the strict_types directive is set to 0

... (truncated)

Changelog

Sourced fromsquizlabs/php_codesniffer's changelog.

[3.8.0] - 2023-12-08

Squizlabs/PHP_CodeSniffer is dead. Long livePHPCSStandards/PHP_CodeSniffer!

Breaking Changes

  • Thesquizlabs/PHP_CodeSniffer repository has been abandoned. ThePHPCSStandards/PHP_CodeSniffer repository will serve as the continuation of the project. For more information about this change, please read theannouncement.
    • Installation of PHP_CodeSniffer via PEAR is no longer supported.
      • Users will need to switch to another installation method.
      • Note: this does not affect the PEAR sniffs.
    • For Composer users, nothing changes.
      • In contrast to earlier information, thesquizlabs/php_codesniffer package now points to the new repository and everything will continue to work as before.
    • PHIVE users may need to clear the PHIVE URL cache.
      • PHIVE users who don't use the package alias, but refer to the package URL, will need to update the URL fromhttps://squizlabs.github.io/PHP_CodeSniffer/phars/ tohttps://phars.phpcodesniffer.com/phars/.
    • Users who download the PHAR files using curl or wget, will need to update the download URL fromhttps://squizlabs.github.io/PHP_CodeSniffer/[phpcs|phpcbf].phar orhttps://github.com/squizlabs/PHP_CodeSnifffer/releases/latest/download/[phpcs|phpcbf].phar tohttps://phars.phpcodesniffer.com/[phpcs|phpcbf].phar.
    • For users who install PHP_CodeSniffer via thesetup-php action runner for GitHub Actions, nothing changes.
    • Users using a git clone will need to update the clone address fromgit@github.com:squizlabs/PHP_CodeSniffer.git togit@github.com:PHPCSStandards/PHP_CodeSniffer.git.
      • Contributors will need to fork the new repo and add both the new fork as well as the new repo as remotes to their local git copy of PHP_CodeSniffer.
      • Users who have (valid) open issues or pull requests in thesquizlabs/PHP_CodeSniffer repository are invited to resubmit these to thePHPCSStandards/PHP_CodeSniffer repository.

Added

  • Runtime support for PHP 8.3. All known PHP 8.3 deprecation notices have been fixed
    • Syntax support for new PHP 8.3 features will follow in a future release
    • If you find any PHP 8.3 deprecation notices which were missed, please report them
    • Thanks to Juliette Reinders Folmer (@​jrfnl) for the patches
  • Added support for PHP 8.2 readonly classes to File::getClassProperties() through a new is_readonly array index in the return value
    • Thanks to Juliette Reinders Folmer (@​jrfnl) for the patch
  • Added support for PHP 8.2 readonly classes to a number of sniffs
    • Generic.CodeAnalysis.UnnecessaryFinalModifier
    • PEAR.Commenting.ClassComment
    • PEAR.Commenting.FileComment
    • PSR1.Files.SideEffects
    • PSR2.Classes.ClassDeclaration
    • PSR12.Files.FileHeader
    • Squiz.Classes.ClassDeclaration
    • Squiz.Classes.LowercaseClassKeywords
    • Squiz.Commenting.ClassComment
    • Squiz.Commenting.DocCommentAlignment
    • Squiz.Commenting.FileComment
    • Squiz.Commenting.InlineComment
    • Thanks to Juliette Reinders Folmer (@​jrfnl) for the patch
  • Added support for PHP 8.2true as a stand-alone type declaration
    • TheFile::getMethodProperties(),File::getMethodParameters() andFile::getMemberProperties() methods now all support thetrue type
    • Thanks to Juliette Reinders Folmer (@​jrfnl) for the patch
  • Added support for PHP 8.2true as a stand-alone type to a number of sniffs
    • Generic.PHP.LowerCaseType
    • PSr12.Functions.NullableTypeDeclaration
    • Thanks to Juliette Reinders Folmer (@​jrfnl) for the patch
  • Added a Performance report to allow for finding "slow" sniffs
    • To run this report, run PHPCS with --report=Performance.
    • Thanks to Juliette Reinders Folmer (@​jrfnl) for the patch

... (truncated)

Commits
  • 5805f7a Changelog: touch up for 3.8.0 release
  • e021db5 Config: update version tag line
  • 9f36b17 Changelog: add diff links for the releases which have a git tag
  • b623038 Changelog: remove link syntax for releases which don't have a git tag
  • 53c2838 Merge pull request#119 from PHPCSStandards/feature/generic-lowercaseconstant...
  • aae1797 Generic/LowerCaseConstant: improve performance
  • e5c3212 Generic/LowerCaseConstant: add tests with functions which don't create scope
  • ec2709a Changelog for#3881 /#128
  • ca9a3b7 Squiz/ControlSignature: fix up old-style property set annotations in tests
  • 72ea7b3 Merge pull request#128 from DannyvdSluijs/ImproveMessageReadabilityForMissin...
  • Additional commits viewable incompare 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 <dependency name> 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)

@dependabotdependabotbot added dependenciesPull requests that update a dependency file phpPull requests that update Php code labelsJan 1, 2024
@coveralls
Copy link

coveralls commentedJan 1, 2024
edited
Loading

Coverage Status

coverage: 99.429% (+0.002%) from 99.427%
when pullingae3a7f5 on dependabot/composer/squizlabs/php_codesniffer-tw-3.8
into627d9a1 on 4.x.

@dependabotdependabotbotforce-pushed thedependabot/composer/squizlabs/php_codesniffer-tw-3.8 branch froma1a102e to9dfe777CompareJanuary 1, 2024 20:47
Updates the requirements on [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) to permit the latest version.- [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases)- [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md)- [Commits](PHPCSStandards/PHP_CodeSniffer@3.7.0...3.8.0)---updated-dependencies:- dependency-name: squizlabs/php_codesniffer  dependency-type: direct:development...Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotbotforce-pushed thedependabot/composer/squizlabs/php_codesniffer-tw-3.8 branch from9dfe777 toae3a7f5CompareJanuary 1, 2024 20:49
@l0gicgatel0gicgate added this to the4.13.0 milestoneJan 1, 2024
@l0gicgatel0gicgate merged commit7354f85 into4.xJan 1, 2024
@dependabotdependabotbot deleted the dependabot/composer/squizlabs/php_codesniffer-tw-3.8 branchJanuary 1, 2024 20:50
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

dependenciesPull requests that update a dependency filephpPull requests that update Php code

Projects

None yet

Milestone

4.13.0

Development

Successfully merging this pull request may close these issues.

3 participants

@coveralls@l0gicgate

[8]ページ先頭

©2009-2025 Movatter.jp