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 | |
| declare (strict_types=1); | |
| namespace Spec\App\Domain; | |
| use App\Domain\Task; | |
| use App\Domain\TaskDescription; | |
| use App\Domain\TaskId; | |
| class TaskExamples |
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 | |
| declare (strict_types=1); | |
| namespace Spec\App\Domain; | |
| use App\Domain\Task; | |
| use App\Domain\TaskDescription; | |
| use App\Domain\TaskId; | |
| class TaskExamples |
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 Spec\App\Infrastructure\EntryPoint\Api; | |
| use App\Application\AddTask\AddTask; | |
| use App\Application\CommandBus; | |
| use App\Domain\InvalidTaskDescription; | |
| use App\Infrastructure\EntryPoint\Api\AddTaskController; | |
| use PhpSpec\ObjectBehavior; | |
| use Symfony\Component\HttpFoundation\Request; |
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 Spec\App\Infrastructure\EntryPoint\Api; | |
| use App\Application\AddTask\AddTask; | |
| use App\Application\CommandBus; | |
| use App\Domain\InvalidTaskDescription; | |
| use App\Infrastructure\EntryPoint\Api\AddTaskController; | |
| use PhpSpec\ObjectBehavior; | |
| use Symfony\Component\HttpFoundation\Request; |
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 Spec\App\Domain; | |
| use App\Domain\InvalidTaskDescription; | |
| use App\Domain\TaskDescription; | |
| use PhpSpec\ObjectBehavior; | |
| /** | |
| * @mixin TaskDescription |
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 | |
| declare(strict_types=1); | |
| namespace App\Katas\PrimeFactors; | |
| class PrimeFactors | |
| { | |
| public function decompose(int $number): array |
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 | |
| declare(strict_types=1); | |
| namespace Tests\App\Katas\PrimeFactors; | |
| use App\Katas\PrimeFactors\PrimeFactors; | |
| use PHPUnit\Framework\TestCase; | |
| final class PrimeFactorsTest extends TestCase |
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 | |
| declare(strict_types=1); | |
| namespace Tests\App\Katas\PrimeFactors; | |
| use App\Katas\PrimeFactors\PrimeFactors; | |
| use PHPUnit\Framework\TestCase; | |
| final class PrimeFactorsTest extends TestCase |
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 | |
| declare(strict_types=1); | |
| namespace App\Katas\PrimeFactors; | |
| class PrimeFactors | |
| { | |
| public function decompose(?int $number = null) |
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 | |
| declare(strict_types=1); | |
| namespace App\Katas\PrimeFactors; | |
| class PrimeFactors | |
| { | |
| public function decompose(?int $number = null) |
NewerOlder