Skip to content

Commit 5a40bf7

Browse files
committed
Fix test and syntax
1 parent 2c9a7d6 commit 5a40bf7

6 files changed

Lines changed: 2 additions & 8 deletions

File tree

src/Core/JVM/Invoker/Invokable.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,8 @@ function () use ($fullName) {
270270
$opcode === OpCode::_areturn ||
271271
$opcode === OpCode::_freturn ||
272272
$opcode === OpCode::_dreturn ||
273-
$opcode === OpCode::_ireturn
273+
$opcode === OpCode::_ireturn ||
274+
$opcode === OpCode::_lreturn
274275
) {
275276
if ($isEnabledTrace) {
276277
$this->javaClassInvoker->getJavaClass()->appendDebug($debugTraces);

src/Kernel/Mnemonics/_dcmpg.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPJava\Kernel\Mnemonics;
33

4-
use PHPJava\Exceptions\NotImplementedException;
54
use PHPJava\Kernel\Types\_Int;
65
use PHPJava\Utilities\Extractor;
76

src/Kernel/Mnemonics/_fcmpg.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPJava\Kernel\Mnemonics;
33

4-
use PHPJava\Exceptions\NotImplementedException;
54
use PHPJava\Kernel\Types\_Int;
65
use PHPJava\Utilities\Extractor;
76

src/Kernel/Mnemonics/_fcmpl.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPJava\Kernel\Mnemonics;
33

4-
use PHPJava\Exceptions\NotImplementedException;
54
use PHPJava\Kernel\Types\_Int;
65
use PHPJava\Utilities\Extractor;
76

tests/DoubleOfTypesCompreingTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ public function testLessThanAndEquals()
3939
$this->assertEquals("Hello World!\n", $result);
4040
}
4141

42-
4342
public function testGraterThan()
4443
{
4544
ob_start();
@@ -69,5 +68,4 @@ public function testGraterThanAndEquals()
6968
$result = ob_get_clean();
7069
$this->assertEquals("Hello World!\n", $result);
7170
}
72-
7371
}

tests/FloatOfTypesCompreingTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ public function testLessThanAndEquals()
3939
$this->assertEquals("Hello World!\n", $result);
4040
}
4141

42-
4342
public function testGraterThan()
4443
{
4544
ob_start();
@@ -69,5 +68,4 @@ public function testGraterThanAndEquals()
6968
$result = ob_get_clean();
7069
$this->assertEquals("Hello World!\n", $result);
7170
}
72-
7371
}

0 commit comments

Comments
 (0)