@@ -16,10 +16,8 @@ class MockGitHub extends GitHub
1616 /**
1717 * Whether the next API call should throw
1818 * an exception.
19- *
20- * @var bool
2119 */
22- private $ throws = false ;
20+ private bool $ throws = false ;
2321
2422 /**
2523 * Skips the need for parameters
@@ -133,10 +131,10 @@ private function repoReleasesAll(): array
133131 'assets_url ' => 'https://api.github.com/repos/codeigniter4/CodeIgniter4/releases/37193785/assets ' ,
134132 'upload_url ' => 'https://uploads.github.com/repos/codeigniter4/CodeIgniter4/releases/37193785/assets{?name,label} ' ,
135133 'html_url ' => 'https://github.com/codeigniter4/CodeIgniter4/releases/tag/v4.1.1 ' ,
136- 'id ' => 37193785 ,
134+ 'id ' => 37_193_785 ,
137135 'author ' => [
138136 'login ' => 'MGatner ' ,
139- 'id ' => 17572847 ,
137+ 'id ' => 17_572_847 ,
140138 'node_id ' => 'MDQ6VXNlcjE3NTcyODQ3 ' ,
141139 'avatar_url ' => 'https://avatars.githubusercontent.com/u/17572847?v=4 ' ,
142140 'url ' => 'https://api.github.com/users/MGatner ' ,
@@ -162,10 +160,10 @@ private function repoReleasesAll(): array
162160 'assets_url ' => 'https://api.github.com/repos/codeigniter4/CodeIgniter4/releases/37155037/assets ' ,
163161 'upload_url ' => 'https://uploads.github.com/repos/codeigniter4/CodeIgniter4/releases/37155037/assets{?name,label} ' ,
164162 'html_url ' => 'https://github.com/codeigniter4/CodeIgniter4/releases/tag/v4.1.0 ' ,
165- 'id ' => 37155037 ,
163+ 'id ' => 37_155_037 ,
166164 'author ' => [
167165 'login ' => 'MGatner ' ,
168- 'id ' => 17572847 ,
166+ 'id ' => 17_572_847 ,
169167 'node_id ' => 'MDQ6VXNlcjE3NTcyODQ3 ' ,
170168 'avatar_url ' => 'https://avatars.githubusercontent.com/u/17572847?v=4 ' ,
171169 'url ' => 'https://api.github.com/users/MGatner ' ,
@@ -197,7 +195,7 @@ private function repoContributors(): array
197195 return [
198196 [
199197 'login ' => 'narfbg ' ,
200- 'id ' => 1058011 ,
198+ 'id ' => 1_058_011 ,
201199 'node_id ' => 'MDQ6VXNlcjEwNTgwMTE= ' ,
202200 'avatar_url ' => 'https://avatars.githubusercontent.com/u/1058011?v=4 ' ,
203201 'gravatar_id ' => '' ,
@@ -239,7 +237,7 @@ private function repoContributors(): array
239237 ],
240238 [
241239 'login ' => 'jim-parry ' ,
242- 'id ' => 3203951 ,
240+ 'id ' => 3_203_951 ,
243241 'node_id ' => 'MDQ6VXNlcjMyMDM5NTE= ' ,
244242 'avatar_url ' => 'https://avatars.githubusercontent.com/u/3203951?v=4 ' ,
245243 'gravatar_id ' => '' ,
@@ -267,14 +265,14 @@ private function repoContributors(): array
267265 private function repoShow (): array
268266 {
269267 return [
270- 'id ' => 205950333 ,
268+ 'id ' => 205_950_333 ,
271269 'node_id ' => 'MDEwOlJlcG9zaXRvcnkyMDU5NTAzMzM= ' ,
272270 'name ' => 'website2 ' ,
273271 'full_name ' => 'codeigniter4projects/website2 ' ,
274272 'private ' => false ,
275273 'owner ' => [
276274 'login ' => 'codeigniter4projects ' ,
277- 'id ' => 53120982 ,
275+ 'id ' => 53_120_982 ,
278276 'node_id ' => 'MDEyOk9yZ2FuaXphdGlvbjUzMTIwOTgy ' ,
279277 'avatar_url ' => 'https://avatars.githubusercontent.com/u/53120982?v=4 ' ,
280278 'gravatar_id ' => '' ,
@@ -368,7 +366,7 @@ private function repoShow(): array
368366 'temp_clone_token ' => null ,
369367 'organization ' => [
370368 'login ' => 'codeigniter4projects ' ,
371- 'id ' => 53120982 ,
369+ 'id ' => 53_120_982 ,
372370 'node_id ' => 'MDEyOk9yZ2FuaXphdGlvbjUzMTIwOTgy ' ,
373371 'avatar_url ' => 'https://avatars.githubusercontent.com/u/53120982?v=4 ' ,
374372 'gravatar_id ' => '' ,
0 commit comments