Skip to content

Commit

Permalink
Update phpstorm-stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jan 27, 2021
1 parent 11347f4 commit 6bbd629
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"hoa/exception": "^1.0",
"hoa/regex": "1.17.01.13",
"jean85/pretty-package-versions": "^1.0.3",
"jetbrains/phpstorm-stubs": "dev-master#b2402e4a525593f68ff46303dcc6bc625437276a",
"jetbrains/phpstorm-stubs": "dev-master#2be9baa0c8933fb8852ff9d892390a9d3bad6301",
"nette/bootstrap": "^3.0",
"nette/di": "^3.0.5",
"nette/finder": "^2.5",
Expand Down
11 changes: 5 additions & 6 deletions composer.lock

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

15 changes: 10 additions & 5 deletions resources/functionMetadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,15 @@
'SimpleXMLIterator::valid' => ['hasSideEffects' => false],
'SoapFault::__construct' => ['hasSideEffects' => false],
'Spoofchecker::__construct' => ['hasSideEffects' => false],
'StubTests\\Model\\BasePHPElement::getFQN' => ['hasSideEffects' => false],
'StubTests\\Model\\BasePHPElement::getTypeNameFromNode' => ['hasSideEffects' => false],
'StubTests\\Model\\BasePHPElement::hasMutedProblem' => ['hasSideEffects' => false],
'StubTests\\Model\\StubsContainer::getClass' => ['hasSideEffects' => false],
'StubTests\\Model\\StubsContainer::getInterface' => ['hasSideEffects' => false],
'StubTests\\Parsers\\ExpectedFunctionArgumentsInfo::__toString' => ['hasSideEffects' => false],
'StubTests\\Parsers\\Visitors\\CoreStubASTVisitor::__construct' => ['hasSideEffects' => false],
'StubTests\\StubsParameterNamesTest::printParameters' => ['hasSideEffects' => false],
'StubTests\\StubsTest::getParameterRepresentation' => ['hasSideEffects' => false],
'Transliterator::createInverse' => ['hasSideEffects' => false],
'Transliterator::getErrorCode' => ['hasSideEffects' => false],
'Transliterator::getErrorMessage' => ['hasSideEffects' => false],
Expand Down Expand Up @@ -756,7 +765,6 @@
'curl_version' => ['hasSideEffects' => false],
'current' => ['hasSideEffects' => false],
'date' => ['hasSideEffects' => false],
'date_add' => ['hasSideEffects' => false],
'date_create' => ['hasSideEffects' => false],
'date_create_from_format' => ['hasSideEffects' => false],
'date_create_immutable' => ['hasSideEffects' => false],
Expand All @@ -767,18 +775,14 @@
'date_get_last_errors' => ['hasSideEffects' => false],
'date_interval_create_from_date_string' => ['hasSideEffects' => false],
'date_interval_format' => ['hasSideEffects' => false],
'date_modify' => ['hasSideEffects' => false],
'date_offset_get' => ['hasSideEffects' => false],
'date_parse' => ['hasSideEffects' => false],
'date_parse_from_format' => ['hasSideEffects' => false],
'date_sub' => ['hasSideEffects' => false],
'date_sun_info' => ['hasSideEffects' => false],
'date_sunrise' => ['hasSideEffects' => false],
'date_sunset' => ['hasSideEffects' => false],
'date_time_set' => ['hasSideEffects' => false],
'date_timestamp_get' => ['hasSideEffects' => false],
'date_timezone_get' => ['hasSideEffects' => false],
'date_timezone_set' => ['hasSideEffects' => false],
'datefmt_create' => ['hasSideEffects' => false],
'datefmt_format' => ['hasSideEffects' => false],
'datefmt_format_object' => ['hasSideEffects' => false],
Expand Down Expand Up @@ -1043,6 +1047,7 @@
'imagefontheight' => ['hasSideEffects' => false],
'imagefontwidth' => ['hasSideEffects' => false],
'imageftbbox' => ['hasSideEffects' => false],
'imagegetinterpolation' => ['hasSideEffects' => false],
'imagegrabscreen' => ['hasSideEffects' => false],
'imagegrabwindow' => ['hasSideEffects' => false],
'imageistruecolor' => ['hasSideEffects' => false],
Expand Down
2 changes: 1 addition & 1 deletion src/Reflection/Php/PhpClassReflectionExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ private function createNativeMethodVariant(
}

$parameters[] = new NativeParameterWithPhpDocsReflection(
$parameterSignature->getName(),
$phpDocParameterName,
$parameterSignature->isOptional(),
$type ?? $parameterSignature->getType(),
$phpDocType ?? new MixedType(),
Expand Down

0 comments on commit 6bbd629

Please sign in to comment.