New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.3.0 #47

Merged
merged 74 commits into from Sep 25, 2016
Commits
Jump to file or symbol
Failed to load files and symbols.
+2 −2
Diff settings

Always

Just for now

Viewing a subset of changes. View all

FIx `class_implements`, use autoload

  • Loading branch information...
emulienfou committed Sep 18, 2016
commit da8e01690ddc7ec09d32f2a58e83edf6eb253b71
@@ -61,7 +61,7 @@ public static function preProcessing(Compiler $compiler, array $params, $prepend
if (!$block) {
throw new CompilationException($compiler, 'An else block was found but it was not preceded by an if or other else-able construct');
}
$interfaces = class_implements($block['class'], false);
$interfaces = class_implements($block['class']);
if (in_array('Dwoo\IElseable', $interfaces) !== false) {
break;
}
@@ -49,7 +49,7 @@ public static function preProcessing(Compiler $compiler, array $params, $prepend
while (true) {
$preContent .= $compiler->removeTopBlock();
$block = &$compiler->getCurrentBlock();
$interfaces = class_implements($block['class'], false);
$interfaces = class_implements($block['class']);
if (in_array('Dwoo\IElseable', $interfaces) !== false) {
break;
}
ProTip! Use n and p to navigate between commits in a pull request.