Skip to content

Commit

Permalink
Update stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
phpstan-bot committed Sep 30, 2024
1 parent 02c53c5 commit 693817d
Show file tree
Hide file tree
Showing 178 changed files with 35 additions and 559 deletions.
3 changes: 0 additions & 3 deletions stubs/Zend/debug_backtrace.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function debug_backtrace(int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT, int $limit = 0): array
{
}
3 changes: 0 additions & 3 deletions stubs/Zend/gc_status.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function gc_status(): array
{
}
3 changes: 0 additions & 3 deletions stubs/Zend/get_class_methods.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function get_class_methods(object|string $object_or_class): array
{
}
3 changes: 0 additions & 3 deletions stubs/Zend/get_class_vars.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function get_class_vars(string $class): array
{
}
3 changes: 0 additions & 3 deletions stubs/Zend/get_declared_classes.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function get_declared_classes(): array
{
}
3 changes: 0 additions & 3 deletions stubs/Zend/get_declared_interfaces.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function get_declared_interfaces(): array
{
}
3 changes: 0 additions & 3 deletions stubs/Zend/get_declared_traits.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function get_declared_traits(): array
{
}
3 changes: 0 additions & 3 deletions stubs/Zend/get_defined_constants.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function get_defined_constants(bool $categorize = false): array
{
}
3 changes: 0 additions & 3 deletions stubs/Zend/get_defined_functions.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function get_defined_functions(bool $exclude_disabled = true): array
{
}
3 changes: 0 additions & 3 deletions stubs/Zend/get_defined_vars.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function get_defined_vars(): array
{
}
3 changes: 0 additions & 3 deletions stubs/Zend/get_extension_funcs.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function get_extension_funcs(string $extension): array|false
{
}
3 changes: 0 additions & 3 deletions stubs/Zend/get_included_files.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function get_included_files(): array
{
}
3 changes: 0 additions & 3 deletions stubs/Zend/get_loaded_extensions.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function get_loaded_extensions(bool $zend_extensions = false): array
{
}
4 changes: 1 addition & 3 deletions stubs/Zend/get_required_files.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<?php

/**
* @alias get_included_files
*/
/** @alias get_included_files */
function get_required_files(): array
{
}
3 changes: 0 additions & 3 deletions stubs/ext/calendar/cal_from_jd.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function cal_from_jd(int $julian_day, int $calendar): array
{
}
3 changes: 0 additions & 3 deletions stubs/ext/calendar/cal_info.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function cal_info(int $calendar = -1): array
{
}
5 changes: 1 addition & 4 deletions stubs/ext/curl/curl_multi_info_read.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<?php

/**
* @param int $queued_messages
* @refcount 1
*/
/** @param int $queued_messages */
function curl_multi_info_read(\CurlMultiHandle $multi_handle, &$queued_messages = null): array|false
{
}
3 changes: 0 additions & 3 deletions stubs/ext/curl/curl_version.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function curl_version(): array|false
{
}
3 changes: 0 additions & 3 deletions stubs/ext/date/date_get_last_errors.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function date_get_last_errors(): array|false
{
}
3 changes: 0 additions & 3 deletions stubs/ext/date/date_parse.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function date_parse(string $datetime): array
{
}
3 changes: 0 additions & 3 deletions stubs/ext/date/date_parse_from_format.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function date_parse_from_format(string $format, string $datetime): array
{
}
3 changes: 0 additions & 3 deletions stubs/ext/date/date_sun_info.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function date_sun_info(int $timestamp, float $latitude, float $longitude): array
{
}
3 changes: 0 additions & 3 deletions stubs/ext/date/getdate.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function getdate(?int $timestamp = null): array
{
}
3 changes: 0 additions & 3 deletions stubs/ext/date/localtime.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function localtime(?int $timestamp = null, bool $associative = false): array
{
}
3 changes: 0 additions & 3 deletions stubs/ext/date/timezone_abbreviations_list.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function timezone_abbreviations_list(): array
{
}
3 changes: 0 additions & 3 deletions stubs/ext/date/timezone_identifiers_list.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function timezone_identifiers_list(int $timezoneGroup = DateTimeZone::ALL, ?string $countryCode = null): array
{
}
3 changes: 0 additions & 3 deletions stubs/ext/date/timezone_location_get.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function timezone_location_get(\DateTimeZone $object): array|false
{
}
3 changes: 0 additions & 3 deletions stubs/ext/date/timezone_transitions_get.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function timezone_transitions_get(\DateTimeZone $object, int $timestampBegin = PHP_INT_MIN, int $timestampEnd = PHP_INT_MAX): array|false
{
}
3 changes: 0 additions & 3 deletions stubs/ext/dba/dba_handlers.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function dba_handlers(bool $full_info = false): array
{
}
3 changes: 0 additions & 3 deletions stubs/ext/enchant/enchant_broker_describe.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function enchant_broker_describe(\EnchantBroker $broker): array
{
}
3 changes: 0 additions & 3 deletions stubs/ext/enchant/enchant_broker_list_dicts.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function enchant_broker_list_dicts(\EnchantBroker $broker): array
{
}
3 changes: 0 additions & 3 deletions stubs/ext/enchant/enchant_dict_describe.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function enchant_dict_describe(\EnchantDictionary $dictionary): array
{
}
3 changes: 0 additions & 3 deletions stubs/ext/enchant/enchant_dict_suggest.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function enchant_dict_suggest(\EnchantDictionary $dictionary, string $word): array
{
}
5 changes: 1 addition & 4 deletions stubs/ext/exif/exif_read_data.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<?php

/**
* @param (resource | string) $file
* @refcount 1
*/
/** @param resource|string $file */
function exif_read_data($file, ?string $required_sections = null, bool $as_arrays = false, bool $read_thumbnail = false): array|false
{
}
3 changes: 0 additions & 3 deletions stubs/ext/filter/filter_list.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function filter_list(): array
{
}
3 changes: 0 additions & 3 deletions stubs/ext/gd/gd_info.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function gd_info(): array
{
}
3 changes: 0 additions & 3 deletions stubs/ext/gd/imageaffinematrixconcat.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function imageaffinematrixconcat(array $matrix1, array $matrix2): array|false
{
}
5 changes: 1 addition & 4 deletions stubs/ext/gd/imageaffinematrixget.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<?php

/**
* @param (array | float) $options
* @refcount 1
*/
/** @param array|float $options */
function imageaffinematrixget(int $type, $options): array|false
{
}
3 changes: 0 additions & 3 deletions stubs/ext/gd/imagecolorsforindex.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

/**
* @refcount 1
*/
function imagecolorsforindex(\GdImage $image, int $color): array
{
}
Loading

0 comments on commit 693817d

Please sign in to comment.