Passed
Push — master ( 070791...9f6147 )
by Edward
02:54
created
examples/SimpleExpr/src/Grammar/SymbolType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 
5 5
 abstract class SymbolType
6 6
 {
7
-    public const NT_ROOT          = 0x00; // Root symbol fot LL(1) parser
7
+    public const NT_ROOT = 0x00; // Root symbol fot LL(1) parser
8 8
 
9 9
     public const T_PLUS            = 0x01; // +
10 10
     public const T_STAR            = 0x02; // *
Please login to merge, or discard this patch.
src/Lexer/TokenMatcherTemplate.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -30,19 +30,19 @@
 block discarded – undo
30 30
         CharBufferInterface $buffer,
31 31
         TokenFactoryInterface $tokenFactory
32 32
     ): TokenMatcherContextInterface {
33
-        $onConstruct = function (): void {
33
+        $onConstruct = function(): void {
34 34
             unset($this->token);
35 35
         };
36
-        $onSetNewToken = function (int $tokenType) use ($tokenFactory): void {
36
+        $onSetNewToken = function(int $tokenType) use ($tokenFactory): void {
37 37
             $this->token = $tokenFactory->createToken($tokenType);
38 38
         };
39
-        $onGetToken = function (): Token {
39
+        $onGetToken = function(): Token {
40 40
             return $this->getToken();
41 41
         };
42
-        $onSetMode = function (string $mode): void {
42
+        $onSetMode = function(string $mode): void {
43 43
             $this->mode = $mode;
44 44
         };
45
-        $onGetMode = function (): string {
45
+        $onGetMode = function(): string {
46 46
             return $this->mode;
47 47
         };
48 48
 
Please login to merge, or discard this patch.