Created
October 16, 2019 17:39
-
-
Save rlerdorf/69eac9b37ced1cadc08ed4be0ee84f40 to your computer and use it in GitHub Desktop.
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
system/src/Grav/Common/Assets.php:201 PhanCompatiblePHP7 Expression may not be PHP 7 compatible | |
system/src/Grav/Common/Backup/Backups.php:120 PhanPossiblyNonClassMethodCall Call to method getTimestamp on type \DateTime|false that could be a non-object | |
system/src/Grav/Common/Backup/Backups.php:124 PhanPossiblyNonClassMethodCall Call to method format on type \DateTime|false that could be a non-object | |
system/src/Grav/Common/Backup/Backups.php:230 PhanPossiblyInfiniteRecursionSameParams purge() is calling itself with the same parameters it was called with. This may cause infinite recursion (Phan does not check for changes to global or shared state). | |
system/src/Grav/Common/Backup/Backups.php:240 PhanPossiblyInfiniteRecursionSameParams purge() is calling itself with the same parameters it was called with. This may cause infinite recursion (Phan does not check for changes to global or shared state). | |
system/src/Grav/Common/Backup/Backups.php:250 PhanPossiblyInfiniteRecursionSameParams purge() is calling itself with the same parameters it was called with. This may cause infinite recursion (Phan does not check for changes to global or shared state). | |
system/src/Grav/Common/Cache.php:267 PhanDeprecatedClass Using a deprecated class \Doctrine\Common\Cache\MemcacheCache defined at vendor/doctrine/cache/lib/Doctrine/Common/Cache/MemcacheCache.php:15 | |
system/src/Grav/Common/Config/Setup.php:171 PhanAccessPropertyStaticAsNonStatic Accessing static property \Grav\Common\Config\Setup::$environments as non static | |
system/src/Grav/Common/Data/Blueprint.php:264 PhanParamSignatureMismatch Declaration of function loadFile(string $filename) : string should be compatible with function loadFile(string $filename) : array defined in vendor/rockettheme/toolbox/Blueprints/src/BlueprintForm.php:40 | |
system/src/Grav/Common/Data/BlueprintSchema.php:213 PhanTypeMismatchReturn Returning type null but filterArray() is declared to return array | |
system/src/Grav/Common/Data/BlueprintSchema.php:298 PhanPluginPrintfVariableFormatString Code ($language->translate('GRAV.FORM.MISSING_REQUIRED_FIELD', null, true) . ' %s') has a dynamic format string that could not be inferred by Phan | |
system/src/Grav/Common/Data/Data.php:248 PhanTypeMismatchArgument Argument 1 ($data) is array but \RocketTheme\Toolbox\File\FileInterface::save() takes string defined at vendor/rockettheme/toolbox/File/src/FileInterface.php:98 | |
system/src/Grav/Common/Data/Validation.php:60 PhanUndeclaredStaticMethod Static call to undeclared method \Grav\Common\Data\Validation::typeYaml | |
system/src/Grav/Common/Debugger.php:47 PhanStaticPropIsStaticType Static property \Grav\Common\Debugger::$instance is declared to have type static, but the only instance is shared among all subclasses (Did you mean \Grav\Common\Debugger) | |
system/src/Grav/Common/Debugger.php:406 PhanTypeMismatchArgument Argument 1 ($type) is null but \DebugBar\JavascriptRenderer::getAssets() takes string defined at vendor/maximebf/debugbar/src/DebugBar/JavascriptRenderer.php:663 | |
system/src/Grav/Common/Debugger.php:440 PhanNonClassMethodCall Call to method getName on non-class type string | |
system/src/Grav/Common/Debugger.php:441 PhanTypeMismatchArgument Argument 1 ($collector) is string but \DebugBar\StandardDebugBar::addCollector() takes \DebugBar\DataCollector\DataCollectorInterface defined at vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:59 | |
system/src/Grav/Common/Debugger.php:461 PhanTypeMismatchReturn Returning type null but getCollector() is declared to return \DebugBar\DataCollector\DataCollectorInterface | |
system/src/Grav/Common/Debugger.php:525 PhanTypeMismatchDeclaredParamNullable Doc-block of $message in profile is phpdoc param type string which is not a permitted replacement of the nullable param type ?string declared in the signature ('?T' should be documented as 'T|null' or '?T') | |
system/src/Grav/Common/Debugger.php:545 PhanUndeclaredConstant Reference to undeclared constant \TIDEWAYS_XHPROF_FLAGS_NO_BUILTINS | |
system/src/Grav/Common/Debugger.php:545 PhanUndeclaredFunction Call to undeclared function \tideways_xhprof_enable() | |
system/src/Grav/Common/Debugger.php:553 PhanTypeMismatchDeclaredParamNullable Doc-block of $message in stopProfiling is phpdoc param type string which is not a permitted replacement of the nullable param type ?string declared in the signature ('?T' should be documented as 'T|null' or '?T') | |
system/src/Grav/Common/Debugger.php:562 PhanUndeclaredFunction Call to undeclared function \tideways_xhprof_disable() | |
system/src/Grav/Common/Debugger.php:1003 PhanTypeMismatchArgument Argument 1 ($collector) is \DebugBar\DataCollector\AssetProvider|\DebugBar\DataCollector\DataCollectorInterface|\DebugBar\DataCollector\MessagesAggregateInterface|\DebugBar\DataCollector\MessagesCollector|\DebugBar\DataCollector\Renderable|\Psr\Log\AbstractLogger|\Psr\Log\LoggerInterface but \Grav\Common\Debugger::addCollector() takes string defined at system/src/Grav/Common/Debugger.php:438 | |
system/src/Grav/Common/Filesystem/Folder.php:186 PhanTypeMismatchReturn Returning type null but shift() is declared to return string | |
system/src/Grav/Common/Filesystem/RecursiveDirectoryFilterIterator.php:65 PhanUndeclaredMethod Call to undeclared method \Iterator::getChildren | |
system/src/Grav/Common/GPM/Licenses.php:61 PhanTypeMismatchArgument Argument 1 ($data) is array|array{licenses:array<string,string>}|non-empty-array<mixed,mixed> but \RocketTheme\Toolbox\File\FileInterface::save() takes string defined at vendor/rockettheme/toolbox/File/src/FileInterface.php:98 | |
system/src/Grav/Common/GPM/Remote/Plugins.php:28 PhanTypeMismatchArgument Argument 1 ($repository) is string but \Grav\Common\GPM\Remote\AbstractPackageCollection::__construct() takes null defined at system/src/Grav/Common/GPM/Remote/AbstractPackageCollection.php:42 | |
system/src/Grav/Common/GPM/Remote/Plugins.php:28 PhanTypeMismatchArgument Argument 3 ($callback) is callable but \Grav\Common\GPM\Remote\AbstractPackageCollection::__construct() takes null defined at system/src/Grav/Common/GPM/Remote/AbstractPackageCollection.php:42 | |
system/src/Grav/Common/GPM/Remote/Themes.php:28 PhanTypeMismatchArgument Argument 1 ($repository) is string but \Grav\Common\GPM\Remote\AbstractPackageCollection::__construct() takes null defined at system/src/Grav/Common/GPM/Remote/AbstractPackageCollection.php:42 | |
system/src/Grav/Common/GPM/Remote/Themes.php:28 PhanTypeMismatchArgument Argument 3 ($callback) is callable but \Grav\Common\GPM\Remote\AbstractPackageCollection::__construct() takes null defined at system/src/Grav/Common/GPM/Remote/AbstractPackageCollection.php:42 | |
system/src/Grav/Common/Grav.php:50 PhanStaticPropIsStaticType Static property \Grav\Common\Grav::$instance is declared to have type ?static, but the only instance is shared among all subclasses (Did you mean ?\Grav\Common\Grav) | |
system/src/Grav/Common/Grav.php:131 PhanPossiblyNonClassMethodCall Call to method offsetSet on type ?\Grav\Common\Grav|\Grav\Common\Grav that could be a non-object | |
system/src/Grav/Common/Grav.php:131 PhanPossiblyNonClassMethodCall Call to method offsetSet on type ?\Grav\Common\Grav|\Grav\Common\Grav|null that could be a non-object | |
system/src/Grav/Common/Grav.php:517 PhanParamTooMany Call with 1 arg(s) to \Grav\Common\Service\AccountsServiceProvider::__construct() which only takes 0 arg(s) defined at system/src/Grav/Common/Service/AccountsServiceProvider.php:24 | |
system/src/Grav/Common/Helpers/Excerpts.php:29 PhanTypeArraySuspiciousNullable Suspicious array access to nullable array|null | |
system/src/Grav/Common/Helpers/Truncator.php:47 PhanTypeMismatchArgumentNullableInternal Argument 1 ($oldnode) is ?\DOMNode but \DOMNode::removeChild() takes \DOMNode (expected type to be non-nullable) | |
system/src/Grav/Common/Helpers/Truncator.php:81 PhanTypeMismatchArgument Argument 2 ($container) is \DOMNode but \Grav\Common\Helpers\Truncator::getCleanedHTML() takes \DOMDocument defined at system/src/Grav/Common/Helpers/Truncator.php:192 | |
system/src/Grav/Common/Helpers/Truncator.php:102 PhanTypeMismatchArgumentNullableInternal Argument 1 ($oldnode) is ?\DOMNode but \DOMNode::removeChild() takes \DOMNode (expected type to be non-nullable) | |
system/src/Grav/Common/Helpers/Truncator.php:126 PhanTypeMismatchArgument Argument 2 ($container) is \DOMNode but \Grav\Common\Helpers\Truncator::getCleanedHTML() takes \DOMDocument defined at system/src/Grav/Common/Helpers/Truncator.php:192 | |
system/src/Grav/Common/Inflector.php:75 PhanTypeMismatchReturn Returning type false but pluralize() is declared to return string | |
system/src/Grav/Common/Iterator.php:142 PhanTypeMismatchReturn Returning type int but indexOf() is declared to return bool|string | |
system/src/Grav/Common/Language/Language.php:160 PhanTypeMismatchReturn Returning type string but setDefault() is declared to return bool | |
system/src/Grav/Common/Language/Language.php:303 PhanUndeclaredVariableDim Variable $extensions was undeclared, but array fields are being added to it. | |
system/src/Grav/Common/Language/Language.php:480 PhanPluginPrintfVariableFormatString Code $translation has a dynamic format string that could not be inferred by Phan | |
system/src/Grav/Common/Page/Collection.php:232 PhanTypeMismatchArgument Argument 5 ($sort_flags) is string but \Grav\Common\Page\Pages::sortCollection() takes int|null defined at system/src/Grav/Common/Page/Pages.php:675 | |
system/src/Grav/Common/Page/Collection.php:337 PhanTypeMismatchArgument Argument 1 ($date) is true but \Grav\Common\Utils::date2timestamp() takes string defined at system/src/Grav/Common/Utils.php:1130 | |
system/src/Grav/Common/Page/Flex/PageCollection.php:46 PhanUndeclaredMethod Call to undeclared method \Grav\Framework\Flex\Interfaces\FlexIndexInterface::getRoot | |
system/src/Grav/Common/Page/Flex/PageIndex.php:60 PhanUndeclaredProperty Reference to undeclared property \Grav\Framework\Flex\Pages\FlexPageIndex->_root | |
system/src/Grav/Common/Page/Flex/PageObject.php:226 PhanAccessMethodInternal Cannot access internal method \Grav\Framework\Flex\FlexDirectory::getBlueprint() of namespace \Grav\Framework\Flex defined at system/src/Grav/Framework/Flex/FlexDirectory.php:170 from namespace \Grav\Common\Page\Flex | |
system/src/Grav/Common/Page/Flex/PageObject.php:230 PhanAccessMethodInternal Cannot access internal method \Grav\Framework\Flex\FlexDirectory::getBlueprint() of namespace \Grav\Framework\Flex defined at system/src/Grav/Framework/Flex/FlexDirectory.php:170 from namespace \Grav\Common\Page\Flex | |
system/src/Grav/Common/Page/Flex/PageObject.php:276 PhanUndeclaredMethod Call to undeclared method \Grav\Framework\Flex\Interfaces\FlexIndexInterface::getRoot | |
system/src/Grav/Common/Page/Flex/PageObject.php:352 PhanTypeInvalidDimOffset Invalid offset "basename" of array type array{name:mixed,value:mixed,item-key:string,filename:mixed,extension:mixed,type:'dir',modified:mixed,size:int,symlink:false} | |
system/src/Grav/Common/Page/Flex/PageObject.php:352 PhanTypeMismatchArgument Argument 1 ($haystack) is null but \Grav\Common\Utils::contains() takes string defined at system/src/Grav/Common/Utils.php:192 | |
system/src/Grav/Common/Page/Flex/PageObject.php:505 PhanUndeclaredMethod Call to undeclared method \Grav\Framework\Flex\Interfaces\FlexObjectInterface::children | |
system/src/Grav/Common/Page/Flex/PageObject.php:514 PhanPossiblyNonClassMethodCall Call to method getStorageKey on type ?''|?'0'|?0|?0.0|?\Grav\Framework\Flex\Interfaces\FlexObjectInterface|?array{}|?false that could be a non-object | |
system/src/Grav/Common/Page/Flex/PageStorage.php:85 PhanUndeclaredMethod Call to undeclared method \Grav\Framework\File\MarkdownFile::frontmatter | |
system/src/Grav/Common/Page/Page.php:274 PhanTypeMismatchProperty Assigning null to property but \Grav\Common\Page\Page->header is \stdClass | |
system/src/Grav/Common/Page/Page.php:905 PhanParamSignatureMismatch Declaration of function value(string $name, mixed $default = null) : mixed should be compatible with function value(string $name, mixed|null $default = null, mixed|null $separator = null) : mixed defined in system/src/Grav/Common/Page/Interfaces/PageContentInterface.php:82 | |
system/src/Grav/Common/Page/Page.php:905 PhanParamSignatureRealMismatchTooFewParameters Declaration of function value($name, $default = null) should be compatible with function value($name, $default = null, $separator = null) (the method override accepts 2 parameter(s), but the overridden method can accept 3) defined in system/src/Grav/Common/Page/Interfaces/PageContentInterface.php:82 | |
system/src/Grav/Common/Page/Page.php:1222 PhanParamSignatureMismatch Declaration of function media(\Grav\Common\Page\Media $var = null) : \Grav\Common\Page\Media should be compatible with function media(\Grav\Common\Media\Interfaces\MediaCollectionInterface|null $var = null) : \Grav\Common\Media\Interfaces\MediaCollectionInterface defined in system/src/Grav/Common/Page/Interfaces/PageContentInterface.php:90 | |
system/src/Grav/Common/Page/Page.php:2031 PhanParamSignatureMismatch Declaration of function path(string $var = null) : null|string should be compatible with function path(?string $var = null) : null|string defined in system/src/Grav/Common/Page/Interfaces/PageRoutableInterface.php:126 | |
system/src/Grav/Common/Page/Page.php:2639 PhanParamSignatureRealMismatchReturnType Declaration of function exists() should be compatible with function exists() : bool (method returning '' cannot override method returning 'bool') defined in system/src/Grav/Common/Page/Interfaces/PageContentInterface.php:251 | |
system/src/Grav/Common/Page/Pages.php:711 PhanUndeclaredMethod Call to undeclared method \Grav\Framework\Flex\Interfaces\FlexObjectInterface::initialize | |
system/src/Grav/Common/Page/Pages.php:841 PhanPossiblyNonClassMethodCall Call to method first on type \Grav\Common\Page\Collection|null that could be a non-object | |
system/src/Grav/Common/Page/Pages.php:1061 PhanTypeMismatchArgumentNullable Argument 4 ($showAll) is ?''|?'0'|?0|?0.0|?array{}|?bool but \Grav\Common\Page\Pages::getList() takes bool|true defined at system/src/Grav/Common/Page/Pages.php:1029 (expected type to be non-nullable) | |
system/src/Grav/Common/Page/Pages.php:1082 PhanUndeclaredProperty Reference to undeclared property \RocketTheme\Toolbox\Event\Event->types (Did you mean $types) | |
system/src/Grav/Common/Page/Pages.php:1089 PhanUndeclaredProperty Reference to undeclared property \RocketTheme\Toolbox\Event\Event->types (Did you mean $types) | |
system/src/Grav/Common/Page/Pages.php:1412 PhanUndeclaredMethod Call to undeclared method \Grav\Framework\Flex\Interfaces\FlexTranslateInterface::initialize | |
system/src/Grav/Common/Page/Pages.php:1421 PhanUndeclaredMethod Call to undeclared method \Grav\Framework\Flex\Interfaces\FlexTranslateInterface::getFlexKey | |
system/src/Grav/Common/Page/Pages.php:1423 PhanUndeclaredMethod Call to undeclared method \Grav\Framework\Flex\Interfaces\FlexTranslateInterface::slug | |
system/src/Grav/Common/Plugins.php:81 PhanUndeclaredMethod Call to undeclared method \Grav\Common\Plugin::getFormFieldTypes | |
system/src/Grav/Common/Processors/InitializeProcessor.php:165 PhanNoopArrayAccess Unused array offset fetch | |
system/src/Grav/Common/Processors/PagesProcessor.php:40 PhanUndeclaredProperty Reference to undeclared property \RocketTheme\Toolbox\Event\Event->page (Did you mean $page) | |
system/src/Grav/Common/Processors/PagesProcessor.php:43 PhanUndeclaredProperty Reference to undeclared property \RocketTheme\Toolbox\Event\Event->page (Did you mean $page) | |
system/src/Grav/Common/Processors/PagesProcessor.php:45 PhanUndeclaredProperty Reference to undeclared property \RocketTheme\Toolbox\Event\Event->page (Did you mean $page) | |
system/src/Grav/Common/Processors/PluginsProcessor.php:25 PhanNoopArrayAccess Unused array offset fetch | |
system/src/Grav/Common/Processors/PluginsProcessor.php:27 PhanNoopArrayAccess Unused array offset fetch | |
system/src/Grav/Common/Processors/RequestProcessor.php:45 PhanUndeclaredMethod Call to undeclared method \RocketTheme\Toolbox\Event\Event::getResponse | |
system/src/Grav/Common/Scheduler/Job.php:60 PhanTypeMismatchArgumentInternal Argument 1 ($obj) is callable but \spl_object_hash() takes object | |
system/src/Grav/Common/Scheduler/Job.php:303 PhanTypeMismatchArgument Argument 1 ($command) is string but \Symfony\Component\Process\Process::__construct() takes array defined at vendor/symfony/process/Process.php:140 | |
system/src/Grav/Common/Scheduler/Job.php:402 PhanPluginAlwaysReturnMethod Method \Grav\Common\Scheduler\Job::exec has a return type of string, but may fail to return a value | |
system/src/Grav/Common/Scheduler/Job.php:402 PhanTypeMissingReturn Method \Grav\Common\Scheduler\Job::exec is declared to return string but has no return value | |
system/src/Grav/Common/Scheduler/Job.php:474 PhanUndeclaredClassInCallable Reference to undeclared class \Grav\Plugin\Email\Utils in callable \Grav\Plugin\Email\Utils::sendEmail | |
system/src/Grav/Common/Scheduler/Job.php:479 PhanUndeclaredClassMethod Call to method sendEmail from undeclared class \Grav\Plugin\Email\Utils (Did you mean class \Grav\Common\Utils) | |
system/src/Grav/Common/Scheduler/Scheduler.php:261 PhanTypeMismatchArgument Argument 1 ($command) is 'crontab -l' but \Symfony\Component\Process\Process::__construct() takes array defined at vendor/symfony/process/Process.php:140 | |
system/src/Grav/Common/Security.php:65 PhanPossiblyNonClassMethodCall Call to method header on type \Grav\Common\Page\Interfaces\PageInterface|null that could be a non-object | |
system/src/Grav/Common/Security.php:66 PhanPossiblyNonClassMethodCall Call to method value on type \Grav\Common\Page\Interfaces\PageInterface|null that could be a non-object | |
system/src/Grav/Common/Security.php:73 PhanPossiblyNonClassMethodCall Call to method route on type \Grav\Common\Page\Interfaces\PageInterface|null that could be a non-object | |
system/src/Grav/Common/Security.php:75 PhanPossiblyNonClassMethodCall Call to method filePathClean on type \Grav\Common\Page\Interfaces\PageInterface|null that could be a non-object | |
system/src/Grav/Common/Twig/TokenParser/TwigTokenParserCache.php:40 PhanAccessMethodInternal Cannot access internal method \Twig\ExpressionParser::parseExpression() of namespace \Twig defined at vendor/twig/twig/src/ExpressionParser.php:72 from namespace \Grav\Common\Twig\TokenParser | |
system/src/Grav/Common/Twig/Twig.php:194 PhanUndeclaredMethod Call to undeclared method \Twig\Extension\ExtensionInterface::setDateFormat | |
system/src/Grav/Common/Uri.php:253 PhanTypeMismatchReturn Returning type null but query() is declared to return array|string | |
system/src/Grav/Common/Uri.php:1317 PhanTypeMismatchArgumentInternal Argument 2 ($filter) is string but \filter_var() takes int | |
system/src/Grav/Common/User/DataUser/User.php:108 PhanUndeclaredMethod Call to undeclared method \RocketTheme\Toolbox\File\FileInterface::filename | |
system/src/Grav/Common/User/DataUser/User.php:115 PhanUndeclaredMethod Call to undeclared method \RocketTheme\Toolbox\File\FileInterface::filename | |
system/src/Grav/Common/User/DataUser/User.php:117 PhanUndeclaredMethod Call to undeclared method \RocketTheme\Toolbox\File\FileInterface::filename | |
system/src/Grav/Common/User/DataUser/User.php:130 PhanTypeMismatchArgument Argument 1 ($data) is associative-array<mixed,mixed> but \RocketTheme\Toolbox\File\FileInterface::save() takes string defined at vendor/rockettheme/toolbox/File/src/FileInterface.php:98 | |
system/src/Grav/Common/User/FlexUser/User.php:608 PhanTypeMismatchArgumentNullable Argument 1 ($path) is ?string but \Grav\Common\Page\Media::__construct() takes string defined at system/src/Grav/Common/Page/Media.php:31 (expected type to be non-nullable) | |
system/src/Grav/Common/User/FlexUser/User.php:635 PhanTypeArraySuspicious Suspicious array access to null | |
system/src/Grav/Common/User/FlexUser/UserCollection.php:60 PhanParamSignatureMismatch Declaration of function find(string $query, array|array<int,string> $fields = null) : \Grav\Common\User\FlexUser\User|\Grav\Common\User\Interfaces\UserInterface should be compatible with function find(string $value, string $field = 'id') : \Grav\Framework\Flex\FlexObject|null defined in system/src/Grav/Framework/Flex/FlexCollection.php:477 | |
system/src/Grav/Common/User/User.php:88 PhanRedefineClass Class \Grav\Common\User\User defined at system/src/Grav/Common/User/User.php:88 was previously defined as Class \Grav\Common\User\User at system/src/Grav/Common/User/User.php:26 | |
system/src/Grav/Common/Utils.php:767 PhanTypeMismatchArgument Argument 2 ($default) is false but \Grav\Common\Utils::getMimeByExtension() takes string defined at system/src/Grav/Common/Utils.php:726 | |
system/src/Grav/Common/Utils.php:828 PhanTypeMismatchArgument Argument 2 ($default) is false but \Grav\Common\Utils::getExtensionByMime() takes string defined at system/src/Grav/Common/Utils.php:784 | |
system/src/Grav/Common/Utils.php:1235 PhanTypeMismatchDimFetch When fetching an array index from a value of type string[], found an array index of type bool|false, but expected the index to be of type int|string | |
system/src/Grav/Common/Utils.php:1540 PhanParamSuspiciousOrder Argument #2 of this call to \stripos is typically a literal or constant but isn't, but argument #1 (which is typically a variable) is a literal or constant. The arguments may be in the wrong order. | |
system/src/Grav/Console/Cli/LogViewerCommand.php:54 PhanPluginPrintfIncompatibleArgumentTypeWeak Format string "viewing last %s entries in <white>%s</white>" refers to argument #1 as %s, so type string is expected. However, sprintf was passed the type 20 (which is weaker than string) | |
system/src/Grav/Console/Cli/PageSystemValidatorCommand.php:163 PhanNoopArrayAccess Unused array offset fetch | |
system/src/Grav/Console/Cli/PageSystemValidatorCommand.php:203 PhanTypeMismatchArgument Argument 1 ($old) is string but \Grav\Console\Cli\PageSystemValidatorCommand::check() takes array defined at system/src/Grav/Console/Cli/PageSystemValidatorCommand.php:250 | |
system/src/Grav/Console/Cli/ServerCommand.php:96 PhanPossiblyNonClassMethodCall Call to method isRunning on type ?''|?'0'|?0|?0.0|?\Symfony\Component\Process\Process|?array{}|?false that could be a non-object | |
system/src/Grav/Console/Gpm/DirectInstallCommand.php:122 PhanTypeMismatchArgumentNullableInternal Argument 1 ($filename) is ?string but \file_exists() takes string (expected type to be non-nullable) | |
system/src/Grav/Console/Gpm/DirectInstallCommand.php:126 PhanTypeMismatchArgumentNullable Argument 1 ($zip_file) is ?string but \Grav\Common\GPM\Installer::unZip() takes string defined at system/src/Grav/Common/GPM/Installer.php:174 (expected type to be non-nullable) | |
system/src/Grav/Console/Gpm/DirectInstallCommand.php:233 PhanTypeMismatchArgumentNullable Argument 1 ($zip) is ?string but \Grav\Common\GPM\Installer::install() takes string defined at system/src/Grav/Common/GPM/Installer.php:81 (expected type to be non-nullable) | |
system/src/Grav/Console/Gpm/DirectInstallCommand.php:292 PhanTypeMismatchArgumentNullable Argument 1 ($zip) is ?string but \Grav\Common\GPM\Installer::install() takes string defined at system/src/Grav/Common/GPM/Installer.php:81 (expected type to be non-nullable) | |
system/src/Grav/Console/Gpm/IndexCommand.php:181 PhanUndeclaredVariable Variable $list is undeclared | |
system/src/Grav/Console/Gpm/IndexCommand.php:256 PhanPluginUnreachableCode Unreachable statement detected | |
system/src/Grav/Console/Gpm/UninstallCommand.php:106 PhanTypeMismatchArgument Argument 2 ($package) is 0|\Grav\Common\GPM\Common\Package|\Grav\Common\GPM\Local\Package|array{}|int|list<string>|string but \Grav\Console\Gpm\UninstallCommand::checkDestination() takes \Grav\Common\GPM\Remote\Package defined at system/src/Grav/Console/Gpm/UninstallCommand.php:246 | |
system/src/Grav/Console/Gpm/UninstallCommand.php:112 PhanTypeMismatchArgument Argument 2 ($package) is 0|\Grav\Common\GPM\Common\Package|\Grav\Common\GPM\Local\Package|array{}|int|list<string>|string but \Grav\Console\Gpm\UninstallCommand::uninstallPackage() takes \Grav\Common\GPM\Remote\Package defined at system/src/Grav/Console/Gpm/UninstallCommand.php:133 | |
system/src/Grav/Console/Gpm/UpdateCommand.php:134 PhanUndeclaredVariableDim Variable $list_type was undeclared, but array fields are being added to it. | |
system/src/Grav/Console/Gpm/UpdateCommand.php:178 PhanTypeMismatchArgumentInternal Argument 1 ($input) is int but \str_pad() takes string | |
system/src/Grav/Framework/Cache/Adapter/ChainCache.php:160 PhanTypeMismatchReturn Returning type float|int but doGetMultiple() is declared to return array | |
system/src/Grav/Framework/Collection/AbstractFileCollection.php:218 PhanTypeMismatchReturn Returning type float|int but doInitializeChildren() is declared to return array | |
system/src/Grav/Framework/Collection/AbstractFileCollection.php:230 PhanUndeclaredMethod Call to undeclared method \RecursiveDirectoryIterator::getUrl | |
system/src/Grav/Framework/ContentBlock/ContentBlock.php:91 PhanPluginPrintfVariableFormatString Code $this->tokenTemplate has a dynamic format string that could not be inferred by Phan | |
system/src/Grav/Framework/ContentBlock/ContentBlock.php:285 PhanPluginPrintfIncompatibleArgumentTypeWeak Format string "Unsupported version %s" refers to argument #1 as %s, so type string is expected. However, sprintf was passed the type 1|int (which is weaker than string) | |
system/src/Grav/Framework/File/Formatter/CsvFormatter.php:75 PhanTypeComparisonFromArray array to false comparison | |
system/src/Grav/Framework/File/Formatter/CsvFormatter.php:100 PhanTypeMismatchArgumentInternalProbablyReal Argument 2 ($replace) is null but \str_replace() takes array|string | |
system/src/Grav/Framework/Filesystem/Filesystem.php:21 PhanStaticPropIsStaticType Static property \Grav\Framework\Filesystem\Filesystem::$default is declared to have type static, but the only instance is shared among all subclasses (Did you mean \Grav\Framework\Filesystem\Filesystem) | |
system/src/Grav/Framework/Filesystem/Filesystem.php:24 PhanStaticPropIsStaticType Static property \Grav\Framework\Filesystem\Filesystem::$unsafe is declared to have type static, but the only instance is shared among all subclasses (Did you mean \Grav\Framework\Filesystem\Filesystem) | |
system/src/Grav/Framework/Filesystem/Filesystem.php:27 PhanStaticPropIsStaticType Static property \Grav\Framework\Filesystem\Filesystem::$safe is declared to have type static, but the only instance is shared among all subclasses (Did you mean \Grav\Framework\Filesystem\Filesystem) | |
system/src/Grav/Framework/Flex/Flex.php:147 PhanTypeMismatchReturn Returning type \Grav\Framework\Object\ObjectCollection but getMixedCollection() is declared to return \Grav\Framework\Flex\Interfaces\FlexCollectionInterface | |
system/src/Grav/Framework/Flex/Flex.php:256 PhanUndeclaredVariable Variable $option is undeclared (Did you mean $options) | |
system/src/Grav/Framework/Flex/FlexCollection.php:377 PhanAccessMethodInternal Cannot access internal method \Twig\Template::render() of namespace \Twig defined at vendor/twig/twig/src/Template.php:425 from namespace \Grav\Framework\Flex | |
system/src/Grav/Framework/Flex/FlexCollection.php:580 PhanPluginPrintfVariableFormatString Code $path has a dynamic format string that could not be inferred by Phan | |
system/src/Grav/Framework/Flex/FlexCollection.php:613 PhanTypeMismatchDeclaredReturnNullable Doc-block of getRelatedDirectory has declared return type \Grav\Framework\Flex\FlexDirectory which is not a permitted replacement of the nullable return type ?\Grav\Framework\Flex\FlexDirectory declared in the signature ('?T' should be documented as 'T|null' or '?T') | |
system/src/Grav/Framework/Flex/FlexDirectory.php:234 PhanPossiblyUndeclaredMethod Call to possibly undeclared method getIndex on type \Grav\Framework\Collection\CollectionInterface|\Grav\Framework\Flex\Interfaces\FlexIndexInterface (\Grav\Framework\Collection\CollectionInterface does not declare the method) | |
system/src/Grav/Framework/Flex/FlexDirectory.php:331 PhanTypeArraySuspicious Suspicious array access to \Grav\Framework\Cache\CacheInterface | |
system/src/Grav/Framework/Flex/FlexDirectory.php:361 PhanTypeArraySuspicious Suspicious array access to \Grav\Framework\Cache\CacheInterface | |
system/src/Grav/Framework/Flex/FlexDirectory.php:361 PhanTypeMismatchProperty Assigning array<string,\Grav\Framework\Cache\Adapter\DoctrineCache>|array<string,\Grav\Framework\Cache\Adapter\MemoryCache> to property but \Grav\Framework\Flex\FlexDirectory->cache is \Grav\Framework\Cache\CacheInterface | |
system/src/Grav/Framework/Flex/FlexDirectory.php:810 PhanUndeclaredMethod Call to undeclared method \Grav\Framework\Object\Interfaces\ObjectCollectionInterface::getIndex | |
system/src/Grav/Framework/Flex/FlexForm.php:92 PhanTypeMismatchDeclaredParamNullable Doc-block of $options in __construct is phpdoc param type array which is not a permitted replacement of the nullable param type ?array declared in the signature ('?T' should be documented as 'T|null' or '?T') | |
system/src/Grav/Framework/Flex/FlexForm.php:137 PhanPossiblyUndeclaredMethod Call to possibly undeclared method getObject on type \Grav\Framework\Form\Interfaces\FormFlashInterface|\Grav\Framework\Flex\FlexFormFlash (\Grav\Framework\Form\Interfaces\FormFlashInterface does not declare the method) | |
system/src/Grav/Framework/Flex/FlexForm.php:313 PhanTypeMismatchArgument Argument 1 ($filename) is null but \Grav\Common\Data\Blueprint::__construct() takes array|string defined at vendor/rockettheme/toolbox/Blueprints/src/BlueprintForm.php:57 | |
system/src/Grav/Framework/Flex/FlexForm.php:335 PhanUndeclaredMethod Call to undeclared method \Grav\Framework\Flex\Interfaces\FlexObjectInterface::route | |
system/src/Grav/Framework/Flex/FlexForm.php:350 PhanUndeclaredMethod Call to undeclared method \Grav\Framework\Flex\Interfaces\FlexObjectInterface::route | |
system/src/Grav/Framework/Flex/FlexObject.php:334 PhanTypeArraySuspiciousNullable Suspicious array access to nullable array|null | |
system/src/Grav/Framework/Flex/FlexObject.php:337 PhanTypeArraySuspiciousNullable Suspicious array access to nullable array|null | |
system/src/Grav/Framework/Flex/FlexObject.php:552 PhanParamSignatureMismatch Declaration of function update(array $data, array $files = null) should be compatible with function update(array $data, array $files = null) : static defined in system/src/Grav/Common/User/Interfaces/UserInterface.php:144 | |
system/src/Grav/Framework/Flex/FlexObject.php:584 PhanUndeclaredMethod Call to undeclared method \Grav\Framework\Flex\FlexObject::setUpdatedMedia | |
system/src/Grav/Framework/Flex/FlexObject.php:660 PhanUndeclaredMethod Call to undeclared method \Grav\Framework\Flex\FlexObject::saveUpdatedMedia | |
system/src/Grav/Framework/Flex/FlexObject.php:666 PhanUndeclaredMethod Call to undeclared method \Grav\Framework\Flex\FlexObject::clearMediaCache | |
system/src/Grav/Framework/Flex/FlexObject.php:698 PhanUndeclaredMethod Call to undeclared method \Grav\Framework\Flex\FlexObject::clearMediaCache | |
system/src/Grav/Framework/Flex/FlexObject.php:971 PhanPluginPrintfVariableFormatString Code $path has a dynamic format string that could not be inferred by Phan | |
system/src/Grav/Framework/Flex/FlexObject.php:1025 PhanTypeMismatchDeclaredParamNullable Doc-block of $options in createFormObject is phpdoc param type array which is not a permitted replacement of the nullable param type ?array declared in the signature ('?T' should be documented as 'T|null' or '?T') | |
system/src/Grav/Framework/Flex/Storage/FolderStorage.php:259 PhanPluginPrintfVariableFormatString Code $this->dataPattern has a dynamic format string that could not be inferred by Phan | |
system/src/Grav/Framework/Flex/Storage/FolderStorage.php:291 PhanPluginPrintfVariableFormatString Code $this->dataPattern has a dynamic format string that could not be inferred by Phan | |
system/src/Grav/Framework/Flex/Storage/FolderStorage.php:335 PhanTypeMismatchDeclaredReturnNullable Doc-block of loadRow has declared return type array which is not a permitted replacement of the nullable return type ?array declared in the signature ('?T' should be documented as 'T|null' or '?T') | |
system/src/Grav/Framework/Flex/Storage/SimpleStorage.php:296 PhanTypeComparisonToArray false to array comparison | |
system/src/Grav/Framework/Form/FormFlash.php:106 PhanTypeMismatchDeclaredReturnNullable Doc-block of loadStoredForm has declared return type array which is not a permitted replacement of the nullable return type ?array declared in the signature ('?T' should be documented as 'T|null' or '?T') | |
system/src/Grav/Framework/Form/FormFlashFile.php:53 PhanUndeclaredStaticMethod Static call to undeclared method \Grav\Framework\Psr7\Stream::create | |
system/src/Grav/Framework/Form/Interfaces/FormInterface.php:151 PhanTypeMismatchDeclaredReturnNullable Doc-block of getError has declared return type string which is not a permitted replacement of the nullable return type ?string declared in the signature ('?T' should be documented as 'T|null' or '?T') | |
system/src/Grav/Framework/Object/Collection/ObjectExpressionVisitor.php:36 PhanTypeArraySuspicious Suspicious array access to object | |
system/src/Grav/Framework/Object/Interfaces/ObjectCollectionInterface.php:41 PhanParamSignatureMismatch Declaration of function hasProperty(string $property) : bool[] should be compatible with function hasProperty(string $property) : bool defined in system/src/Grav/Framework/Object/Interfaces/ObjectInterface.php:32 | |
system/src/Grav/Framework/Object/ObjectIndex.php:93 PhanParamSignatureMismatch Declaration of function setProperty(string $property, string $value) : \Grav\Framework\Object\Interfaces\ObjectCollectionInterface should be compatible with function setProperty(string $property, mixed $value) : static defined in system/src/Grav/Framework/Object/Interfaces/ObjectCollectionInterface.php:55 | |
system/src/Grav/Framework/Object/ObjectIndex.php:103 PhanParamSignatureMismatch Declaration of function defProperty(string $property, mixed $default) : \Grav\Framework\Object\Interfaces\ObjectCollectionInterface should be compatible with function defProperty(string $property, mixed $default) : static defined in system/src/Grav/Framework/Object/Interfaces/ObjectCollectionInterface.php:62 | |
system/src/Grav/Framework/Object/ObjectIndex.php:112 PhanParamSignatureMismatch Declaration of function unsetProperty(string $property) : \Grav\Framework\Object\Interfaces\ObjectCollectionInterface should be compatible with function unsetProperty(string $property) : static defined in system/src/Grav/Framework/Object/Interfaces/ObjectCollectionInterface.php:68 | |
system/src/Grav/Framework/Object/ObjectIndex.php:144 PhanParamSignatureMismatch Declaration of function setNestedProperty(string $property, mixed $value, string $separator = null) : \Grav\Framework\Object\Interfaces\ObjectCollectionInterface should be compatible with function setNestedProperty(string $property, mixed $value, null|string $separator = null) : static defined in system/src/Grav/Framework/Object/Interfaces/NestedObjectCollectionInterface.php:40 | |
system/src/Grav/Framework/Object/ObjectIndex.php:144 PhanParamSignatureMismatch Declaration of function setNestedProperty(string $property, mixed $value, string $separator = null) : \Grav\Framework\Object\Interfaces\ObjectCollectionInterface should be compatible with function setNestedProperty(string $property, mixed $value, null|string $separator = null) : static defined in system/src/Grav/Framework/Object/Interfaces/NestedObjectInterface.php:40 | |
system/src/Grav/Framework/Object/ObjectIndex.php:155 PhanParamSignatureMismatch Declaration of function defNestedProperty(string $property, mixed $default, string $separator = null) : \Grav\Framework\Object\Interfaces\ObjectCollectionInterface should be compatible with function defNestedProperty(string $property, mixed $default, null|string $separator = null) : static defined in system/src/Grav/Framework/Object/Interfaces/NestedObjectCollectionInterface.php:49 | |
system/src/Grav/Framework/Object/ObjectIndex.php:155 PhanParamSignatureMismatch Declaration of function defNestedProperty(string $property, mixed $default, string $separator = null) : \Grav\Framework\Object\Interfaces\ObjectCollectionInterface should be compatible with function defNestedProperty(string $property, mixed $default, null|string $separator = null) : static defined in system/src/Grav/Framework/Object/Interfaces/NestedObjectInterface.php:49 | |
system/src/Grav/Framework/Object/ObjectIndex.php:164 PhanParamSignatureMismatch Declaration of function unsetNestedProperty(string $property, null|string $separator = null) : \Grav\Framework\Object\Interfaces\ObjectCollectionInterface should be compatible with function unsetNestedProperty(string $property, null|string $separator = null) : static defined in system/src/Grav/Framework/Object/Interfaces/NestedObjectCollectionInterface.php:57 | |
system/src/Grav/Framework/Object/ObjectIndex.php:164 PhanParamSignatureMismatch Declaration of function unsetNestedProperty(string $property, null|string $separator = null) : \Grav\Framework\Object\Interfaces\ObjectCollectionInterface should be compatible with function unsetNestedProperty(string $property, null|string $separator = null) : static defined in system/src/Grav/Framework/Object/Interfaces/NestedObjectInterface.php:57 | |
system/src/Grav/Framework/Object/ObjectIndex.php:226 PhanParamSignatureMismatch Declaration of function collectionGroup(string $property) : \Grav\Framework\Object\Interfaces\ObjectCollectionInterface[] should be compatible with function collectionGroup(string $property) : static[] defined in system/src/Grav/Framework/Object/Interfaces/ObjectCollectionInterface.php:103 | |
system/src/Grav/Framework/Object/ObjectIndex.php:239 PhanUndeclaredMethod Call to undeclared method \Grav\Framework\Collection\CollectionInterface::matching | |
system/src/Grav/Framework/Psr7/Response.php:248 PhanPluginPrintfIncompatibleArgumentTypeWeak Format string "HTTP/%s %s %s%s" refers to argument #2 as %s, so type string is expected. However, sprintf was passed the type int (which is weaker than string) | |
system/src/Grav/Framework/Psr7/ServerRequest.php:121 PhanTypeComparisonFromArray array to false comparison | |
system/src/Grav/Framework/Psr7/ServerRequest.php:144 PhanTypeComparisonFromArray array to false comparison | |
system/src/Grav/Framework/RequestHandler/RequestHandler.php:46 PhanTypeArraySuspicious Suspicious array access to \Psr\Container\ContainerInterface|null | |
system/src/Grav/Framework/RequestHandler/RequestHandler.php:46 PhanTypeMismatchProperty Assigning array<string,callable> to property but \Grav\Framework\RequestHandler\RequestHandler->container is \Psr\Container\ContainerInterface|null | |
system/src/Grav/Framework/RequestHandler/RequestHandler.php:61 PhanTypeArraySuspicious Suspicious array access to \Psr\Container\ContainerInterface|null | |
system/src/Grav/Framework/RequestHandler/RequestHandler.php:61 PhanTypeMismatchProperty Assigning array<string,\Psr\Http\Server\MiddlewareInterface> to property but \Grav\Framework\RequestHandler\RequestHandler->container is \Psr\Container\ContainerInterface|null | |
system/src/Grav/Framework/Uri/Uri.php:21 PhanDeprecatedClass Using a deprecated class \Grav\Framework\Psr7\AbstractUri defined at system/src/Grav/Framework/Psr7/AbstractUri.php:21 (Deprecated because: 1.6 Using message PSR-7 decorators instead.) | |
system/src/Grav/Installer/Install.php:243 PhanTypeMismatchArgumentInternal Argument 1 ($ver1) is null but \version_compare() takes string | |
system/src/Grav/Installer/Install.php:243 PhanTypeMismatchArgumentNullableInternal Argument 1 ($ver1) is ?string but \version_compare() takes string (expected type to be non-nullable) | |
system/src/Grav/Installer/Install.php:247 PhanTypeMismatchArgumentInternal Argument 1 ($ver1) is null but \version_compare() takes string | |
system/src/Grav/Installer/Install.php:247 PhanTypeMismatchArgumentNullableInternal Argument 1 ($ver1) is ?string but \version_compare() takes string (expected type to be non-nullable) | |
tests/_bootstrap.php:19 PhanNoopArrayAccess Unused array offset fetch | |
tests/_support/Helper/Unit.php:66 PhanParamSignatureRealMismatchParamType Declaration of function _before(\Codeception\testcase $test) should be compatible with function _before(\Codeception\TestInterface $test) (parameter #1 of type '\Codeception\testcase' cannot replace original parameter of type '\Codeception\TestInterface') defined in vendor/codeception/codeception/src/Codeception/Module.php:244 | |
tests/_support/Helper/Unit.php:68 PhanParamSignatureMismatch Declaration of function _before(\Codeception\testcase $test) should be compatible with function _before(\Codeception\TestInterface $test) defined in vendor/codeception/codeception/src/Codeception/Module.php:244 | |
tests/_support/Helper/Unit.php:68 PhanUndeclaredTypeParameter Parameter $test has undeclared type \Codeception\testcase | |
tests/_support/Helper/Unit.php:75 PhanParamSignatureRealMismatchParamType Declaration of function _after(\Codeception\testcase $test) should be compatible with function _after(\Codeception\TestInterface $test) (parameter #1 of type '\Codeception\testcase' cannot replace original parameter of type '\Codeception\TestInterface') defined in vendor/codeception/codeception/src/Codeception/Module.php:253 | |
tests/_support/Helper/Unit.php:77 PhanParamSignatureMismatch Declaration of function _after(\Codeception\testcase $test) should be compatible with function _after(\Codeception\TestInterface $test) defined in vendor/codeception/codeception/src/Codeception/Module.php:253 | |
tests/_support/Helper/Unit.php:77 PhanUndeclaredTypeParameter Parameter $test has undeclared type \Codeception\testcase | |
tests/_support/Helper/Unit.php:84 PhanParamSignatureRealMismatchParamType Declaration of function _failed(\Codeception\testcase $test, $fail) should be compatible with function _failed(\Codeception\TestInterface $test, $fail) (parameter #1 of type '\Codeception\testcase' cannot replace original parameter of type '\Codeception\TestInterface') defined in vendor/codeception/codeception/src/Codeception/Module.php:263 | |
tests/_support/Helper/Unit.php:87 PhanParamSignatureMismatch Declaration of function _failed(\Codeception\testcase $test, $fail) should be compatible with function _failed(\Codeception\TestInterface $test, \Exception $fail) defined in vendor/codeception/codeception/src/Codeception/Module.php:263 | |
tests/_support/Helper/Unit.php:87 PhanUndeclaredTypeParameter Parameter $test has undeclared type \Codeception\testcase | |
tests/functional/Grav/Console/DirectInstallCommandTest.php:22 PhanUndeclaredProperty Reference to undeclared property \DirectInstallCommandTest->directInstallCommand | |
tests/unit/Grav/Common/GPM/GPMTest.php:14 PhanPluginAlwaysReturnMethod Method \GpmStub::findPackage has a return type of \Grav\Common\GPM\Remote\Package|bool, but may fail to return a value | |
tests/unit/Grav/Common/GPM/GPMTest.php:56 PhanPluginMixedKeyNoKey Should not mix array entries of the form [key => value,] with entries of the form [value,]. | |
tests/unit/Grav/Common/GPM/GPMTest.php:229 PhanPluginMixedKeyNoKey Should not mix array entries of the form [key => value,] with entries of the form [value,]. | |
tests/unit/Grav/Common/Helpers/ExcerptsTest.php:59 PhanUndeclaredMethod Call to undeclared method \Grav\Common\Language\Language::addPath | |
tests/unit/Grav/Common/Markdown/ParsedownTest.php:56 PhanUndeclaredMethod Call to undeclared method \Grav\Common\Language\Language::addPath | |
tests/unit/Grav/Common/Page/PagesTest.php:50 PhanTypeMismatchArgument Argument 1 ($modified) is 'test' but \Grav\Common\Page\Pages::lastModified() takes int defined at system/src/Grav/Common/Page/Pages.php:281 | |
tests/unit/Grav/Common/Page/PagesTest.php:114 PhanTypeMismatchArgument Argument 2 ($order_by) is null but \Grav\Common\Page\Pages::sort() takes string defined at system/src/Grav/Common/Page/Pages.php:632 | |
tests/unit/Grav/Common/Page/PagesTest.php:137 PhanPossiblyNonClassMethodCall Call to method children on type \Grav\Common\Page\Interfaces\PageInterface|null that could be a non-object | |
tests/unit/Grav/Common/Page/PagesTest.php:137 PhanPossiblyNonClassMethodCall Call to method orderBy on type \Grav\Common\Page\Interfaces\PageInterface|null that could be a non-object | |
tests/unit/Grav/Common/Page/PagesTest.php:151 PhanPossiblyNonClassMethodCall Call to method children on type \Grav\Common\Page\Interfaces\PageInterface|null that could be a non-object | |
tests/unit/Grav/Common/Page/PagesTest.php:151 PhanPossiblyNonClassMethodCall Call to method orderBy on type \Grav\Common\Page\Interfaces\PageInterface|null that could be a non-object | |
tests/unit/Grav/Common/UtilsTest.php:343 PhanTypeMismatchArgument Argument 3 ($default) is 'defaultValue' but \Grav\Common\Utils::getDotNotation() takes null defined at system/src/Grav/Common/Utils.php:1286 | |
tests/unit/Grav/Common/UtilsTest.php:367 PhanTypeMismatchArgument Argument 1 ($value) is true but \Grav\Common\Utils::isPositive() takes string defined at system/src/Grav/Common/Utils.php:1172 | |
tests/unit/Grav/Common/UtilsTest.php:368 PhanTypeMismatchArgument Argument 1 ($value) is 1 but \Grav\Common\Utils::isPositive() takes string defined at system/src/Grav/Common/Utils.php:1172 | |
tests/unit/Grav/Common/UtilsTest.php:373 PhanTypeMismatchArgument Argument 1 ($value) is false but \Grav\Common\Utils::isPositive() takes string defined at system/src/Grav/Common/Utils.php:1172 | |
tests/unit/Grav/Common/UtilsTest.php:374 PhanTypeMismatchArgument Argument 1 ($value) is 0 but \Grav\Common\Utils::isPositive() takes string defined at system/src/Grav/Common/Utils.php:1172 | |
tests/unit/Grav/Common/UtilsTest.php:380 PhanTypeMismatchArgument Argument 1 ($value) is 2 but \Grav\Common\Utils::isPositive() takes string defined at system/src/Grav/Common/Utils.php:1172 | |
tests/unit/Grav/Common/UtilsTest.php:404 PhanTypeMismatchArgument Argument 1 ($input) is array{0:'foo',1:'bar',2:'baz'} but \Grav\Common\Utils::url() takes object|string defined at system/src/Grav/Common/Utils.php:38 | |
tests/unit/Grav/Common/UtilsTest.php:411 PhanTypeMismatchArgument Argument 1 ($input) is array{0:'foo',1:'bar',2:'baz'} but \Grav\Common\Utils::url() takes object|string defined at system/src/Grav/Common/Utils.php:38 | |
tests/unit/Grav/Common/UtilsTest.php:467 PhanTypeMismatchArgument Argument 1 ($input) is array{0:'foo',1:'bar',2:'baz'} but \Grav\Common\Utils::url() takes object|string defined at system/src/Grav/Common/Utils.php:38 | |
tests/unit/Grav/Common/UtilsTest.php:474 PhanTypeMismatchArgument Argument 1 ($input) is array{0:'foo',1:'bar',2:'baz'} but \Grav\Common\Utils::url() takes object|string defined at system/src/Grav/Common/Utils.php:38 | |
tests/unit/Grav/Console/Gpm/InstallCommandTest.php:15 PhanUndeclaredTypeProperty Property \InstallCommandTest->installCommand has undeclared type \InstallCommand (Did you mean class \Grav\Console\Cli\InstallCommand or class \Grav\Console\Gpm\InstallCommand or class \InstallCommandTest) | |
tests/unit/Grav/Console/Gpm/InstallCommandTest.php:21 PhanUndeclaredClassMethod Call to method __construct from undeclared class \InstallCommand (Did you mean class \Grav\Console\Cli\InstallCommand or class \Grav\Console\Gpm\InstallCommand or class \InstallCommandTest) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment