wikimedia/mediawiki-extensions-Translate

View on GitHub
src/MessageGroupProcessing/MessageGroupReviewStore.php

Summary

Maintainability
A
1 hr
Test Coverage

Method changeState has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function changeState( MessageGroup $group, string $code, string $newState, User $user ): bool {
        $currentState = $this->getState( $group, $code );
        if ( $currentState === $newState ) {
            return false;
        }
Severity: Minor
Found in src/MessageGroupProcessing/MessageGroupReviewStore.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status