composer base packages updates
This commit is contained in:
+429
-436
File diff suppressed because it is too large
Load Diff
+152
-48
@@ -41,9 +41,9 @@ return [
|
||||
'old' => ['int|false'],
|
||||
'new' => ['int'],
|
||||
],
|
||||
'DateTime::diff' => [
|
||||
'old' => ['DateInterval|false', 'datetime2'=>'DateTimeInterface', 'absolute='=>'bool'],
|
||||
'new' => ['DateInterval', 'datetime2'=>'DateTimeInterface', 'absolute='=>'bool'],
|
||||
'CURLFile::__construct' => [
|
||||
'old' => ['void', 'filename'=>'string', 'mime_type='=>'string', 'posted_filename='=>'string'],
|
||||
'new' => ['void', 'filename'=>'string', 'mime_type='=>'?string', 'posted_filename='=>'?string'],
|
||||
],
|
||||
'DateTime::format' => [
|
||||
'old' => ['string|false', 'format'=>'string'],
|
||||
@@ -53,10 +53,6 @@ return [
|
||||
'old' => ['int|false'],
|
||||
'new' => ['int'],
|
||||
],
|
||||
'DateTime::setTime' => [
|
||||
'old' => ['static|false', 'hour'=>'int', 'minute'=>'int', 'second='=>'int', 'microseconds='=>'int'],
|
||||
'new' => ['static', 'hour'=>'int', 'minute'=>'int', 'second='=>'int', 'microseconds='=>'int'],
|
||||
],
|
||||
'DateTimeInterface::getTimestamp' => [
|
||||
'old' => ['int|false'],
|
||||
'new' => ['int'],
|
||||
@@ -81,14 +77,58 @@ return [
|
||||
'old' => ['void', 'dir_handle='=>'resource'],
|
||||
'new' => ['void'],
|
||||
],
|
||||
'DirectoryIterator::getFileInfo' => [
|
||||
'old' => ['SplFileInfo', 'class='=>'class-string'],
|
||||
'new' => ['SplFileInfo', 'class='=>'?class-string'],
|
||||
],
|
||||
'DirectoryIterator::getPathInfo' => [
|
||||
'old' => ['?SplFileInfo', 'class='=>'class-string'],
|
||||
'new' => ['?SplFileInfo', 'class='=>'?class-string'],
|
||||
],
|
||||
'DirectoryIterator::openFile' => [
|
||||
'old' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'resource'],
|
||||
'new' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'?resource'],
|
||||
],
|
||||
'DOMDocument::getElementsByTagNameNS' => [
|
||||
'old' => ['DOMNodeList', 'namespace'=>'string', 'localName'=>'string'],
|
||||
'new' => ['DOMNodeList', 'namespace'=>'?string', 'localName'=>'string'],
|
||||
],
|
||||
'DOMImplementation::createDocument' => [
|
||||
'old' => ['DOMDocument|false', 'namespace='=>'string', 'qualifiedName='=>'string', 'doctype='=>'DOMDocumentType'],
|
||||
'new' => ['DOMDocument|false', 'namespace='=>'?string', 'qualifiedName='=>'string', 'doctype='=>'?DOMDocumentType'],
|
||||
],
|
||||
'ErrorException::__construct' => [
|
||||
'old' => ['void', 'message='=>'string', 'code='=>'int', 'severity='=>'int', 'filename='=>'string', 'line='=>'int', 'previous='=>'?Throwable'],
|
||||
'new' => ['void', 'message='=>'string', 'code='=>'int', 'severity='=>'int', 'filename='=>'?string', 'line='=>'?int', 'previous='=>'?Throwable'],
|
||||
],
|
||||
'FilesystemIterator::getFileInfo' => [
|
||||
'old' => ['SplFileInfo', 'class='=>'class-string'],
|
||||
'new' => ['SplFileInfo', 'class='=>'?class-string'],
|
||||
],
|
||||
'FilesystemIterator::getPathInfo' => [
|
||||
'old' => ['?SplFileInfo', 'class='=>'class-string'],
|
||||
'new' => ['?SplFileInfo', 'class='=>'?class-string'],
|
||||
],
|
||||
'FilesystemIterator::openFile' => [
|
||||
'old' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'resource'],
|
||||
'new' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'?resource'],
|
||||
],
|
||||
'finfo::__construct' => [
|
||||
'old' => ['void', 'flags='=>'int', 'magic_database='=>'string'],
|
||||
'new' => ['void', 'flags='=>'int', 'magic_database='=>'?string'],
|
||||
],
|
||||
'GlobIterator::getFileInfo' => [
|
||||
'old' => ['SplFileInfo', 'class='=>'class-string'],
|
||||
'new' => ['SplFileInfo', 'class='=>'?class-string'],
|
||||
],
|
||||
'GlobIterator::getPathInfo' => [
|
||||
'old' => ['?SplFileInfo', 'class='=>'class-string'],
|
||||
'new' => ['?SplFileInfo', 'class='=>'?class-string'],
|
||||
],
|
||||
'GlobIterator::openFile' => [
|
||||
'old' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'resource'],
|
||||
'new' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'?resource'],
|
||||
],
|
||||
'IntlDateFormatter::__construct' => [
|
||||
'old' => ['void', 'locale'=>'?string', 'datetype'=>'null|int', 'timetype'=>'null|int', 'timezone='=>'IntlTimeZone|DateTimeZone|string|null', 'calendar='=>'IntlCalendar|int|null', 'pattern='=>'?string'],
|
||||
'new' => ['void', 'locale'=>'?string', 'dateType'=>'int', 'timeType'=>'int', 'timezone='=>'IntlTimeZone|DateTimeZone|string|null', 'calendar='=>'IntlCalendar|int|null', 'pattern='=>'?string'],
|
||||
@@ -153,6 +193,10 @@ return [
|
||||
'old' => ['null|false', 'zone'=>'IntlTimeZone|DateTimeZone|string|null'],
|
||||
'new' => ['null|false', 'timezone'=>'IntlTimeZone|DateTimeZone|string|null'],
|
||||
],
|
||||
'IntlTimeZone::getIDForWindowsID' => [
|
||||
'old' => ['string|false', 'timezoneId'=>'string', 'region='=>'string'],
|
||||
'new' => ['string|false', 'timezoneId'=>'string', 'region='=>'?string'],
|
||||
],
|
||||
'Locale::getDisplayLanguage' => [
|
||||
'old' => ['string', 'locale'=>'string', 'displayLocale='=>'string'],
|
||||
'new' => ['string', 'locale'=>'string', 'displayLocale='=>'?string'],
|
||||
@@ -209,21 +253,17 @@ return [
|
||||
'old' => ['bool', 'mode'=>'int'],
|
||||
'new' => ['bool', 'mode'=>'int', '...args='=>'mixed'],
|
||||
],
|
||||
'PharData::compress' => [
|
||||
'old' => ['?PharData', 'compression'=>'int', 'extension='=>'string'],
|
||||
'new' => ['?PharData', 'compression'=>'int', 'extension='=>'?string'],
|
||||
'Phar::addFile' => [
|
||||
'old' => ['void', 'filename'=>'string', 'localName='=>'string'],
|
||||
'new' => ['void', 'filename'=>'string', 'localName='=>'?string'],
|
||||
],
|
||||
'PharData::convertToData' => [
|
||||
'old' => ['?PharData', 'format='=>'int', 'compression='=>'int', 'extension='=>'string'],
|
||||
'new' => ['?PharData', 'format='=>'?int', 'compression='=>'?int', 'extension='=>'?string'],
|
||||
'Phar::buildFromIterator' => [
|
||||
'old' => ['array|false', 'iterator'=>'Traversable', 'baseDirectory='=>'string'],
|
||||
'new' => ['array|false', 'iterator'=>'Traversable', 'baseDirectory='=>'?string'],
|
||||
],
|
||||
'PharData::convertToExecutable' => [
|
||||
'old' => ['?Phar', 'format='=>'int', 'compression='=>'int', 'extension='=>'string'],
|
||||
'new' => ['?Phar', 'format='=>'?int', 'compression='=>'?int', 'extension='=>'?string'],
|
||||
],
|
||||
'PharData::decompress' => [
|
||||
'old' => ['?PharData', 'extension='=>'string'],
|
||||
'new' => ['?PharData', 'extension='=>'?string'],
|
||||
'Phar::createDefaultStub' => [
|
||||
'old' => ['string', 'index='=>'string', 'webIndex='=>'string'],
|
||||
'new' => ['string', 'index='=>'?string', 'webIndex='=>'?string'],
|
||||
],
|
||||
'Phar::compress' => [
|
||||
'old' => ['?Phar', 'compression'=>'int', 'extension='=>'string'],
|
||||
@@ -245,10 +285,70 @@ return [
|
||||
'old' => ['mixed'],
|
||||
'new' => ['mixed', 'unserializeOptions='=>'array'],
|
||||
],
|
||||
'Phar::setDefaultStub' => [
|
||||
'old' => ['bool', 'index='=>'?string', 'webIndex='=>'string'],
|
||||
'new' => ['bool', 'index='=>'?string', 'webIndex='=>'?string'],
|
||||
],
|
||||
'Phar::setSignatureAlgorithm' => [
|
||||
'old' => ['void', 'algo'=>'int', 'privateKey='=>'string'],
|
||||
'new' => ['void', 'algo'=>'int', 'privateKey='=>'?string'],
|
||||
],
|
||||
'Phar::webPhar' => [
|
||||
'old' => ['void', 'alias='=>'?string', 'index='=>'?string', 'fileNotFoundScript='=>'string', 'mimeTypes='=>'array', 'rewrite='=>'callable'],
|
||||
'new' => ['void', 'alias='=>'?string', 'index='=>'?string', 'fileNotFoundScript='=>'?string', 'mimeTypes='=>'array', 'rewrite='=>'?callable'],
|
||||
],
|
||||
'PharData::addFile' => [
|
||||
'old' => ['void', 'filename'=>'string', 'localName='=>'string'],
|
||||
'new' => ['void', 'filename'=>'string', 'localName='=>'?string'],
|
||||
],
|
||||
'PharData::buildFromIterator' => [
|
||||
'old' => ['array|false', 'iterator'=>'Traversable', 'baseDirectory='=>'string'],
|
||||
'new' => ['array|false', 'iterator'=>'Traversable', 'baseDirectory='=>'?string'],
|
||||
],
|
||||
'PharData::compress' => [
|
||||
'old' => ['?PharData', 'compression'=>'int', 'extension='=>'string'],
|
||||
'new' => ['?PharData', 'compression'=>'int', 'extension='=>'?string'],
|
||||
],
|
||||
'PharData::convertToData' => [
|
||||
'old' => ['?PharData', 'format='=>'int', 'compression='=>'int', 'extension='=>'string'],
|
||||
'new' => ['?PharData', 'format='=>'?int', 'compression='=>'?int', 'extension='=>'?string'],
|
||||
],
|
||||
'PharData::convertToExecutable' => [
|
||||
'old' => ['?Phar', 'format='=>'int', 'compression='=>'int', 'extension='=>'string'],
|
||||
'new' => ['?Phar', 'format='=>'?int', 'compression='=>'?int', 'extension='=>'?string'],
|
||||
],
|
||||
'PharData::decompress' => [
|
||||
'old' => ['?PharData', 'extension='=>'string'],
|
||||
'new' => ['?PharData', 'extension='=>'?string'],
|
||||
],
|
||||
'PharData::setDefaultStub' => [
|
||||
'old' => ['bool', 'index='=>'?string', 'webIndex='=>'string'],
|
||||
'new' => ['bool', 'index='=>'?string', 'webIndex='=>'?string'],
|
||||
],
|
||||
'PharData::setSignatureAlgorithm' => [
|
||||
'old' => ['void', 'algo'=>'int', 'privateKey='=>'string'],
|
||||
'new' => ['void', 'algo'=>'int', 'privateKey='=>'?string'],
|
||||
],
|
||||
'PharFileInfo::getMetadata' => [
|
||||
'old' => ['mixed'],
|
||||
'new' => ['mixed', 'unserializeOptions='=>'array'],
|
||||
],
|
||||
'PharFileInfo::isCompressed' => [
|
||||
'old' => ['bool', 'compression='=>'int'],
|
||||
'new' => ['bool', 'compression='=>'?int'],
|
||||
],
|
||||
'RecursiveDirectoryIterator::getFileInfo' => [
|
||||
'old' => ['SplFileInfo', 'class='=>'class-string'],
|
||||
'new' => ['SplFileInfo', 'class='=>'?class-string'],
|
||||
],
|
||||
'RecursiveDirectoryIterator::getPathInfo' => [
|
||||
'old' => ['?SplFileInfo', 'class='=>'class-string'],
|
||||
'new' => ['?SplFileInfo', 'class='=>'?class-string'],
|
||||
],
|
||||
'RecursiveDirectoryIterator::openFile' => [
|
||||
'old' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'resource'],
|
||||
'new' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'?resource'],
|
||||
],
|
||||
'RecursiveIteratorIterator::getSubIterator' => [
|
||||
'old' => ['?RecursiveIterator', 'level='=>'int'],
|
||||
'new' => ['?RecursiveIterator', 'level='=>'?int'],
|
||||
@@ -282,36 +382,36 @@ return [
|
||||
'new' => ['mixed', 'object='=>'null|object'],
|
||||
],
|
||||
'SplFileInfo::getFileInfo' => [
|
||||
'old' => ['SplFileInfo', 'class='=>'string'],
|
||||
'new' => ['SplFileInfo', 'class='=>'?string'],
|
||||
'old' => ['SplFileInfo', 'class='=>'class-string'],
|
||||
'new' => ['SplFileInfo', 'class='=>'?class-string'],
|
||||
],
|
||||
'SplFileInfo::getPathInfo' => [
|
||||
'old' => ['SplFileInfo|null', 'class='=>'string'],
|
||||
'new' => ['SplFileInfo|null', 'class='=>'?string'],
|
||||
'old' => ['SplFileInfo|null', 'class='=>'class-string'],
|
||||
'new' => ['SplFileInfo|null', 'class='=>'?class-string'],
|
||||
],
|
||||
'SplFileInfo::openFile' => [
|
||||
'old' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'resource'],
|
||||
'new' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'?resource'],
|
||||
],
|
||||
'SplFileObject::getFileInfo' => [
|
||||
'old' => ['SplFileInfo', 'class='=>'string'],
|
||||
'new' => ['SplFileInfo', 'class='=>'?string'],
|
||||
'old' => ['SplFileInfo', 'class='=>'class-string'],
|
||||
'new' => ['SplFileInfo', 'class='=>'?class-string'],
|
||||
],
|
||||
'SplFileObject::getPathInfo' => [
|
||||
'old' => ['SplFileInfo|null', 'class='=>'string'],
|
||||
'new' => ['SplFileInfo|null', 'class='=>'?string'],
|
||||
'old' => ['SplFileInfo|null', 'class='=>'class-string'],
|
||||
'new' => ['SplFileInfo|null', 'class='=>'?class-string'],
|
||||
],
|
||||
'SplFileObject::openFile' => [
|
||||
'old' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'resource'],
|
||||
'new' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'?resource'],
|
||||
],
|
||||
'SplTempFileObject::getFileInfo' => [
|
||||
'old' => ['SplFileInfo', 'class='=>'string'],
|
||||
'new' => ['SplFileInfo', 'class='=>'?string'],
|
||||
'old' => ['SplFileInfo', 'class='=>'class-string'],
|
||||
'new' => ['SplFileInfo', 'class='=>'?class-string'],
|
||||
],
|
||||
'SplTempFileObject::getPathInfo' => [
|
||||
'old' => ['SplFileInfo|null', 'class='=>'string'],
|
||||
'new' => ['SplFileInfo|null', 'class='=>'?string'],
|
||||
'old' => ['SplFileInfo|null', 'class='=>'class-string'],
|
||||
'new' => ['SplFileInfo|null', 'class='=>'?class-string'],
|
||||
],
|
||||
'SplTempFileObject::openFile' => [
|
||||
'old' => ['SplTempFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'resource'],
|
||||
@@ -390,40 +490,40 @@ return [
|
||||
'new' => ['array', 'array'=>'array', 'column_key'=>'int|string|null', 'index_key='=>'int|string|null'],
|
||||
],
|
||||
'array_combine' => [
|
||||
'old' => ['associative-array|false', 'keys'=>'string[]|int[]', 'values'=>'array'],
|
||||
'new' => ['associative-array', 'keys'=>'string[]|int[]', 'values'=>'array'],
|
||||
'old' => ['array|false', 'keys'=>'string[]|int[]', 'values'=>'array'],
|
||||
'new' => ['array', 'keys'=>'string[]|int[]', 'values'=>'array'],
|
||||
],
|
||||
'array_diff' => [
|
||||
'old' => ['associative-array', 'array'=>'array', '...arrays'=>'array'],
|
||||
'new' => ['associative-array', 'array'=>'array', '...arrays='=>'array'],
|
||||
'old' => ['array', 'array'=>'array', '...arrays'=>'array'],
|
||||
'new' => ['array', 'array'=>'array', '...arrays='=>'array'],
|
||||
],
|
||||
'array_diff_assoc' => [
|
||||
'old' => ['associative-array', 'array'=>'array', '...arrays'=>'array'],
|
||||
'new' => ['associative-array', 'array'=>'array', '...arrays='=>'array'],
|
||||
'old' => ['array', 'array'=>'array', '...arrays'=>'array'],
|
||||
'new' => ['array', 'array'=>'array', '...arrays='=>'array'],
|
||||
],
|
||||
'array_diff_key' => [
|
||||
'old' => ['associative-array', 'array'=>'array', '...arrays'=>'array'],
|
||||
'new' => ['associative-array', 'array'=>'array', '...arrays='=>'array'],
|
||||
'old' => ['array', 'array'=>'array', '...arrays'=>'array'],
|
||||
'new' => ['array', 'array'=>'array', '...arrays='=>'array'],
|
||||
],
|
||||
'array_filter' => [
|
||||
'old' => ['associative-array', 'array'=>'array', 'callback='=>'callable(mixed,mixed=):scalar', 'mode='=>'int'],
|
||||
'new' => ['associative-array', 'array'=>'array', 'callback='=>'callable(mixed,mixed=):scalar|null', 'mode='=>'int'],
|
||||
'old' => ['array', 'array'=>'array', 'callback='=>'callable(mixed,mixed=):scalar', 'mode='=>'int'],
|
||||
'new' => ['array', 'array'=>'array', 'callback='=>'callable(mixed,mixed=):scalar|null', 'mode='=>'int'],
|
||||
],
|
||||
'array_key_exists' => [
|
||||
'old' => ['bool', 'key'=>'string|int', 'array'=>'array|object'],
|
||||
'new' => ['bool', 'key'=>'string|int', 'array'=>'array'],
|
||||
],
|
||||
'array_intersect' => [
|
||||
'old' => ['associative-array', 'array'=>'array', '...arrays'=>'array'],
|
||||
'new' => ['associative-array', 'array'=>'array', '...arrays='=>'array'],
|
||||
'old' => ['array', 'array'=>'array', '...arrays'=>'array'],
|
||||
'new' => ['array', 'array'=>'array', '...arrays='=>'array'],
|
||||
],
|
||||
'array_intersect_assoc' => [
|
||||
'old' => ['associative-array', 'array'=>'array', '...arrays'=>'array'],
|
||||
'new' => ['associative-array', 'array'=>'array', '...arrays='=>'array'],
|
||||
'old' => ['array', 'array'=>'array', '...arrays'=>'array'],
|
||||
'new' => ['array', 'array'=>'array', '...arrays='=>'array'],
|
||||
],
|
||||
'array_intersect_key' => [
|
||||
'old' => ['associative-array', 'array'=>'array', '...arrays'=>'array'],
|
||||
'new' => ['associative-array', 'array'=>'array', '...arrays='=>'array'],
|
||||
'old' => ['array', 'array'=>'array', '...arrays'=>'array'],
|
||||
'new' => ['array', 'array'=>'array', '...arrays='=>'array'],
|
||||
],
|
||||
'array_splice' => [
|
||||
'old' => ['array', '&rw_array'=>'array', 'offset'=>'int', 'length='=>'int', 'replacement='=>'array|string'],
|
||||
@@ -497,6 +597,10 @@ return [
|
||||
'old' => ['int<0, max>', 'value'=>'Countable|array|SimpleXMLElement', 'mode='=>'int'],
|
||||
'new' => ['int<0, max>', 'value'=>'Countable|array', 'mode='=>'int'],
|
||||
],
|
||||
'sizeof' => [
|
||||
'old' => ['int<0, max>', 'value'=>'Countable|array|SimpleXMLElement', 'mode='=>'int'],
|
||||
'new' => ['int<0, max>', 'value'=>'Countable|array', 'mode='=>'int'],
|
||||
],
|
||||
'count_chars' => [
|
||||
'old' => ['array<int,int>|false', 'input'=>'string', 'mode='=>'0|1|2'],
|
||||
'new' => ['array<int,int>', 'input'=>'string', 'mode='=>'0|1|2'],
|
||||
|
||||
@@ -66,6 +66,26 @@ return [
|
||||
'old' => ['DOMDocumentFragment|false'],
|
||||
'new' => ['DOMDocumentFragment'],
|
||||
],
|
||||
'DOMDocument::createTextNode' => [
|
||||
'old' => ['DOMText|false', 'data'=>'string'],
|
||||
'new' => ['DOMText', 'data'=>'string'],
|
||||
],
|
||||
'Phar::buildFromDirectory' => [
|
||||
'old' => ['array|false', 'directory'=>'string', 'pattern='=>'string'],
|
||||
'new' => ['array', 'directory'=>'string', 'pattern='=>'string'],
|
||||
],
|
||||
'Phar::buildFromIterator' => [
|
||||
'old' => ['array|false', 'iterator'=>'Traversable', 'baseDirectory='=>'?string'],
|
||||
'new' => ['array', 'iterator'=>'Traversable', 'baseDirectory='=>'?string'],
|
||||
],
|
||||
'PharData::buildFromDirectory' => [
|
||||
'old' => ['array|false', 'directory'=>'string', 'pattern='=>'string'],
|
||||
'new' => ['array', 'directory'=>'string', 'pattern='=>'string'],
|
||||
],
|
||||
'PharData::buildFromIterator' => [
|
||||
'old' => ['array|false', 'iterator'=>'Traversable', 'baseDirectory='=>'?string'],
|
||||
'new' => ['array', 'iterator'=>'Traversable', 'baseDirectory='=>'?string'],
|
||||
],
|
||||
'SplFileObject::fputcsv' => [
|
||||
'old' => ['int|false', 'fields'=>'array<array-key, null|scalar|Stringable>', 'separator='=>'string', 'enclosure='=>'string', 'escape='=>'string'],
|
||||
'new' => ['int|false', 'fields'=>'array<array-key, null|scalar|Stringable>', 'separator='=>'string', 'enclosure='=>'string', 'escape='=>'string', 'eol='=>'string'],
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
<?php // phpcs:ignoreFile
|
||||
|
||||
/**
|
||||
* This contains the information needed to convert the function signatures for php 8.3 to php 8.2 (and vice versa)
|
||||
*
|
||||
* This file has three sections.
|
||||
* The 'added' section contains function/method names from FunctionSignatureMap (And alternates, if applicable) that do not exist in php 8.2
|
||||
* The 'removed' section contains the signatures that were removed in php 8.3
|
||||
* The 'changed' section contains functions for which the signature has changed for php 8.3.
|
||||
* Each function in the 'changed' section has an 'old' and a 'new' section,
|
||||
* representing the function as it was in PHP 8.2 and in PHP 8.3, respectively
|
||||
*
|
||||
* @see CallMap.php
|
||||
* @see https://php.watch/versions/8.3
|
||||
*
|
||||
* @phan-file-suppress PhanPluginMixedKeyNoKey (read by Phan when analyzing this file)
|
||||
*/
|
||||
return [
|
||||
'added' => [
|
||||
'json_validate' => ['bool', 'json'=>'string', 'depth='=>'positive-int', 'flags='=>'int'],
|
||||
],
|
||||
|
||||
'changed' => [
|
||||
'gc_status' => [
|
||||
'old' => ['array{runs:int,collected:int,threshold:int,roots:int}'],
|
||||
'new' => ['array{runs:int,collected:int,threshold:int,roots:int,running:bool,protected:bool,full:bool,buffer_size:int}'],
|
||||
],
|
||||
],
|
||||
|
||||
'removed' => [
|
||||
],
|
||||
];
|
||||
+426
-434
File diff suppressed because it is too large
Load Diff
@@ -5,7 +5,7 @@ use Psalm\Type\TaintKind;
|
||||
// This maps internal function names to sink types that we don’t want to end up there
|
||||
|
||||
/**
|
||||
* @var array<string, list<list<TaintKind::*>>>
|
||||
* @var non-empty-array<string, non-empty-list<list<TaintKind::*>>>
|
||||
*/
|
||||
return [
|
||||
'exec' => [['shell']],
|
||||
|
||||
Reference in New Issue
Block a user