enneagramennegrmarmMyers–Briggsmayos brigglesJerryjerruspellspeelspringspringaSpringerspringa
This file contains hidden or 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 Tests\AppBundle\DependencyInjection\Compiler; | |
use AppBundle\Security\DeepRoleChecker; | |
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; | |
class OverrideServiceCompilerPassTest extends KernelTestCase | |
{ | |
public function testRoleCanEditResourceInjection(): void |
This file contains hidden or 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 AppBundle\DependencyInjection\Compiler; | |
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; | |
use Symfony\Component\DependencyInjection\ContainerBuilder; | |
class OverrideServiceCompilerPass implements CompilerPassInterface | |
{ | |
public function process(ContainerBuilder $container): void |
This file contains hidden or 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 DS\App\Console\Commands; | |
use DS\App\Models\ConciergeRssFeed; | |
use GuzzleHttp\Client; | |
use GuzzleHttp\Promise; | |
use GuzzleHttp\Psr7\Response; | |
use Illuminate\Console\Command; |
This file contains hidden or 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 DS\App\Console\Commands; | |
use DS\App\Models\ConciergeRssFeed; | |
use GuzzleHttp\Client; | |
use GuzzleHttp\Promise; | |
use GuzzleHttp\Psr7\Response; | |
use Illuminate\Console\Command; |
This file contains hidden or 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
#!/bin/bash | |
declare -r php_path=/usr/local/bin/php | |
if [ -h "$php_path" ] | |
then | |
[[ "$(readlink $php_path)" =~ /(php[0-9]{2})/ ]] && brew unlink ${BASH_REMATCH[1]} | |
else | |
echo "$php_path is not a symlink" | |
fi |
This file contains hidden or 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 Illuminate\Database\Migrations\Migration; | |
use Illuminate\Database\Schema\Blueprint; | |
use Illuminate\Support\Facades\Schema; | |
class MediaModuleUpdate extends Migration | |
{ | |
/** | |
* Run the migrations. |
This file contains hidden or 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
Switch to doctrine2 | |
Move all the doctrine customizations to external modules that we host on an independent repo and load through composer | |
Change entity definition to use the most implicit and linear configuration possible (relations should take one line, not 10) | |
Remove the Resourceable behavior and implement a resource column type in its place | |
When designing the data, create an ER diagram | |
Define a common code style for php | |
Create a shared .php_cs |