Merge pull request #376 from nextcloud/dependabot/composer/nextcloud/coding-standard-1.2.3
chore(deps-dev): Bump nextcloud/coding-standard from 1.2.1 to 1.2.3
This commit is contained in:
Коммит
77b4122db9
|
@ -138,16 +138,16 @@
|
|||
},
|
||||
{
|
||||
"name": "nextcloud/coding-standard",
|
||||
"version": "v1.2.1",
|
||||
"version": "v1.2.3",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/nextcloud/coding-standard.git",
|
||||
"reference": "cf5f18d989ec62fb4cdc7fc92a36baf34b3d829e"
|
||||
"reference": "bc9c53a5306114b60c4363057aff9c2ed10a54da"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/nextcloud/coding-standard/zipball/cf5f18d989ec62fb4cdc7fc92a36baf34b3d829e",
|
||||
"reference": "cf5f18d989ec62fb4cdc7fc92a36baf34b3d829e",
|
||||
"url": "https://api.github.com/repos/nextcloud/coding-standard/zipball/bc9c53a5306114b60c4363057aff9c2ed10a54da",
|
||||
"reference": "bc9c53a5306114b60c4363057aff9c2ed10a54da",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -173,9 +173,9 @@
|
|||
"description": "Nextcloud coding standards for the php cs fixer",
|
||||
"support": {
|
||||
"issues": "https://github.com/nextcloud/coding-standard/issues",
|
||||
"source": "https://github.com/nextcloud/coding-standard/tree/v1.2.1"
|
||||
"source": "https://github.com/nextcloud/coding-standard/tree/v1.2.3"
|
||||
},
|
||||
"time": "2024-02-01T14:54:37+00:00"
|
||||
"time": "2024-08-23T14:32:32+00:00"
|
||||
},
|
||||
{
|
||||
"name": "nextcloud/ocp",
|
||||
|
@ -400,16 +400,16 @@
|
|||
},
|
||||
{
|
||||
"name": "php-cs-fixer/shim",
|
||||
"version": "v3.49.0",
|
||||
"version": "v3.62.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/PHP-CS-Fixer/shim.git",
|
||||
"reference": "f7d3219cac46632f12362c9aa7c2ac0d2fe92c52"
|
||||
"reference": "7a91d5ce45c486f5b445d95901228507a02f60ae"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/PHP-CS-Fixer/shim/zipball/f7d3219cac46632f12362c9aa7c2ac0d2fe92c52",
|
||||
"reference": "f7d3219cac46632f12362c9aa7c2ac0d2fe92c52",
|
||||
"url": "https://api.github.com/repos/PHP-CS-Fixer/shim/zipball/7a91d5ce45c486f5b445d95901228507a02f60ae",
|
||||
"reference": "7a91d5ce45c486f5b445d95901228507a02f60ae",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -446,9 +446,9 @@
|
|||
"description": "A tool to automatically fix PHP code style",
|
||||
"support": {
|
||||
"issues": "https://github.com/PHP-CS-Fixer/shim/issues",
|
||||
"source": "https://github.com/PHP-CS-Fixer/shim/tree/v3.49.0"
|
||||
"source": "https://github.com/PHP-CS-Fixer/shim/tree/v3.62.0"
|
||||
},
|
||||
"time": "2024-02-02T00:42:09+00:00"
|
||||
"time": "2024-08-07T17:03:46+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phpunit/php-code-coverage",
|
||||
|
|
|
@ -72,7 +72,7 @@ class Crawler extends TimedJob {
|
|||
return;
|
||||
}
|
||||
|
||||
$rssPubDate = (string) $rss->channel->pubDate;
|
||||
$rssPubDate = (string)$rss->channel->pubDate;
|
||||
|
||||
$lastPubDate = $this->config->getAppValue($this->appName, 'pub_date', 'now');
|
||||
if ($lastPubDate === 'now1') {
|
||||
|
@ -89,11 +89,11 @@ class Crawler extends TimedJob {
|
|||
$lastPubDateTime = new \DateTime($lastPubDate);
|
||||
|
||||
foreach ($rss->channel->item as $item) {
|
||||
$id = md5((string) $item->guid);
|
||||
$id = md5((string)$item->guid);
|
||||
if ($this->config->getAppValue($this->appName, $id, '') === 'published') {
|
||||
continue;
|
||||
}
|
||||
$pubDate = new \DateTime((string) $item->pubDate);
|
||||
$pubDate = new \DateTime((string)$item->pubDate);
|
||||
|
||||
if ($pubDate <= $lastPubDateTime) {
|
||||
continue;
|
||||
|
@ -103,8 +103,8 @@ class Crawler extends TimedJob {
|
|||
$notification->setApp($this->appName)
|
||||
->setDateTime($pubDate)
|
||||
->setObject($this->appName, $id)
|
||||
->setSubject(Notifier::SUBJECT, [(string) $item->title])
|
||||
->setLink((string) $item->link);
|
||||
->setSubject(Notifier::SUBJECT, [(string)$item->title])
|
||||
->setLink((string)$item->link);
|
||||
|
||||
foreach ($this->getUsersToNotify() as $uid) {
|
||||
$notification->setUser($uid);
|
||||
|
|
Загрузка…
Ссылка в новой задаче