Skip to content

Commit 34cf92f

Browse files
committed
WIP commit
1 parent e8b629a commit 34cf92f

19 files changed

Lines changed: 6 additions & 21 deletions

β€Ž.gitignoreβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ composer.lock
77
.phpunit.result.cache
88
tests/caches/
99
!tests/caches/.gitkeep
10+
.php_cs.cache

β€Žcomposer.jsonβ€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
}
2424
},
2525
"require-dev": {
26-
"phpunit/phpunit": "^8.0"
26+
"phpunit/phpunit": "^8.0",
27+
"squizlabs/php_codesniffer": "^3.4",
28+
"friendsofphp/php-cs-fixer": "^2.14"
2729
}
2830
}

β€Žsrc/core/JavaClassInvoker.phpβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,5 +163,4 @@ public function addToSpecialInvokedList(string $name, string $signature): self
163163
$this->specialInvoked[$name][] = $signature;
164164
return $this;
165165
}
166-
167166
}

β€Žsrc/imitation/java/io/PrintStream.phpβ€Ž

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,11 @@ public function print($arg)
4141
echo $arg;
4242
return;
4343
}
44-
4544
}
4645

4746
public function append($string)
4847
{
4948
$this->sequence .= $string;
5049
return $this;
5150
}
52-
5351
}

β€Žsrc/imitation/java/lang/ArrayIndexOutOfBoundsException.phpβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@
55

66
class ArrayIndexOutOfBoundsException extends IndexOutOfBoundsException
77
{
8-
98
}

β€Žsrc/imitation/java/lang/ClassNotFoundException.phpβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33

44
class ClassNotFoundException extends ReflectiveOperationException
55
{
6-
76
}

β€Žsrc/imitation/java/lang/Exception.phpβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33

44
class Exception extends Throwable
55
{
6-
76
}

β€Žsrc/imitation/java/lang/IndexOutOfBoundsException.phpβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33

44
class IndexOutOfBoundsException extends RuntimeException
55
{
6-
76
}

β€Žsrc/imitation/java/lang/NoSuchFieldException.phpβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33

44
class NoSuchFieldException extends ReflectiveOperationException
55
{
6-
76
}

β€Žsrc/imitation/java/lang/NoSuchMethodException.phpβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33

44
class NoSuchMethodException extends ReflectiveOperationException
55
{
6-
76
}

0 commit comments

Comments
Β (0)