Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Commit

Permalink
Update mediawiki/mediawiki-codesniffer requirement from 41.0.0 to 42.…
Browse files Browse the repository at this point in the history
…0.0 (#2)

* Update mediawiki/mediawiki-codesniffer requirement from 41.0.0 to 42.0.0

Updates the requirements on [mediawiki/mediawiki-codesniffer](https://github.com/wikimedia/mediawiki-tools-codesniffer) to permit the latest version.
- [Changelog](https://github.com/wikimedia/mediawiki-tools-codesniffer/blob/master/HISTORY.md)
- [Commits](wikimedia/mediawiki-tools-codesniffer@v41.0.0...v42.0.0)

---
updated-dependencies:
- dependency-name: mediawiki/mediawiki-codesniffer
  dependency-type: direct:development
...

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

* CI: lint code to MediaWiki standards

Check commit and GitHub actions for more details

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: CosmicAlpha <cosmic.alpha24@gmail.com>
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 5, 2023
1 parent 0c8b956 commit a78628f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "",
"license": "GPL-3.0-or-later",
"require-dev": {
"mediawiki/mediawiki-codesniffer": "41.0.0",
"mediawiki/mediawiki-codesniffer": "42.0.0",
"mediawiki/mediawiki-phan-config": "0.12.1",
"mediawiki/minus-x": "1.1.1",
"php-parallel-lint/php-console-highlighter": "1.0.0",
Expand Down
4 changes: 2 additions & 2 deletions maintenance/createUsers.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ private function createUser( $name ) {
$user = new User;
$userActor = $user->createNew( $name );
if ( $userActor ) {
$this->output( "Created local {$userActor->getName()} on wiki {$wgDBname}\n" );
$this->output( "Created local {$userActor->getName()} on wiki {$wgDBname}\n" );
}

$cau = new CentralAuthUser( $name, 0 );
$create = $cau->promoteToGlobal( $wgDBname );

if ( $create->isGood() ) {
$this->output( "Created global {$userActor->getName()}\n" );
$this->output( "Created global {$userActor->getName()}\n" );
}

if ( $this->getOption( 'no-run' ) ) {
Expand Down

0 comments on commit a78628f

Please sign in to comment.