Skip to content

Commit bc7625b

Browse files
committed
initial setup and test for PHPRed
Signed-off-by: Derek Smart <derek@grindaga.com>
1 parent 2f513d1 commit bc7625b

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

src/PHPRed.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
namespace PHPRed;
3+
4+
class PHPRed
5+
{
6+
public function __construct()
7+
{
8+
9+
}
10+
}

tests/unit/PHPRedTest.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
namespace PHPRed;
3+
4+
/**
5+
* @covers \PHPRed\PHPRed
6+
*/
7+
class PHPRedTest extends \PHPUnit\Framework\TestCase
8+
{
9+
public function setup()
10+
{
11+
}
12+
13+
public function testCanInstantiate()
14+
{
15+
$phpred = new PHPRed();
16+
$this->assertInstanceOf(PHPRed::class, $phpred);
17+
}
18+
}

0 commit comments

Comments
 (0)