From 945d7554e8bc083afb3d13ae4431017aaf786f52 Mon Sep 17 00:00:00 2001 From: phpstan-bot Date: Fri, 10 Mar 2023 08:48:19 +0000 Subject: [PATCH] Update stubs --- Php8StubsMap.php | 55 ------------------- stubs/ext/dl_test/dl_test_test1.php | 7 --- stubs/ext/dl_test/dl_test_test2.php | 6 -- stubs/ext/zend_test/ZendTestAttribute.php | 5 -- ...dClassWithMethodWithParameterAttribute.php | 9 --- ...tClassWithMethodWithParameterAttribute.php | 12 ---- .../zend_test/ZendTestForbidDynamicCall.php | 12 ---- stubs/ext/zend_test/ZendTestIntEnum.php | 9 --- stubs/ext/zend_test/ZendTestNS/Foo.php | 16 ------ .../ZendTestNS/UnlikelyCompileError.php | 13 ----- stubs/ext/zend_test/ZendTestNS2/Foo.php | 10 ---- .../zend_test/ZendTestNS2/ZendSubNS/Foo.php | 11 ---- .../ZendSubNS/namespaced_aliased_func.php | 9 --- .../namespaced_deprecated_aliased_func.php | 12 ---- .../ZendSubNS/namespaced_deprecated_func.php | 9 --- .../ZendTestNS2/ZendSubNS/namespaced_func.php | 7 --- .../ZendTestNS2/namespaced_aliased_func.php | 9 --- .../namespaced_deprecated_aliased_func.php | 12 ---- .../namespaced_deprecated_func.php | 9 --- .../zend_test/ZendTestNS2/namespaced_func.php | 8 --- .../zend_test/ZendTestParameterAttribute.php | 9 --- .../zend_test/ZendTestPropertyAttribute.php | 11 ---- stubs/ext/zend_test/ZendTestStringEnum.php | 6 -- stubs/ext/zend_test/ZendTestUnitEnum.php | 6 -- stubs/ext/zend_test/_ZendTestChildClass.php | 9 --- stubs/ext/zend_test/_ZendTestClass.php | 33 ----------- stubs/ext/zend_test/_ZendTestFiber.php | 22 -------- stubs/ext/zend_test/_ZendTestInterface.php | 5 -- stubs/ext/zend_test/_ZendTestTrait.php | 8 --- stubs/ext/zend_test/zend_call_method.php | 11 ---- .../zend_create_unterminated_string.php | 5 -- .../zend_test/zend_get_current_func_name.php | 5 -- stubs/ext/zend_test/zend_get_map_ptr_last.php | 6 -- stubs/ext/zend_test/zend_get_unit_enum.php | 6 -- stubs/ext/zend_test/zend_iterable.php | 5 -- stubs/ext/zend_test/zend_leak_bytes.php | 5 -- stubs/ext/zend_test/zend_leak_variable.php | 5 -- stubs/ext/zend_test/zend_string_or_object.php | 5 -- .../zend_string_or_object_or_null.php | 5 -- .../ext/zend_test/zend_string_or_stdclass.php | 6 -- .../zend_string_or_stdclass_or_null.php | 6 -- stubs/ext/zend_test/zend_terminate_string.php | 5 -- stubs/ext/zend_test/zend_test_aliased.php | 7 --- .../ext/zend_test/zend_test_array_return.php | 5 -- .../zend_test/zend_test_compile_string.php | 6 -- stubs/ext/zend_test/zend_test_deprecated.php | 6 -- .../zend_test_deprecated_aliased.php | 10 ---- .../zend_test_nullable_array_return.php | 5 -- .../zend_test_parameter_with_attribute.php | 6 -- stubs/ext/zend_test/zend_test_void_return.php | 5 -- .../zend_test_zend_ini_parse_quantity.php | 6 -- .../zend_test_zend_ini_parse_uquantity.php | 6 -- .../ext/zend_test/zend_test_zend_ini_str.php | 6 -- stubs/ext/zend_test/zend_weakmap_attach.php | 5 -- stubs/ext/zend_test/zend_weakmap_dump.php | 5 -- stubs/ext/zend_test/zend_weakmap_remove.php | 5 -- 56 files changed, 507 deletions(-) delete mode 100644 stubs/ext/dl_test/dl_test_test1.php delete mode 100644 stubs/ext/dl_test/dl_test_test2.php delete mode 100644 stubs/ext/zend_test/ZendTestAttribute.php delete mode 100644 stubs/ext/zend_test/ZendTestChildClassWithMethodWithParameterAttribute.php delete mode 100644 stubs/ext/zend_test/ZendTestClassWithMethodWithParameterAttribute.php delete mode 100644 stubs/ext/zend_test/ZendTestForbidDynamicCall.php delete mode 100644 stubs/ext/zend_test/ZendTestIntEnum.php delete mode 100644 stubs/ext/zend_test/ZendTestNS/Foo.php delete mode 100644 stubs/ext/zend_test/ZendTestNS/UnlikelyCompileError.php delete mode 100644 stubs/ext/zend_test/ZendTestNS2/Foo.php delete mode 100644 stubs/ext/zend_test/ZendTestNS2/ZendSubNS/Foo.php delete mode 100644 stubs/ext/zend_test/ZendTestNS2/ZendSubNS/namespaced_aliased_func.php delete mode 100644 stubs/ext/zend_test/ZendTestNS2/ZendSubNS/namespaced_deprecated_aliased_func.php delete mode 100644 stubs/ext/zend_test/ZendTestNS2/ZendSubNS/namespaced_deprecated_func.php delete mode 100644 stubs/ext/zend_test/ZendTestNS2/ZendSubNS/namespaced_func.php delete mode 100644 stubs/ext/zend_test/ZendTestNS2/namespaced_aliased_func.php delete mode 100644 stubs/ext/zend_test/ZendTestNS2/namespaced_deprecated_aliased_func.php delete mode 100644 stubs/ext/zend_test/ZendTestNS2/namespaced_deprecated_func.php delete mode 100644 stubs/ext/zend_test/ZendTestNS2/namespaced_func.php delete mode 100644 stubs/ext/zend_test/ZendTestParameterAttribute.php delete mode 100644 stubs/ext/zend_test/ZendTestPropertyAttribute.php delete mode 100644 stubs/ext/zend_test/ZendTestStringEnum.php delete mode 100644 stubs/ext/zend_test/ZendTestUnitEnum.php delete mode 100644 stubs/ext/zend_test/_ZendTestChildClass.php delete mode 100644 stubs/ext/zend_test/_ZendTestClass.php delete mode 100644 stubs/ext/zend_test/_ZendTestFiber.php delete mode 100644 stubs/ext/zend_test/_ZendTestInterface.php delete mode 100644 stubs/ext/zend_test/_ZendTestTrait.php delete mode 100644 stubs/ext/zend_test/zend_call_method.php delete mode 100644 stubs/ext/zend_test/zend_create_unterminated_string.php delete mode 100644 stubs/ext/zend_test/zend_get_current_func_name.php delete mode 100644 stubs/ext/zend_test/zend_get_map_ptr_last.php delete mode 100644 stubs/ext/zend_test/zend_get_unit_enum.php delete mode 100644 stubs/ext/zend_test/zend_iterable.php delete mode 100644 stubs/ext/zend_test/zend_leak_bytes.php delete mode 100644 stubs/ext/zend_test/zend_leak_variable.php delete mode 100644 stubs/ext/zend_test/zend_string_or_object.php delete mode 100644 stubs/ext/zend_test/zend_string_or_object_or_null.php delete mode 100644 stubs/ext/zend_test/zend_string_or_stdclass.php delete mode 100644 stubs/ext/zend_test/zend_string_or_stdclass_or_null.php delete mode 100644 stubs/ext/zend_test/zend_terminate_string.php delete mode 100644 stubs/ext/zend_test/zend_test_aliased.php delete mode 100644 stubs/ext/zend_test/zend_test_array_return.php delete mode 100644 stubs/ext/zend_test/zend_test_compile_string.php delete mode 100644 stubs/ext/zend_test/zend_test_deprecated.php delete mode 100644 stubs/ext/zend_test/zend_test_deprecated_aliased.php delete mode 100644 stubs/ext/zend_test/zend_test_nullable_array_return.php delete mode 100644 stubs/ext/zend_test/zend_test_parameter_with_attribute.php delete mode 100644 stubs/ext/zend_test/zend_test_void_return.php delete mode 100644 stubs/ext/zend_test/zend_test_zend_ini_parse_quantity.php delete mode 100644 stubs/ext/zend_test/zend_test_zend_ini_parse_uquantity.php delete mode 100644 stubs/ext/zend_test/zend_test_zend_ini_str.php delete mode 100644 stubs/ext/zend_test/zend_weakmap_attach.php delete mode 100644 stubs/ext/zend_test/zend_weakmap_dump.php delete mode 100644 stubs/ext/zend_test/zend_weakmap_remove.php diff --git a/Php8StubsMap.php b/Php8StubsMap.php index 86cc2fd5..d4e05595 100644 --- a/Php8StubsMap.php +++ b/Php8StubsMap.php @@ -14,10 +14,6 @@ class Php8StubsMap public function __construct(int $phpVersionId) { $classes = array ( - '_zendtestchildclass' => 'stubs/ext/zend_test/_ZendTestChildClass.php', - '_zendtestclass' => 'stubs/ext/zend_test/_ZendTestClass.php', - '_zendtestinterface' => 'stubs/ext/zend_test/_ZendTestInterface.php', - '_zendtesttrait' => 'stubs/ext/zend_test/_ZendTestTrait.php', 'addressinfo' => 'stubs/ext/sockets/AddressInfo.php', 'appenditerator' => 'stubs/ext/spl/AppendIterator.php', 'argumentcounterror' => 'stubs/Zend/ArgumentCountError.php', @@ -232,9 +228,6 @@ public function __construct(int $phpVersionId) 'xmlreader' => 'stubs/ext/xmlreader/XMLReader.php', 'xmlwriter' => 'stubs/ext/xmlwriter/XMLWriter.php', 'xsltprocessor' => 'stubs/ext/xsl/XSLTProcessor.php', - 'zendtestattribute' => 'stubs/ext/zend_test/ZendTestAttribute.php', - 'zendtestns2\\foo' => 'stubs/ext/zend_test/ZendTestNS2/Foo.php', - 'zendtestns\\foo' => 'stubs/ext/zend_test/ZendTestNS/Foo.php', 'ziparchive' => 'stubs/ext/zip/ZipArchive.php', ); $functions = array ( @@ -2589,26 +2582,8 @@ public function __construct(int $phpVersionId) 'xmlwriter_write_element_ns' => 'stubs/ext/xmlwriter/xmlwriter_write_element_ns.php', 'xmlwriter_write_pi' => 'stubs/ext/xmlwriter/xmlwriter_write_pi.php', 'xmlwriter_write_raw' => 'stubs/ext/xmlwriter/xmlwriter_write_raw.php', - 'zend_create_unterminated_string' => 'stubs/ext/zend_test/zend_create_unterminated_string.php', - 'zend_get_current_func_name' => 'stubs/ext/zend_test/zend_get_current_func_name.php', - 'zend_iterable' => 'stubs/ext/zend_test/zend_iterable.php', - 'zend_leak_bytes' => 'stubs/ext/zend_test/zend_leak_bytes.php', - 'zend_leak_variable' => 'stubs/ext/zend_test/zend_leak_variable.php', - 'zend_string_or_object' => 'stubs/ext/zend_test/zend_string_or_object.php', - 'zend_string_or_object_or_null' => 'stubs/ext/zend_test/zend_string_or_object_or_null.php', - 'zend_string_or_stdclass' => 'stubs/ext/zend_test/zend_string_or_stdclass.php', - 'zend_string_or_stdclass_or_null' => 'stubs/ext/zend_test/zend_string_or_stdclass_or_null.php', - 'zend_terminate_string' => 'stubs/ext/zend_test/zend_terminate_string.php', - 'zend_test_array_return' => 'stubs/ext/zend_test/zend_test_array_return.php', - 'zend_test_deprecated' => 'stubs/ext/zend_test/zend_test_deprecated.php', - 'zend_test_nullable_array_return' => 'stubs/ext/zend_test/zend_test_nullable_array_return.php', - 'zend_test_void_return' => 'stubs/ext/zend_test/zend_test_void_return.php', 'zend_thread_id' => 'stubs/Zend/zend_thread_id.php', 'zend_version' => 'stubs/Zend/zend_version.php', - 'zend_weakmap_attach' => 'stubs/ext/zend_test/zend_weakmap_attach.php', - 'zend_weakmap_dump' => 'stubs/ext/zend_test/zend_weakmap_dump.php', - 'zend_weakmap_remove' => 'stubs/ext/zend_test/zend_weakmap_remove.php', - 'zendtestns2\\zendsubns\\namespaced_func' => 'stubs/ext/zend_test/ZendTestNS2/ZendSubNS/namespaced_func.php', 'zip_close' => 'stubs/ext/zip/zip_close.php', 'zip_entry_close' => 'stubs/ext/zip/zip_entry_close.php', 'zip_entry_compressedsize' => 'stubs/ext/zip/zip_entry_compressedsize.php', @@ -2626,7 +2601,6 @@ public function __construct(int $phpVersionId) if ($phpVersionId >= 80100) { $classes = \array_merge($classes, array ( '__php_incomplete_class' => 'stubs/ext/standard/__PHP_Incomplete_Class.php', - '_zendtestfiber' => 'stubs/ext/zend_test/_ZendTestFiber.php', 'assertionerror' => 'stubs/ext/standard/AssertionError.php', 'backedenum' => 'stubs/Zend/BackedEnum.php', 'badfunctioncallexception' => 'stubs/ext/spl/BadFunctionCallException.php', @@ -2666,15 +2640,9 @@ public function __construct(int $phpVersionId) 'underflowexception' => 'stubs/ext/spl/UnderflowException.php', 'unexpectedvalueexception' => 'stubs/ext/spl/UnexpectedValueException.php', 'unitenum' => 'stubs/Zend/UnitEnum.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', - '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', @@ -2700,12 +2668,6 @@ 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', - 'zend_call_method' => 'stubs/ext/zend_test/zend_call_method.php', - 'zend_get_map_ptr_last' => 'stubs/ext/zend_test/zend_get_map_ptr_last.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', - 'zendteststringenum' => 'stubs/ext/zend_test/ZendTestStringEnum.php', - 'zendtestunitenum' => 'stubs/ext/zend_test/ZendTestUnitEnum.php', )); } @@ -2724,9 +2686,6 @@ public function __construct(int $phpVersionId) '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', - 'zendtestpropertyattribute' => 'stubs/ext/zend_test/ZendTestPropertyAttribute.php', )); $functions = \array_merge($functions, array ( 'curl_upkeep' => 'stubs/ext/curl/curl_upkeep.php', @@ -2751,20 +2710,6 @@ public function __construct(int $phpVersionId) 'random_int' => 'stubs/ext/random/random_int.php', 'sodium_crypto_stream_xchacha20_xor_ic' => 'stubs/ext/sodium/sodium_crypto_stream_xchacha20_xor_ic.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', - '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\\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', - 'zendtestns2\\zendsubns\\namespaced_deprecated_func' => 'stubs/ext/zend_test/ZendTestNS2/ZendSubNS/namespaced_deprecated_func.php', )); } diff --git a/stubs/ext/dl_test/dl_test_test1.php b/stubs/ext/dl_test/dl_test_test1.php deleted file mode 100644 index fa94c381..00000000 --- a/stubs/ext/dl_test/dl_test_test1.php +++ /dev/null @@ -1,7 +0,0 @@ -