Issues (11)

test/IncTest.php (1 issue)

1
<?php
2
namespace Aerophant\RamdaTest;
3
4
use function Aerophant\Ramda\inc;
5
use PHPUnit\Framework\TestCase;
6
7
class IncTest extends TestCase
8
{
9
  public function testInc()
10
  {
11
    $value = 10;
0 ignored issues
show
The assignment to $value is dead and can be removed.
Loading history...
12
    $expect = 11;
13
    $actual = inc()(10);
14
    $this->assertEquals($expect, $actual);
15
  }
16
}
17