GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 067c77...adceb2 )
by
unknown
67:51
created
plugins/git/tests/Git/Driver/GerritTest/REST/GerritREST_Base.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -79,6 +79,9 @@
 block discarded – undo
79 79
         $this->driver = new Git_Driver_GerritREST($this->guzzle_client, $this->logger);
80 80
     }
81 81
 
82
+    /**
83
+     * @param string $text
84
+     */
82 85
     protected function getGuzzleRequestWithTextResponse($text) {
83 86
         $response     = stub('Guzzle\Http\Message\Response')->getBody(true)->returns($text);
84 87
         return stub('Guzzle\Http\Message\EntityEnclosingRequest')->send()->returns($response);
Please login to merge, or discard this patch.
plugins/git/tests/Git/Gitolite/ProjectSerializerTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -277,6 +277,10 @@
 block discarded – undo
277 277
         $this->assertEqual('project1/repo', $this->project_serializer->repoFullName($repo, $unix_name));
278 278
     }
279 279
 
280
+    /**
281
+     * @param string $name
282
+     * @param string $namespace
283
+     */
280 284
     private function _GivenARepositoryWithNameAndNamespace($name, $namespace) {
281 285
         $repo = new GitRepository();
282 286
         $repo->setName($name);
Please login to merge, or discard this patch.
plugins/git/tests/Git/Mirror/ManifestFileGeneratorTest.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -73,12 +73,18 @@  discard block
 block discarded – undo
73 73
         parent::tearDown();
74 74
     }
75 75
 
76
+    /**
77
+     * @param string $path
78
+     */
76 79
     protected function getManifestContent($path) {
77 80
         $content = file_get_contents("compress.zlib://$path");
78 81
 
79 82
         return json_decode($content, true);
80 83
     }
81 84
 
85
+    /**
86
+     * @param string $path
87
+     */
82 88
     protected function forgeExistingManifestFile($path) {
83 89
         file_put_contents(
84 90
             "compress.zlib://$path",
@@ -86,6 +92,9 @@  discard block
 block discarded – undo
86 92
         );
87 93
     }
88 94
 
