Skip to content

Commit

Permalink
consistent brace style
Browse files Browse the repository at this point in the history
  • Loading branch information
igorw committed Jul 23, 2013
1 parent d38002d commit 8e43d32
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/php54.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ function transform_closure_this($code) {
]);
}

class NodeVisitor_ClosureThis extends \PHPParser_NodeVisitorAbstract
{
class NodeVisitor_ClosureThis extends \PHPParser_NodeVisitorAbstract {
private $method = null;
private $closure = null;

Expand Down
3 changes: 1 addition & 2 deletions tests/abstract_test_case.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

namespace galapagos;

abstract class abstract_test_case extends \PHPUnit_Framework_TestCase
{
abstract class abstract_test_case extends \PHPUnit_Framework_TestCase {
protected function getTests($directory, $fileExtension) {
$it = new \RecursiveDirectoryIterator($directory);
$it = new \RecursiveIteratorIterator($it, \RecursiveIteratorIterator::LEAVES_ONLY);
Expand Down
3 changes: 1 addition & 2 deletions tests/php54/closure_this_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

use galapagos\abstract_test_case;

class closure_this_test extends abstract_test_case
{
class closure_this_test extends abstract_test_case {
/** @dataProvider provide_tests */
public function test_transform($name, $code, $expected) {
$this->assertSame(
Expand Down

0 comments on commit 8e43d32

Please sign in to comment.