lib/Configuration.php
static function loadDefaults(string $coverallsFile = '.coveralls.yml'): self {
    $defaults = static::fromEnvironment();

    try {
      $defaults->merge(static::fromYaml((string) @file_get_contents($coverallsFile)));
      return $defaults;
    }

    catch (\Throwable $e) {
      return $defaults;
    }
  }
static function loadDefaults(string $coverallsFile = '.coveralls.yml'): self {
    $defaults = static::fromEnvironment();

    try {
      $defaults->merge(static::fromYaml((string) @file_get_contents($coverallsFile)));
      return $defaults;
    }

    catch (\Throwable $e) {
      return $defaults;
    }
  }
static function loadDefaults ( string $ coverallsFile = '.coveralls.yml' ) : self { $ defaults = static :: fromEnvironment ( ) ; try { $ defaults -> merge ( static :: fromYaml ( ( string ) @ file_get_contents ( $ coverallsFile ) ) ) ; return $ defaults ; } catch ( \ Throwable $ e ) { return $ defaults ; } }
Loads the default configuration.
The default values are read from the environment variables and an optional `.coveralls.yml` file.
@param string $coverallsFile The path to the `.coveralls.yml` file. Defaults to the file found in the current directory.
@return Configuration The default configuration.
Loads the default configuration . The default values are read from the environment variables and an optional . coveralls . yml file .