@@ -24,6 +24,7 @@ class ConfigValidator
2424 'repo ' => 'string ' , // repository name
2525 'pecl ' => 'string ' , // PECL package name
2626 'match ' => 'string ' , // match pattern (aaa*bbb)
27+ 'query ' => 'string ' , // query string for API requests
2728 'filename ' => 'string ' , // filename
2829 'path ' => 'string ' , // copy path
2930 'extract ' => 'string ' , // copy path (alias of path)
@@ -74,8 +75,8 @@ class ConfigValidator
7475 private const array SOURCE_TYPE_FIELDS = [
7576 'filelist ' => [['url ' , 'regex ' ], []],
7677 'git ' => [['url ' , 'rev ' ], ['path ' , 'extract ' , 'submodules ' ]],
77- 'ghtagtar ' => [['repo ' ], ['path ' , 'extract ' , 'prefer-stable ' , 'match ' ]],
78- 'ghtar ' => [['repo ' ], ['path ' , 'extract ' , 'prefer-stable ' , 'match ' ]],
78+ 'ghtagtar ' => [['repo ' ], ['path ' , 'extract ' , 'prefer-stable ' , 'match ' , ' query ' ]],
79+ 'ghtar ' => [['repo ' ], ['path ' , 'extract ' , 'prefer-stable ' , 'match ' , ' query ' ]],
7980 'ghrel ' => [['repo ' , 'match ' ], ['path ' , 'extract ' , 'prefer-stable ' ]],
8081 'url ' => [['url ' ], ['filename ' , 'path ' , 'extract ' ]],
8182 'bitbuckettag ' => [['repo ' ], ['path ' , 'extract ' ]],
0 commit comments