Rello /
analytics
| 1 | <?php |
||
| 2 | declare(strict_types=1); |
||
| 3 | /** |
||
| 4 | * Analytics |
||
| 5 | * |
||
| 6 | * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors |
||
| 7 | * SPDX-License-Identifier: AGPL-3.0-or-later |
||
| 8 | */ |
||
| 9 | |||
| 10 | namespace OCA\Analytics\WhatsNew; |
||
| 11 | |||
| 12 | use OCP\AppFramework\Db\Entity; |
||
|
0 ignored issues
–
show
|
|||
| 13 | |||
| 14 | /** |
||
| 15 | * Class ChangesResult |
||
| 16 | * |
||
| 17 | * @package OC\Updater |
||
| 18 | * @method string getVersion()= 1 |
||
| 19 | * @method void setVersion(string $version) |
||
| 20 | * @method string getEtag() |
||
| 21 | * @method void setEtag(string $etag) |
||
| 22 | * @method int getLastCheck() |
||
| 23 | * @method void setLastCheck(int $lastCheck) |
||
| 24 | * @method string getData() |
||
| 25 | * @method void setData(string $data) |
||
| 26 | */ |
||
| 27 | class WhatsNewResult extends Entity |
||
| 28 | { |
||
| 29 | /** @var string */ |
||
| 30 | protected $version = ''; |
||
| 31 | |||
| 32 | /** @var string */ |
||
| 33 | protected $etag = ''; |
||
| 34 | |||
| 35 | /** @var int */ |
||
| 36 | protected $lastCheck = 0; |
||
| 37 | |||
| 38 | /** @var string */ |
||
| 39 | protected $data = ''; |
||
| 40 | |||
| 41 | public function __construct() |
||
| 42 | { |
||
| 43 | $this->addType('version', 'string'); |
||
| 44 | $this->addType('etag', 'string'); |
||
| 45 | $this->addType('lastCheck', 'int'); |
||
| 46 | $this->addType('data', 'string'); |
||
| 47 | } |
||
| 48 | } |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths