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 ( a6e2c6...efc9cb )
by
unknown
21:11
created
DataTable/Table/Element/Column/Link.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,10 +11,10 @@
 block discarded – undo
11 11
     {
12 12
         parent::configureOptions($resolver);
13 13
         $resolver->setRequired('LinkTextField');
14
-        $resolver->setDefault('AltTextField', function (Options $options) {
14
+        $resolver->setDefault('AltTextField', function(Options $options) {
15 15
             return $options['LinkTextField'];
16 16
         });
17
-        $resolver->setDefault('UrlField', function (Options $options) {
17
+        $resolver->setDefault('UrlField', function(Options $options) {
18 18
             return $options['LinkTextField'];
19 19
         });
20 20
         $resolver->setDefault('UrlCallback', function($value, $row) {
Please login to merge, or discard this patch.
Tests/DataTable/ColumnBuilderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
     {
11 11
         $builder = new ColumnBuilder();
12 12
 
13
-        for ($i=0;$i<3;$i++) {
13
+        for ($i = 0; $i<3; $i++) {
14 14
             $builder->add("testcolumn".$i, new Column("test column ".$i));
15 15
         }
16 16
 
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/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.
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.
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.
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.