Passed
Push — master ( 8dafd8...721d14 )
by Jesse
02:43 queued 58s
created
example/example.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-require __DIR__ . '/../vendor/autoload.php';
3
+require __DIR__.'/../vendor/autoload.php';
4 4
 
5 5
 $emitter = new \donatj\Printf\LexemeEmitter();
6 6
 $parser  = new \donatj\Printf\Parser($emitter);
@@ -9,12 +9,12 @@  discard block
 block discarded – undo
9 9
 
10 10
 $lexemes = $emitter->getLexemes();
11 11
 
12
-foreach( $lexemes as $lexeme ) {
13
-	echo $lexeme->getLexItemType() . ' -> ';
12
+foreach ($lexemes as $lexeme) {
13
+	echo $lexeme->getLexItemType().' -> ';
14 14
 	echo var_export($lexeme->getVal(), true);
15 15
 
16
-	if( $lexeme instanceof \donatj\Printf\ArgumentLexeme ) {
17
-		echo ' arg type: ' . $lexeme->argType();
16
+	if ($lexeme instanceof \donatj\Printf\ArgumentLexeme) {
17
+		echo ' arg type: '.$lexeme->argType();
18 18
 	}
19 19
 
20 20
 	echo PHP_EOL;
Please login to merge, or discard this patch.