95
+    /**
96
+     * @param string $path
97
+     */
89 98
     protected function forgeExistingManifestFileWithGitoliteAdmin($path) {
90 99
         file_put_contents(
91 100
             "compress.zlib://$path",
Please login to merge, or discard this patch.
plugins/git/tests/Git/URLTest.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -164,7 +164,8 @@  discard block
 block discarded – undo
164 164
         $this->assertNull($url->getProject());
165 165
     }
166 166
 
167
-    /** @return Git_URL */
167
+    /** @param string $uri
168
+/** @return Git_URL */
168 169
     private function getGitURL($uri = null) {
169 170
         return new Git_URL(
170 171
             $this->project_manager,
@@ -337,7 +338,8 @@  discard block
 block discarded – undo
337 338
         $this->assertEqual($url->getQueryString(), 'service=git-upload-pack');
338 339
     }
339 340
 
340
-    /** @return Git_URL */
341
+    /** @param string $url
342
+/** @return Git_URL */
341 343
     private function getUrl($url) {
342 344
         return new Git_URL(
343 345
             $this->project_manager,
Please login to merge, or discard this patch.
plugins/git/tests/Git_Backend_GitoliteTest.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -34,6 +34,10 @@  discard block
 block discarded – undo
34 34
 
35 35
 abstract class Git_Backend_GitoliteCommonTest extends TuleapTestCase {
36 36
 
37
+    /**
38
+     * @param string $name
39
+     * @param string $namespace
40
+     */
37 41
     protected function _GivenAGitRepoWithNameAndNamespace($name, $namespace) {
38 42
         $repository = new GitRepository();
39 43
         $repository->setName($name);
@@ -92,6 +96,10 @@  discard block
 block discarded – undo
92 96
         unlink(dirname(__FILE__).'/_fixtures/tmp/perms');
93 97
     }
94 98
     
99
+    /**
100
+     * @param string $className
101
+     * @param string[] $methods
102
+     */
95 103
     function getPartialMock($className, $methods) {
96 104
         $partialName = $className.'Partial'.uniqid();
97 105
         Mock::generatePartial($className, $partialName, $methods);
Please login to merge, or discard this patch.
plugins/git/tests/Git_GitoliteDriverTest.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -130,6 +130,9 @@  discard block
 block discarded – undo
130 130
         return file_get_contents($this->_glAdmDir.'/conf/gitolite.conf');
131 131
     }
132 132
 
133
+    /**
134
+     * @param string $filename
135
+     */
133 136
     protected function getFileConf($filename) {
134 137
         return file_get_contents($this->_glAdmDir.'/conf/'.$filename.'.conf');
135 138
     }
@@ -213,6 +216,11 @@  discard block
 block discarded – undo
213 216
         return $groupInfo['name'];
214 217
     }
215 218
 
219
+    /**
220
+     * @param string $repoPath
221
+     * @param string $namespace
222
+     * @param string $group
223
+     */
216 224
     protected function assertNameSpaceFileHasBeenInitialized($repoPath, $namespace, $group) {
217 225
         $namespaceInfoFile = $repoPath.'/tuleap_namespace';
218 226
         $this->assertTrue(file_exists($namespaceInfoFile), 'the file (' . $namespaceInfoFile . ') does not exists');
@@ -221,6 +229,10 @@  discard block
 block discarded – undo
221 229
 
222 230
     }
223 231
 
232
+    /**
233
+     * @param string $new_root_dir
234
+     * @param string $group
235
+     */
224 236
     protected function assertWritableByGroup($new_root_dir, $group) {
225 237
         $this->assertEqual($group, $this->_getFileGroupName($new_root_dir));
226 238
         $this->assertEqual($group, $this->_getFileGroupName($new_root_dir .'/hooks/gitolite_hook.sh'));
@@ -230,6 +242,9 @@  discard block
 block discarded – undo
230 242
         $this->assertPattern('/.*770$/', decoct($rootStats[2]));
231 243
     }
232 244
 
245
+    /**
246
+     * @param string $new_root_dir
247
+     */
233 248
     public function assertRepoIsClonedWithHooks($new_root_dir) {
234 249
         $this->assertTrue(is_dir($new_root_dir), "the new git repo dir ($new_root_dir) wasn't found.");
235 250
         $new_repo_HEAD = $new_root_dir . '/HEAD';
Please login to merge, or discard this patch.
plugins/git/tests/GitActionsTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -617,6 +617,10 @@
 block discarded – undo
617 617
         $this->changeProjectRepositoriesAccess($project_id, $is_private);
618 618
     }
619 619
 
620
+    /**
621
+     * @param integer $project_id
622
+     * @param boolean $is_private
623
+     */
620 624
     private function changeProjectRepositoriesAccess($project_id, $is_private) {
621 625
         return GitActions::changeProjectRepositoriesAccess($project_id, $is_private, $this->dao, $this->factory);
622 626
     }
Please login to merge, or discard this patch.
plugins/git/tests/GitRepositoryManagerTest.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -94,6 +94,9 @@  discard block
 block discarded – undo
94 94
         $this->manager    = new GitRepositoryManager($this->factory, mock('Git_SystemEventManager'), $this->dao, $this->backup_directory);
95 95
     }
96 96
 
97
+    /**
98
+     * @param string $path
99
+     */
97 100
     private function aRepoWithPath($path) {
98 101
         return aGitRepository()->withPath($this->project_name.'/'.$path.'.git')->withProject($this->project)->build();
99 102
     }
@@ -229,6 +232,9 @@  discard block
 block discarded – undo
229 232
 class GitRepositoryIdMatchExpectation extends SimpleExpectation {
230 233
     private $repository_id;
231 234
 
235
+    /**
236
+     * @param integer $repository_id
237
+     */
232 238
     public function __construct($repository_id) {
233 239
         parent::__construct();
234 240
         $this->repository_id = $repository_id;
@@ -397,6 +403,9 @@  discard block
 block discarded – undo
397 403
         $this->manager->forkRepositories($repos, $to_project, $this->user, '', null, $this->forkPermissions);
398 404
     }
399 405
 
406
+    /**
407
+     * @param string[] $repo_ids
408
+     */
400 409
     protected function getRepoCollectionUnreadableFor($repo_ids, $user) {
401 410
         $return = array();
402 411
         foreach ($repo_ids as $id) {
@@ -487,6 +496,9 @@  discard block
 block discarded – undo
487 496
         $this->forkRepositories(array($this->repository), '^toto/pouet');
488 497
     }
489 498
 
499
+    /**
500
+     * @param integer $id
501
+     */
490 502
     private function GivenARepository($id) {
491 503
         $repo = new MockGitRepository();
492 504
         $repo->setReturnValue('getId', $id);
@@ -496,6 +508,9 @@  discard block
 block discarded – undo
496 508
         return $repo;
497 509
     }
498 510
 
511
+    /**
512
+     * @param string $namespace
513
+     */
499 514
     private function forkRepositories($repositories, $namespace=null) {
500 515
         $this->manager->forkRepositories($repositories, $this->project, $this->user, $namespace, null, $this->forkPermissions);
501 516
     }
Please login to merge, or discard this patch.
plugins/git/tests/GitRepositoryTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -140,6 +140,10 @@
 block discarded – undo
140 140
         $this->assertEqual('u/johan/tulip', $repo->getFullName());
141 141
     }
142 142
 
143
+    /**
144
+     * @param string $name
145
+     * @param null|string $namespace
146
+     */
143 147
     protected function _GivenARepositoryWithNameAndNamespace($name, $namespace) {
144 148
         $repo = new GitRepository();
145 149
         $repo->setName($name);
Please login to merge, or discard this patch.