Skip to content

chore(deps/composer): bump the mediawiki group with 3 updates#37

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/composer/mediawiki-e553236ebc
Closed

chore(deps/composer): bump the mediawiki group with 3 updates#37
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/composer/mediawiki-e553236ebc

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 1, 2024

Updates the requirements on mediawiki/mediawiki-codesniffer, mediawiki/mediawiki-phan-config and mediawiki/minus-x to permit the latest version.
Updates mediawiki/mediawiki-codesniffer to 43.0.0

Changelog

Sourced from mediawiki/mediawiki-codesniffer's changelog.

43.0.0 / 2024-01-29

New sniffs

  • Added the following sniffs from the PHPCSExtra standards: (Daimona Eaytoy)
    • Universal.Constants.LowercaseClassResolutionKeyword: Enforce lowercase ::class
    • Universal.Constants.UppercaseMagicConstants: Enforce uppercase magic constants
    • Universal.ControlStructures.DisallowAlternativeSyntax: Disallow alternative PHP syntax
    • Universal.Lists.DisallowLongListSyntax: Disallow the long list()syntax
    • Universal.Operators.TypeSeparatorSpacing: Forbid spaces in union and intersection types
    • Universal.UseStatements.KeywordSpacing: Enforce a single space around keywords in use statements
    • Universal.UseStatements.LowercaseFunctionConst: Enforce lowercase function and const in use statements
    • Universal.UseStatements.NoUselessAliases: Forbids aliases in use statements where the alias is the same as the original name
    • Universal.WhiteSpace.CommaSpacing: Enforce correct spacing around commas

Changed sniffs

  • DeprecatedGlobalVariablesSniff: Add $wgCommandLineMode (Bartosz Dziewoński)
  • FunctionCommentSniff & PropertyDocumentationSniff: Allow array shapes in PHPDoc comments (thiemowmde)
  • FunctionCommentSniff: Require documentation of getters starting with "is", not only "get" (thiemowmde)
  • FunctionCommentSniff: Actually check if a method returns anything (thiemowmde)
  • FunctionAnnotationsSniff: Add @phan-type as an allowed annotation (Umherirrender)
  • FunctionAnnotationsSniff: Add @phan-side-effect-free as an allowed annotation (Bartosz Dziewoński)
  • LowerCamelFunctionsNameSniff: Ignore hook methods (DannyS712)
  • PhpunitAnnotationsSniff: Enforce absolute class path for coverage annotations (Func)

Removed sniffs

  • OneSpaceInlineArraySniff: Superseded by Universal.WhiteSpace.CommaSpacing
  • ShortListSyntaxSniff: Superseded by Universal.Lists.DisallowLongListSyntax
  • AlternativeSyntaxSniff: Superseded by Universal.ControlStructures.DisallowAlternativeSyntax

Documentation, dependencies and build changes

  • Run in parallel with 64 jobs by default (Kunal Mehta, Antoine Musso)
  • build: Allow composer/semver 3.4.0 as well as 3.3.2 (Reedy)
  • tests: Add test for awfully inconsistent code (Daimona Eaytoy)
  • build: Update squizlabs/PHP_CodeSniffer to 3.8.1 (Umherirrender)

42.0.0 / 2023-09-21

New sniffs

  • Create MockBoilerplateSniff for PHPUnit tests (DannyS712)
  • Create OneSpaceInlineArraySniff (Amir Sarabadani)
  • Create ShortListSyntaxSniff to replace list() by short array syntax (Umherirrender)
  • Enable Generic.WhiteSpace.ScopeIndent (Daimona Eaytoy)
  • Enable Squiz.ControlStructures.ControlSignature (Daimona Eaytoy)
  • Replace AssignmentInControlStructuresSniff with Generic.CodeAnalysis.AssignmentInCondition (Daimona Eaytoy)
  • Replace DisallowEmptyLineFunctionsSniff with Squiz.WhiteSpace.FunctionOpeningBraceSpace (Daimona Eaytoy)

Changed sniffs

  • AssertCountSniff: Prefer assertSameSize when both parts are count() (Func)
  • DeprecatedGlobalVariablesSniff: Add $wgHooks (Umherirrender)
  • ForbiddenFunctionsSniff: Fix not counting arguments correctly (Daimona Eaytoy)
  • SpaceAfterClosureSniff: Expand to enforce space after arrow functions (Umherirrender)

... (truncated)

