Skip to content

Commit

Permalink
cs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Sep 29, 2016
1 parent bb597e9 commit 7cfba57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions spec/Suite/Jit/Parser.spec.php
Expand Up @@ -22,7 +22,7 @@
describe("->parse()", function () {

it("parses consistently", function () {

$sample = file_get_contents('spec/Fixture/Jit/Parser/Sample.php');
$parsed = Parser::parse($sample);
expect(Parser::unparse($parsed))->toBe($sample);
Expand Down Expand Up @@ -341,7 +341,7 @@
expect($check)->toBe(5);
});

it("parses declare", function() {
it("parses declare", function () {

$filename = 'spec/Fixture/Jit/Parser/Declare';
$content = file_get_contents($filename . '.php');
Expand All @@ -351,10 +351,9 @@

$parsed = Parser::parse($content);
expect(Parser::unparse($parsed))->toBe($content);

});

it("parses declare as block", function() {
it("parses declare as block", function () {

$filename = 'spec/Fixture/Jit/Parser/DeclareAsBlock';
$content = file_get_contents($filename . '.php');
Expand All @@ -364,7 +363,6 @@

$parsed = Parser::parse($content);
expect(Parser::unparse($parsed))->toBe($content);

});

});
Expand Down
2 changes: 1 addition & 1 deletion src/Jit/Parser.php
Expand Up @@ -152,7 +152,7 @@ protected function _parser($content, $lines = false)
break;
case T_DECLARE:
$this->_declareNode();
break;
break;
case T_NAMESPACE:
$this->_namespaceNode();
break;
Expand Down

0 comments on commit 7cfba57

Please sign in to comment.