<details>
<summary>Summary Goes Here</summary>
...this is hidden, collapsable content...
</details>
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use PHPUnit\Framework\TestCase; | |
/** | |
* Base class for all unit tests. | |
*/ | |
abstract class UnitTestCase extends TestCase | |
{ | |
/** |
FYI, 8 простых шагов по настройке оповещений из гитхаба в слак:
- добавляете email интеграцию ( https://DOMAIN.slack.com/apps/A0F81496D-email )
- в
post to channel
выбираетеprivate to you
- вписываете описание, например
Notifications from github
- указываете имя бота, например
Github
- добавляете иконку, например https://s3-us-west-2.amazonaws.com/slack-files2/avatars/2016-08-15/69493433745_7e0ca8bcd7eae89b6b99_48.png
- После добавления интеграции – получаете персональный email от слака.
- Идёте на гитхаб, в раздел Emails ( https://github.com/settings/emails ) и добавляете туда полученный адрес.
- Переходите в раздел Notifications ( https://github.com/settings/notifications ), выбираете у нужных событий галочки Email, в списке выбираете новый email. PROFIT!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace AppBundle\DTO; | |
use AppBundle\Entity\Item; | |
use JMS\Serializer\Annotation as JMS; | |
/** |
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: