Skip to content

Commit 6487227

Browse files
Apply fixes from StyleCI (#560)
1 parent c2fc11e commit 6487227

34 files changed

+353
-353
lines changed

lib/Gitlab/Client.php

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -48,37 +48,37 @@
4848
*
4949
* @author Matt Humphrey <matt@m4tt.co>
5050
*
51-
* @property-read \Gitlab\Api\DeployKeys $deploy_keys @deprecated since version 9.18 and will be removed in 10.0.
52-
* @property-read \Gitlab\Api\Deployments $deployments @deprecated since version 9.18 and will be removed in 10.0.
53-
* @property-read \Gitlab\Api\Environments $environments @deprecated since version 9.18 and will be removed in 10.0.
54-
* @property-read \Gitlab\Api\Groups $groups @deprecated since version 9.18 and will be removed in 10.0.
55-
* @property-read \Gitlab\Api\GroupsBoards $groups_boards @deprecated since version 9.18 and will be removed in 10.0.
56-
* @property-read \Gitlab\Api\GroupsMilestones $groups_milestones @deprecated since version 9.18 and will be removed in 10.0.
57-
* @property-read \Gitlab\Api\IssueBoards $board @deprecated since version 9.18 and will be removed in 10.0.
58-
* @property-read \Gitlab\Api\IssueBoards $issue_boards @deprecated since version 9.18 and will be removed in 10.0.
59-
* @property-read \Gitlab\Api\IssueLinks $issue_links @deprecated since version 9.18 and will be removed in 10.0.
60-
* @property-read \Gitlab\Api\Issues $issues @deprecated since version 9.18 and will be removed in 10.0.
61-
* @property-read \Gitlab\Api\IssuesStatistics $issues_statistics @deprecated since version 9.18 and will be removed in 10.0.
62-
* @property-read \Gitlab\Api\Jobs $jobs @deprecated since version 9.18 and will be removed in 10.0.
63-
* @property-read \Gitlab\Api\Keys $keys @deprecated since version 9.18 and will be removed in 10.0.
64-
* @property-read \Gitlab\Api\MergeRequests $merge_requests @deprecated since version 9.18 and will be removed in 10.0.
65-
* @property-read \Gitlab\Api\MergeRequests $mr @deprecated since version 9.18 and will be removed in 10.0.
66-
* @property-read \Gitlab\Api\Milestones $milestones @deprecated since version 9.18 and will be removed in 10.0.
67-
* @property-read \Gitlab\Api\Milestones $ms @deprecated since version 9.18 and will be removed in 10.0.
68-
* @property-read \Gitlab\Api\ProjectNamespaces $namespaces @deprecated since version 9.18 and will be removed in 10.0.
69-
* @property-read \Gitlab\Api\ProjectNamespaces $ns @deprecated since version 9.18 and will be removed in 10.0.
70-
* @property-read \Gitlab\Api\Projects $projects @deprecated since version 9.18 and will be removed in 10.0.
71-
* @property-read \Gitlab\Api\Repositories $repo @deprecated since version 9.18 and will be removed in 10.0.
72-
* @property-read \Gitlab\Api\Repositories $repositories @deprecated since version 9.18 and will be removed in 10.0.
73-
* @property-read \Gitlab\Api\RepositoryFiles $repositoryFiles @deprecated since version 9.18 and will be removed in 10.0.
74-
* @property-read \Gitlab\Api\Schedules $schedules @deprecated since version 9.18 and will be removed in 10.0.
75-
* @property-read \Gitlab\Api\Snippets $snippets @deprecated since version 9.18 and will be removed in 10.0.
76-
* @property-read \Gitlab\Api\SystemHooks $hooks @deprecated since version 9.18 and will be removed in 10.0.
77-
* @property-read \Gitlab\Api\SystemHooks $system_hooks @deprecated since version 9.18 and will be removed in 10.0.
78-
* @property-read \Gitlab\Api\Users $users @deprecated since version 9.18 and will be removed in 10.0.
79-
* @property-read \Gitlab\Api\Tags $tags @deprecated since version 9.18 and will be removed in 10.0.
80-
* @property-read \Gitlab\Api\Version $version @deprecated since version 9.18 and will be removed in 10.0.
81-
* @property-read \Gitlab\Api\Wiki $wiki @deprecated since version 9.18 and will be removed in 10.0.
51+
* @property \Gitlab\Api\DeployKeys $deploy_keys @deprecated since version 9.18 and will be removed in 10.0.
52+
* @property \Gitlab\Api\Deployments $deployments @deprecated since version 9.18 and will be removed in 10.0.
53+
* @property \Gitlab\Api\Environments $environments @deprecated since version 9.18 and will be removed in 10.0.
54+
* @property \Gitlab\Api\Groups $groups @deprecated since version 9.18 and will be removed in 10.0.
55+
* @property \Gitlab\Api\GroupsBoards $groups_boards @deprecated since version 9.18 and will be removed in 10.0.
56+
* @property \Gitlab\Api\GroupsMilestones $groups_milestones @deprecated since version 9.18 and will be removed in 10.0.
57+
* @property \Gitlab\Api\IssueBoards $board @deprecated since version 9.18 and will be removed in 10.0.
58+
* @property \Gitlab\Api\IssueBoards $issue_boards @deprecated since version 9.18 and will be removed in 10.0.
59+
* @property \Gitlab\Api\IssueLinks $issue_links @deprecated since version 9.18 and will be removed in 10.0.
60+
* @property \Gitlab\Api\Issues $issues @deprecated since version 9.18 and will be removed in 10.0.
61+
* @property \Gitlab\Api\IssuesStatistics $issues_statistics @deprecated since version 9.18 and will be removed in 10.0.
62+
* @property \Gitlab\Api\Jobs $jobs @deprecated since version 9.18 and will be removed in 10.0.
63+
* @property \Gitlab\Api\Keys $keys @deprecated since version 9.18 and will be removed in 10.0.
64+
* @property \Gitlab\Api\MergeRequests $merge_requests @deprecated since version 9.18 and will be removed in 10.0.
65+
* @property \Gitlab\Api\MergeRequests $mr @deprecated since version 9.18 and will be removed in 10.0.
66+
* @property \Gitlab\Api\Milestones $milestones @deprecated since version 9.18 and will be removed in 10.0.
67+
* @property \Gitlab\Api\Milestones $ms @deprecated since version 9.18 and will be removed in 10.0.
68+
* @property \Gitlab\Api\ProjectNamespaces $namespaces @deprecated since version 9.18 and will be removed in 10.0.
69+
* @property \Gitlab\Api\ProjectNamespaces $ns @deprecated since version 9.18 and will be removed in 10.0.
70+
* @property \Gitlab\Api\Projects $projects @deprecated since version 9.18 and will be removed in 10.0.
71+
* @property \Gitlab\Api\Repositories $repo @deprecated since version 9.18 and will be removed in 10.0.
72+
* @property \Gitlab\Api\Repositories $repositories @deprecated since version 9.18 and will be removed in 10.0.
73+
* @property \Gitlab\Api\RepositoryFiles $repositoryFiles @deprecated since version 9.18 and will be removed in 10.0.
74+
* @property \Gitlab\Api\Schedules $schedules @deprecated since version 9.18 and will be removed in 10.0.
75+
* @property \Gitlab\Api\Snippets $snippets @deprecated since version 9.18 and will be removed in 10.0.
76+
* @property \Gitlab\Api\SystemHooks $hooks @deprecated since version 9.18 and will be removed in 10.0.
77+
* @property \Gitlab\Api\SystemHooks $system_hooks @deprecated since version 9.18 and will be removed in 10.0.
78+
* @property \Gitlab\Api\Users $users @deprecated since version 9.18 and will be removed in 10.0.
79+
* @property \Gitlab\Api\Tags $tags @deprecated since version 9.18 and will be removed in 10.0.
80+
* @property \Gitlab\Api\Version $version @deprecated since version 9.18 and will be removed in 10.0.
81+
* @property \Gitlab\Api\Wiki $wiki @deprecated since version 9.18 and will be removed in 10.0.
8282
*/
8383
class Client
8484
{

lib/Gitlab/Model/Badge.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
/**
88
* @final
99
*
10-
* @property-read int $id
11-
* @property-read string $link_url
12-
* @property-read string $image_url
13-
* @property-read string $rendered_image_url
14-
* @property-read string $rendered_image_url
15-
* @property-read string $kind
10+
* @property int $id
11+
* @property string $link_url
12+
* @property string $image_url
13+
* @property string $rendered_image_url
14+
* @property string $rendered_image_url
15+
* @property string $kind
1616
*/
1717
class Badge extends AbstractModel
1818
{

lib/Gitlab/Model/Branch.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
/**
99
* @final
1010
*
11-
* @property-read string $name
12-
* @property-read bool $protected
13-
* @property-read Commit|null $commit
14-
* @property-read Project $project
11+
* @property string $name
12+
* @property bool $protected
13+
* @property Commit|null $commit
14+
* @property Project $project
1515
*/
1616
class Branch extends AbstractModel
1717
{

lib/Gitlab/Model/Commit.php

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@
77
/**
88
* @final
99
*
10-
* @property-read string $id
11-
* @property-read string $short_id
12-
* @property-read string $title
13-
* @property-read string $message
14-
* @property-read string $author_name
15-
* @property-read string $author_email
16-
* @property-read string $authored_date
17-
* @property-read string $committed_date
18-
* @property-read string $created_at
19-
* @property-read Commit[]|null $parents
20-
* @property-read Node[] $tree
21-
* @property-read User|null $committer
22-
* @property-read User|null $author
23-
* @property-read Project $project
24-
* @property-read array|null $stats
10+
* @property string $id
11+
* @property string $short_id
12+
* @property string $title
13+
* @property string $message
14+
* @property string $author_name
15+
* @property string $author_email
16+
* @property string $authored_date
17+
* @property string $committed_date
18+
* @property string $created_at
19+
* @property Commit[]|null $parents
20+
* @property Node[] $tree
21+
* @property User|null $committer
22+
* @property User|null $author
23+
* @property Project $project
24+
* @property array|null $stats
2525
*/
2626
class Commit extends AbstractModel
2727
{

lib/Gitlab/Model/CommitNote.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
/**
88
* @final
99
*
10-
* @property-read string $note
11-
* @property-read string $path
12-
* @property-read string $line
13-
* @property-read string $line_type
14-
* @property-read User|null $author
10+
* @property string $note
11+
* @property string $path
12+
* @property string $line
13+
* @property string $line_type
14+
* @property User|null $author
1515
*/
1616
class CommitNote extends AbstractModel
1717
{

lib/Gitlab/Model/Comparison.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
/**
88
* @final
99
*
10-
* @property-read bool $compare_timeout
11-
* @property-read bool $compare_same_ref
12-
* @property-read Commit|null $commit
13-
* @property-read Commit[]|null $commits
14-
* @property-read Diff[]|null $diffs
15-
* @property-read Project $project
10+
* @property bool $compare_timeout
11+
* @property bool $compare_same_ref
12+
* @property Commit|null $commit
13+
* @property Commit[]|null $commits
14+
* @property Diff[]|null $diffs
15+
* @property Project $project
1616
*/
1717
class Comparison extends AbstractModel
1818
{

lib/Gitlab/Model/Contributor.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
/**
88
* @final
99
*
10-
* @property-read string $name
11-
* @property-read string $email
12-
* @property-read int $commits
13-
* @property-read int $additions
14-
* @property-read int $deletions
15-
* @property-read Project $project
10+
* @property string $name
11+
* @property string $email
12+
* @property int $commits
13+
* @property int $additions
14+
* @property int $deletions
15+
* @property Project $project
1616
*/
1717
class Contributor extends AbstractModel
1818
{

lib/Gitlab/Model/Diff.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
/**
88
* @final
99
*
10-
* @property-read string $old_path
11-
* @property-read string $new_path
12-
* @property-read string $a_mode
13-
* @property-read string $b_mode
14-
* @property-read string $diff
15-
* @property-read bool $new_file
16-
* @property-read bool $renamed_file
17-
* @property-read bool $deleted_file
18-
* @property-read Project $project
10+
* @property string $old_path
11+
* @property string $new_path
12+
* @property string $a_mode
13+
* @property string $b_mode
14+
* @property string $diff
15+
* @property bool $new_file
16+
* @property bool $renamed_file
17+
* @property bool $deleted_file
18+
* @property Project $project
1919
*/
2020
class Diff extends AbstractModel
2121
{

lib/Gitlab/Model/Event.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77
/**
88
* @final
99
*
10-
* @property-read string $title
11-
* @property-read int $id
12-
* @property-read string $action_name
13-
* @property-read string $data
14-
* @property-read int $target_id
15-
* @property-read string $target_type
16-
* @property-read string $target_title
17-
* @property-read int $author_id
18-
* @property-read string $author_username
19-
* @property-read User|null $author
20-
* @property-read Project $project
10+
* @property string $title
11+
* @property int $id
12+
* @property string $action_name
13+
* @property string $data
14+
* @property int $target_id
15+
* @property string $target_type
16+
* @property string $target_title
17+
* @property int $author_id
18+
* @property string $author_username
19+
* @property User|null $author
20+
* @property Project $project
2121
*/
2222
class Event extends AbstractModel
2323
{

lib/Gitlab/Model/File.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
/**
88
* @final
99
*
10-
* @property-read string $file_path
11-
* @property-read string $branch_name
12-
* @property-read Project $project
10+
* @property string $file_path
11+
* @property string $branch_name
12+
* @property Project $project
1313
*/
1414
class File extends AbstractModel
1515
{

lib/Gitlab/Model/Group.php

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@
77
/**
88
* @final
99
*
10-
* @property-read int $id
11-
* @property-read string $name
12-
* @property-read string $path
13-
* @property-read string $description
14-
* @property-read string $visibility
15-
* @property-read bool $lfs_enabled
16-
* @property-read string $avatar_url
17-
* @property-read string $web_url
18-
* @property-read bool $request_access_enabled
19-
* @property-read string $full_name
20-
* @property-read string $full_path
21-
* @property-read int|string $file_template_project_id
22-
* @property-read int|null $parent_id
23-
* @property-read Project[]|null $projects
24-
* @property-read Project[]|null $shared_projects
10+
* @property int $id
11+
* @property string $name
12+
* @property string $path
13+
* @property string $description
14+
* @property string $visibility
15+
* @property bool $lfs_enabled
16+
* @property string $avatar_url
17+
* @property string $web_url
18+
* @property bool $request_access_enabled
19+
* @property string $full_name
20+
* @property string $full_path
21+
* @property int|string $file_template_project_id
22+
* @property int|null $parent_id
23+
* @property Project[]|null $projects
24+
* @property Project[]|null $shared_projects
2525
*/
2626
class Group extends AbstractModel
2727
{

lib/Gitlab/Model/GroupMilestone.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77
/**
88
* @final
99
*
10-
* @property-read int $id
11-
* @property-read int $iid
12-
* @property-read Group $group
13-
* @property-read int $group_id
14-
* @property-read string $title
15-
* @property-read string $description
16-
* @property-read string $state
17-
* @property-read string $created_at
18-
* @property-read string $updated_at
19-
* @property-read string $due_date
20-
* @property-read string $start_date
10+
* @property int $id
11+
* @property int $iid
12+
* @property Group $group
13+
* @property int $group_id
14+
* @property string $title
15+
* @property string $description
16+
* @property string $state
17+
* @property string $created_at
18+
* @property string $updated_at
19+
* @property string $due_date
20+
* @property string $start_date
2121
*/
2222
class GroupMilestone extends AbstractModel
2323
{

lib/Gitlab/Model/Hook.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
/**
88
* @final
99
*
10-
* @property-read int $id
11-
* @property-read string $url
12-
* @property-read string $created_at
10+
* @property int $id
11+
* @property string $url
12+
* @property string $created_at
1313
*/
1414
class Hook extends AbstractModel
1515
{

lib/Gitlab/Model/Issue.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@
88
/**
99
* @final
1010
*
11-
* @property-read int $id
12-
* @property-read int $iid
13-
* @property-read int|string $project_id,
14-
* @property-read string $title
15-
* @property-read string $description
16-
* @property-read array $labels
17-
* @property-read bool $closed
18-
* @property-read string $updated_at
19-
* @property-read string $created_at
20-
* @property-read string $state
21-
* @property-read User|null $assignee
22-
* @property-read User|null $author
23-
* @property-read Milestone $milestone
24-
* @property-read Project $project
11+
* @property int $id
12+
* @property int $iid
13+
* @property int|string $project_id,
14+
* @property string $title
15+
* @property string $description
16+
* @property array $labels
17+
* @property bool $closed
18+
* @property string $updated_at
19+
* @property string $created_at
20+
* @property string $state
21+
* @property User|null $assignee
22+
* @property User|null $author
23+
* @property Milestone $milestone
24+
* @property Project $project
2525
*/
2626
class Issue extends AbstractModel implements Noteable, Notable
2727
{

lib/Gitlab/Model/IssueLink.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
/**
88
* @final
99
*
10-
* @property-read int $issue_link_id
11-
* @property-read Issue $issue
10+
* @property int $issue_link_id
11+
* @property Issue $issue
1212
*/
1313
class IssueLink extends AbstractModel
1414
{

0 commit comments

Comments
 (0)