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 ( 53e46b...4c92ed )
by
unknown
20:57 queued 12s
created
DataTable/Table/Element/Column/Column.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
      * @var array
15 15
      */
16 16
     public static $clientSideColumnOptions = [
17
-        'cellType','className','contentPadding', 'createdCell', 'data', 'defaultContent', 'name', 'orderable',
17
+        'cellType', 'className', 'contentPadding', 'createdCell', 'data', 'defaultContent', 'name', 'orderable',
18 18
         'orderData', 'orderDataType', 'render', 'searchable', 'title', 'type', 'visible', 'width'
19 19
     ];
20 20
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      */
34 34
     protected $formatValueCallback;
35 35
 
36
-    public function __construct($title='', $options=[])
36
+    public function __construct($title = '', $options = [])
37 37
     {
38 38
         $this->optionsResolver = new OptionsResolver();
39 39
         $this->configureOptions($this->optionsResolver);
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
     {
95 95
         if (is_callable($this->formatValueCallback)) {
96 96
             return call_user_func_array($this->formatValueCallback, [$value, $rowData, $context]);
97
-        } else{
97
+        } else {
98 98
             return $value;
99 99
         }
100 100
     }
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
     /**
110 110
      * @param \Closure $callback
111 111
      */
112
-    public function setFormatValueCallback(\Closure $callback=null)
112
+    public function setFormatValueCallback(\Closure $callback = null)
113 113
     {
114 114
         $this->formatValueCallback = $callback;
115 115
         return $this;
Please login to merge, or discard this patch.
DataTable/Renderer/JsonRenderer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
         $jsonVars = [];
13 13
         $jsonVars['recordsTotal'] = $table->getUnfilteredCount();
14 14
         $filterCount = $table->getFilteredCount();
15
-        $jsonVars['recordsFiltered'] = $filterCount!==false ? $filterCount : $jsonVars['recordsTotal'];
15
+        $jsonVars['recordsFiltered'] = $filterCount !== false ? $filterCount : $jsonVars['recordsTotal'];
16 16
         $jsonVars['data'] = array_map(
17
-            function ($item) {
17
+            function($item) {
18 18
                 $t = [];
19 19
                 foreach ($item as $k => $v) {
20 20
                     $t[] = $v;
Please login to merge, or discard this patch.
DataTable/Table/AbstractTable.php 1 patch
Spacing   +6 added lines, -6 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
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      *
143 143
      * @param OptionsResolver $resolver
144 144
      */
145
-    public function configureOptions(OptionsResolver $resolver){}
145
+    public function configureOptions(OptionsResolver $resolver) {}
146 146
     /**
147 147
      * @return array
148 148
      */
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
     {
183 183
         $t = [];
184 184
         foreach ($this->getDataIterator($context) as $item) {
185
-            $formatted = $this->formatter->formatRow($item,  $this, $context);
185
+            $formatted = $this->formatter->formatRow($item, $this, $context);
186 186
             $t[] = $formatted;
187 187
         }
188 188
 
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
      */
222 222
     public function getFilterForm()
223 223
     {
224
-        if (null===$this->filterForm) {
224
+        if (null === $this->filterForm) {
225 225
             $this->filterForm = $this->buildFilterForm(
226 226
                 $this->formFactory->createNamedBuilder($this->getTableId().'_filter')
227 227
                     ->add('dofilter', \Symfony\Component\Form\Extension\Core\Type\ButtonType::class)
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
      */
254 254
     public function getColumns($context = self::VIEW_CONTEXT)
255 255
     {
256
-        if(!array_key_exists($context, $this->columns)) {
256
+        if (!array_key_exists($context, $this->columns)) {
257 257
             $this->initColumnsDefinitions($context);
258 258
         }
259 259
         return $this->columns[$context];
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
         $this->buildColumns($builder, $context);
269 269
 
270 270
         $this->columns[$context] = $builder->getColumns();
271
-        $this->columnsInitialized[$context] =  true;
271
+        $this->columnsInitialized[$context] = true;
272 272
     }
273 273
     /**
274 274
      * Sets the table identifier
Please login to merge, or discard this patch.
Tests/CrossKnowledgeDataTableBundleTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         $passes = array_values(
20 20
             array_filter(
21 21
                 $container->getCompilerPassConfig()->getPasses(),
22
-                function ($pass) {
22
+                function($pass) {
23 23
                     return $pass instanceof DatatablePass;
24 24
                 }
25 25
             )
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
@@ -20,19 +20,19 @@
 block discarded – undo
20 20
     {
21 21
         $tableMock = $this->getDataTableMock();
22 22
         $registryMock = $this->getMockBuilder(DataTableRegistry::class)
23
-                             ->disableOriginalConstructor()
24
-                             ->getMock();
23
+                                ->disableOriginalConstructor()
24
+                                ->getMock();
25 25
 
26 26
         $registryMock->expects($this->once())
27
-                     ->method('retrieveByTableId')
28
-                     ->will($this->returnValue($tableMock));
27
+                        ->method('retrieveByTableId')
28
+                        ->will($this->returnValue($tableMock));
29 29
 
30 30
         $rendererMock = $this->getMockBuilder(JsonRenderer::class)
31
-                             ->getMock();
31
+                                ->getMock();
32 32
 
33 33
         $rendererMock->expects($this->once())
34
-                         ->method('renderJsonResponse')
35
-                         ->with($tableMock);
34
+                            ->method('renderJsonResponse')
35
+                            ->with($tableMock);
36 36
 
37 37
         $request = new Request([], [], ['tableid' => 'testtable_id']);
38 38
 
Please login to merge, or discard this patch.
Tests/DataTable/Renderer/TwigRendererTest.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@  discard block
 block discarded – undo
29 29
                     ->getMock();
30 30
 
31 31
         $templateMock = $this->getMockBuilder(Environment::class)
32
-                             ->disableOriginalConstructor()
33
-                             ->getMock();
32
+                                ->disableOriginalConstructor()
33
+                                ->getMock();
34 34
 
35 35
         $twig->expects($this->once())->method('loadTemplate')
36
-             ->will($this->returnValue($templateMock));
36
+                ->will($this->returnValue($templateMock));
37 37
 
38 38
         $renderer = new TwigRenderer($twig);
39 39
         $renderer->render($mock);
@@ -54,11 +54,11 @@  discard block
 block discarded – undo
54 54
                     ->getMock();
55 55
 
56 56
         $templateMock = $this->getMockBuilder(Environment::class)
57
-                             ->disableOriginalConstructor()
58
-                             ->getMock();
57
+                                ->disableOriginalConstructor()
58
+                                ->getMock();
59 59
 
60 60
         $twig->expects($this->once())->method('loadTemplate')
61
-             ->will($this->returnValue($templateMock));
61
+                ->will($this->returnValue($templateMock));
62 62
 
63 63
         $renderer = new TwigRenderer($twig);
64 64
         $renderer->render($mock);
Please login to merge, or discard this patch.