Skip to content

Conversation

WyriHaximus
Copy link
Member

No description provided.

$keyFile = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'travis-key.php';

if (!file_exists($keyFile)) {
echo 'No key file find, copy key.sample.php to key.php and add access token from https://blog.travis-ci.com/2013-01-28-token-token-token/ to run examples.', PHP_EOL;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line exceeds 120 characters; contains 169 characters

]);

// Fetch the user/org given as first argument to this script
$baseStream = unwrapObservableFromPromise($githubClient->user($argv[1])->then(function (UserInterface $user) use ($argv) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line exceeds 120 characters; contains 122 characters

$keyFile = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'appveyor-key.php';

if (!file_exists($keyFile)) {
echo 'No key file found, copy key.sample.php to key.php and add API token from https://ci.appveyor.com/api-token to run examples.', PHP_EOL;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line exceeds 120 characters; contains 144 characters

return new Promise(function ($resolve, $reject) use ($command) {
$repo = false;
$this->appveyor->projects()->filter(function (ProjectInterface $project) use ($command) {
return $project->repositoryType() === 'github' && $project->repositoryName() === $command->getRepository();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line exceeds 120 characters; contains 123 characters


// Fetch the user/org given as first argument to this script
$baseStream = unwrapObservableFromPromise(
$githubClient->user($argv[1]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected 0 spaces before closing bracket; newline found

// Fetch the user/org given as first argument to this script
$baseStream = unwrapObservableFromPromise(
$githubClient->user($argv[1]
)->then(function (UserInterface $user) use ($argv) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Multi-line function call not indented correctly; expected 4 spaces but found 0


// Get all repositories for the given user
return $user->repositories();
}))->filter(function (Repository $repository) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Closing parenthesis of a multi-line function call must be on a line by itself

$keyFile = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'scrutinizer-token.php';

if (!file_exists($keyFile)) {
echo 'No key file find, copy token.sample.php to token.php and add a token from https://scrutinizer-ci.com/profile/applications to run examples.', PHP_EOL;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line exceeds 120 characters; contains 159 characters

@WyriHaximus WyriHaximus merged commit 1e903a3 into master Dec 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants