add phpunit windows support

This commit is contained in:
crazywhalecc
2022-08-22 20:54:14 +08:00
parent 2e61e2a366
commit 15383a6b92
7 changed files with 88 additions and 12 deletions

View File

@@ -0,0 +1,20 @@
<?php
declare(strict_types=1);
namespace ZM\Store;
class MockAtomic
{
private int $num = 0;
public function set(int $num)
{
$this->num = $num;
}
public function get(): int
{
return $this->num;
}
}