Skip to content

Commit 693817d

Browse files
committed
Update stubs
1 parent 02c53c5 commit 693817d

File tree

178 files changed

+35
-559
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

178 files changed

+35
-559
lines changed

stubs/Zend/debug_backtrace.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function debug_backtrace(int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT, int $limit = 0): array
74
{
85
}

stubs/Zend/gc_status.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function gc_status(): array
74
{
85
}

stubs/Zend/get_class_methods.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function get_class_methods(object|string $object_or_class): array
74
{
85
}

stubs/Zend/get_class_vars.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function get_class_vars(string $class): array
74
{
85
}

stubs/Zend/get_declared_classes.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function get_declared_classes(): array
74
{
85
}
-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function get_declared_interfaces(): array
74
{
85
}

stubs/Zend/get_declared_traits.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function get_declared_traits(): array
74
{
85
}

stubs/Zend/get_defined_constants.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function get_defined_constants(bool $categorize = false): array
74
{
85
}

stubs/Zend/get_defined_functions.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function get_defined_functions(bool $exclude_disabled = true): array
74
{
85
}

stubs/Zend/get_defined_vars.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function get_defined_vars(): array
74
{
85
}

stubs/Zend/get_extension_funcs.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function get_extension_funcs(string $extension): array|false
74
{
85
}

stubs/Zend/get_included_files.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function get_included_files(): array
74
{
85
}

stubs/Zend/get_loaded_extensions.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function get_loaded_extensions(bool $zend_extensions = false): array
74
{
85
}

stubs/Zend/get_required_files.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<?php
22

3-
/**
4-
* @alias get_included_files
5-
*/
3+
/** @alias get_included_files */
64
function get_required_files(): array
75
{
86
}

stubs/ext/calendar/cal_from_jd.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function cal_from_jd(int $julian_day, int $calendar): array
74
{
85
}

stubs/ext/calendar/cal_info.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function cal_info(int $calendar = -1): array
74
{
85
}
+1-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
<?php
22

3-
/**
4-
* @param int $queued_messages
5-
* @refcount 1
6-
*/
3+
/** @param int $queued_messages */
74
function curl_multi_info_read(\CurlMultiHandle $multi_handle, &$queued_messages = null): array|false
85
{
96
}

stubs/ext/curl/curl_version.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function curl_version(): array|false
74
{
85
}
-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function date_get_last_errors(): array|false
74
{
85
}

stubs/ext/date/date_parse.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function date_parse(string $datetime): array
74
{
85
}
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function date_parse_from_format(string $format, string $datetime): array
74
{
85
}

stubs/ext/date/date_sun_info.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function date_sun_info(int $timestamp, float $latitude, float $longitude): array
74
{
85
}

stubs/ext/date/getdate.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function getdate(?int $timestamp = null): array
74
{
85
}

stubs/ext/date/localtime.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function localtime(?int $timestamp = null, bool $associative = false): array
74
{
85
}
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function timezone_abbreviations_list(): array
74
{
85
}
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function timezone_identifiers_list(int $timezoneGroup = DateTimeZone::ALL, ?string $countryCode = null): array
74
{
85
}
-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function timezone_location_get(\DateTimeZone $object): array|false
74
{
85
}
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function timezone_transitions_get(\DateTimeZone $object, int $timestampBegin = PHP_INT_MIN, int $timestampEnd = PHP_INT_MAX): array|false
74
{
85
}

stubs/ext/dba/dba_handlers.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function dba_handlers(bool $full_info = false): array
74
{
85
}
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function enchant_broker_describe(\EnchantBroker $broker): array
74
{
85
}
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function enchant_broker_list_dicts(\EnchantBroker $broker): array
74
{
85
}
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function enchant_dict_describe(\EnchantDictionary $dictionary): array
74
{
85
}
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function enchant_dict_suggest(\EnchantDictionary $dictionary, string $word): array
74
{
85
}

stubs/ext/exif/exif_read_data.php

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
<?php
22

3-
/**
4-
* @param (resource | string) $file
5-
* @refcount 1
6-
*/
3+
/** @param resource|string $file */
74
function exif_read_data($file, ?string $required_sections = null, bool $as_arrays = false, bool $read_thumbnail = false): array|false
85
{
96
}

stubs/ext/filter/filter_list.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function filter_list(): array
74
{
85
}

stubs/ext/gd/gd_info.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function gd_info(): array
74
{
85
}
-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function imageaffinematrixconcat(array $matrix1, array $matrix2): array|false
74
{
85
}

stubs/ext/gd/imageaffinematrixget.php

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
<?php
22

3-
/**
4-
* @param (array | float) $options
5-
* @refcount 1
6-
*/
3+
/** @param array|float $options */
74
function imageaffinematrixget(int $type, $options): array|false
85
{
96
}

stubs/ext/gd/imagecolorsforindex.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
/**
4-
* @refcount 1
5-
*/
63
function imagecolorsforindex(\GdImage $image, int $color): array
74
{
85
}

0 commit comments

Comments
 (0)