Skip to content

Commit ba8b69c

Browse files
committed
Update stubs
1 parent df5ce9d commit ba8b69c

File tree

8 files changed

+42
-28
lines changed

8 files changed

+42
-28
lines changed

Php8StubsMap.php

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ public function __construct(int $phpVersionId)
250250
'apache_getenv' => 'stubs/sapi/apache2handler/apache_getenv.php',
251251
'apache_lookup_uri' => 'stubs/sapi/apache2handler/apache_lookup_uri.php',
252252
'apache_note' => 'stubs/sapi/apache2handler/apache_note.php',
253-
'apache_request_headers' => 'stubs/sapi/fpm/fpm/apache_request_headers.php',
253+
'apache_request_headers' => 'stubs/sapi/apache2handler/apache_request_headers.php',
254254
'apache_response_headers' => 'stubs/sapi/apache2handler/apache_response_headers.php',
255255
'apache_setenv' => 'stubs/sapi/apache2handler/apache_setenv.php',
256256
'array_change_key_case' => 'stubs/ext/standard/array_change_key_case.php',
@@ -710,7 +710,7 @@ public function __construct(int $phpVersionId)
710710
'get_resource_id' => 'stubs/Zend/get_resource_id.php',
711711
'get_resource_type' => 'stubs/Zend/get_resource_type.php',
712712
'get_resources' => 'stubs/Zend/get_resources.php',
713-
'getallheaders' => 'stubs/sapi/fpm/fpm/getallheaders.php',
713+
'getallheaders' => 'stubs/sapi/apache2handler/getallheaders.php',
714714
'getcwd' => 'stubs/ext/standard/getcwd.php',
715715
'getdate' => 'stubs/ext/date/getdate.php',
716716
'getenv' => 'stubs/ext/standard/getenv.php',
@@ -2625,17 +2625,24 @@ public function __construct(int $phpVersionId)
26252625
);
26262626
if ($phpVersionId >= 80100) {
26272627
$classes = \array_merge($classes, array (
2628-
'ftp\\connection' => 'stubs/ext/ftp/FTP/Connection.php',
2629-
'__php_incomplete_class' => 'stubs/ext/standard/__PHP_Incomplete_Class.php',
2630-
'assertionerror' => 'stubs/ext/standard/AssertionError.php',
26312628
'curlstringfile' => 'stubs/ext/curl/CURLStringFile.php',
2632-
'ldap\\connection' => 'stubs/ext/ldap/LDAP/Connection.php',
2633-
'ldap\\result' => 'stubs/ext/ldap/LDAP/Result.php',
2634-
'ldap\\resultentry' => 'stubs/ext/ldap/LDAP/ResultEntry.php',
2635-
'gdfont' => 'stubs/ext/gd/GdFont.php',
2636-
'intldatepatterngenerator' => 'stubs/ext/intl/dateformat/IntlDatePatternGenerator.php',
26372629
'pspell\\dictionary' => 'stubs/ext/pspell/PSpell/Dictionary.php',
26382630
'pspell\\config' => 'stubs/ext/pspell/PSpell/Config.php',
2631+
'gdfont' => 'stubs/ext/gd/GdFont.php',
2632+
'reflectionintersectiontype' => 'stubs/ext/reflection/ReflectionIntersectionType.php',
2633+
'reflectionenum' => 'stubs/ext/reflection/ReflectionEnum.php',
2634+
'reflectionenumunitcase' => 'stubs/ext/reflection/ReflectionEnumUnitCase.php',
2635+
'reflectionenumbackedcase' => 'stubs/ext/reflection/ReflectionEnumBackedCase.php',
2636+
'reflectionfiber' => 'stubs/ext/reflection/ReflectionFiber.php',
2637+
'pgsql\\connection' => 'stubs/ext/pgsql/PgSql/Connection.php',
2638+
'pgsql\\result' => 'stubs/ext/pgsql/PgSql/Result.php',
2639+
'pgsql\\lob' => 'stubs/ext/pgsql/PgSql/Lob.php',
2640+
'com_safearray_proxy' => 'stubs/ext/com_dotnet/com_safearray_proxy.php',
2641+
'imap\\connection' => 'stubs/ext/imap/IMAP/Connection.php',
2642+
'intldatepatterngenerator' => 'stubs/ext/intl/dateformat/IntlDatePatternGenerator.php',
2643+
'__php_incomplete_class' => 'stubs/ext/standard/__PHP_Incomplete_Class.php',
2644+
'assertionerror' => 'stubs/ext/standard/AssertionError.php',
2645+
'ftp\\connection' => 'stubs/ext/ftp/FTP/Connection.php',
26392646
'logicexception' => 'stubs/ext/spl/LogicException.php',
26402647
'badfunctioncallexception' => 'stubs/ext/spl/BadFunctionCallException.php',
26412648
'badmethodcallexception' => 'stubs/ext/spl/BadMethodCallException.php',
@@ -2649,33 +2656,22 @@ public function __construct(int $phpVersionId)
26492656
'rangeexception' => 'stubs/ext/spl/RangeException.php',
26502657
'underflowexception' => 'stubs/ext/spl/UnderflowException.php',
26512658
'unexpectedvalueexception' => 'stubs/ext/spl/UnexpectedValueException.php',
2652-
'com_safearray_proxy' => 'stubs/ext/com_dotnet/com_safearray_proxy.php',
2653-
'pgsql\\connection' => 'stubs/ext/pgsql/PgSql/Connection.php',
2654-
'pgsql\\result' => 'stubs/ext/pgsql/PgSql/Result.php',
2655-
'pgsql\\lob' => 'stubs/ext/pgsql/PgSql/Lob.php',
26562659
'zendtestparameterattribute' => 'stubs/ext/zend_test/ZendTestParameterAttribute.php',
26572660
'zendtestclasswithmethodwithparameterattribute' => 'stubs/ext/zend_test/ZendTestClassWithMethodWithParameterAttribute.php',
26582661
'zendtestchildclasswithmethodwithparameterattribute' => 'stubs/ext/zend_test/ZendTestChildClassWithMethodWithParameterAttribute.php',
26592662
'zendtestns2\\zendsubns\\foo' => 'stubs/ext/zend_test/ZendTestNS2/ZendSubNS/Foo.php',
26602663
'_zendtestfiber' => 'stubs/ext/zend_test/_ZendTestFiber.php',
2661-
'reflectionintersectiontype' => 'stubs/ext/reflection/ReflectionIntersectionType.php',
2662-
'reflectionenum' => 'stubs/ext/reflection/ReflectionEnum.php',
2663-
'reflectionenumunitcase' => 'stubs/ext/reflection/ReflectionEnumUnitCase.php',
2664-
'reflectionenumbackedcase' => 'stubs/ext/reflection/ReflectionEnumBackedCase.php',
2665-
'reflectionfiber' => 'stubs/ext/reflection/ReflectionFiber.php',
2666-
'imap\\connection' => 'stubs/ext/imap/IMAP/Connection.php',
2667-
'returntypewillchange' => 'stubs/Zend/ReturnTypeWillChange.php',
2664+
'ldap\\connection' => 'stubs/ext/ldap/LDAP/Connection.php',
2665+
'ldap\\result' => 'stubs/ext/ldap/LDAP/Result.php',
2666+
'ldap\\resultentry' => 'stubs/ext/ldap/LDAP/ResultEntry.php',
2667+
'unitenum' => 'stubs/Zend/UnitEnum.php',
2668+
'backedenum' => 'stubs/Zend/BackedEnum.php',
26682669
'fiber' => 'stubs/Zend/Fiber.php',
26692670
'fibererror' => 'stubs/Zend/FiberError.php',
2671+
'returntypewillchange' => 'stubs/Zend/ReturnTypeWillChange.php',
26702672
'stdclass' => 'stubs/Zend/stdClass.php',
2671-
'unitenum' => 'stubs/Zend/UnitEnum.php',
2672-
'backedenum' => 'stubs/Zend/BackedEnum.php',
26732673
));
26742674
$functions = \array_merge($functions, array (
2675-
'array_is_list' => 'stubs/ext/standard/array_is_list.php',
2676-
'fsync' => 'stubs/ext/standard/fsync.php',
2677-
'fdatasync' => 'stubs/ext/standard/fdatasync.php',
2678-
'pcntl_rfork' => 'stubs/ext/pcntl/pcntl_rfork.php',
26792675
'sodium_crypto_core_ristretto255_add' => 'stubs/ext/sodium/sodium_crypto_core_ristretto255_add.php',
26802676
'sodium_crypto_core_ristretto255_from_hash' => 'stubs/ext/sodium/sodium_crypto_core_ristretto255_from_hash.php',
26812677
'sodium_crypto_core_ristretto255_is_valid_point' => 'stubs/ext/sodium/sodium_crypto_core_ristretto255_is_valid_point.php',
@@ -2698,12 +2694,16 @@ public function __construct(int $phpVersionId)
26982694
'imageavif' => 'stubs/ext/gd/imageavif.php',
26992695
'dl_test_test1' => 'stubs/ext/dl_test/dl_test_test1.php',
27002696
'dl_test_test2' => 'stubs/ext/dl_test/dl_test_test2.php',
2697+
'mysqli_fetch_column' => 'stubs/ext/mysqli/mysqli_fetch_column.php',
2698+
'array_is_list' => 'stubs/ext/standard/array_is_list.php',
2699+
'fsync' => 'stubs/ext/standard/fsync.php',
2700+
'fdatasync' => 'stubs/ext/standard/fdatasync.php',
2701+
'pcntl_rfork' => 'stubs/ext/pcntl/pcntl_rfork.php',
27012702
'zendtestunitenum' => 'stubs/ext/zend_test/ZendTestUnitEnum.php',
27022703
'zendteststringenum' => 'stubs/ext/zend_test/ZendTestStringEnum.php',
27032704
'zend_get_unit_enum' => 'stubs/ext/zend_test/zend_get_unit_enum.php',
27042705
'zend_test_parameter_with_attribute' => 'stubs/ext/zend_test/zend_test_parameter_with_attribute.php',
27052706
'zend_call_method' => 'stubs/ext/zend_test/zend_call_method.php',
2706-
'mysqli_fetch_column' => 'stubs/ext/mysqli/mysqli_fetch_column.php',
27072707
'enum_exists' => 'stubs/Zend/enum_exists.php',
27082708
));
27092709
}

stubs/ext/ffi/FFI/CData.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
namespace FFI;
4+
35
/** @not-serializable */
46
final class CData
57
{

stubs/ext/ffi/FFI/CType.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
namespace FFI;
4+
35
/** @not-serializable */
46
final class CType
57
{

stubs/ext/ffi/FFI/Exception.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
namespace FFI;
4+
35
class Exception extends \Error
46
{
57
}

stubs/ext/ffi/FFI/ParserException.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
namespace FFI;
4+
35
final class ParserException extends \FFI\Exception
46
{
57
}

stubs/ext/zend_test/ZendTestNS/Foo.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
namespace ZendTestNS;
4+
35
class Foo
46
{
57
public function method() : void

stubs/ext/zend_test/ZendTestNS2/Foo.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
namespace ZendTestNS2;
4+
35
class Foo
46
{
57
public function method() : void
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
namespace ZendTestNS2\ZendSubNS;
4+
35
function namespaced_func() : bool
46
{
57
}

0 commit comments

Comments
 (0)