Skip to content

Instantly share code, notes, and snippets.

Avatar
🏡
Self-isolation

Lesnykh Ilia Aliance

🏡
Self-isolation
View GitHub Profile
@Aliance
Aliance / DTO\ItemListDTO.php
Created May 21, 2020
Add extra information for the list of objects while serializing via JMS
View DTO\ItemListDTO.php
<?php
declare(strict_types=1);
namespace AppBundle\DTO;
use AppBundle\Entity\Item;
use JMS\Serializer\Annotation as JMS;
/**
@Aliance
Aliance / GITHUB_INTEGRATION.md
Last active Mar 10, 2020
GitHub integration with Slack
View GITHUB_INTEGRATION.md

FYI, 8 простых шагов по настройке оповещений из гитхаба в слак:

@Aliance
Aliance / Collapser.md
Last active Dec 8, 2017
Collapser markdown for GitHub
View Collapser.md
<details>
 <summary>Summary Goes Here</summary>
 ...this is hidden, collapsable content...
</details>
Summary Goes Here ...this is hidden, collapsable content...
@Aliance
Aliance / UnitTestCase.php
Created Oct 29, 2017
Automatically unset all properties with PHPUnit.
View UnitTestCase.php
<?php
use PHPUnit\Framework\TestCase;
/**
* Base class for all unit tests.
*/
abstract class UnitTestCase extends TestCase
{
/**