Skip to content

Commit

Permalink
Update stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
phpstan-bot committed Oct 26, 2022
1 parent 5c44cdd commit adbc565
Showing 1 changed file with 75 additions and 75 deletions.
150 changes: 75 additions & 75 deletions Php8StubsMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,13 +245,13 @@ public function __construct(int $phpVersionId)
'addcslashes' => 'stubs/ext/standard/addcslashes.php',
'addslashes' => 'stubs/ext/standard/addslashes.php',
'apache_child_terminate' => 'stubs/sapi/cgi/apache_child_terminate.php',
'apache_get_modules' => 'stubs/sapi/litespeed/apache_get_modules.php',
'apache_get_modules' => 'stubs/sapi/apache2handler/apache_get_modules.php',
'apache_get_version' => 'stubs/sapi/apache2handler/apache_get_version.php',
'apache_getenv' => 'stubs/sapi/apache2handler/apache_getenv.php',
'apache_lookup_uri' => 'stubs/sapi/apache2handler/apache_lookup_uri.php',
'apache_note' => 'stubs/sapi/apache2handler/apache_note.php',
'apache_request_headers' => 'stubs/sapi/cgi/apache_request_headers.php',
'apache_response_headers' => 'stubs/sapi/cgi/apache_response_headers.php',
'apache_request_headers' => 'stubs/sapi/apache2handler/apache_request_headers.php',
'apache_response_headers' => 'stubs/sapi/apache2handler/apache_response_headers.php',
'apache_setenv' => 'stubs/sapi/apache2handler/apache_setenv.php',
'array_change_key_case' => 'stubs/ext/standard/array_change_key_case.php',
'array_chunk' => 'stubs/ext/standard/array_chunk.php',
Expand Down Expand Up @@ -710,7 +710,7 @@ public function __construct(int $phpVersionId)
'get_resource_id' => 'stubs/Zend/get_resource_id.php',
'get_resource_type' => 'stubs/Zend/get_resource_type.php',
'get_resources' => 'stubs/Zend/get_resources.php',
'getallheaders' => 'stubs/sapi/cgi/getallheaders.php',
'getallheaders' => 'stubs/sapi/apache2handler/getallheaders.php',
'getcwd' => 'stubs/ext/standard/getcwd.php',
'getdate' => 'stubs/ext/date/getdate.php',
'getenv' => 'stubs/ext/standard/getenv.php',
Expand Down Expand Up @@ -2626,55 +2626,62 @@ public function __construct(int $phpVersionId)
if ($phpVersionId >= 80100) {
$classes = \array_merge($classes, array (
'__php_incomplete_class' => 'stubs/ext/standard/__PHP_Incomplete_Class.php',
'assertionerror' => 'stubs/ext/standard/AssertionError.php',
'intldatepatterngenerator' => 'stubs/ext/intl/dateformat/IntlDatePatternGenerator.php',
'curlstringfile' => 'stubs/ext/curl/CURLStringFile.php',
'zendtestparameterattribute' => 'stubs/ext/zend_test/ZendTestParameterAttribute.php',
'zendtestclasswithmethodwithparameterattribute' => 'stubs/ext/zend_test/ZendTestClassWithMethodWithParameterAttribute.php',
'zendtestchildclasswithmethodwithparameterattribute' => 'stubs/ext/zend_test/ZendTestChildClassWithMethodWithParameterAttribute.php',
'zendtestns2\\zendsubns\\foo' => 'stubs/ext/zend_test/ZendTestNS2/ZendSubNS/Foo.php',
'_zendtestfiber' => 'stubs/ext/zend_test/_ZendTestFiber.php',
'pspell\\dictionary' => 'stubs/ext/pspell/PSpell/Dictionary.php',
'pspell\\config' => 'stubs/ext/pspell/PSpell/Config.php',
'reflectionintersectiontype' => 'stubs/ext/reflection/ReflectionIntersectionType.php',
'reflectionenum' => 'stubs/ext/reflection/ReflectionEnum.php',
'reflectionenumunitcase' => 'stubs/ext/reflection/ReflectionEnumUnitCase.php',
'reflectionenumbackedcase' => 'stubs/ext/reflection/ReflectionEnumBackedCase.php',
'reflectionfiber' => 'stubs/ext/reflection/ReflectionFiber.php',
'com_safearray_proxy' => 'stubs/ext/com_dotnet/com_safearray_proxy.php',
'pgsql\\connection' => 'stubs/ext/pgsql/PgSql/Connection.php',
'pgsql\\result' => 'stubs/ext/pgsql/PgSql/Result.php',
'pgsql\\lob' => 'stubs/ext/pgsql/PgSql/Lob.php',
'ldap\\connection' => 'stubs/ext/ldap/LDAP/Connection.php',
'ldap\\result' => 'stubs/ext/ldap/LDAP/Result.php',
'ldap\\resultentry' => 'stubs/ext/ldap/LDAP/ResultEntry.php',
'logicexception' => 'stubs/ext/spl/LogicException.php',
'assertionerror' => 'stubs/ext/standard/AssertionError.php',
'backedenum' => 'stubs/Zend/BackedEnum.php',
'badfunctioncallexception' => 'stubs/ext/spl/BadFunctionCallException.php',
'badmethodcallexception' => 'stubs/ext/spl/BadMethodCallException.php',
'com_safearray_proxy' => 'stubs/ext/com_dotnet/com_safearray_proxy.php',
'curlstringfile' => 'stubs/ext/curl/CURLStringFile.php',
'domainexception' => 'stubs/ext/spl/DomainException.php',
'fiber' => 'stubs/Zend/Fiber.php',
'fibererror' => 'stubs/Zend/FiberError.php',
'ftp\\connection' => 'stubs/ext/ftp/FTP/Connection.php',
'gdfont' => 'stubs/ext/gd/GdFont.php',
'imap\\connection' => 'stubs/ext/imap/IMAP/Connection.php',
'intldatepatterngenerator' => 'stubs/ext/intl/dateformat/IntlDatePatternGenerator.php',
'invalidargumentexception' => 'stubs/ext/spl/InvalidArgumentException.php',
'ldap\\connection' => 'stubs/ext/ldap/LDAP/Connection.php',
'ldap\\result' => 'stubs/ext/ldap/LDAP/Result.php',
'ldap\\resultentry' => 'stubs/ext/ldap/LDAP/ResultEntry.php',
'lengthexception' => 'stubs/ext/spl/LengthException.php',
'outofrangeexception' => 'stubs/ext/spl/OutOfRangeException.php',
'runtimeexception' => 'stubs/ext/spl/RuntimeException.php',
'logicexception' => 'stubs/ext/spl/LogicException.php',
'outofboundsexception' => 'stubs/ext/spl/OutOfBoundsException.php',
'outofrangeexception' => 'stubs/ext/spl/OutOfRangeException.php',
'overflowexception' => 'stubs/ext/spl/OverflowException.php',
'pgsql\\connection' => 'stubs/ext/pgsql/PgSql/Connection.php',
'pgsql\\lob' => 'stubs/ext/pgsql/PgSql/Lob.php',
'pgsql\\result' => 'stubs/ext/pgsql/PgSql/Result.php',
'pspell\\config' => 'stubs/ext/pspell/PSpell/Config.php',
'pspell\\dictionary' => 'stubs/ext/pspell/PSpell/Dictionary.php',
'rangeexception' => 'stubs/ext/spl/RangeException.php',
'reflectionenum' => 'stubs/ext/reflection/ReflectionEnum.php',
'reflectionenumbackedcase' => 'stubs/ext/reflection/ReflectionEnumBackedCase.php',
'reflectionenumunitcase' => 'stubs/ext/reflection/ReflectionEnumUnitCase.php',
'reflectionfiber' => 'stubs/ext/reflection/ReflectionFiber.php',
'reflectionintersectiontype' => 'stubs/ext/reflection/ReflectionIntersectionType.php',
'returntypewillchange' => 'stubs/Zend/ReturnTypeWillChange.php',
'runtimeexception' => 'stubs/ext/spl/RuntimeException.php',
'stdclass' => 'stubs/Zend/stdClass.php',
'underflowexception' => 'stubs/ext/spl/UnderflowException.php',
'unexpectedvalueexception' => 'stubs/ext/spl/UnexpectedValueException.php',
'ftp\\connection' => 'stubs/ext/ftp/FTP/Connection.php',
'imap\\connection' => 'stubs/ext/imap/IMAP/Connection.php',
'gdfont' => 'stubs/ext/gd/GdFont.php',
'fiber' => 'stubs/Zend/Fiber.php',
'fibererror' => 'stubs/Zend/FiberError.php',
'unitenum' => 'stubs/Zend/UnitEnum.php',
'backedenum' => 'stubs/Zend/BackedEnum.php',
'returntypewillchange' => 'stubs/Zend/ReturnTypeWillChange.php',
'stdclass' => 'stubs/Zend/stdClass.php',
'zendtestchildclasswithmethodwithparameterattribute' => 'stubs/ext/zend_test/ZendTestChildClassWithMethodWithParameterAttribute.php',
'zendtestclasswithmethodwithparameterattribute' => 'stubs/ext/zend_test/ZendTestClassWithMethodWithParameterAttribute.php',
'zendtestns2\\zendsubns\\foo' => 'stubs/ext/zend_test/ZendTestNS2/ZendSubNS/Foo.php',
'zendtestparameterattribute' => 'stubs/ext/zend_test/ZendTestParameterAttribute.php',
));
$functions = \array_merge($functions, array (
'array_is_list' => 'stubs/ext/standard/array_is_list.php',
'fsync' => 'stubs/ext/standard/fsync.php',
'dl_test_test1' => 'stubs/ext/dl_test/dl_test_test1.php',
'dl_test_test2' => 'stubs/ext/dl_test/dl_test_test2.php',
'enum_exists' => 'stubs/Zend/enum_exists.php',
'fdatasync' => 'stubs/ext/standard/fdatasync.php',
'fsync' => 'stubs/ext/standard/fsync.php',
'imageavif' => 'stubs/ext/gd/imageavif.php',
'imagecreatefromavif' => 'stubs/ext/gd/imagecreatefromavif.php',
'mysqli_fetch_column' => 'stubs/ext/mysqli/mysqli_fetch_column.php',
'pcntl_rfork' => 'stubs/ext/pcntl/pcntl_rfork.php',
'sodium_crypto_core_ristretto255_add' => 'stubs/ext/sodium/sodium_crypto_core_ristretto255_add.php',
'sodium_crypto_core_ristretto255_from_hash' => 'stubs/ext/sodium/sodium_crypto_core_ristretto255_from_hash.php',
'sodium_crypto_core_ristretto255_is_valid_point' => 'stubs/ext/sodium/sodium_crypto_core_ristretto255_is_valid_point.php',
Expand All @@ -2693,75 +2700,68 @@ public function __construct(int $phpVersionId)
'sodium_crypto_stream_xchacha20' => 'stubs/ext/sodium/sodium_crypto_stream_xchacha20.php',
'sodium_crypto_stream_xchacha20_keygen' => 'stubs/ext/sodium/sodium_crypto_stream_xchacha20_keygen.php',
'sodium_crypto_stream_xchacha20_xor' => 'stubs/ext/sodium/sodium_crypto_stream_xchacha20_xor.php',
'dl_test_test1' => 'stubs/ext/dl_test/dl_test_test1.php',
'dl_test_test2' => 'stubs/ext/dl_test/dl_test_test2.php',
'zendtestunitenum' => 'stubs/ext/zend_test/ZendTestUnitEnum.php',
'zendteststringenum' => 'stubs/ext/zend_test/ZendTestStringEnum.php',
'zend_call_method' => 'stubs/ext/zend_test/zend_call_method.php',
'zend_get_unit_enum' => 'stubs/ext/zend_test/zend_get_unit_enum.php',
'zend_test_parameter_with_attribute' => 'stubs/ext/zend_test/zend_test_parameter_with_attribute.php',
'zend_call_method' => 'stubs/ext/zend_test/zend_call_method.php',
'mysqli_fetch_column' => 'stubs/ext/mysqli/mysqli_fetch_column.php',
'imagecreatefromavif' => 'stubs/ext/gd/imagecreatefromavif.php',
'imageavif' => 'stubs/ext/gd/imageavif.php',
'pcntl_rfork' => 'stubs/ext/pcntl/pcntl_rfork.php',
'enum_exists' => 'stubs/Zend/enum_exists.php',
'zendteststringenum' => 'stubs/ext/zend_test/ZendTestStringEnum.php',
'zendtestunitenum' => 'stubs/ext/zend_test/ZendTestUnitEnum.php',
));
}

