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 Test\Feature; | |
use Shared\Domain\DomainEvent; | |
use Shared\Domain\EventSourcedAggregateRoot; | |
use Webmozart\Assert\Assert; | |
use function array_shift; |
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 | |
final class RegisterRepositoriesForAllEntitiesPass implements CompilerPassInterface | |
{ | |
/** {@inheritdoc} */ | |
public function process(ContainerBuilder $container) | |
{ | |
/** @var MappingDriver $metadata */ | |
$metadata = $container->get($this->mappingDriverServiceName()); | |
$entityManagerReference = new Reference('doctrine.orm.entity_manager'); |
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 | |
class Foo { | |
private $bar = 'baz'; | |
/** @var Baz @ORM\ManyToOne(targetEntity=Baz::class) */ | |
private $baz; | |
} | |
class Baz { | |
private $tab = 'taz'; |
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
[BC] REMOVED: Property Doctrine\ORM\AbstractQuery#$_resultSetMapping was removed | |
[BC] REMOVED: Property Doctrine\ORM\AbstractQuery#$_em was removed | |
[BC] REMOVED: Property Doctrine\ORM\AbstractQuery#$_hints was removed | |
[BC] REMOVED: Property Doctrine\ORM\AbstractQuery#$_hydrationMode was removed | |
[BC] REMOVED: Property Doctrine\ORM\AbstractQuery#$_queryCacheProfile was removed | |
[BC] REMOVED: Property Doctrine\ORM\AbstractQuery#$_expireResultCache was removed | |
[BC] REMOVED: Property Doctrine\ORM\AbstractQuery#$_hydrationCacheProfile was removed | |
[BC] REMOVED: Method Doctrine\ORM\AbstractQuery#_doExecute() was removed | |
[BC] REMOVED: Method Doctrine\ORM\ORMInvalidArgumentException::invalidEntityName() was removed | |
[BC] CHANGED: The parameter $associationMapping of Doctrine\ORM\ORMInvalidArgumentException::newEntityFoundThroughRelationship() changed from array to a non-contravariant Doctrine\ORM\Mapping\AssociationMetadata |
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
[BC] CHANGED: Type documentation for property Doctrine\DBAL\Connection#$_conn changed from \Doctrine\DBAL\Driver\Connection to \Doctrine\DBAL\Driver\Connection|null | |
[BC] CHANGED: Type documentation for property Doctrine\DBAL\Connections\MasterSlaveConnection#$connections changed from \Doctrine\DBAL\Driver\Connection[] to \Doctrine\DBAL\Driver\Connection[]|null[] | |
[BC] CHANGED: Type documentation for property Doctrine\DBAL\Connection#$_conn changed from \Doctrine\DBAL\Driver\Connection to \Doctrine\DBAL\Driver\Connection|null | |
[BC] CHANGED: Type documentation for property Doctrine\DBAL\Connection#$_conn changed from \Doctrine\DBAL\Driver\Connection to \Doctrine\DBAL\Driver\Connection|null | |
[BC] SKIPPED: Provided node "Symfony\Component\Console\Command\Command" is not class, but "interface" | |
[BC] SKIPPED: Provided node "Symfony\Component\Console\Command\Command" is not class, but "interface" | |
[BC] SKIPPED: Provided node "Symfony\Component\Console\Command\Command" is not class, but "interface" | |
[BC] SKIPPED: Provided |
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
:80 { | |
root /serve | |
} |
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
services: | |
- docker:dind | |
variables: | |
DOCKER_DRIVER: overlay2 | |
build-test-containers: | |
image: tiangolo/docker-with-compose | |
before_script: | |
- docker info |
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
[BC] REMOVED: Method Doctrine\ORM\ORMException::missingMappingDriverImpl() was removed | |
[BC] REMOVED: Method Doctrine\ORM\ORMException::namedQueryNotFound() was removed | |
[BC] REMOVED: Method Doctrine\ORM\ORMException::namedNativeQueryNotFound() was removed | |
[BC] REMOVED: Method Doctrine\ORM\ORMException::entityMissingForeignAssignedId() was removed | |
[BC] REMOVED: Method Doctrine\ORM\ORMException::entityMissingAssignedIdForField() was removed | |
[BC] REMOVED: Method Doctrine\ORM\ORMException::unrecognizedField() was removed | |
[BC] REMOVED: Method Doctrine\ORM\ORMException::unexpectedAssociationValue() was removed | |
[BC] REMOVED: Method Doctrine\ORM\ORMException::invalidOrientation() was removed | |
[BC] REMOVED: Method Doctrine\ORM\ORMException::invalidFlushMode() was removed | |
[BC] REMOVED: Method Doctrine\ORM\ORMException::entityManagerClosed() was removed |
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 Zend\Diactoros\Response; | |
use Zend\Diactoros\Server; | |
use Zend\Stratigility\MiddlewarePipe; | |
use function Zend\Stratigility\middleware; | |
require 'vendor/autoload.php'; | |
$app = new MiddlewarePipe(); |
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 Roave\BetterReflection\SourceLocator\Ast\Parser; | |
use PhpParser\ErrorHandler; | |
use PhpParser\NodeTraverser; | |
use PhpParser\NodeTraverserInterface; | |
use PhpParser\NodeVisitor\NameResolver; |