private function validateConflict($module, $otherModule)
    {
        if ($module === $otherModule || !$module instanceof ConflictsWithModule) {
            return;
        }

        $conflicts = $this->normalizeConflictSpecification($module->_conflicts());
        if ($otherModule instanceof $conflicts) {
            throw new ModuleConflictException($module, $otherModule);
        }
    }
private function validateConflict($module, $otherModule)
    {
        if ($module === $otherModule || !$module instanceof ConflictsWithModule) {
            return;
        }

        $conflicts = $this->normalizeConflictSpecification($module->_conflicts());
        if ($otherModule instanceof $conflicts) {
            throw new ModuleConflictException($module, $otherModule);
        }
    }
private function validateConflict ( $ module , $ otherModule ) { if ( $ module === $ otherModule || ! $ module instanceof ConflictsWithModule ) { return ; } $ conflicts = $ this -> normalizeConflictSpecification ( $ module -> _conflicts ( ) ) ; if ( $ otherModule instanceof $ conflicts ) { throw new ModuleConflictException ( $ module , $ otherModule ) ; } }
Check if the modules passed as arguments to this method conflict with each other.

@param \Codeception\Module $module
@param \Codeception\Module $otherModule
@throws \Codeception\Exception\ModuleConflictException
Check if the modules passed as arguments to this method conflict with each other .