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
vagrantfile: | |
target: local | |
vm: | |
provider: | |
local: | |
box: puphpet/ubuntu1604-x64 | |
box_url: puphpet/ubuntu1604-x64 | |
box_version: 'false' | |
chosen_virtualizer: virtualbox | |
virtualizers: |
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 | |
namespace SulivanDotEu\ApiBundle\Parser; | |
use Nelmio\ApiDocBundle\DataTypes; | |
use Nelmio\ApiDocBundle\Parser\ValidationParser; | |
use Symfony\Component\Validator\Mapping\PropertyMetadata; | |
class SnakeCaseGroupsValidationParser extends ValidationParser | |
{ |
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
trait StatusTrait | |
{ | |
public static function ALL_STATUS($associative = false) | |
{ | |
$oClass = new \ReflectionClass(__CLASS__); | |
$all = $oClass->getConstants(); | |
$all = array_filter($all, | |
function ($value) { | |
return strpos($value, 'STATUS_') === 0; |
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 | |
/** | |
* Created by PhpStorm. | |
* User: Benjamin | |
* Date: 18-08-18 | |
* Time: 17:47 | |
*/ | |
namespace App\Maker; |
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
// To view the default settings, hold "alt" while clicking on the "Settings" button. | |
// For documentation on these settings, see: https://aka.ms/terminal-documentation | |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"defaultProfile": "{8b60d43f-c609-4b1d-9a6c-f7f7dac120b6}", | |
"profiles": { | |
"defaults": { | |
// Put settings here that you want to apply to all profiles | |
}, | |
"list": [ |
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 | |
namespace App\Tests\Behat; | |
use Behat\Behat\Context\Context; | |
use Doctrine\ORM\EntityManagerInterface; | |
use Doctrine\ORM\Tools\SchemaTool; | |
use Symfony\Bridge\Doctrine\DataFixtures\ContainerAwareLoader; |