if ($phpVersionId >= 80200) {
$classes = \array_merge($classes, array (
'allowdynamicproperties' => 'stubs/Zend/AllowDynamicProperties.php',
'random\\brokenrandomengineerror' => 'stubs/ext/random/Random/BrokenRandomEngineError.php',
'random\\cryptosafeengine' => 'stubs/ext/random/Random/CryptoSafeEngine.php',
'random\\engine' => 'stubs/ext/random/Random/Engine.php',
'random\\engine\\mt19937' => 'stubs/ext/random/Random/Engine/Mt19937.php',
'random\\engine\\pcgoneseq128xslrr64' => 'stubs/ext/random/Random/Engine/PcgOneseq128XslRr64.php',
'random\\engine\\xoshiro256starstar' => 'stubs/ext/random/Random/Engine/Xoshiro256StarStar.php',
'random\\engine\\secure' => 'stubs/ext/random/Random/Engine/Secure.php',
'random\\engine' => 'stubs/ext/random/Random/Engine.php',
'random\\cryptosafeengine' => 'stubs/ext/random/Random/CryptoSafeEngine.php',
'random\\randomizer' => 'stubs/ext/random/Random/Randomizer.php',
'random\\engine\\xoshiro256starstar' => 'stubs/ext/random/Random/Engine/Xoshiro256StarStar.php',
'random\\randomerror' => 'stubs/ext/random/Random/RandomError.php',
'random\\brokenrandomengineerror' => 'stubs/ext/random/Random/BrokenRandomEngineError.php',
'random\\randomexception' => 'stubs/ext/random/Random/RandomException.php',
'zendtestforbiddynamiccall' => 'stubs/ext/zend_test/ZendTestForbidDynamicCall.php',
'zendtestns\\unlikelycompileerror' => 'stubs/ext/zend_test/ZendTestNS/UnlikelyCompileError.php',
'allowdynamicproperties' => 'stubs/Zend/AllowDynamicProperties.php',
'random\\randomizer' => 'stubs/ext/random/Random/Randomizer.php',
'sensitiveparameter' => 'stubs/Zend/SensitiveParameter.php',
'sensitiveparametervalue' => 'stubs/Zend/SensitiveParameterValue.php',
'zendtestforbiddynamiccall' => 'stubs/ext/zend_test/ZendTestForbidDynamicCall.php',
'zendtestns\\unlikelycompileerror' => 'stubs/ext/zend_test/ZendTestNS/UnlikelyCompileError.php',
));
$functions = \array_merge($functions, array (
'lcg_value' => 'stubs/ext/random/lcg_value.php',
'mt_srand' => 'stubs/ext/random/mt_srand.php',
'srand' => 'stubs/ext/random/srand.php',
'rand' => 'stubs/ext/random/rand.php',
'mt_rand' => 'stubs/ext/random/mt_rand.php',
'mt_getrandmax' => 'stubs/ext/random/mt_getrandmax.php',
'curl_upkeep' => 'stubs/ext/curl/curl_upkeep.php',
'getrandmax' => 'stubs/ext/random/getrandmax.php',
'random_bytes' => 'stubs/ext/random/random_bytes.php',
'random_int' => 'stubs/ext/random/random_int.php',
'ini_parse_quantity' => 'stubs/ext/standard/ini_parse_quantity.php',
'lcg_value' => 'stubs/ext/random/lcg_value.php',
'libxml_get_external_entity_loader' => 'stubs/ext/libxml/libxml_get_external_entity_loader.php',
'memory_reset_peak_usage' => 'stubs/ext/standard/memory_reset_peak_usage.php',
'mt_getrandmax' => 'stubs/ext/random/mt_getrandmax.php',
'mt_rand' => 'stubs/ext/random/mt_rand.php',
'mt_srand' => 'stubs/ext/random/mt_srand.php',
'mysqli_execute_query' => 'stubs/ext/mysqli/mysqli_execute_query.php',
'oci_set_prefetch_lob' => 'stubs/ext/oci8/oci_set_prefetch_lob.php',
'odbc_connection_string_is_quoted' => 'stubs/ext/odbc/odbc_connection_string_is_quoted.php',
'odbc_connection_string_should_quote' => 'stubs/ext/odbc/odbc_connection_string_should_quote.php',
'odbc_connection_string_quote' => 'stubs/ext/odbc/odbc_connection_string_quote.php',
'odbc_connection_string_should_quote' => 'stubs/ext/odbc/odbc_connection_string_should_quote.php',
'openssl_cipher_key_length' => 'stubs/ext/openssl/openssl_cipher_key_length.php',
'pcntl_forkx' => 'stubs/ext/pcntl/pcntl_forkx.php',
'rand' => 'stubs/ext/random/rand.php',
'random_bytes' => 'stubs/ext/random/random_bytes.php',
'random_int' => 'stubs/ext/random/random_int.php',
'sodium_crypto_stream_xchacha20_xor_ic' => 'stubs/ext/sodium/sodium_crypto_stream_xchacha20_xor_ic.php',
'curl_upkeep' => 'stubs/ext/curl/curl_upkeep.php',
'zendtestintenum' => 'stubs/ext/zend_test/ZendTestIntEnum.php',
'zend_test_compile_string' => 'stubs/ext/zend_test/zend_test_compile_string.php',
'srand' => 'stubs/ext/random/srand.php',
'zend_test_aliased' => 'stubs/ext/zend_test/zend_test_aliased.php',
'zend_test_compile_string' => 'stubs/ext/zend_test/zend_test_compile_string.php',
'zend_test_deprecated_aliased' => 'stubs/ext/zend_test/zend_test_deprecated_aliased.php',
'zend_test_zend_ini_parse_quantity' => 'stubs/ext/zend_test/zend_test_zend_ini_parse_quantity.php',
'zend_test_zend_ini_parse_uquantity' => 'stubs/ext/zend_test/zend_test_zend_ini_parse_uquantity.php',
'zend_test_zend_ini_str' => 'stubs/ext/zend_test/zend_test_zend_ini_str.php',
'zendtestns2\\namespaced_func' => 'stubs/ext/zend_test/ZendTestNS2/namespaced_func.php',
'zendtestns2\\namespaced_deprecated_func' => 'stubs/ext/zend_test/ZendTestNS2/namespaced_deprecated_func.php',
'zendtestintenum' => 'stubs/ext/zend_test/ZendTestIntEnum.php',
'zendtestns2\\namespaced_aliased_func' => 'stubs/ext/zend_test/ZendTestNS2/namespaced_aliased_func.php',
'zendtestns2\\namespaced_deprecated_aliased_func' => 'stubs/ext/zend_test/ZendTestNS2/namespaced_deprecated_aliased_func.php',
'zendtestns2\\zendsubns\\namespaced_deprecated_func' => 'stubs/ext/zend_test/ZendTestNS2/ZendSubNS/namespaced_deprecated_func.php',
'zendtestns2\\namespaced_deprecated_func' => 'stubs/ext/zend_test/ZendTestNS2/namespaced_deprecated_func.php',
'zendtestns2\\namespaced_func' => 'stubs/ext/zend_test/ZendTestNS2/namespaced_func.php',
'zendtestns2\\zendsubns\\namespaced_aliased_func' => 'stubs/ext/zend_test/ZendTestNS2/ZendSubNS/namespaced_aliased_func.php',
'zendtestns2\\zendsubns\\namespaced_deprecated_aliased_func' => 'stubs/ext/zend_test/ZendTestNS2/ZendSubNS/namespaced_deprecated_aliased_func.php',
'openssl_cipher_key_length' => 'stubs/ext/openssl/openssl_cipher_key_length.php',
'oci_set_prefetch_lob' => 'stubs/ext/oci8/oci_set_prefetch_lob.php',
'mysqli_execute_query' => 'stubs/ext/mysqli/mysqli_execute_query.php',
'libxml_get_external_entity_loader' => 'stubs/ext/libxml/libxml_get_external_entity_loader.php',
'pcntl_forkx' => 'stubs/ext/pcntl/pcntl_forkx.php',
'zendtestns2\\zendsubns\\namespaced_deprecated_func' => 'stubs/ext/zend_test/ZendTestNS2/ZendSubNS/namespaced_deprecated_func.php',
));
}

Expand Down

0 comments on commit adbc565

Please sign in to comment.