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
Pull Request — master (#7)
by
unknown
03:03
created
Tests/DataTable/Formatter/DefaultFormatterTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@
 block discarded – undo
24 24
         $formatter = new DefaultFormatter();
25 25
 
26 26
         $row = [
27
-          'escapedcolumn' => '<testval',
28
-          'unescapedcolumn' => '<testval',
27
+            'escapedcolumn' => '<testval',
28
+            'unescapedcolumn' => '<testval',
29 29
         ];
30 30
 
31 31
         $expected = [
Please login to merge, or discard this patch.
Tests/Controller/DataTableControllerTest.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -19,19 +19,19 @@
 block discarded – undo
19 19
     {
20 20
         $tableMock = $this->getDataTableMock();
21 21
         $registryMock = $this->getMockBuilder('CrossKnowledge\DataTableBundle\DataTable\DataTableRegistry')
22
-                             ->disableOriginalConstructor()
23
-                             ->getMock();
22
+                                ->disableOriginalConstructor()
23
+                                ->getMock();
24 24
 
25 25
         $registryMock->expects($this->once())
26
-                     ->method('retrieveByTableId')
27
-                     ->will($this->returnValue($tableMock));
26
+                        ->method('retrieveByTableId')
27
+                        ->will($this->returnValue($tableMock));
28 28
 
29 29
         $rendererMock = $this->getMockBuilder('CrossKnowledge\DataTableBundle\DataTable\Renderer\JsonRenderer')
30
-                             ->getMock();
30
+                                ->getMock();
31 31
 
32 32
         $rendererMock->expects($this->once())
33
-                         ->method('renderJsonResponse')
34
-                         ->with($tableMock);
33
+                            ->method('renderJsonResponse')
34
+                            ->with($tableMock);
35 35
 
36 36
         $request = new Request([], [], ['tableid' => 'testtable_id']);
37 37
 
Please login to merge, or discard this patch.
Tests/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 //From https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/Tests/bootstrap.php
4
-if (!($loader = @include __DIR__ . '/../vendor/autoload.php')) {
4
+if (!($loader = @include __DIR__.'/../vendor/autoload.php')) {
5 5
     echo <<<EOT
6 6
 You need to install the project dependencies using Composer:
7 7
 $ wget http://getcomposer.org/composer.phar
Please login to merge, or discard this patch.
Tests/Twig/DataTableExtensionTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     protected function getFunctionByName(\Twig_Extension $extension, $name)
17 17
     {
18 18
         foreach ($extension->getFunctions() as $function) {
19
-            if ($function->getName()==$name) {
19
+            if ($function->getName() == $name) {
20 20
                 return $function;
21 21
             }
22 22
         }
Please login to merge, or discard this patch.
DataTable/Table/AbstractTable.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
 
18 18
 abstract class AbstractTable
19 19
 {
20
-    const VIEW_CONTEXT   = 'view';
20
+    const VIEW_CONTEXT = 'view';
21 21
 
22 22
     /**
23 23
      * @var Router
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
      *
141 141
      * @param OptionsResolver $resolver
142 142
      */
143
-    public function configureOptions(OptionsResolver $resolver){}
143
+    public function configureOptions(OptionsResolver $resolver) {}
144 144
     /**
145 145
      * @return array
146 146
      */
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
     {
181 181
         $t = [];
182 182
         foreach ($this->getDataIterator() as $item) {
183
-            $formatted = $this->formatter->formatRow($item,  $this, $context);
183
+            $formatted = $this->formatter->formatRow($item, $this, $context);
184 184
             $t[] = $formatted;
185 185
         }
186 186
 
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
      */
219 219
     public function getFilterForm()
220 220
     {
221
-        if (null===$this->filterForm) {
221
+        if (null === $this->filterForm) {
222 222
             $this->filterForm = $this->buildFilterForm(
223 223
                 $this->formFactory->createNamedBuilder($this->getTableId().'_filter')
224 224
                     ->add('dofilter', 'button')
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
         $this->buildColumns($builder);
283 283
 
284 284
         $this->columns = $builder->getColumns();
285
-        $this->columnsInitialized =  true;
285
+        $this->columnsInitialized = true;
286 286
     }
287 287
     /**
288 288
      * Sets the table identifier
Please login to merge, or discard this patch.
DataTable/Formatter/DefaultFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
                 $value = $rawValue;
32 32
             }
33 33
 
34
-            $colVal = $column->formatCell($value, $row, $context);//Column definition
34
+            $colVal = $column->formatCell($value, $row, $context); //Column definition
35 35
             $newRow[$colIdentifier] = $colVal;
36 36
         }
37 37
 
Please login to merge, or discard this patch.