-
Application\Started
(inCommand::main()
) -
Application\Configured
(inCommand::handleArguments()
) -
Bootstrap\Finished
(inCommand::handleBootstrap()
) -
TestSuite\Loaded
(inBaseTestRunner::getTest()
) -
TestSuite\Configured
(inTestRunner::doRun()
, afterhandleConfiguration()
) -
TestSuite\Sorted
(inTestRunner::doRun()
) -
Extension\Loaded
(inTestRunner::doRun()
)
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 | |
interface Sleeper | |
{ | |
public function sleep(int $seconds): void; | |
} | |
final class SystemSleeper implements Sleeper | |
{ | |
public function sleep(int $seconds): void |
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
name: Regenerate documentation | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
setup: | |
name: Regenerate documentation |
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
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions | |
on: | |
push: | |
branch: master | |
name: Docker | |
jobs: | |
docker: |
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); | |
final class Dominoes | |
{ | |
public function maxLength(string $string): int | |
{ | |
/** @var Tile[] $tiles */ | |
$tiles = \array_map(function ($tile) { |
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); | |
final class FullDeck | |
{ | |
public function cards(): array | |
{ | |
static $cards; |
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); | |
final class Meagrams | |
{ | |
/** | |
* @var string[] | |
*/ | |
private $words; |
I hereby claim:
- I am localheinz on github.
- I am localheinz (https://keybase.io/localheinz) on keybase.
- I have a public key ASDTAW1l_75Ox6sSn-zaqbAzJdM34x_z9HObGxv7w7cm1Ao
To claim this, I am signing this object:
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 Foo; | |
class BarTest extends PHPUnit_Framework_TestCase | |
{ | |
protected function setUp() | |
{ | |
if (null === $this->providerBaz()) { |
NewerOlder