Permalink
Browse files

bump to PHPStan 0.8, add fixes

  • Loading branch information...
TomasVotruba committed Aug 2, 2017
1 parent abb6520 commit 233662bebe44db2989d2b02a6c93066a31435b82
View
@@ -32,7 +32,7 @@
"require-dev": {
"tracy/tracy": "^2.4",
"phpunit/phpunit": "^6.0",
"phpstan/phpstan": "^0.7",
"phpstan/phpstan": "^0.8",
"symplify/easy-coding-standard": "^2.2.3"
},
"autoload": {
@@ -9,7 +9,6 @@
use ApiGen\Reflection\Tests\Reflection\Class_\ClassReflection\Source\AccessLevels;
use ApiGen\Reflection\Tests\Reflection\Class_\ClassReflection\Source\ParentClass;
use ApiGen\Reflection\Tests\Reflection\Class_\ClassReflection\Source\RichInterface;
use ApiGen\Reflection\Tests\Reflection\Class_\ClassReflection\Source\SomeTrait;
use ApiGen\Tests\AbstractContainerAwareTestCase;
abstract class AbstractReflectionClassTestCase extends AbstractContainerAwareTestCase
@@ -24,11 +23,6 @@
*/
protected $reflectionClassOfParent;
/**
* @var ClassReflectionInterface
*/
protected $reflectionClassOfTrait;
/**
* @var InterfaceReflectionInterface
*/
@@ -47,9 +41,6 @@ protected function setUp(): void
$this->reflectionClass = $classReflections[AccessLevels::class];
$this->reflectionClassOfParent = $classReflections[ParentClass::class];
$traitReflections = $reflectionStorage->getTraitReflections();
$this->reflectionClassOfTrait = $traitReflections[SomeTrait::class];
$interfaceReflections = $reflectionStorage->getInterfaceReflections();
$this->interfaceReflection = $interfaceReflections[RichInterface::class];
}
View
@@ -2,3 +2,4 @@ parameters:
ignoreErrors:
- "#Constant TEMP_DIR not found#"
- '#Call to an undefined method ApiGen\\Reflection\\Contract\\Reflection\\Partial\\AnnotationsInterface::getName\(\)#'
- '#Class Symfony\\Component\\ExpressionLanguage\\ExpressionLanguage not found and could not be autoloaded#'

0 comments on commit 233662b

Please sign in to comment.