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 App\Bridge\Nettrine\Dbal; | |
use Nettrine\DBAL\Events\ContainerAwareEventManager as NettrineContainerAwareEventManager; | |
final class ContainerAwareEventManager extends NettrineContainerAwareEventManager | |
{ |
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 | |
require __DIR__ . '/../vendor/autoload.php'; | |
$duplicates = (static function (array $paths) { | |
$directories = [[]]; | |
foreach ($paths as $path) { | |
$directories[] = (static function (string $path) { | |
$process = Symfony\Component\Process\Process::fromShellCommandline('git ls-tree -r --name-only HEAD "$TREE_PATH"'); |