Skip to content

Commit

Permalink
fix: Update the Reflector's symbols (#875)
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry authored Nov 1, 2023
1 parent dc487ce commit 7771a7a
Showing 1 changed file with 170 additions and 0 deletions.
170 changes: 170 additions & 0 deletions src/Symbol/Reflector.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,168 @@ final class Reflector
// https://youtrack.jetbrains.com/issue/WI-29503
'bson_encode',
'bson_decode',

// https://youtrack.jetbrains.com/issue/WI-74920
'swoole_async_dns_lookup',
'swoole_async_readfile',
'swoole_async_write',
'swoole_async_writefile',

// https://youtrack.jetbrains.com/issue/WI-74921
'ssh2_send_eof',

// https://youtrack.jetbrains.com/issue/WI-74922
'ssdeep_fuzzy_compare',
'ssdeep_fuzzy_hash',
'ssdeep_fuzzy_hash_filename',

// https://youtrack.jetbrains.com/issue/WI-74918
'ps_add_bookmark',
'ps_add_launchlink',
'ps_add_locallink',
'ps_add_note',
'ps_add_pdflink',
'ps_add_weblink',
'ps_arc',
'ps_arcn',
'ps_begin_page',
'ps_begin_pattern',
'ps_begin_template',
'ps_circle',
'ps_clip',
'ps_close_image',
'ps_close',
'ps_closepath_stroke',
'ps_closepath',
'ps_continue_text',
'ps_curveto',
'ps_delete',
'ps_end_page',
'ps_end_pattern',
'ps_end_template',
'ps_fill_stroke',
'ps_fill',
'ps_findfont',
'ps_get_buffer',
'ps_get_parameter',
'ps_get_value',
'ps_hyphenate',
'ps_include_file',
'ps_lineto',
'ps_makespotcolor',
'ps_moveto',
'ps_new',
'ps_open_file',
'ps_open_image_file',
'ps_open_image',
'ps_open_memory_image',
'ps_place_image',
'ps_rect',
'ps_restore',
'ps_rotate',
'ps_save',
'ps_scale',
'ps_set_border_color',
'ps_set_border_dash',
'ps_set_border_style',
'ps_set_info',
'ps_set_parameter',
'ps_set_text_pos',
'ps_set_value',
'ps_setcolor',
'ps_setdash',
'ps_setflat',
'ps_setfont',
'ps_setgray',
'ps_setlinecap',
'ps_setlinejoin',
'ps_setlinewidth',
'ps_setmiterlimit',
'ps_setoverprintmode',
'ps_setpolydash',
'ps_shading_pattern',
'ps_shading',
'ps_shfill',
'ps_show_boxed',
'ps_show_xy2',
'ps_show_xy',
'ps_show2',
'ps_show',
'ps_string_geometry',
'ps_stringwidth',
'ps_stroke',
'ps_symbol_name',
'ps_symbol_width',
'ps_symbol',
'ps_translate',

// https://youtrack.jetbrains.com/issue/WI-74919
'yaz_addinfo',
'yaz_ccl_conf',
'yaz_ccl_parse',
'yaz_close',
'yaz_connect',
'yaz_database',
'yaz_element',
'yaz_errno',
'yaz_error',
'yaz_es_result',
'yaz_es',
'yaz_get_option',
'yaz_hits',
'yaz_itemorder',
'yaz_present',
'yaz_range',
'yaz_record',
'yaz_scan_result',
'yaz_scan',
'yaz_schema',
'yaz_search',
'yaz_set_option',
'yaz_sort',
'yaz_syntax',
'yaz_wait',

// https://youtrack.jetbrains.com/issue/WI-74923
'setproctitle',
'setthreadtitle',

// https://youtrack.jetbrains.com/issue/WI-74924
'rpmaddtag',

// https://youtrack.jetbrains.com/issue/WI-74925
'oci_set_prefetch_lob',

// https://youtrack.jetbrains.com/issue/WI-74926
'normalizer_is_normalized',
'normalizer_normalize',

// https://youtrack.jetbrains.com/issue/WI-74927
'mysql_drop_db',
'mysql_create_db',

// https://youtrack.jetbrains.com/issue/WI-74928
'event_base_reinit',
'event_priority_set',

// https://youtrack.jetbrains.com/issue/WI-74929
'db2_pclose',

// https://youtrack.jetbrains.com/issue/WI-74930
'cubrid_current_oid',

// https://youtrack.jetbrains.com/issue/WI-74931
'ctype_alnum',
'ctype_alpha',
'ctype_cntrl',
'ctype_digit',
'ctype_graph',
'ctype_lower',
'ctype_print',
'ctype_punct',
'ctype_space',
'ctype_upper',
'ctype_xdigit',
];

/**
Expand Down Expand Up @@ -83,6 +245,14 @@ final class Reflector
// https://youtrack.jetbrains.com/issue/WI-29503
'MONGODB_VERSION',
'MONGODB_STABILITY',

// https://youtrack.jetbrains.com/issue/WI-74918/Missing-PostScript-extension-symbols
'ps_LINECAP_BUTT',
'ps_LINECAP_ROUND',
'ps_LINECAP_SQUARED',
'ps_LINEJOIN_MITER',
'ps_LINEJOIN_ROUND',
'ps_LINEJOIN_BEVEL',
];

public static function createWithPhpStormStubs(): self
Expand Down

0 comments on commit 7771a7a

Please sign in to comment.