Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Classes

  • CoverallsV1JobsCommand
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class CoverallsV1JobsCommand

Coveralls Jobs API v1 command.

Symfony\Component\Console\Command\Command
Extended by Contrib\Bundle\CoverallsV1Bundle\Command\CoverallsV1JobsCommand
Namespace: Contrib\Bundle\CoverallsV1Bundle\Command
Author: Kitamura Satoshi <with.no.parachute@gmail.com>
SuppressWarnings(PHPMD.CouplingBetweenObjects)
Located at Contrib/Bundle/CoverallsV1Bundle/Command/CoverallsV1JobsCommand.php
Methods summary
protected
# configure( )

Configures the current command.

Configures the current command.

See

Symfony\Component\Console\Command\Command::configure()

Overrides

Symfony\Component\Console\Command\Command::configure()
protected null|integer
# execute( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Executes the current command.

Executes the current command.

Parameters

$input
Symfony\Component\Console\Input\InputInterface
$input An InputInterface instance
$output
Symfony\Component\Console\Output\OutputInterface
$output An OutputInterface instance

Returns

null|integer
null or 0 if everything went fine, or an error code

Throws

LogicException
When this abstract method is not implemented

See

Symfony\Component\Console\Command\Command::execute()

Overrides

Symfony\Component\Console\Command\Command::execute()
protected Contrib\Bundle\CoverallsV1Bundle\Config\Configuration
# loadConfiguration( Symfony\Component\Console\Input\InputInterface $input, string $rootDir )

Load configuration.

Load configuration.

Parameters

$input
Symfony\Component\Console\Input\InputInterface
$input Input arguments.
$rootDir
string
$rootDir Path to project root directory.

Returns

Contrib\Bundle\CoverallsV1Bundle\Config\Configuration
protected
# runApi( Contrib\Bundle\CoverallsV1Bundle\Config\Configuration $config )

Run Jobs API.

Run Jobs API.

Parameters

$config
Contrib\Bundle\CoverallsV1Bundle\Config\Configuration
$config Configuration.
protected Contrib\Bundle\CoverallsV1Bundle\Command\CoverallsV1JobsCommand
# collectCloverXml( Contrib\Bundle\CoverallsV1Bundle\Config\Configuration $config )

Collect clover XML into json_file.

Collect clover XML into json_file.

Parameters

$config
Contrib\Bundle\CoverallsV1Bundle\Config\Configuration
$config Configuration.

Returns

Contrib\Bundle\CoverallsV1Bundle\Command\CoverallsV1JobsCommand
protected
# logCollectedSourceFiles( Contrib\Bundle\CoverallsV1Bundle\Entity\JsonFile $jsonFile )

Log collected source files.

Log collected source files.

Parameters

$jsonFile
Contrib\Bundle\CoverallsV1Bundle\Entity\JsonFile
$jsonFile
protected Contrib\Bundle\CoverallsV1Bundle\Command\CoverallsV1JobsCommand
# collectGitInfo( )

Collect git repository info into json_file.

Collect git repository info into json_file.

Returns

Contrib\Bundle\CoverallsV1Bundle\Command\CoverallsV1JobsCommand
protected Contrib\Bundle\CoverallsV1Bundle\Command\CoverallsV1JobsCommand
# collectEnvVars( )

Collect environment variables.

Collect environment variables.

Returns

Contrib\Bundle\CoverallsV1Bundle\Command\CoverallsV1JobsCommand
protected Contrib\Bundle\CoverallsV1Bundle\Command\CoverallsV1JobsCommand
# dumpJsonFile( Contrib\Bundle\CoverallsV1Bundle\Config\Configuration $config )

Dump uploading json file.

Dump uploading json file.

Parameters

$config
Contrib\Bundle\CoverallsV1Bundle\Config\Configuration
$config Configuration.

Returns

Contrib\Bundle\CoverallsV1Bundle\Command\CoverallsV1JobsCommand
protected
# send( )

Send json_file to jobs API.

Send json_file to jobs API.

protected
# logResponse( Guzzle\Http\Message\Response $response )

Log response.

Log response.

Parameters

$response
Guzzle\Http\Message\Response
$response API response.

CodeCoverageIgnore

public
# setRootDir( string $rootDir )

Set root directory.

Set root directory.

Parameters

$rootDir
string
$rootDir Path to project root directory.
Methods inherited from Symfony\Component\Console\Command\Command
__construct(), addArgument(), addOption(), asText(), asXml(), getAliases(), getApplication(), getDefinition(), getDescription(), getHelp(), getHelper(), getHelperSet(), getName(), getNativeDefinition(), getProcessedHelp(), getSynopsis(), ignoreValidationErrors(), initialize(), interact(), isEnabled(), run(), setAliases(), setApplication(), setCode(), setDefinition(), setDescription(), setHelp(), setHelperSet(), setName()
Properties summary
protected string $rootDir
#

Path to project root directory.

Path to project root directory.

protected Contrib\Bundle\CoverallsV1Bundle\Api\Jobs $api
#

Coveralls Jobs API.

Coveralls Jobs API.

protected Psr\Log\LoggerInterface $logger
#

Logger.

Logger.

php-coveralls API documentation generated by ApiGen 2.8.0