From 7a03f2390d772c7c848c01e9f33b2f48ae2f75cf Mon Sep 17 00:00:00 2001 From: Hans Mackowiak Date: Wed, 24 May 2023 11:14:20 +0200 Subject: [PATCH] glob: allow empty string for pattern --- dictionaries/CallMap.php | 2 +- dictionaries/CallMap_historical.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dictionaries/CallMap.php b/dictionaries/CallMap.php index bb61ce41779..85f21fac2f2 100644 --- a/dictionaries/CallMap.php +++ b/dictionaries/CallMap.php @@ -3329,7 +3329,7 @@ 'gettimeofday' => ['array'], 'gettimeofday\'1' => ['float', 'as_float='=>'true'], 'gettype' => ['string', 'value'=>'mixed'], -'glob' => ['list|false', 'pattern'=>'non-empty-string', 'flags='=>'int<1, max>'], +'glob' => ['list|false', 'pattern'=>'string', 'flags='=>'int<1, max>'], 'GlobIterator::__construct' => ['void', 'pattern'=>'string', 'flags='=>'int'], 'GlobIterator::count' => ['int'], 'GlobIterator::current' => ['FilesystemIterator|SplFileInfo|string'], diff --git a/dictionaries/CallMap_historical.php b/dictionaries/CallMap_historical.php index a88bab360ac..82344f93642 100644 --- a/dictionaries/CallMap_historical.php +++ b/dictionaries/CallMap_historical.php @@ -10727,7 +10727,7 @@ 'gettimeofday' => ['array'], 'gettimeofday\'1' => ['float', 'as_float='=>'true'], 'gettype' => ['string', 'value'=>'mixed'], - 'glob' => ['list|false', 'pattern'=>'non-empty-string', 'flags='=>'int<1, max>'], + 'glob' => ['list|false', 'pattern'=>'string', 'flags='=>'int<1, max>'], 'gmdate' => ['string', 'format'=>'string', 'timestamp='=>'int'], 'gmmktime' => ['int|false', 'hour='=>'int', 'minute='=>'int', 'second='=>'int', 'month='=>'int', 'day='=>'int', 'year='=>'int'], 'gmp_abs' => ['GMP', 'num'=>'GMP|string|int'],