Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DiagnoseCommand.php

function DiagnoseCommand::checkConnectivityAndComposerNetworkHttpEnablement

Return value

string|true

8 calls to DiagnoseCommand::checkConnectivityAndComposerNetworkHttpEnablement()
DiagnoseCommand::checkComposerAudit in vendor/composer/composer/src/Composer/Command/DiagnoseCommand.php
DiagnoseCommand::checkComposerRepo in vendor/composer/composer/src/Composer/Command/DiagnoseCommand.php
DiagnoseCommand::checkGithubOauth in vendor/composer/composer/src/Composer/Command/DiagnoseCommand.php
DiagnoseCommand::checkHttp in vendor/composer/composer/src/Composer/Command/DiagnoseCommand.php
DiagnoseCommand::checkHttpProxy in vendor/composer/composer/src/Composer/Command/DiagnoseCommand.php

... See full list

File

vendor/composer/composer/src/Composer/Command/DiagnoseCommand.php, line 928

Class

DiagnoseCommand
@author Jordi Boggiano <j.boggiano@seld.be>

Namespace

Composer\Command

Code

private function checkConnectivityAndComposerNetworkHttpEnablement() {
    $result = $this->checkConnectivity();
    if ($result !== true) {
        return $result;
    }
    $result = $this->checkComposerNetworkHttpEnablement();
    if ($result !== true) {
        return $result;
    }
    return true;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal