Skip to content

Commit

Permalink
Merge branch 'release/1.2.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
koriym committed Jul 16, 2014
2 parents 95a6107 + 0dcae3f commit 52e9996
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ before_install:

script:
- phpunit --coverage-text --coverage-clover=coverage.clover
- output=$(php php-cs-fixer.phar fix -v --dry-run --level=psr2 --fixers=-psr0 .); if [[ $output ]]; then while read
- output=$(php php-cs-fixer.phar fix -v --dry-run --level=psr2 --fixers=-psr0 src); if [[ $output ]]; then while read
-r line; do echo -e "\e[00;31m$line\e[00m"; done <<< "$output"; false; fi;

after_script:
Expand Down
39 changes: 17 additions & 22 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Matcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class Matcher extends AbstractMatcher implements Matchable
*
* @var Reader
*/
static private $annotationReader;
private static $annotationReader;

/**
* @var Reader
Expand Down
2 changes: 1 addition & 1 deletion tests/CompilerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use PHPParser_PrettyPrinter_Default;
use PHPParser_BuilderFactory;

class BuilderTest extends \PHPUnit_Framework_TestCase
class CompilerTest extends \PHPUnit_Framework_TestCase
{
/**
* @var Bind
Expand Down
7 changes: 7 additions & 0 deletions tests/MatcherTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,4 +282,11 @@ public function testIsLogicalXorTreeArgs()
$result = $match($class, Matcher::TARGET_CLASS);
$this->assertTrue($result);
}

public function testSetAnnotationReader()
{
$reader = new Reader;
$result = $this->matcher->setAnnotationReader($reader);
$this->assertNull($result);
}
}
1 change: 0 additions & 1 deletion tests/MethodInterceptorChangeArgumentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,3 @@ protected function setUp()
$this->invocation = new ReflectiveMethodInvocation($target, $args);
}
}

0 comments on commit 52e9996

Please sign in to comment.