Created
April 15, 2017 07:29
-
-
Save TysonAndre/25851b45b321b00b11ab334f4bc0a3f9 to your computer and use it in GitHub Desktop.
Phan run of phpunit (using etsy/phan dev-master)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use \Phan\Issue; | |
/** | |
* This configuration will be read and overlayed on top of the | |
* default configuration. Command line arguments will be applied | |
* after this file is read. | |
* | |
* @see src/Phan/Config.php | |
* See Config for all configurable options. | |
* | |
* A Note About Paths | |
* ================== | |
* | |
* Files referenced from this file should be defined as | |
* | |
* ``` | |
* Config::projectPath('relative_path/to/file') | |
* ``` | |
* | |
* where the relative path is relative to the root of the | |
* project which is defined as either the working directory | |
* of the phan executable or a path passed in via the CLI | |
* '-d' flag. | |
*/ | |
return [ | |
// If true, missing properties will be created when | |
// they are first seen. If false, we'll report an | |
// error message. | |
"allow_missing_properties" => false, | |
// Allow null to be cast as any type and for any | |
// type to be cast to null. | |
"null_casts_as_any_type" => false, | |
// If enabled, scalars (int, float, bool, string, null) | |
// are treated as if they can cast to each other. | |
'scalar_implicit_cast' => false, | |
// If true, seemingly undeclared variables in the global | |
// scope will be ignored. This is useful for projects | |
// with complicated cross-file globals that you have no | |
// hope of fixing. | |
'ignore_undeclared_variables_in_global_scope' => false, | |
// Backwards Compatibility Checking | |
'backward_compatibility_checks' => false, | |
// If enabled, check all methods that override a | |
// parent method to make sure its signature is | |
// compatible with the parent's. This check | |
// can add quite a bit of time to the analysis. | |
'analyze_signature_compatibility' => true, | |
// Set to true in order to attempt to detect dead | |
// (unreferenced) code. Keep in mind that the | |
// results will only be a guess given that classes, | |
// properties, constants and methods can be referenced | |
// as variables (like `$class->$property` or | |
// `$class->$method()`) in ways that we're unable | |
// to make sense of. | |
'dead_code_detection' => false, | |
// Run a quick version of checks that takes less | |
// time | |
"quick_mode" => false, | |
// If true, then try to simplify AST into a form which improves Phan's type inference. | |
// E.g. rewrites `if (!is_string($foo)) { return; } b($foo);` | |
// into `if (is_string($foo)) {b($foo);} else {return;}` | |
// This may conflict with 'dead_code_detection' | |
// This slows down analysis noticeably. | |
"simplify_ast" => true, | |
// Enable or disable support for generic templated | |
// class types. | |
'generic_types_enabled' => true, | |
// By default, Phan will not analyze all node types | |
// in order to save time. If this config is set to true, | |
// Phan will dig deeper into the AST tree and do an | |
// analysis on all nodes, possibly finding more issues. | |
// | |
// See \Phan\Analysis::shouldVisit for the set of skipped | |
// nodes. | |
'should_visit_all_nodes' => true, | |
// Override if runkit.superglobal ini directive is used. | |
// See Phan\Config. | |
'runkit_superglobals' => [], | |
// Override to hardcode existence and types of (non-builtin) globals. | |
// Class names must be prefixed with '\\'. | |
'globals_type_map' => [], | |
// The minimum severity level to report on. This can be | |
// set to Issue::SEVERITY_LOW, Issue::SEVERITY_NORMAL or | |
// Issue::SEVERITY_CRITICAL. | |
'minimum_severity' => Issue::SEVERITY_LOW, | |
// Add any issue types (such as 'PhanUndeclaredMethod') | |
// here to inhibit them from being reported | |
'suppress_issue_types' => [ | |
'PhanParamSignatureMismatch', // PhanParamSignatureRealMismatch is more accurate. | |
'PhanDeprecatedClass', | |
'PhanDeprecatedFunction', | |
'PhanDeprecatedMethod', | |
], | |
// If empty, no filter against issues types will be applied. | |
// If non-empty, only issues within the list will be emitted | |
// by Phan. | |
'whitelist_issue_types' => [ | |
// 'PhanAccessMethodPrivate', | |
// 'PhanAccessMethodProtected', | |
// 'PhanAccessNonStaticToStatic', | |
// 'PhanAccessPropertyPrivate', | |
// 'PhanAccessPropertyProtected', | |
// 'PhanAccessSignatureMismatch', | |
// 'PhanAccessSignatureMismatchInternal', | |
// 'PhanAccessStaticToNonStatic', | |
// 'PhanCompatibleExpressionPHP7', | |
// 'PhanCompatiblePHP7', | |
// 'PhanContextNotObject', | |
// 'PhanDeprecatedClass', | |
// 'PhanDeprecatedFunction', | |
// 'PhanDeprecatedProperty', | |
// 'PhanEmptyFile', | |
// 'PhanNonClassMethodCall', | |
// 'PhanNoopArray', | |
// 'PhanNoopClosure', | |
// 'PhanNoopConstant', | |
// 'PhanNoopProperty', | |
// 'PhanNoopVariable', | |
// 'PhanParamRedefined', | |
// 'PhanParamReqAfterOpt', | |
// 'PhanParamSignatureMismatch', | |
// 'PhanParamSignatureMismatchInternal', | |
// 'PhanParamSpecial1', | |
// 'PhanParamSpecial2', | |
// 'PhanParamSpecial3', | |
// 'PhanParamSpecial4', | |
// 'PhanParamTooFew', | |
// 'PhanParamTooFewInternal', | |
// 'PhanParamTooMany', | |
// 'PhanParamTooManyInternal', | |
// 'PhanParamTypeMismatch', | |
// 'PhanParentlessClass', | |
// 'PhanRedefineClass', | |
// 'PhanRedefineClassInternal', | |
// 'PhanRedefineFunction', | |
// 'PhanRedefineFunctionInternal', | |
// 'PhanStaticCallToNonStatic', | |
// 'PhanSyntaxError', | |
// 'PhanTraitParentReference', | |
// 'PhanTypeArrayOperator', | |
// 'PhanTypeArraySuspicious', | |
// 'PhanTypeComparisonFromArray', | |
// 'PhanTypeComparisonToArray', | |
// 'PhanTypeConversionFromArray', | |
// 'PhanTypeInstantiateAbstract', | |
// 'PhanTypeInstantiateInterface', | |
// 'PhanTypeInvalidLeftOperand', | |
// 'PhanTypeInvalidRightOperand', | |
// 'PhanTypeMismatchArgument', | |
// 'PhanTypeMismatchArgumentInternal', | |
// 'PhanTypeMismatchDefault', | |
// 'PhanTypeMismatchForeach', | |
// 'PhanTypeMismatchProperty', | |
// 'PhanTypeMismatchReturn', | |
// 'PhanTypeMissingReturn', | |
// 'PhanTypeNonVarPassByRef', | |
// 'PhanTypeParentConstructorCalled', | |
// 'PhanTypeVoidAssignment', | |
// 'PhanUnanalyzable', | |
// 'PhanUndeclaredClass', | |
// 'PhanUndeclaredClassCatch', | |
// 'PhanUndeclaredClassConstant', | |
// 'PhanUndeclaredClassInstanceof', | |
// 'PhanUndeclaredClassMethod', | |
// 'PhanUndeclaredClassReference', | |
// 'PhanUndeclaredConstant', | |
// 'PhanUndeclaredExtendedClass', | |
// 'PhanUndeclaredFunction', | |
// 'PhanUndeclaredInterface', | |
// 'PhanUndeclaredMethod', | |
// 'PhanUndeclaredProperty', | |
// 'PhanUndeclaredStaticMethod', | |
// 'PhanUndeclaredStaticProperty', | |
// 'PhanUndeclaredTrait', | |
// 'PhanUndeclaredTypeParameter', | |
// 'PhanUndeclaredTypeProperty', | |
// 'PhanUndeclaredVariable', | |
// 'PhanUnreferencedClass', | |
// 'PhanUnreferencedConstant', | |
// 'PhanUnreferencedMethod', | |
// 'PhanUnreferencedProperty', | |
// 'PhanVariableUseClause', | |
], | |
// A list of files to include in analysis | |
'file_list' => [ | |
// 'vendor/phpunit/phpunit/src/Framework/TestCase.php', | |
], | |
// A file list that defines files that will be excluded | |
// from parsing and analysis and will not be read at all. | |
// | |
// This is useful for excluding hopelessly unanalyzable | |
// files that can't be removed for whatever reason. | |
'exclude_file_list' => [], | |
// The number of processes to fork off during the analysis | |
// phase. | |
'processes' => 1, | |
// A list of directories that should be parsed for class and | |
// method information. After excluding the directories | |
// defined in exclude_analysis_directory_list, the remaining | |
// files will be statically analyzed for errors. | |
// | |
// Thus, both first-party and third-party code being used by | |
// your application should be included in this list. | |
'directory_list' => [ | |
'src', | |
'vendor', | |
], | |
'exclude_file_regex' => '@(^/vendor/.*/(tests|Tests)/$)@', | |
// List of case-insensitive file extensions supported by Phan. | |
// (e.g. php, html, htm) | |
'analyzed_file_extensions' => [ | |
'php', | |
], | |
// A directory list that defines files that will be excluded | |
// from static analysis, but whose class and method | |
// information should be included. | |
// | |
// Generally, you'll want to include the directories for | |
// third-party code (such as "vendor/") in this list. | |
// | |
// n.b.: If you'd like to parse but not analyze 3rd | |
// party code, directories containing that code | |
// should be added to the `directory_list` as | |
// to `exclude_analysis_directory_list`. | |
"exclude_analysis_directory_list" => [ | |
'vendor/', | |
], | |
// A list of plugin files to execute | |
'plugins' => [ | |
// NOTE: src/Phan/Language/Internal/FunctionSignatureMap.php mixes value without key as return type with values having keys deliberately. | |
// '.phan/plugins/DuplicateArrayKeyPlugin.php', | |
// NOTE: This plugin only produces correct results when | |
// Phan is run on a single core (-j1). | |
// '.phan/plugins/UnusedSuppressionPlugin.php', | |
], | |
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src/Framework/Assert.php:2044 PhanUndeclaredProperty Reference to undeclared property \DOMNode->tagName | |
src/Framework/Assert.php:2045 PhanUndeclaredProperty Reference to undeclared property \DOMNode->tagName | |
src/Framework/Assert.php:2057 PhanUndeclaredProperty Reference to undeclared property \DOMNode->tagName | |
src/Framework/Assert.php:2064 PhanUndeclaredProperty Reference to undeclared property \DOMNode->name | |
src/Framework/Assert.php:2073 PhanUndeclaredProperty Reference to undeclared property \DOMNode->name | |
src/Framework/Assert.php:2074 PhanUndeclaredProperty Reference to undeclared property \DOMNode->tagName | |
src/Framework/Assert.php:2091 PhanUndeclaredProperty Reference to undeclared property \DOMNode->tagName | |
src/Framework/Assert/Functions.php:1325 PhanTypeMismatchReturn Returning type \PHPUnit\Framework\Constraint\Callback but callback() is declared to return callable | |
src/Framework/Constraint/ExceptionMessage.php:26 PhanTypeMismatchProperty Assigning string to property but \PHPUnit\Framework\Constraint\ExceptionMessage::expectedMessage is int | |
src/Framework/Constraint/ExceptionMessage.php:39 PhanTypeMismatchArgumentInternal Argument 2 (needle) is int but \strpos() takes string | |
src/Framework/Constraint/GreaterThan.php:23 PhanUndeclaredTypeProperty Property \PHPUnit\Framework\Constraint\GreaterThan::value has undeclared type \numeric | |
src/Framework/Constraint/GreaterThan.php:28 PhanUndeclaredTypeParameter Parameter of undeclared type \numeric | |
src/Framework/Constraint/IsJson.php:58 PhanTypeMismatchArgument Argument 1 (error) is int but \PHPUnit\Framework\Constraint\JsonMatchesErrorMessageProvider::determineJsonError() takes string defined at src/Framework/Constraint/JsonMatchesErrorMessageProvider.php:26 | |
src/Framework/Constraint/LessThan.php:23 PhanUndeclaredTypeProperty Property \PHPUnit\Framework\Constraint\LessThan::value has undeclared type \numeric | |
src/Framework/Constraint/LessThan.php:28 PhanUndeclaredTypeParameter Parameter of undeclared type \numeric | |
src/Framework/Error/Error.php:33 PhanTypeMismatchProperty Assigning string to property but \PHPUnit\Framework\Error\Error::file is null | |
src/Framework/Error/Error.php:34 PhanTypeMismatchProperty Assigning int to property but \PHPUnit\Framework\Error\Error::line is null | |
src/Framework/ExceptionWrapper.php:46 PhanTypeMismatchProperty Assigning string to property but \PHPUnit\Framework\ExceptionWrapper::file is null | |
src/Framework/ExceptionWrapper.php:47 PhanTypeMismatchProperty Assigning int to property but \PHPUnit\Framework\ExceptionWrapper::line is null | |
src/Framework/TestCase.php:667 PhanTypeMismatchArgument Argument 1 (useErrorHandler) is ?bool but \PHPUnit\Framework\TestCase::setUseErrorHandler() takes bool defined at src/Framework/TestCase.php:653 | |
src/Framework/TestCase.php:792 PhanUndeclaredConstant Reference to undeclared constant \PHPUNIT_COMPOSER_INSTALL | |
src/Framework/TestCase.php:798 PhanUndeclaredConstant Reference to undeclared constant \__PHPUNIT_PHAR__ | |
src/Framework/TestCase.php:862 PhanTypeMismatchProperty Assigning null to property but \PHPUnit\Framework\TestCase::result is \PHPUnit\Framework\TestResult | |
src/Framework/TestCase.php:916 PhanUndeclaredMethod Call to undeclared method \PHPUnit\Framework\IncompleteTest::getMessage | |
src/Framework/TestCase.php:919 PhanUndeclaredMethod Call to undeclared method \PHPUnit\Framework\SkippedTest::getMessage | |
src/Framework/TestCase.php:940 PhanTypeMismatchProperty Assigning null to property but \PHPUnit\Framework\TestCase::prophet is \Prophecy\Prophet | |
src/Framework/TestCase.php:1130 PhanParamTooMany Call with 1 arg(s) to \PHPUnit_Framework_MockObject_MockObject::__phpunit_verify() which only takes 0 arg(s) defined at vendor/phpunit/phpunit-mock-objects/src/MockObject.php:47 | |
src/Framework/TestCase.php:1402 PhanTypeMismatchArgumentInternal Argument 2 (locale) is int but \setlocale() takes array | |
src/Framework/TestCase.php:2109 PhanTypeComparisonToArray null to array comparison | |
src/Framework/TestCase.php:2110 PhanTypeMismatchProperty Assigning \PHPUnit_Framework_MockObject_Generator to property but \PHPUnit\Framework\TestCase::mockObjectGenerator is array | |
src/Framework/TestCase.php:2113 PhanTypeMismatchReturn Returning type array but getMockObjectGenerator() is declared to return \PHPUnit_Framework_MockObject_Generator | |
src/Framework/TestCase.php:2191 PhanTypeMismatchProperty Assigning null to property but \PHPUnit\Framework\TestCase::snapshot is \SebastianBergmann\GlobalState\Snapshot | |
src/Framework/TestFailure.php:49 PhanUndeclaredMethod Call to undeclared method \PHPUnit\Framework\SelfDescribing::isInIsolation | |
src/Framework/TestResult.php:236 PhanTypeMismatchArgument Argument 2 (t) is \PHPUnit\Framework\RiskyTest but \PHPUnit\Framework\TestFailure::__construct() takes \Throwable defined at src/Framework/TestFailure.php:41 | |
src/Framework/TestResult.php:247 PhanTypeMismatchArgument Argument 2 (t) is \PHPUnit\Framework\IncompleteTest but \PHPUnit\Framework\TestFailure::__construct() takes \Throwable defined at src/Framework/TestFailure.php:41 | |
src/Framework/TestResult.php:254 PhanTypeMismatchArgument Argument 2 (t) is \PHPUnit\Framework\SkippedTest but \PHPUnit\Framework\TestFailure::__construct() takes \Throwable defined at src/Framework/TestFailure.php:41 | |
src/Framework/TestResult.php:327 PhanTypeMismatchArgument Argument 2 (t) is \PHPUnit\Framework\IncompleteTest but \PHPUnit\Framework\TestFailure::__construct() takes \Throwable defined at src/Framework/TestFailure.php:41 | |
src/Framework/TestResult.php:334 PhanTypeMismatchArgument Argument 2 (t) is \PHPUnit\Framework\SkippedTest but \PHPUnit\Framework\TestFailure::__construct() takes \Throwable defined at src/Framework/TestFailure.php:41 | |
src/Framework/TestResult.php:669 PhanUndeclaredFunction Call to undeclared function \xdebug_start_function_monitor() | |
src/Framework/TestResult.php:693 PhanUndeclaredClassMethod Call to method __construct from undeclared class \PHP_Invoker | |
src/Framework/TestResult.php:694 PhanUndeclaredClassMethod Call to method invoke from undeclared class \PHP_Invoker | |
src/Framework/TestResult.php:698 PhanUndeclaredClassCatch Catching undeclared class \PHP_Invoker_TimeoutException | |
src/Framework/TestResult.php:700 PhanTypeMismatchArgument Argument 2 (e) is \PHPUnit_Framework_RiskyTestError but \PHPUnit\Framework\TestResult::addFailure() takes \PHPUnit\Framework\AssertionFailedError defined at src/Framework/TestResult.php:313 | |
src/Framework/TestResult.php:701 PhanUndeclaredClassMethod Call to method __construct from undeclared class \PHPUnit_Framework_RiskyTestError | |
src/Framework/TestResult.php:702 PhanUndeclaredClassMethod Call to method getMessage from undeclared class \PHP_Invoker_TimeoutException | |
src/Framework/TestResult.php:704 PhanUndeclaredVariable Variable $_timeout is undeclared | |
src/Framework/TestResult.php:710 PhanUndeclaredMethod Call to undeclared method \PHPUnit_Framework_MockObject_Exception::getMessage | |
src/Framework/TestResult.php:752 PhanUndeclaredFunction Call to undeclared function \xdebug_get_monitored_functions() | |
src/Framework/TestResult.php:753 PhanUndeclaredFunction Call to undeclared function \xdebug_stop_function_monitor() | |
src/Framework/TestResult.php:855 PhanTypeMismatchArgument Argument 2 (e) is \Exception|\PHPUnit\Exception|\PHPUnit\Framework\Exception|\PHPUnit\Framework\ExceptionWrapper|\RuntimeException|\SebastianBergmann\CodeCoverage\Exception|\Throwable|null|string but \PHPUnit\Framework\TestResult::addFailure() takes \PHPUnit\Framework\AssertionFailedError defined at src/Framework/TestResult.php:313 | |
src/Framework/TestResult.php:857 PhanTypeMismatchArgument Argument 2 (e) is \Exception|\PHPUnit\Exception|\PHPUnit\Framework\Exception|\PHPUnit\Framework\ExceptionWrapper|\RuntimeException|\SebastianBergmann\CodeCoverage\Exception|\Throwable|null|string but \PHPUnit\Framework\TestResult::addWarning() takes \PHPUnit\Framework\Warning defined at src/Framework/TestResult.php:290 | |
src/Framework/TestSuite.php:585 PhanTypeMismatchArgument Argument 1 (preserveGlobalState) is ?bool but \PHPUnit\Framework\TestCase::setPreserveGlobalState() takes bool defined at src/Framework/TestCase.php:1250 | |
src/Framework/TestSuite.php:799 PhanTypeMismatchReturn Returning type bool but testAt() is declared to return \PHPUnit\Framework\Test | |
src/Framework/TestSuite.php:863 PhanUndeclaredMethod Call to undeclared method \PHPUnit\Framework\Test::setDependencies | |
src/TextUI/Command.php:815 PhanTypeMissingReturn Method \PHPUnit\TextUI\Command::handleLoader is declared to return \PHPUnit\Runner\TestSuiteLoader but has no return value | |
src/TextUI/Command.php:1096 PhanUndeclaredMethod Call to undeclared method \PharIo\Manifest\Exception::getMessage | |
src/TextUI/TestRunner.php:149 PhanParamTooFew Call with 0 arg(s) to \PHPUnit\Runner\Filter\Factory::__construct() which requires 2 arg(s) defined at src/TextUI/TestRunner.php:149 | |
src/TextUI/TestRunner.php:190 PhanTypeMismatchArgument Argument 1 (suite) is \Countable|\PHPUnit\Framework\Test but \PHPUnit\TextUI\TestRunner::processSuiteFilters() takes \PHPUnit\Framework\TestSuite defined at src/TextUI/TestRunner.php:141 | |
src/TextUI/TestRunner.php:197 PhanUndeclaredMethod Call to undeclared method \PHPUnit\Framework\Test::setBackupGlobals | |
src/TextUI/TestRunner.php:201 PhanUndeclaredMethod Call to undeclared method \PHPUnit\Framework\Test::setBackupStaticAttributes | |
src/TextUI/TestRunner.php:205 PhanUndeclaredMethod Call to undeclared method \PHPUnit\Framework\Test::setbeStrictAboutChangesToGlobalState | |
src/TextUI/TestRunner.php:553 PhanUndeclaredMethod Call to undeclared method \SebastianBergmann\CodeCoverage\Exception::getMessage | |
src/TextUI/TestRunner.php:571 PhanUndeclaredMethod Call to undeclared method \SebastianBergmann\CodeCoverage\Exception::getMessage | |
src/TextUI/TestRunner.php:597 PhanUndeclaredMethod Call to undeclared method \SebastianBergmann\CodeCoverage\Exception::getMessage | |
src/TextUI/TestRunner.php:615 PhanUndeclaredMethod Call to undeclared method \SebastianBergmann\CodeCoverage\Exception::getMessage | |
src/TextUI/TestRunner.php:654 PhanUndeclaredMethod Call to undeclared method \SebastianBergmann\CodeCoverage\Exception::getMessage | |
src/Util/Blacklist.php:87 PhanTypeComparisonFromArray array to null comparison | |
src/Util/Filter.php:34 PhanUndeclaredConstant Reference to undeclared constant \__PHPUNIT_PHAR_ROOT__ | |
src/Util/Filter.php:72 PhanTypeMismatchArgumentInternal Argument 2 (needle) is bool but \strpos() takes string | |
src/Util/GlobalState.php:49 PhanUndeclaredConstant Reference to undeclared constant \__PHPUNIT_PHAR__ | |
src/Util/GlobalState.php:78 PhanTypeMismatchArgumentInternal Argument 1 (extension) is null but \ini_get_all() takes string | |
src/Util/Log/JUnit.php:266 PhanTypeMismatchArgumentInternal Argument 2 (value) is int but \DOMElement::setAttribute() takes string | |
src/Util/Log/JUnit.php:271 PhanTypeMismatchArgumentInternal Argument 2 (value) is int but \DOMElement::setAttribute() takes string | |
src/Util/Log/JUnit.php:276 PhanTypeMismatchArgumentInternal Argument 2 (value) is int but \DOMElement::setAttribute() takes string | |
src/Util/Log/JUnit.php:281 PhanTypeMismatchArgumentInternal Argument 2 (value) is int but \DOMElement::setAttribute() takes string | |
src/Util/Log/JUnit.php:286 PhanTypeMismatchArgumentInternal Argument 2 (value) is int but \DOMElement::setAttribute() takes string | |
src/Util/Log/JUnit.php:315 PhanUndeclaredMethod Call to undeclared method \PHPUnit\Framework\Test::getName | |
src/Util/Log/JUnit.php:347 PhanTypeMismatchArgumentInternal Argument 2 (value) is int but \DOMElement::setAttribute() takes string | |
src/Util/Log/JUnit.php:396 PhanTypeMissingReturn Method \PHPUnit\Util\Log\JUnit::setWriteDocument is declared to return string but has no return value | |
src/Util/Log/TeamCity.php:77 PhanUndeclaredMethod Call to undeclared method \PHPUnit\Framework\Test::getName | |
src/Util/Log/TeamCity.php:96 PhanUndeclaredMethod Call to undeclared method \PHPUnit\Framework\Test::getName | |
src/Util/Log/TeamCity.php:113 PhanUndeclaredMethod Call to undeclared method \PHPUnit\Framework\Test::getName | |
src/Util/Log/TeamCity.php:154 PhanUndeclaredMethod Call to undeclared method \PHPUnit\Framework\Test::getName | |
src/Util/Log/TeamCity.php:178 PhanUndeclaredMethod Call to undeclared method \PHPUnit\Framework\Test::getName | |
src/Util/Log/TeamCity.php:279 PhanUndeclaredMethod Call to undeclared method \PHPUnit\Framework\Test::getName | |
src/Util/Log/TeamCity.php:305 PhanUndeclaredMethod Call to undeclared method \PHPUnit\Framework\Test::getName | |
src/Util/PHP/AbstractPhpProcess.php:314 PhanTypeArraySuspicious Suspicious array access to bool | |
src/Util/PHP/AbstractPhpProcess.php:315 PhanTypeArraySuspicious Suspicious array access to bool | |
src/Util/PHP/AbstractPhpProcess.php:318 PhanTypeArraySuspicious Suspicious array access to bool | |
src/Util/PHP/AbstractPhpProcess.php:318 PhanUndeclaredMethod Call to undeclared method \PHPUnit\Framework\Test::setResult | |
src/Util/PHP/AbstractPhpProcess.php:319 PhanTypeArraySuspicious Suspicious array access to bool | |
src/Util/PHP/AbstractPhpProcess.php:319 PhanUndeclaredMethod Call to undeclared method \PHPUnit\Framework\Test::addToAssertionCount | |
src/Util/PHP/AbstractPhpProcess.php:321 PhanTypeArraySuspicious Suspicious array access to bool | |
src/Util/PHP/AbstractPhpProcess.php:364 PhanTypeMismatchArgument Argument 2 (e) is \Exception|\PHPUnit\Exception|\PHPUnit\Framework\Exception|\RuntimeException|\Throwable|string but \PHPUnit\Framework\TestResult::addWarning() takes \PHPUnit\Framework\Warning defined at src/Framework/TestResult.php:290 | |
src/Util/PHP/AbstractPhpProcess.php:370 PhanTypeMismatchArgument Argument 2 (e) is \Exception|\PHPUnit\Exception|\PHPUnit\Framework\Exception|\RuntimeException|\Throwable|string but \PHPUnit\Framework\TestResult::addFailure() takes \PHPUnit\Framework\AssertionFailedError defined at src/Framework/TestResult.php:313 | |
src/Util/RegularExpression.php:29 PhanTypeMismatchArgumentInternal Argument 3 (subpatterns) is null but \preg_match() takes array | |
src/Util/Test.php:219 PhanTypeMismatchArgument Argument 3 (previous) is \PharIo\Version\Exception but \PHPUnit\Framework\Warning::__construct() takes ?\Exception defined at src/Framework/Exception.php:41 | |
src/Util/Test.php:219 PhanUndeclaredMethod Call to undeclared method \PharIo\Version\Exception::getCode | |
src/Util/Test.php:219 PhanUndeclaredMethod Call to undeclared method \PharIo\Version\Exception::getMessage | |
src/Util/TestDox/ResultPrinter.php:40 PhanTypeMismatchProperty Assigning bool to property but \PHPUnit\Util\TestDox\ResultPrinter::testStatus is int | |
src/Util/TestDox/ResultPrinter.php:275 PhanUndeclaredMethod Call to undeclared method \PHPUnit\Framework\Test::getAnnotations | |
src/Util/TestDox/ResultPrinter.php:280 PhanUndeclaredMethod Call to undeclared method \PHPUnit\Framework\Test::getName | |
src/Util/TestDox/ResultPrinter.php:319 PhanTypeMismatchProperty Assigning null to property but \PHPUnit\Util\TestDox\ResultPrinter::currentTestMethodPrettified is string | |
src/Util/TestDox/XmlResultPrinter.php:165 PhanTypeMismatchProperty Assigning null to property but \PHPUnit\Util\TestDox\XmlResultPrinter::exception is \Exception|\PHPUnit\Framework\AssertionFailedError|\PHPUnit\Framework\Exception | |
src/Util/TestDox/XmlResultPrinter.php:183 PhanUndeclaredMethod Call to undeclared method \PHPUnit\Framework\Test::getGroups | |
src/Util/TestDox/XmlResultPrinter.php:196 PhanUndeclaredMethod Call to undeclared method \PHPUnit\Framework\Test::getName | |
src/Util/TestDox/XmlResultPrinter.php:198 PhanUndeclaredMethod Call to undeclared method \PHPUnit\Framework\Test::getName | |
src/Util/TestDox/XmlResultPrinter.php:199 PhanUndeclaredMethod Call to undeclared method \PHPUnit\Framework\Test::getStatus | |
src/Util/TestDox/XmlResultPrinter.php:200 PhanTypeMismatchArgumentInternal Argument 2 (value) is float but \DOMElement::setAttribute() takes string | |
src/Util/TestDox/XmlResultPrinter.php:201 PhanUndeclaredMethod Call to undeclared method \PHPUnit\Framework\Test::getSize | |
src/Util/TestDox/XmlResultPrinter.php:204 PhanUndeclaredMethod Call to undeclared method \PHPUnit\Framework\Test::getName |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment