Skip to content

Commit fa951eb

Browse files
Tweaks
1 parent 89eef50 commit fa951eb

File tree

4 files changed

+25
-27
lines changed

4 files changed

+25
-27
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## [11.13.0] - UPCOMING
99

1010
* Add support for `symfony/options-resolver:^7.0`
11+
* Add support for `status` and `environment` in `Deployments::all`
12+
* Add support for `Groups::search`, `Projects::search`, and `Search::all`
1113

1214
## [11.12.0] - 2023-10-08
1315

src/Api/Groups.php

+7-8
Original file line numberDiff line numberDiff line change
@@ -986,17 +986,16 @@ public function deleteDeployToken($group_id, int $token_id)
986986
* @param int|string $id
987987
* @param array $parameters {
988988
*
989-
* @var string $scope The scope to search in
990-
* @var string $search The search query
991-
* @var string $state Filter by state. Issues and merge requests are supported; it is ignored for other scopes.
992-
* @var bool $confidential Filter by confidentiality. Issues scope is supported; it is ignored for other scopes.
993-
* @var string $order_by Allowed values are created_at only. If this is not set, the results are either sorted by created_at in descending order for basic search, or by the most relevant documents when using advanced search.
994-
* @var string $sort Return projects sorted in asc or desc order (default is desc)
989+
* @var string $scope The scope to search in
990+
* @var string $search The search query
991+
* @var string $state Filter by state. Issues and merge requests are supported; it is ignored for other scopes.
992+
* @var bool $confidential Filter by confidentiality. Issues scope is supported; it is ignored for other scopes.
993+
* @var string $order_by Allowed values are created_at only. If this is not set, the results are either sorted by created_at in descending order for basic search, or by the most relevant documents when using advanced search.
994+
* @var string $sort Return projects sorted in asc or desc order (default is desc)
995995
* }
996996
*
997997
* @throws UndefinedOptionsException If an option name is undefined
998-
* @throws InvalidOptionsException If an option doesn't fulfill the
999-
* specified validation rules
998+
* @throws InvalidOptionsException If an option doesn't fulfill the specified validation rules
1000999
*
10011000
* @return mixed
10021001
*/

src/Api/Projects.php

+9-11
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ class Projects extends AbstractApi
5353
* }
5454
*
5555
* @throws UndefinedOptionsException If an option name is undefined
56-
* @throws InvalidOptionsException If an option doesn't fulfill the
57-
* specified validation rules
56+
* @throws InvalidOptionsException If an option doesn't fulfill the specified validation rules
5857
*
5958
* @return mixed
6059
*/
@@ -1786,18 +1785,17 @@ public function deleteProtectedTag($project_id, string $tag_name)
17861785
* @param int|string $id
17871786
* @param array $parameters {
17881787
*
1789-
* @var string $scope The scope to search in
1790-
* @var string $search The search query
1791-
* @var string $state Filter by state. Issues and merge requests are supported; it is ignored for other scopes.
1792-
* @var string $ref The name of a repository branch or tag to search on. The project’s default branch is used by default. Applicable only for scopes blobs, commits, and wiki_blobs.
1793-
* @var bool $confidential Filter by confidentiality. Issues scope is supported; it is ignored for other scopes.
1794-
* @var string $order_by Allowed values are created_at only. If this is not set, the results are either sorted by created_at in descending order for basic search, or by the most relevant documents when using advanced search.
1795-
* @var string $sort Return projects sorted in asc or desc order (default is desc)
1788+
* @var string $scope The scope to search in
1789+
* @var string $search The search query
1790+
* @var string $state Filter by state. Issues and merge requests are supported; it is ignored for other scopes.
1791+
* @var string $ref The name of a repository branch or tag to search on. The project’s default branch is used by default. Applicable only for scopes blobs, commits, and wiki_blobs.
1792+
* @var bool $confidential Filter by confidentiality. Issues scope is supported; it is ignored for other scopes.
1793+
* @var string $order_by Allowed values are created_at only. If this is not set, the results are either sorted by created_at in descending order for basic search, or by the most relevant documents when using advanced search.
1794+
* @var string $sort Return projects sorted in asc or desc order (default is desc)
17961795
* }
17971796
*
17981797
* @throws UndefinedOptionsException If an option name is undefined
1799-
* @throws InvalidOptionsException If an option doesn't fulfill the
1800-
* specified validation rules
1798+
* @throws InvalidOptionsException If an option doesn't fulfill the specified validation rules
18011799
*
18021800
* @return mixed
18031801
*/

src/Api/Search.php

+7-8
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,16 @@ class Search extends AbstractApi
2323
/**
2424
* @param array $parameters {
2525
*
26-
* @var string $scope The scope to search in
27-
* @var string $search The search query
28-
* @var string $state Filter by state. Issues and merge requests are supported; it is ignored for other scopes.
29-
* @var bool $confidential Filter by confidentiality. Issues scope is supported; it is ignored for other scopes.
30-
* @var string $order_by Allowed values are created_at only. If this is not set, the results are either sorted by created_at in descending order for basic search, or by the most relevant documents when using advanced search.
31-
* @var string $sort Return projects sorted in asc or desc order (default is desc)
26+
* @var string $scope The scope to search in
27+
* @var string $search The search query
28+
* @var string $state Filter by state. Issues and merge requests are supported; it is ignored for other scopes.
29+
* @var bool $confidential Filter by confidentiality. Issues scope is supported; it is ignored for other scopes.
30+
* @var string $order_by Allowed values are created_at only. If this is not set, the results are either sorted by created_at in descending order for basic search, or by the most relevant documents when using advanced search.
31+
* @var string $sort Return projects sorted in asc or desc order (default is desc)
3232
* }
3333
*
3434
* @throws UndefinedOptionsException If an option name is undefined
35-
* @throws InvalidOptionsException If an option doesn't fulfill the
36-
* specified validation rules
35+
* @throws InvalidOptionsException If an option doesn't fulfill the specified validation rules
3736
*
3837
* @return mixed
3938
*/

0 commit comments

Comments
 (0)