I hereby claim:
- I am oqq on github.
- I am oqq (https://keybase.io/oqq) on keybase.
- I have a public key ASBqKNYOvCghs2bYs59OduFjQ8iP0oUpbJtFd048B4oXTAo
To claim this, I am signing this object:
<?php | |
$iterator1 = new \AppendIterator(); | |
$iterator2 = new \AppendIterator(); | |
$events = new \ArrayIterator(['event']); | |
$iterator1->append($events); | |
$iterator2->append($events); | |
// without this foreach, i will not hang |
#!/usr/bin/env php | |
<?php declare(strict_types=1); | |
$projectName = basename(getcwd()); | |
echo <<<EOT | |
+ Starting unit tests for \033[1m\033[37;44m ${projectName} \033[0m. | |
EOT; |
<?php | |
declare(strict_types = 1); | |
namespace Acme\Infrastructure\MongoDb; | |
use MongoDB\Client; | |
use MongoDB\Collection; | |
class MongoConnection |
<?php declare(strict_types = 1); | |
namespace Acme\Projection\Document; | |
use Acme\Domain\Document\Event\DocumentWasCreated; | |
use Acme\Domain\Document\Event\DocumentContentWasUpdated; | |
use Prooph\EventStore\EventStore; | |
use Prooph\EventStore\Projection\ReadModel; | |
final class DocumentProjectionRunner |
I hereby claim:
To claim this, I am signing this object:
export http_proxy=`scutil --proxy | awk '\ | |
/HTTPEnable/ { enabled = $3; } \ | |
/HTTPProxy/ { server = $3; } \ | |
/HTTPPort/ { port = $3; } \ | |
END { if (enabled == "1") { print "http://" server ":" port; } }'` | |
export https_proxy=`scutil --proxy | awk '\ | |
/HTTPSEnable/ { enabled = $3; } \ | |
/HTTPSProxy/ { server = $3; } \ | |
/HTTPSPort/ { port = $3; } \ |
<?php | |
declare(strict_types = 1); | |
namespace Acme\Middleware; | |
use Interop\Http\ServerMiddleware\DelegateInterface; | |
use Interop\Http\ServerMiddleware\MiddlewareInterface; | |
use Prooph\Common\Messaging\MessageFactory; | |
use Prooph\Psr7Middleware\MetadataGatherer; |
<?php | |
declare(strict_types=1); | |
namespace Prooph\ServiceBus\Plugin; | |
use Prooph\Common\Event\ActionEvent; | |
use Prooph\ServiceBus\CommandBus; | |
use Prooph\ServiceBus\EventBus; | |
use Prooph\ServiceBus\MessageBus; |
<?php | |
namespace PHPSTORM_META { | |
override(\Prophecy\Argument::type(0), | |
map([ | |
'' => '@', | |
]) | |
); | |
override(\Prophecy\Argument::exact(0), |