mglaman / drupalorg-cli

A command line tool for interfacing with Drupal.org
128 stars 32 forks source link

Update squizlabs/php_codesniffer from 3.6.2 to 3.7.2 #169

Closed violinist-bot closed 1 year ago

violinist-bot commented 2 years ago

If you have a high test coverage index, and your tests for this pull request are passing, it should be both safe and recommended to merge this update.

Updated packages

Some times an update also needs new or updated dependencies to be installed. Even if this branch is for updating one dependency, it might contain other installs or updates. All of the updates in this branch can be found here:

Release notes

Here are the release notes for all versions released between your current running version, and the version this PR updates the package to.

List of release notes - [Release notes for tag 3.7.2](https://github.com/squizlabs/PHP_CodeSniffer/releases/tag/3.7.2) - [Release notes for tag 3.7.1](https://github.com/squizlabs/PHP_CodeSniffer/releases/tag/3.7.1) - [Release notes for tag 3.7.0](https://github.com/squizlabs/PHP_CodeSniffer/releases/tag/3.7.0)

Changed files

Here is a list of changed files between the version you use, and the version this pull request updates to:

List of changed files .github/workflows/phpstan.yml .github/workflows/test.yml .github/workflows/validate.yml CodeSniffer.conf.dist README.md composer.json package.xml scripts/build-phar.php src/Config.php src/Files/File.php src/Reports/Code.php src/Reports/Gitblame.php src/Reports/Hgblame.php src/Reports/Svnblame.php src/Ruleset.php src/Runner.php src/Sniffs/AbstractArraySniff.php src/Sniffs/Sniff.php src/Standards/Generic/Docs/Classes/OpeningBraceSameLineStandard.xml src/Standards/Generic/Docs/Formatting/SpaceAfterNotStandard.xml src/Standards/Generic/Docs/WhiteSpace/ArbitraryParenthesesSpacingStandard.xml src/Standards/Generic/Sniffs/Classes/DuplicateClassNameSniff.php src/Standards/Generic/Sniffs/Classes/OpeningBraceSameLineSniff.php src/Standards/Generic/Sniffs/Files/OneClassPerFileSniff.php src/Standards/Generic/Sniffs/Files/OneInterfacePerFileSniff.php src/Standards/Generic/Sniffs/Files/OneObjectStructurePerFileSniff.php src/Standards/Generic/Sniffs/Files/OneTraitPerFileSniff.php src/Standards/Generic/Sniffs/Functions/FunctionCallArgumentSpacingSniff.php src/Standards/Generic/Sniffs/Metrics/CyclomaticComplexitySniff.php src/Standards/Generic/Sniffs/PHP/DisallowRequestSuperglobalSniff.php src/Standards/Generic/Sniffs/PHP/LowerCaseConstantSniff.php src/Standards/Generic/Sniffs/PHP/LowerCaseKeywordSniff.php src/Standards/Generic/Sniffs/PHP/LowerCaseTypeSniff.php src/Standards/Generic/Sniffs/PHP/UpperCaseConstantSniff.php src/Standards/Generic/Sniffs/WhiteSpace/DisallowTabIndentSniff.php src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php src/Standards/Generic/Sniffs/WhiteSpace/SpreadOperatorSpacingAfterSniff.php src/Standards/Generic/Tests/Arrays/ArrayIndentUnitTest.inc src/Standards/Generic/Tests/Arrays/ArrayIndentUnitTest.inc.fixed src/Standards/Generic/Tests/Arrays/ArrayIndentUnitTest.php src/Standards/Generic/Tests/Classes/DuplicateClassNameUnitTest.1.inc src/Standards/Generic/Tests/Classes/DuplicateClassNameUnitTest.2.inc src/Standards/Generic/Tests/Classes/DuplicateClassNameUnitTest.php src/Standards/Generic/Tests/Classes/OpeningBraceSameLineUnitTest.inc src/Standards/Generic/Tests/Classes/OpeningBraceSameLineUnitTest.inc.fixed src/Standards/Generic/Tests/Classes/OpeningBraceSameLineUnitTest.php src/Standards/Generic/Tests/Files/ExecutableFileUnitTest.php src/Standards/Generic/Tests/Files/OneObjectStructurePerFileUnitTest.inc src/Standards/Generic/Tests/Files/OneObjectStructurePerFileUnitTest.php src/Standards/Generic/Tests/Functions/FunctionCallArgumentSpacingUnitTest.inc src/Standards/Generic/Tests/Functions/FunctionCallArgumentSpacingUnitTest.inc.fixed src/Standards/Generic/Tests/Functions/FunctionCallArgumentSpacingUnitTest.php src/Standards/Generic/Tests/Metrics/CyclomaticComplexityUnitTest.inc src/Standards/Generic/Tests/Metrics/CyclomaticComplexityUnitTest.php src/Standards/Generic/Tests/NamingConventions/CamelCapsFunctionNameUnitTest.inc src/Standards/Generic/Tests/NamingConventions/CamelCapsFunctionNameUnitTest.php src/Standards/Generic/Tests/PHP/LowerCaseConstantUnitTest.inc src/Standards/Generic/Tests/PHP/LowerCaseConstantUnitTest.inc.fixed src/Standards/Generic/Tests/PHP/LowerCaseConstantUnitTest.php src/Standards/Generic/Tests/PHP/LowerCaseKeywordUnitTest.inc src/Standards/Generic/Tests/PHP/LowerCaseKeywordUnitTest.inc.fixed src/Standards/Generic/Tests/PHP/LowerCaseKeywordUnitTest.php src/Standards/Generic/Tests/PHP/LowerCaseTypeUnitTest.inc src/Standards/Generic/Tests/PHP/LowerCaseTypeUnitTest.inc.fixed src/Standards/Generic/Tests/PHP/LowerCaseTypeUnitTest.php src/Standards/Generic/Tests/PHP/UpperCaseConstantUnitTest.inc src/Standards/Generic/Tests/PHP/UpperCaseConstantUnitTest.inc.fixed src/Standards/Generic/Tests/PHP/UpperCaseConstantUnitTest.php src/Standards/Generic/Tests/WhiteSpace/ArbitraryParenthesesSpacingUnitTest.inc src/Standards/Generic/Tests/WhiteSpace/ArbitraryParenthesesSpacingUnitTest.inc.fixed src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.3.inc src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.3.inc.fixed src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.php src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.1.inc src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.1.inc.fixed src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.2.inc src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.2.inc.fixed src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.php src/Standards/Generic/Tests/WhiteSpace/SpreadOperatorSpacingAfterUnitTest.inc src/Standards/Generic/Tests/WhiteSpace/SpreadOperatorSpacingAfterUnitTest.inc.fixed src/Standards/PEAR/Sniffs/Classes/ClassDeclarationSniff.php src/Standards/PEAR/Sniffs/Commenting/ClassCommentSniff.php src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php src/Standards/PEAR/Sniffs/NamingConventions/ValidClassNameSniff.php src/Standards/PEAR/Tests/Classes/ClassDeclarationUnitTest.1.inc src/Standards/PEAR/Tests/Classes/ClassDeclarationUnitTest.1.inc.fixed src/Standards/PEAR/Tests/Classes/ClassDeclarationUnitTest.php src/Standards/PEAR/Tests/Commenting/ClassCommentUnitTest.inc src/Standards/PEAR/Tests/Commenting/ClassCommentUnitTest.php src/Standards/PEAR/Tests/Commenting/FileCommentUnitTest.3.inc src/Standards/PEAR/Tests/Commenting/FileCommentUnitTest.php src/Standards/PEAR/Tests/Functions/FunctionCallSignatureUnitTest.inc src/Standards/PEAR/Tests/Functions/FunctionCallSignatureUnitTest.inc.fixed src/Standards/PEAR/Tests/Functions/FunctionCallSignatureUnitTest.php src/Standards/PEAR/Tests/NamingConventions/ValidClassNameUnitTest.inc src/Standards/PEAR/Tests/NamingConventions/ValidClassNameUnitTest.php src/Standards/PEAR/Tests/NamingConventions/ValidFunctionNameUnitTest.inc src/Standards/PEAR/Tests/NamingConventions/ValidFunctionNameUnitTest.php src/Standards/PEAR/Tests/WhiteSpace/ScopeClosingBraceUnitTest.inc src/Standards/PEAR/Tests/WhiteSpace/ScopeClosingBraceUnitTest.inc.fixed src/Standards/PEAR/Tests/WhiteSpace/ScopeClosingBraceUnitTest.php src/Standards/PSR1/Sniffs/Classes/ClassDeclarationSniff.php src/Standards/PSR1/Sniffs/Files/SideEffectsSniff.php src/Standards/PSR1/Tests/Classes/ClassDeclarationUnitTest.3.inc src/Standards/PSR1/Tests/Files/SideEffectsUnitTest.1.inc src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php src/Standards/PSR12/Sniffs/Classes/ClassInstantiationSniff.php src/Standards/PSR12/Sniffs/Classes/ClosingBraceSniff.php src/Standards/PSR12/Sniffs/Properties/ConstantVisibilitySniff.php src/Standards/PSR12/Tests/Classes/ClassInstantiationUnitTest.inc src/Standards/PSR12/Tests/Classes/ClassInstantiationUnitTest.inc.fixed src/Standards/PSR12/Tests/Classes/ClassInstantiationUnitTest.php src/Standards/PSR12/Tests/Classes/ClosingBraceUnitTest.inc src/Standards/PSR12/Tests/Classes/ClosingBraceUnitTest.php src/Standards/PSR12/Tests/Classes/OpeningBraceSpaceUnitTest.inc src/Standards/PSR12/Tests/Classes/OpeningBraceSpaceUnitTest.inc.fixed src/Standards/PSR12/Tests/Classes/OpeningBraceSpaceUnitTest.php src/Standards/PSR12/Tests/Files/ImportStatementUnitTest.inc src/Standards/PSR12/Tests/Files/ImportStatementUnitTest.inc.fixed src/Standards/PSR12/Tests/Properties/ConstantVisibilityUnitTest.inc src/Standards/PSR12/Tests/Properties/ConstantVisibilityUnitTest.php src/Standards/PSR12/Tests/Traits/UseDeclarationUnitTest.inc src/Standards/PSR12/Tests/Traits/UseDeclarationUnitTest.inc.fixed src/Standards/PSR12/Tests/Traits/UseDeclarationUnitTest.php src/Standards/PSR2/Sniffs/Classes/PropertyDeclarationSniff.php src/Standards/PSR2/Sniffs/ControlStructures/SwitchDeclarationSniff.php src/Standards/PSR2/Sniffs/Namespaces/UseDeclarationSniff.php src/Standards/PSR2/Tests/Classes/PropertyDeclarationUnitTest.inc src/Standards/PSR2/Tests/Classes/PropertyDeclarationUnitTest.inc.fixed src/Standards/PSR2/Tests/Classes/PropertyDeclarationUnitTest.php src/Standards/PSR2/Tests/ControlStructures/SwitchDeclarationUnitTest.inc src/Standards/PSR2/Tests/ControlStructures/SwitchDeclarationUnitTest.inc.fixed src/Standards/PSR2/Tests/Methods/MethodDeclarationUnitTest.inc src/Standards/PSR2/Tests/Methods/MethodDeclarationUnitTest.inc.fixed src/Standards/PSR2/Tests/Methods/MethodDeclarationUnitTest.php src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.1.inc src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php src/Standards/Squiz/Sniffs/Classes/ClassFileNameSniff.php src/Standards/Squiz/Sniffs/Classes/ValidClassNameSniff.php src/Standards/Squiz/Sniffs/Commenting/BlockCommentSniff.php src/Standards/Squiz/Sniffs/Commenting/ClosingDeclarationCommentSniff.php src/Standards/Squiz/Sniffs/Commenting/DocCommentAlignmentSniff.php src/Standards/Squiz/Sniffs/Commenting/FileCommentSniff.php src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php src/Standards/Squiz/Sniffs/Commenting/InlineCommentSniff.php src/Standards/Squiz/Sniffs/Commenting/VariableCommentSniff.php src/Standards/Squiz/Sniffs/ControlStructures/ForLoopDeclarationSniff.php src/Standards/Squiz/Sniffs/Files/FileExtensionSniff.php src/Standards/Squiz/Sniffs/Formatting/OperatorBracketSniff.php src/Standards/Squiz/Sniffs/PHP/DisallowComparisonAssignmentSniff.php src/Standards/Squiz/Sniffs/Scope/MethodScopeSniff.php src/Standards/Squiz/Sniffs/Scope/StaticThisUsageSniff.php src/Standards/Squiz/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php src/Standards/Squiz/Sniffs/WhiteSpace/OperatorSpacingSniff.php src/Standards/Squiz/Sniffs/WhiteSpace/ScopeKeywordSpacingSniff.php src/Standards/Squiz/Tests/Arrays/ArrayDeclarationUnitTest.1.inc src/Standards/Squiz/Tests/Arrays/ArrayDeclarationUnitTest.1.inc.fixed src/Standards/Squiz/Tests/Classes/ClassFileNameUnitTest.inc src/Standards/Squiz/Tests/Classes/ClassFileNameUnitTest.php src/Standards/Squiz/Tests/Classes/LowercaseClassKeywordsUnitTest.inc src/Standards/Squiz/Tests/Classes/LowercaseClassKeywordsUnitTest.inc.fixed src/Standards/Squiz/Tests/Classes/LowercaseClassKeywordsUnitTest.php src/Standards/Squiz/Tests/Classes/ValidClassNameUnitTest.inc src/Standards/Squiz/Tests/Classes/ValidClassNameUnitTest.php src/Standards/Squiz/Tests/Commenting/BlockCommentUnitTest.inc src/Standards/Squiz/Tests/Commenting/BlockCommentUnitTest.inc.fixed src/Standards/Squiz/Tests/Commenting/ClosingDeclarationCommentUnitTest.inc src/Standards/Squiz/Tests/Commenting/ClosingDeclarationCommentUnitTest.php src/Standards/Squiz/Tests/Commenting/DocCommentAlignmentUnitTest.inc src/Standards/Squiz/Tests/Commenting/DocCommentAlignmentUnitTest.inc.fixed src/Standards/Squiz/Tests/Commenting/DocCommentAlignmentUnitTest.php src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.1.inc.fixed src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.1.js.fixed src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.9.inc src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.php src/Standards/Squiz/Tests/Commenting/FunctionCommentUnitTest.inc src/Standards/Squiz/Tests/Commenting/FunctionCommentUnitTest.inc.fixed src/Standards/Squiz/Tests/Commenting/InlineCommentUnitTest.inc src/Standards/Squiz/Tests/Commenting/InlineCommentUnitTest.inc.fixed src/Standards/Squiz/Tests/Commenting/VariableCommentUnitTest.inc src/Standards/Squiz/Tests/Commenting/VariableCommentUnitTest.inc.fixed src/Standards/Squiz/Tests/Commenting/VariableCommentUnitTest.php src/Standards/Squiz/Tests/Files/FileExtensionUnitTest.5.inc src/Standards/Squiz/Tests/Formatting/OperatorBracketUnitTest.inc src/Standards/Squiz/Tests/Formatting/OperatorBracketUnitTest.inc.fixed src/Standards/Squiz/Tests/NamingConventions/ValidVariableNameUnitTest.inc src/Standards/Squiz/Tests/NamingConventions/ValidVariableNameUnitTest.php src/Standards/Squiz/Tests/PHP/DisallowComparisonAssignmentUnitTest.inc src/Standards/Squiz/Tests/PHP/NonExecutableCodeUnitTest.2.inc src/Standards/Squiz/Tests/PHP/NonExecutableCodeUnitTest.php src/Standards/Squiz/Tests/Scope/MethodScopeUnitTest.inc src/Standards/Squiz/Tests/Scope/MethodScopeUnitTest.php src/Standards/Squiz/Tests/Scope/StaticThisUsageUnitTest.inc src/Standards/Squiz/Tests/Scope/StaticThisUsageUnitTest.php src/Standards/Squiz/Tests/WhiteSpace/ControlStructureSpacingUnitTest.inc src/Standards/Squiz/Tests/WhiteSpace/ControlStructureSpacingUnitTest.inc.fixed src/Standards/Squiz/Tests/WhiteSpace/MemberVarSpacingUnitTest.inc src/Standards/Squiz/Tests/WhiteSpace/MemberVarSpacingUnitTest.inc.fixed src/Standards/Squiz/Tests/WhiteSpace/OperatorSpacingUnitTest.inc src/Standards/Squiz/Tests/WhiteSpace/OperatorSpacingUnitTest.inc.fixed src/Standards/Squiz/Tests/WhiteSpace/ScopeClosingBraceUnitTest.inc src/Standards/Squiz/Tests/WhiteSpace/ScopeClosingBraceUnitTest.inc.fixed src/Standards/Squiz/Tests/WhiteSpace/ScopeClosingBraceUnitTest.php src/Standards/Squiz/Tests/WhiteSpace/ScopeKeywordSpacingUnitTest.inc src/Standards/Squiz/Tests/WhiteSpace/ScopeKeywordSpacingUnitTest.inc.fixed src/Standards/Squiz/Tests/WhiteSpace/ScopeKeywordSpacingUnitTest.php src/Standards/Zend/Tests/NamingConventions/ValidVariableNameUnitTest.inc src/Standards/Zend/Tests/NamingConventions/ValidVariableNameUnitTest.php src/Tokenizers/PHP.php src/Tokenizers/Tokenizer.php src/Util/Common.php src/Util/Standards.php src/Util/Tokens.php tests/Core/Autoloader/DetermineLoadedClassTest.php tests/Core/File/FindEndOfStatementTest.inc tests/Core/File/FindImplementedInterfaceNamesTest.inc tests/Core/File/FindImplementedInterfaceNamesTest.php tests/Core/File/FindStartOfStatementTest.php tests/Core/File/GetMemberPropertiesTest.inc tests/Core/File/GetMemberPropertiesTest.php tests/Core/File/GetMethodParametersTest.inc tests/Core/File/GetMethodParametersTest.php tests/Core/File/GetMethodPropertiesTest.inc tests/Core/File/GetMethodPropertiesTest.php tests/Core/File/IsReferenceTest.inc tests/Core/Tokenizer/AttributesTest.php tests/Core/Tokenizer/BackfillEnumTest.inc tests/Core/Tokenizer/BackfillEnumTest.php tests/Core/Tokenizer/BackfillExplicitOctalNotationTest.inc tests/Core/Tokenizer/BackfillExplicitOctalNotationTest.php tests/Core/Tokenizer/BackfillNumericSeparatorTest.inc tests/Core/Tokenizer/BackfillNumericSeparatorTest.php tests/Core/Tokenizer/BackfillReadonlyTest.inc tests/Core/Tokenizer/BackfillReadonlyTest.php tests/Core/Tokenizer/BitwiseOrTest.inc tests/Core/Tokenizer/BitwiseOrTest.php tests/Core/Tokenizer/ContextSensitiveKeywordsTest.inc tests/Core/Tokenizer/ContextSensitiveKeywordsTest.php tests/Core/Tokenizer/DoubleQuotedStringTest.inc tests/Core/Tokenizer/DoubleQuotedStringTest.php tests/Core/Tokenizer/EnumCaseTest.inc tests/Core/Tokenizer/EnumCaseTest.php tests/Core/Tokenizer/GotoLabelTest.inc tests/Core/Tokenizer/GotoLabelTest.php tests/Core/Tokenizer/HeredocNowdocCloserTest.inc tests/Core/Tokenizer/HeredocNowdocCloserTest.php tests/Core/Tokenizer/HeredocStringTest.inc tests/Core/Tokenizer/HeredocStringTest.php tests/Core/Tokenizer/NamedFunctionCallArgumentsTest.inc tests/Core/Tokenizer/NamedFunctionCallArgumentsTest.php tests/Core/Tokenizer/ScopeSettingWithNamespaceOperatorTest.inc tests/Core/Tokenizer/ShortArrayTest.inc tests/Core/Tokenizer/ShortArrayTest.php tests/Core/Tokenizer/TypeIntersectionTest.inc tests/Core/Tokenizer/TypeIntersectionTest.php

Changelog

Here is a list of changes between the version you use, and the version this pull request updates to:


This is an automated pull request from Violinist: Continuously and automatically monitor and update your composer dependencies. Have ideas on how to improve this message? All violinist messages are open-source, and can be improved here.