Skip to content

Conversation

@Jurigag
Copy link
Contributor

@Jurigag Jurigag commented Jun 23, 2017

There was composer.lock file added to git, idk why exactly. I removed it because it shouldn't be on repo.

}
);
}

Copy link
Member

Choose a reason for hiding this comment

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

This one fails PHPCS.

@Jurigag
Copy link
Contributor Author

Jurigag commented Jun 25, 2017

Okay fixes done, not sure about failing test, seems no related really. It was passing already this test so maybe rerun it in travis?

Oh i see i can do it myself.

@Jurigag
Copy link
Contributor Author

Jurigag commented Jun 25, 2017

Anyone have anything more to add? @sergeyklay @niden ?

Maybe i should add some tests to it?

@niden niden merged commit 0b8fa49 into phalcon:3.x Jun 25, 2017
@niden
Copy link
Member

niden commented Jun 25, 2017

Thanks Juri!

@sergeyklay
Copy link
Contributor

@Jurigag Could you please return back the composer.lock file

@sergeyklay
Copy link
Contributor

@sergeyklay
Copy link
Contributor

@Jurigag Also can you update the Wiki

Copy link
Contributor

@sergeyklay sergeyklay left a comment

Choose a reason for hiding this comment

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

@Jurigag Also cold you take a look at my comments

*/
$this->getDI()->getShared('queue')->put($toNotify);
/** @var Beanstalk $queue */
$queue = $this->getDI()->getShared('queue');
Copy link
Contributor

Choose a reason for hiding this comment

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

$queue = singleton('queue');

$queue = $this->getDI()->getShared('queue');
$queue->choose('notifications');
/** @var DiscordComponent $discord */
$discord = $this->getDI()->getShared('discord');
Copy link
Contributor

Choose a reason for hiding this comment

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

$discord = singleton('discord');

*/
$this->getDI()->getShared('queue')->put($toNotify);
/** @var Beanstalk $queue */
$queue = $this->getDI()->getShared('queue');
Copy link
Contributor

Choose a reason for hiding this comment

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

$queue = singleton('queue');

$history->save();
if ($this->hasUpdated('accepted') && $this->accepted == 'Y') {
/** @var DiscordComponent $discord */
$discord = $this->getDI()->getShared('discord');
Copy link
Contributor

@sergeyklay sergeyklay Jun 26, 2017

Choose a reason for hiding this comment

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

$discord = singleton('discord');

$queue->choose('notifications');
$queue->put($toNotify);
/** @var DiscordComponent $discord */
$discord = $this->getDI()->getShared('discord');
Copy link
Contributor

Choose a reason for hiding this comment

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

$discord = singleton('discord');

function () {
$config = container('config')->discord;

return new DiscordComponent($config);
Copy link
Contributor

Choose a reason for hiding this comment

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

DiscordService. ServiceProvider not ComponentProvider right?

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.

3 participants