Commits
  • c559bc0 HISTORY: Mark this as v43.0.0
  • 0ba5905 HISTORY: Add blended entry for 5351ea927 and 6927784cf
  • 645429d HISTORY: Add entry for 4861986b0
  • caeab67 HISTORY: Add entry for 9640c3255
  • 6927784 build: Update squizlabs/php_codesniffer to 3.8.1
  • 8c9cb70 Enforce absolute class path for coverage annotations
  • 4861986 composer.json: Allow newer composer/semver
  • 5351ea9 build: Update squizlabs/php_codesniffer to 3.8.0
  • 9640c32 Deprecate $wgCommandLineMode
  • 8b4eb65 LowerCamelFunctionsNameSniff: Ignore hook methods
  • Additional commits viewable in compare view

Updates mediawiki/mediawiki-phan-config to 0.14.0

Changelog

Sourced from mediawiki/mediawiki-phan-config's changelog.

0.14.0 / 2024-02-03

  • Add plugin to disallow use of new Exception (Daimona Eaytoy)
  • Do not emit MediaWikiNoEmptyIfDefined for properties of classes with the AllowDynamicProperties attribute (Daimona Eaytoy)
  • Emit MediaWikiNoEmptyIfDefined for all node types except array element access (Daimona Eaytoy)
  • Upgrade phan to 5.4.3 and mediawiki/phan-taint-check-plugin to 6.0.0 (James D. Forrester)

0.13.0 / 2023-09-08

  • Add plugin to forbid empty() on defined variables and properties (Daimona Eaytoy)
  • Bump phan to 5.4.2 and taint-check to 5.0.0 (Michael Große)
  • "Auto discovery" of namespaces of wgConf and wgRequest (Amir Sarabadani)

0.12.1 / 2023-04-17

  • Enable PhanCompatibleSerializeInterfaceDeprecated (Umherirrender)
  • Create a separate config file for libraries (Daimona Eaytoy)

0.12.0 / 2022-10-06

  • Avoid PhanRedefinedInheritedInterface by excluding symfony/polyfill-php80 (Umherirrender)
  • Bump minimum PHP version to 7.4 (C. Scott Ananian)
  • Disable PhanPluginDuplicateExpressionAssignmentOperation (Reedy)
  • Bump phan to 5.4.1 and taint-check to 4.0.0 (Daimona Eaytoy)

0.11.1 / 2021-11-08

  • Set minimum and target PHP version (Daimona Eaytoy)

0.11.0 / 2021-09-03

  • Enable plugin UseReturnValuePlugin (Umherirrender)
  • Exclude stubs from .phan configurations in libraries (C. Scott Ananian)
  • Suppress PhanDeprecatedCaseInsensitiveDefine (Umherirrender)
  • Suppress phan issues about use statements (Umherirrender)
  • Add plugins: LoopVariableReusePlugin, RedundantAssignmentPlugin, UnreachableCodePlugin, SimplifyExpressionPlugin, DuplicateArrayKeyPlugin (Daimona Eaytoy)
  • Remove hack that allows disabling taint-check (Daimona Eaytoy)
  • Bump phan to 5.2.0, taint-check to 3.3.2 (Daimona Eaytoy)

0.10.6 / 2020-12-14

  • Add a ConfigBuilder class to configure phan (Daimona Eaytoy)
  • Remove option for filtering the list of directories (Daimona Eaytoy)
  • Bump taint-check to 3.2.1 and phan to 3.2.6 (Daimona Eaytoy)

0.10.5 / 2020-12-05

Intermediate maintenance release without ConfigBuilder.

  • Bump taint-check to 3.1.1 (Daimona Eaytoy)

  • Expand globals_type_map (Daimona Eaytoy)

  • build: Updating mediawiki/mediawiki-codesniffer to 34.0.0 (James D. Forrester)

  • build: Updating ockcyp/covers-validator to 1.3.1 (libraryupgrader)

  • build: Updating ockcyp/covers-validator to 1.3.0 (libraryupgrader)

  • build: Updating mediawiki/mediawiki-codesniffer to 33.0.0 (libraryupgrader)

... (truncated)

Commits
  • 58c01ba Prepare 0.14.0 release
  • 4d0f255 Upgrade phan to 5.4.3 and mediawiki/phan-taint-check-plugin to 6.0.0
  • 8170df9 build: Upgrade phpunit to 9.6.16
  • 7dc649e Merge "Run phan's bootstrap in PHPUnit tests"
  • fe43331 Make NoEmptyIfDefinedPlugin check all node types except AST_DIM
  • ffd0091 Run phan's bootstrap in PHPUnit tests
  • 679ac25 Fix NoEmptyIfDefined behaviour with dynamic properties
  • 34590f1 Make PHPUnit tests more robust
  • c80924d Add plugin to disallow use of new Exception
  • 5875745 Enable PhanPluginDuplicateExpressionAssignmentOperation issue
  • See full diff in compare view

Updates mediawiki/minus-x to 1.1.3

Changelog

Sourced from mediawiki/minus-x's changelog.

1.1.3 / 2024-05-04

  • Support symfony/console v7 for the fix command (Sam Wilson)

1.1.2 / 2024-05-04

  • Support symfony/console v7 for the check command (Sam Wilson)

1.1.1 / 2021-01-05

  • Restore support of symfony/console ^3.3.5 and ^4 (Kunal Mehta)

1.1.0 / 2020-03-17

  • Add application/x-pie-executable and x-mach-binary to whitelist (Umherirrender)

1.0.0 / 2020-01-20

  • Mention always ignored directories in the readme (mainframe98)
  • Permit symfony/console version 5 (Sam Wilson)
  • Drop support for earlier versions of symfony/console (Kunal Mehta)
  • Revert "Don't use SplFileObject::fread() for PHP < 5.5.11 support" (Kunal Mehta)

0.3.2 / 2018-10-02

  • Support using symfony/console ^4 (Kunal Mehta)
  • Use SPDX 3.0 license identifier (Umherirrender)

0.3.1 / 2018-02-17

  • Add .gitattributes with export-ignore (Umherirrender)

0.3.0 / 2018-01-10

  • Loosen symfony/console dependency (Kunal Mehta)
  • Support ignoring entire directories (Kunal Mehta)

0.2.1 / 2017-12-03

  • Percent-encode URLs in README.md to work around bad parsers. (MZMcBride)
  • Use env instead of /usr/bin/php directly (Sam Wilson)

0.2.0 / 2017-10-30

  • Don't use SplFileObject::fread() for PHP < 5.5.11 support (Kunal Mehta)
  • Drop .php extension from minus-x command (Kunal Mehta)
  • Whitelist application/x-dosexec when run on Windows (Kunal Mehta)

0.1.0 / 2017-09-12

  • Initial release (Kunal Mehta)
Commits
  • 553f920 Add type hint for FixCommand::execute()
  • 883c563 Release 1.1.2
  • faa932b build: Updating mediawiki/mediawiki-codesniffer to 43.0.0
  • 2ce560f Support symfony/console v7
  • 126b89e Update composer dependencies
  • b4f1681 build: Updating mediawiki/mediawiki-codesniffer to 41.0.0
  • a99b608 README.md: Replace usage of whitelist
  • 702726c build: Add Doxygen
  • 4b7aaa5 build: Updating mediawiki/mediawiki-codesniffer to 40.0.1
  • e256257 build: Updating composer dependencies
  • 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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Updates the requirements on [mediawiki/mediawiki-codesniffer](https://github.com/wikimedia/mediawiki-tools-codesniffer), [mediawiki/mediawiki-phan-config](https://github.com/wikimedia/mediawiki-tools-phan) and [mediawiki/minus-x](https://github.com/wikimedia/mediawiki-tools-minus-x) to permit the latest version.

Updates `mediawiki/mediawiki-codesniffer` to 43.0.0
- [Changelog](https://github.com/wikimedia/mediawiki-tools-codesniffer/blob/master/HISTORY.md)
- [Commits](wikimedia/mediawiki-tools-codesniffer@v42.0.0...v43.0.0)

Updates `mediawiki/mediawiki-phan-config` to 0.14.0
- [Changelog](https://github.com/wikimedia/mediawiki-tools-phan/blob/master/HISTORY.md)
- [Commits](wikimedia/mediawiki-tools-phan@0.13.0...0.14.0)

Updates `mediawiki/minus-x` to 1.1.3
- [Changelog](https://github.com/wikimedia/mediawiki-tools-minus-x/blob/master/HISTORY.md)
- [Commits](wikimedia/mediawiki-tools-minus-x@1.1.1...1.1.3)

---
updated-dependencies:
- dependency-name: mediawiki/mediawiki-codesniffer
  dependency-type: direct:development
  dependency-group: mediawiki
- dependency-name: mediawiki/mediawiki-phan-config
  dependency-type: direct:development
  dependency-group: mediawiki
- dependency-name: mediawiki/minus-x
  dependency-type: direct:development
  dependency-group: mediawiki
...

Signed-off-by: dependabot[bot] <support@github.com>
@codesandbox
Copy link

codesandbox bot commented Jun 1, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 20, 2025

Superseded by #38.

@dependabot dependabot bot closed this Feb 20, 2025
@dependabot dependabot bot deleted the dependabot/composer/mediawiki-e553236ebc branch February 20, 2025 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants