WIP: Doctrine collection interface implementation #1

Draft
chicory wants to merge 1 commits from feature/doctrine-collection-interface-implementation into develop
3 changed files with 0 additions and 41 deletions
Showing only changes of commit 0686f22a19 - Show all commits

View File

@ -2,7 +2,6 @@ name: Run code tests
run-name: Run code tests
on:
push:
workflow_dispatch:
jobs:
Run-code-test:

View File

@ -1,13 +0,0 @@
<?php
declare(strict_types=1);
namespace Chicory\PackageTemplate;
class ExampleClass
{
public function sayHello(): string
{
return 'Hello';
}
}

View File

@ -1,27 +0,0 @@
<?php
declare(strict_types=1);
namespace Chicory\Tests\PackageTemplate;
use Chicory\PackageTemplate\ExampleClass;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\TestCase;
#[CoversClass(ExampleClass::class)]
class ExampleClassTest extends TestCase
{
public ExampleClass $exampleClass;
protected function setUp(): void
{
$this->exampleClass = new ExampleClass();
parent::setUp();
}
public function testExampleClass(): void
{
$this->assertEquals('Hello', $this->exampleClass->sayHello());
}
}