Test Failed
Pull Request — master (#16)
by
unknown
11:20
created
GitControlBundle/Tests/Controller/ProjectEnvironmentControllerTest.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
         // List users for project
15 15
         $url = $this->client->getContainer()->get('router')->generate('projectenvironment_new', array('id' => $project->getId()));
16 16
         $crawler = $this->client->request('GET', $url, array(), array(), array(
17
-             'HTTP_X-Requested-With' => 'XMLHttpRequest',
17
+                'HTTP_X-Requested-With' => 'XMLHttpRequest',
18 18
         ));
19 19
         $this->assertEquals(200, $this->client->getResponse()->getStatusCode(), 'Unexpected HTTP status code for GET '.$url);
20 20
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         // List users for project
50 50
         $url = $this->client->getContainer()->get('router')->generate('projectenvironment_existing', array('id' => $project->getId()));
51 51
         $crawler = $this->client->request('GET', $url, array(), array(), array(
52
-             'HTTP_X-Requested-With' => 'XMLHttpRequest',
52
+                'HTTP_X-Requested-With' => 'XMLHttpRequest',
53 53
         ));
54 54
         $this->assertEquals(200, $this->client->getResponse()->getStatusCode(), 'Unexpected HTTP status code for GET /userprojects/');
55 55
 
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         // List users for project
81 81
         $url = $this->client->getContainer()->get('router')->generate('projectenvironment_clone', array('id' => $project->getId()));
82 82
         $crawler = $this->client->request('GET', $url, array(), array(), array(
83
-             'HTTP_X-Requested-With' => 'XMLHttpRequest',
83
+                'HTTP_X-Requested-With' => 'XMLHttpRequest',
84 84
         ));
85 85
         $this->assertEquals(200, $this->client->getResponse()->getStatusCode(), 'Unexpected HTTP status code for GET /userprojects/');
86 86
 
Please login to merge, or discard this patch.
app/src/VersionControl/GithubIssueBundle/Repository/GithubBase.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     public function __construct()
37 37
     {
38 38
         $this->client = new \Github\Client(
39
-               new \Github\HttpClient\CachedHttpClient(array('cache_dir' => $this->getCacheDir()))
39
+                new \Github\HttpClient\CachedHttpClient(array('cache_dir' => $this->getCacheDir()))
40 40
         );
41 41
     }
42 42
 
Please login to merge, or discard this patch.
VersionControl/GithubIssueBundle/Form/ProjectIssueIntegratorGithubType.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -29,15 +29,15 @@
 block discarded – undo
29 29
         ;
30 30
     }
31 31
 
32
-   /**
33
-    * @param OptionsResolverInterface $resolver
34
-    */
35
-   public function configureOptions(OptionsResolver $resolver)
36
-   {
37
-       $resolver->setDefaults(array(
32
+    /**
33
+     * @param OptionsResolverInterface $resolver
34
+     */
35
+    public function configureOptions(OptionsResolver $resolver)
36
+    {
37
+        $resolver->setDefaults(array(
38 38
             'data_class' => 'VersionControl\GithubIssueBundle\Entity\ProjectIssueIntegratorGithub',
39 39
         ));
40
-   }
40
+    }
41 41
 
42 42
     /**
43 43
      * @return string
Please login to merge, or discard this patch.
app/src/VersionControl/GithubIssueBundle/Form/IssueType.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,8 +66,8 @@
 block discarded – undo
66 66
                     },*/
67 67
                 ))
68 68
             //->add('project', 'hidden_entity',array(
69
-             //       'class' => 'VersionControl\GitControlBundle\Entity\Project'
70
-             //   ))
69
+                //       'class' => 'VersionControl\GitControlBundle\Entity\Project'
70
+                //   ))
71 71
             //->add('verUser')
72 72
             ->add('issueLabel', ChoiceType::class, array(
73 73
                     'choices' => $this->getIssueLabelChoices(),
Please login to merge, or discard this patch.
app/src/VersionControl/GitlabIssueBundle/Form/IssueType.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,8 +66,8 @@
 block discarded – undo
66 66
                     },*/
67 67
                 ))
68 68
             //->add('project', 'hidden_entity',array(
69
-             //       'class' => 'VersionControl\GitControlBundle\Entity\Project'
70
-             //   ))
69
+                //       'class' => 'VersionControl\GitControlBundle\Entity\Project'
70
+                //   ))
71 71
             //->add('verUser')
72 72
             ->add('issueLabel', ChoiceType::class, array(
73 73
                     'choices' => $this->getIssueLabelChoices(),
Please login to merge, or discard this patch.
app/src/VersionControl/GitCommandBundle/Service/SecLibSftpProcess.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -72,16 +72,16 @@
 block discarded – undo
72 72
         if (isset($username) && $privateKey != null) {
73 73
             $key = new RSA();
74 74
 
75
-             //Set Private Key Password
76
-             if ($privateKeyPassword) {
77
-                 $key->setPassword($privateKeyPassword);
78
-             }
75
+                //Set Private Key Password
76
+                if ($privateKeyPassword) {
77
+                    $key->setPassword($privateKeyPassword);
78
+                }
79 79
             $key->loadKey($privateKey);
80 80
 
81
-             //Login using private key
82
-             if (!$this->sftp->login($username, $key)) {
83
-                 throw new SshLoginException(sprintf('SFTP authentication failed for user "%s" using private key', $username));
84
-             }
81
+                //Login using private key
82
+                if (!$this->sftp->login($username, $key)) {
83
+                    throw new SshLoginException(sprintf('SFTP authentication failed for user "%s" using private key', $username));
84
+                }
85 85
         } else {
86 86
             if (!$this->sftp->login($username, $password)) {
87 87
                 throw new SshLoginException(sprintf('SFTP authentication failed for user "%s" using password', $username));
Please login to merge, or discard this patch.