Skip to content

Commit

Permalink
style(desktop-notifications): code style fixup
Browse files Browse the repository at this point in the history
Fixed code style to respect PSR-12 guidelines.
  • Loading branch information
ncosta-ic committed Nov 27, 2023
1 parent 2c82045 commit f1c6c63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/controllers/DaemonController.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function scriptAction(): void
'%x-%x-%x',
$fileStat['ino'],

Check failure on line 34 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 8.0 on ubuntu-latest

Cannot access offset 'ino' on array{0: int, 1: int, 2: int, 3: int, 4: int, 5: int, 6: int, 7: int, ...}|false.

Check failure on line 34 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 8.2 on ubuntu-latest

Cannot access offset 'ino' on array{0: int, 1: int, 2: int, 3: int, 4: int, 5: int, 6: int, 7: int, ...}|false.

Check failure on line 34 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 7.2 on ubuntu-latest

Cannot access offset 'ino' on array{0: int, 1: int, 2: int, 3: int, 4: int, 5: int, 6: int, 7: int, ...}|false.

Check failure on line 34 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 7.3 on ubuntu-latest

Cannot access offset 'ino' on array{0: int, 1: int, 2: int, 3: int, 4: int, 5: int, 6: int, 7: int, ...}|false.

Check failure on line 34 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 7.4 on ubuntu-latest

Cannot access offset 'ino' on array{0: int, 1: int, 2: int, 3: int, 4: int, 5: int, 6: int, 7: int, ...}|false.

Check failure on line 34 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 8.1 on ubuntu-latest

Cannot access offset 'ino' on array{0: int, 1: int, 2: int, 3: int, 4: int, 5: int, 6: int, 7: int, ...}|false.
$fileStat['size'],

Check failure on line 35 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 8.0 on ubuntu-latest

Cannot access offset 'size' on array{0: int, 1: int, 2: int, 3: int, 4: int, 5: int, 6: int, 7: int, ...}|false.

Check failure on line 35 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 8.2 on ubuntu-latest

Cannot access offset 'size' on array{0: int, 1: int, 2: int, 3: int, 4: int, 5: int, 6: int, 7: int, ...}|false.

Check failure on line 35 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 7.2 on ubuntu-latest

Cannot access offset 'size' on array{0: int, 1: int, 2: int, 3: int, 4: int, 5: int, 6: int, 7: int, ...}|false.

Check failure on line 35 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 7.3 on ubuntu-latest

Cannot access offset 'size' on array{0: int, 1: int, 2: int, 3: int, 4: int, 5: int, 6: int, 7: int, ...}|false.

Check failure on line 35 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 7.4 on ubuntu-latest

Cannot access offset 'size' on array{0: int, 1: int, 2: int, 3: int, 4: int, 5: int, 6: int, 7: int, ...}|false.

Check failure on line 35 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 8.1 on ubuntu-latest

Cannot access offset 'size' on array{0: int, 1: int, 2: int, 3: int, 4: int, 5: int, 6: int, 7: int, ...}|false.
(float)str_pad($fileStat['mtime'], 16, '0')
(float) str_pad($fileStat['mtime'], 16, '0')

Check failure on line 36 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 8.0 on ubuntu-latest

Cannot access offset 'mtime' on array{0: int, 1: int, 2: int, 3: int, 4: int, 5: int, 6: int, 7: int, ...}|false.

Check failure on line 36 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 8.0 on ubuntu-latest

Parameter #1 $string of function str_pad expects string, int given.

Check failure on line 36 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 8.2 on ubuntu-latest

Cannot access offset 'mtime' on array{0: int, 1: int, 2: int, 3: int, 4: int, 5: int, 6: int, 7: int, ...}|false.

Check failure on line 36 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 8.2 on ubuntu-latest

Parameter #1 $string of function str_pad expects string, int given.

Check failure on line 36 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 7.2 on ubuntu-latest

Cannot access offset 'mtime' on array{0: int, 1: int, 2: int, 3: int, 4: int, 5: int, 6: int, 7: int, ...}|false.

Check failure on line 36 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 7.2 on ubuntu-latest

Parameter #1 $input of function str_pad expects string, int given.

Check failure on line 36 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 7.3 on ubuntu-latest

Cannot access offset 'mtime' on array{0: int, 1: int, 2: int, 3: int, 4: int, 5: int, 6: int, 7: int, ...}|false.

Check failure on line 36 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 7.3 on ubuntu-latest

Parameter #1 $input of function str_pad expects string, int given.

Check failure on line 36 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 7.4 on ubuntu-latest

Cannot access offset 'mtime' on array{0: int, 1: int, 2: int, 3: int, 4: int, 5: int, 6: int, 7: int, ...}|false.

Check failure on line 36 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 7.4 on ubuntu-latest

Parameter #1 $input of function str_pad expects string, int given.

Check failure on line 36 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 8.1 on ubuntu-latest

Cannot access offset 'mtime' on array{0: int, 1: int, 2: int, 3: int, 4: int, 5: int, 6: int, 7: int, ...}|false.

Check failure on line 36 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 8.1 on ubuntu-latest

Parameter #1 $string of function str_pad expects string, int given.
);

$this->getResponse()->setHeader(
Expand All @@ -52,4 +52,4 @@ public function scriptAction(): void
->setBody(file_get_contents($filePath));

Check failure on line 52 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 8.0 on ubuntu-latest

Parameter #1 $content of method Zend_Controller_Response_Abstract::setBody() expects string, string|false given.

Check failure on line 52 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 8.0 on ubuntu-latest

Parameter #1 $filename of function file_get_contents expects string, string|false given.

Check failure on line 52 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 8.2 on ubuntu-latest

Parameter #1 $content of method Zend_Controller_Response_Abstract::setBody() expects string, string|false given.

Check failure on line 52 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 8.2 on ubuntu-latest

Parameter #1 $filename of function file_get_contents expects string, string|false given.

Check failure on line 52 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 7.2 on ubuntu-latest

Parameter #1 $content of method Zend_Controller_Response_Abstract::setBody() expects string, string|false given.

Check failure on line 52 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 7.2 on ubuntu-latest

Parameter #1 $filename of function file_get_contents expects string, string|false given.

Check failure on line 52 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 7.3 on ubuntu-latest

Parameter #1 $content of method Zend_Controller_Response_Abstract::setBody() expects string, string|false given.

Check failure on line 52 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 7.3 on ubuntu-latest

Parameter #1 $filename of function file_get_contents expects string, string|false given.

Check failure on line 52 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 7.4 on ubuntu-latest

Parameter #1 $content of method Zend_Controller_Response_Abstract::setBody() expects string, string|false given.

Check failure on line 52 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 7.4 on ubuntu-latest

Parameter #1 $filename of function file_get_contents expects string, string|false given.

Check failure on line 52 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 8.1 on ubuntu-latest

Parameter #1 $content of method Zend_Controller_Response_Abstract::setBody() expects string, string|false given.

Check failure on line 52 in application/controllers/DaemonController.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 8.1 on ubuntu-latest

Parameter #1 $filename of function file_get_contents expects string, string|false given.
}
}
}
}

0 comments on commit f1c6c63

Please sign in to comment.