[phpstorm-stubs] WI-74924 add rpmaddtag function stub

This commit is contained in:
Ivan Fedorov 2023-11-03 12:07:27 +01:00
parent dacc7b6b9f
commit e967b60916
2 changed files with 11 additions and 0 deletions

View File

@ -4922,6 +4922,7 @@ const FUNCTIONS = array (
'rewinddir' => 'standard/standard_7.php',
'rmdir' => 'standard/standard_5.php',
'round' => 'standard/standard_3.php',
'rpmaddtag' => 'rpminfo/rpminfo.php',
'rpmdbinfo' => 'rpminfo/rpminfo.php',
'rpmdbsearch' => 'rpminfo/rpminfo.php',
'rpminfo' => 'rpminfo/rpminfo.php',

View File

@ -354,3 +354,13 @@ function rpmdbinfo(string $nevr, bool $full = false) {}
* @since 0.3.0
*/
function rpmdbsearch(string $pattern, int $rpmtag = RPMTAG_NAME, int $rpmmire = -1, bool $full = false) {}
/**
* Add an additional retrieved tag in subsequent queries.
*
* @param int $tag One of RPMTAG_* constant, see the rpminfo constants page.
*
* @return bool Returns true on success or false on failure.
* @since 0.5.0
*/
function rpmaddtag(int $tag): bool {}