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.
Test Failed
Branch master (a58a73)
by Cyril
02:29
created
Tests/DataTable/Table/AbstractTableTest.php 1 patch
Indentation   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -20,12 +20,12 @@  discard block
 block discarded – undo
20 20
     protected function getTableMock($cols, $rows)
21 21
     {
22 22
         $formFactory = $this->getMockBuilder(FormFactory::class)
23
-                             ->disableOriginalConstructor()
24
-                             ->getMock();
23
+                                ->disableOriginalConstructor()
24
+                                ->getMock();
25 25
 
26 26
         $form = $this->getMockBuilder('Symfony\Component\Form\Form')
27
-                     ->disableOriginalConstructor()
28
-                     ->getMock();
27
+                        ->disableOriginalConstructor()
28
+                        ->getMock();
29 29
 
30 30
         $authChecker = $this->getMockBuilder(AuthorizationChecker::class)
31 31
                             ->disableOriginalConstructor()
@@ -39,20 +39,20 @@  discard block
 block discarded – undo
39 39
         $layout    = new Bootstrap();
40 40
 
41 41
         $mock = $this->getMockBuilder(AbstractTable::class)
42
-                     ->setConstructorArgs([
43
-                         $formFactory, $authChecker,
44
-                         $router, $formatter, $layout
45
-                     ])
46
-                     ->setMethods(['getColumns', 'getFilterForm'])
47
-                     ->getMockForAbstractClass();
42
+                        ->setConstructorArgs([
43
+                            $formFactory, $authChecker,
44
+                            $router, $formatter, $layout
45
+                        ])
46
+                        ->setMethods(['getColumns', 'getFilterForm'])
47
+                        ->getMockForAbstractClass();
48 48
 
49 49
         $mock->expects($this->any())
50 50
             ->method('getDataIterator')
51 51
             ->will($this->returnValue($rows));
52 52
 
53 53
         $mock->expects($this->any())
54
-             ->method('getColumns')
55
-             ->will($this->returnValue($cols));
54
+                ->method('getColumns')
55
+                ->will($this->returnValue($cols));
56 56
 
57 57
         $mock->expects($this->any())
58 58
             ->method('getFilterForm')
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 
73 73
         $filterForm = $table->getFilterForm();
74 74
         $filterForm->expects($this->never())
75
-                   ->method('createView');
75
+                    ->method('createView');
76 76
 
77 77
         $viewData = $table->buildView();
78 78
         $this->assertEquals($viewData['datatable'], $table);
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 
86 86
         $filterForm = $table->getFilterForm();
87 87
         $filterForm->expects($this->once())
88
-                   ->method('createView');
88
+                    ->method('createView');
89 89
         $table->buildView();
90 90
     }
91 91
     /**
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
         $table->setOptions(['has_filter_form' => false]);
98 98
         $filterForm = $table->getFilterForm();
99 99
         $filterForm->expects($this->never())
100
-                   ->method('createView');
100
+                    ->method('createView');
101 101
 
102 102
         $table->buildView();
103 103
 
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
 
107 107
         $filterForm = $table->getFilterForm();
108 108
         $filterForm->expects($this->once())
109
-                   ->method('createView');
109
+                    ->method('createView');
110 110
         $table->buildView();
111 111
     }
112 112
     /**
@@ -131,17 +131,17 @@  discard block
 block discarded – undo
131 131
     public function buildViewProvider()
132 132
     {
133 133
         return [
134
-          [
135
-              [
136
-                  'firstCol' => new Column('title 1st col'),
137
-                  'secondCol' => new Column('title 2nd col')
138
-              ],
139
-              [
140
-                  ['firstCol' => 'row1column1value', 'secondCol' => 'row2column2value'],
141
-                  ['firstCol' => 'row2column1value', 'secondCol' => 'row2column2value']
142
-              ],
143
-              2
144
-          ]
134
+            [
135
+                [
136
+                    'firstCol' => new Column('title 1st col'),
137
+                    'secondCol' => new Column('title 2nd col')
138
+                ],
139
+                [
140
+                    ['firstCol' => 'row1column1value', 'secondCol' => 'row2column2value'],
141
+                    ['firstCol' => 'row2column1value', 'secondCol' => 'row2column2value']
142
+                ],
143
+                2
144
+            ]
145 145
         ];
146 146
     }
147 147
 }
148 148
\ No newline at end of file
Please login to merge, or discard this patch.
Tests/DataTable/Request/PaginateRequestTest.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,9 +13,9 @@
 block discarded – undo
13 13
     {
14 14
         $tableMock = $this->getTableMock();
15 15
         $request = new Request([], [
16
-           'order' => [['column' => '1', 'dir' => 'desc']],
17
-           'start'  => 242,
18
-           'length' => 342
16
+            'order' => [['column' => '1', 'dir' => 'desc']],
17
+            'start'  => 242,
18
+            'length' => 342
19 19
         ]);
20 20
 
21 21
         $paginateRequest = PaginateRequest::fromHttpRequest($request, $tableMock);
Please login to merge, or discard this patch.
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.