зеркало из https://github.com/nextcloud/cookbook.git
Update baseline to avoid additional errors
Signed-off-by: Christian Wolf <github@christianwolf.email>
This commit is contained in:
Родитель
785ec371d4
Коммит
6e98f9d4f9
|
@ -14,7 +14,8 @@
|
|||
"require-dev": {
|
||||
"nextcloud/coding-standard": "^1.0.0",
|
||||
"christophwurst/nextcloud_testing": "^0.12.4",
|
||||
"psalm/phar": "^4.10"
|
||||
"psalm/phar": "^4.10",
|
||||
"nextcloud/ocp": "^25.0"
|
||||
},
|
||||
"scripts": {
|
||||
"cs:check": "./vendor/bin/php-cs-fixer fix --dry-run --diff",
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "4d86d0f809bc147a0b624e84d3c28bd6",
|
||||
"content-hash": "a9c310cb64ad580fa39354e7ede6801a",
|
||||
"packages": [],
|
||||
"packages-dev": [
|
||||
{
|
||||
|
@ -733,6 +733,49 @@
|
|||
},
|
||||
"time": "2023-04-13T10:52:46+00:00"
|
||||
},
|
||||
{
|
||||
"name": "nextcloud/ocp",
|
||||
"version": "v25.0.4",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/nextcloud-deps/ocp.git",
|
||||
"reference": "4f1eec84860621a1ce9a812e15bbf9a4f055cd3b"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/4f1eec84860621a1ce9a812e15bbf9a4f055cd3b",
|
||||
"reference": "4f1eec84860621a1ce9a812e15bbf9a4f055cd3b",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "^7.4 || ~8.0 || ~8.1",
|
||||
"psr/container": "^1.1.1",
|
||||
"psr/event-dispatcher": "^1.0",
|
||||
"psr/log": "^1.1"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "26.0.0-dev"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"AGPL-3.0-or-later"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Christoph Wurst",
|
||||
"email": "christoph@winzerhof-wurst.at"
|
||||
}
|
||||
],
|
||||
"description": "Composer package containing Nextcloud's public API (classes, interfaces)",
|
||||
"support": {
|
||||
"issues": "https://github.com/nextcloud-deps/ocp/issues",
|
||||
"source": "https://github.com/nextcloud-deps/ocp/tree/v25.0.4"
|
||||
},
|
||||
"time": "2023-03-03T14:24:08+00:00"
|
||||
},
|
||||
{
|
||||
"name": "nikic/php-parser",
|
||||
"version": "v4.15.1",
|
||||
|
|
|
@ -4,7 +4,7 @@ namespace OCA\Cookbook\Controller;
|
|||
|
||||
use OCA\Cookbook\Controller\Implementation\ConfigImplementation;
|
||||
use OCP\AppFramework\Controller;
|
||||
|
||||
use OCP\AppFramework\Http\JSONResponse;
|
||||
use OCP\IRequest;
|
||||
|
||||
class ConfigController extends Controller {
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
<issueHandlers>
|
||||
<UndefinedDocblockClass>
|
||||
<errorLevel type="suppress">
|
||||
<referencedClass name="OC\AppFramework\OCS\BaseResponse"/>
|
||||
<!-- <referencedClass name="OC\AppFramework\OCS\BaseResponse"/> -->
|
||||
<referencedClass name="Doctrine\DBAL\Schema\Schema" />
|
||||
<referencedClass name="Doctrine\DBAL\Schema\SchemaException" />
|
||||
<referencedClass name="Doctrine\DBAL\Driver\Statement" />
|
||||
|
|
|
@ -1,92 +1,48 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<files psalm-version="4.x-dev@">
|
||||
<file src="lib/AppInfo/Application.php">
|
||||
<UndefinedClass occurrences="2">
|
||||
<code>App</code>
|
||||
<code>IBootstrap</code>
|
||||
</UndefinedClass>
|
||||
</file>
|
||||
<file src="lib/Controller/CategoryApiController.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>ApiController</code>
|
||||
</UndefinedClass>
|
||||
</file>
|
||||
<file src="lib/Controller/CategoryController.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>Controller</code>
|
||||
</UndefinedClass>
|
||||
</file>
|
||||
<file src="lib/Controller/ConfigApiController.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>ApiController</code>
|
||||
</UndefinedClass>
|
||||
</file>
|
||||
<file src="lib/Controller/ConfigController.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>Controller</code>
|
||||
</UndefinedClass>
|
||||
</file>
|
||||
<file src="lib/Controller/Implementation/CategoryImplementation.php">
|
||||
<UndefinedClass occurrences="5">
|
||||
<code>Http</code>
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="2">
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
</UndefinedDocblockClass>
|
||||
<InvalidArgument occurrences="2">
|
||||
<code>$e->getMessage()</code>
|
||||
<code>'New category name not found in data'</code>
|
||||
</InvalidArgument>
|
||||
</file>
|
||||
<file src="lib/Controller/Implementation/ConfigImplementation.php">
|
||||
<UndefinedClass occurrences="6">
|
||||
<code>Http</code>
|
||||
<code>Http</code>
|
||||
<code>Http</code>
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="3">
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Controller/Implementation/KeywordImplementation.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>JSONResponse</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="1">
|
||||
<code>JSONResponse</code>
|
||||
</UndefinedDocblockClass>
|
||||
<InvalidArgument occurrences="2">
|
||||
<code>'OK'</code>
|
||||
<code>'Search index rebuilt successfully'</code>
|
||||
</InvalidArgument>
|
||||
</file>
|
||||
<file src="lib/Controller/Implementation/RecipeImplementation.php">
|
||||
<UndefinedClass occurrences="44">
|
||||
<code>$file</code>
|
||||
<code>$file</code>
|
||||
<code>DataDisplayResponse</code>
|
||||
<code>FileDisplayResponse</code>
|
||||
<code>Http</code>
|
||||
<code>Http</code>
|
||||
<code>Http</code>
|
||||
<code>Http</code>
|
||||
<code>Http</code>
|
||||
<code>Http</code>
|
||||
<code>Http</code>
|
||||
<code>Http</code>
|
||||
<code>Http</code>
|
||||
<code>Http</code>
|
||||
<code>Http</code>
|
||||
<code>Http</code>
|
||||
<code>Http</code>
|
||||
<code>Http</code>
|
||||
<code>Http</code>
|
||||
<code>Http</code>
|
||||
<code>IL10N</code>
|
||||
<code>IRequest</code>
|
||||
<code>IURLGenerator</code>
|
||||
<InvalidArgument occurrences="10">
|
||||
<code>$e->getMessage()</code>
|
||||
<code>$e->getMessage()</code>
|
||||
<code>$e->getMessage()</code>
|
||||
<code>$e->getMessage()</code>
|
||||
<code>$e->getMessage()</code>
|
||||
<code>$file->getParent()->getId()</code>
|
||||
<code>$file->getParent()->getId()</code>
|
||||
<code>$id</code>
|
||||
<code>'Field "url" is required'</code>
|
||||
<code>'Recipe ' . $id . ' deleted successfully'</code>
|
||||
</InvalidArgument>
|
||||
<TooManyArguments occurrences="3">
|
||||
<code>new JSONResponse($recipes, 200, ['Content-Type' => 'application/json'])</code>
|
||||
<code>new JSONResponse($recipes, Http::STATUS_OK, ['Content-Type' => 'application/json'])</code>
|
||||
<code>new JSONResponse($recipes, Http::STATUS_OK, ['Content-Type' => 'application/json'])</code>
|
||||
</TooManyArguments>
|
||||
</file>
|
||||
<file src="lib/Controller/RecipeController.php">
|
||||
<InvalidReturnStatement occurrences="8">
|
||||
<code>$this->impl->create()</code>
|
||||
<code>$this->impl->destroy($id)</code>
|
||||
<code>$this->impl->getAllInCategory($category)</code>
|
||||
<code>$this->impl->getAllWithTags($keywords)</code>
|
||||
<code>$this->impl->image($id)</code>
|
||||
<code>$this->impl->search($query)</code>
|
||||
<code>$this->impl->show($id)</code>
|
||||
<code>$this->impl->update($id)</code>
|
||||
</InvalidReturnStatement>
|
||||
<InvalidReturnType occurrences="8">
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
|
@ -94,36 +50,9 @@
|
|||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="22">
|
||||
<code>$this->l</code>
|
||||
<code>$this->request</code>
|
||||
<code>$this->urlGenerator</code>
|
||||
<code>$this->urlGenerator</code>
|
||||
<code>$this->urlGenerator</code>
|
||||
<code>$this->urlGenerator</code>
|
||||
<code>$this->urlGenerator</code>
|
||||
<code>$this->urlGenerator</code>
|
||||
<code>$this->urlGenerator</code>
|
||||
<code>$this->urlGenerator</code>
|
||||
<code>$this->urlGenerator</code>
|
||||
<code>IL10N</code>
|
||||
<code>IRequest</code>
|
||||
<code>IURLGenerator</code>
|
||||
<code>JSONResponse|FileDisplayResponse|DataDisplayResponse</code>
|
||||
</InvalidReturnType>
|
||||
<UndefinedDocblockClass occurrences="8">
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
<code>JSONResponse</code>
|
||||
|
@ -134,36 +63,6 @@
|
|||
<code>JSONResponse|FileDisplayResponse|DataDisplayResponse</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Controller/KeywordApiController.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>ApiController</code>
|
||||
</UndefinedClass>
|
||||
</file>
|
||||
<file src="lib/Controller/KeywordController.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>Controller</code>
|
||||
</UndefinedClass>
|
||||
</file>
|
||||
<file src="lib/Controller/MainController.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>Controller</code>
|
||||
</UndefinedClass>
|
||||
</file>
|
||||
<file src="lib/Controller/RecipeApiController.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>ApiController</code>
|
||||
</UndefinedClass>
|
||||
</file>
|
||||
<file src="lib/Controller/RecipeController.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>Controller</code>
|
||||
</UndefinedClass>
|
||||
</file>
|
||||
<file src="lib/Controller/UtilApiController.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>ApiController</code>
|
||||
</UndefinedClass>
|
||||
</file>
|
||||
<file src="lib/Db/RecipeDb.php">
|
||||
<RedundantCondition occurrences="2">
|
||||
<code>$keywords && is_array($keywords)</code>
|
||||
|
@ -176,89 +75,6 @@
|
|||
<code>!is_array($recipes)</code>
|
||||
<code>!is_array($recipes)</code>
|
||||
</TypeDoesNotContainType>
|
||||
<UndefinedClass occurrences="48">
|
||||
<code>DoesNotExistException</code>
|
||||
<code>IDBConnection</code>
|
||||
<code>IL10N</code>
|
||||
<code>IQueryBuilder</code>
|
||||
<code>IQueryBuilder</code>
|
||||
<code>IQueryBuilder</code>
|
||||
<code>IQueryBuilder</code>
|
||||
<code>IQueryBuilder</code>
|
||||
<code>IQueryBuilder</code>
|
||||
<code>IQueryBuilder</code>
|
||||
<code>IQueryBuilder</code>
|
||||
<code>IQueryBuilder</code>
|
||||
<code>IQueryBuilder</code>
|
||||
<code>IQueryBuilder</code>
|
||||
<code>IQueryBuilder</code>
|
||||
<code>IQueryBuilder</code>
|
||||
<code>IQueryBuilder</code>
|
||||
<code>IQueryBuilder</code>
|
||||
<code>IQueryBuilder</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
<code>Types</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="31">
|
||||
<code>$this->db</code>
|
||||
<code>$this->db</code>
|
||||
<code>$this->db</code>
|
||||
<code>$this->db</code>
|
||||
<code>$this->db</code>
|
||||
<code>$this->db</code>
|
||||
<code>$this->db</code>
|
||||
<code>$this->db</code>
|
||||
<code>$this->db</code>
|
||||
<code>$this->db</code>
|
||||
<code>$this->db</code>
|
||||
<code>$this->db</code>
|
||||
<code>$this->db</code>
|
||||
<code>$this->db</code>
|
||||
<code>$this->db</code>
|
||||
<code>$this->db</code>
|
||||
<code>$this->db</code>
|
||||
<code>$this->db</code>
|
||||
<code>$this->db</code>
|
||||
<code>$this->db</code>
|
||||
<code>$this->db</code>
|
||||
<code>$this->db</code>
|
||||
<code>$this->db</code>
|
||||
<code>$this->db</code>
|
||||
<code>$this->l</code>
|
||||
<code>IDBConnection</code>
|
||||
<code>IL10N</code>
|
||||
<code>\OCP\AppFramework\Db\DoesNotExistException</code>
|
||||
<code>\OCP\AppFramework\Db\DoesNotExistException</code>
|
||||
<code>\OCP\AppFramework\Db\DoesNotExistException</code>
|
||||
<code>\OCP\AppFramework\Db\DoesNotExistException</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Helper/DownloadHelper.php">
|
||||
<InvalidNullableReturnType occurrences="2">
|
||||
|
@ -269,148 +85,11 @@
|
|||
<code>$this->content</code>
|
||||
<code>$this->status</code>
|
||||
</NullableReturnStatement>
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="2">
|
||||
<code>$this->l</code>
|
||||
<code>IL10N</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Helper/EncodingGuessingHelper.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="2">
|
||||
<code>$this->l</code>
|
||||
<code>IL10N</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Helper/FileSystem/RecipeNameHelper.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Helper/Filter/AbstractRecipeFilter.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>File</code>
|
||||
</UndefinedClass>
|
||||
</file>
|
||||
<file src="lib/Helper/Filter/DB/RecipeDatesFilter.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>File</code>
|
||||
</UndefinedClass>
|
||||
</file>
|
||||
<file src="lib/Helper/Filter/JSON/ExtractImageUrlFilter.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="4">
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
<code>IL10N</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Helper/Filter/JSON/FixDescriptionFilter.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Helper/Filter/JSON/FixDurationsFilter.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Helper/Filter/JSON/FixImageSchemeFilter.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="3">
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
<code>IL10N</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Helper/Filter/JSON/FixIngredientsFilter.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="2">
|
||||
<code>$this->l</code>
|
||||
<code>IL10N</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Helper/Filter/JSON/FixInstructionsFilter.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="6">
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
<code>IL10N</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Helper/Filter/JSON/FixKeywordsFilter.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="2">
|
||||
<code>$this->l</code>
|
||||
<code>IL10N</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Helper/Filter/JSON/FixNutritionFilter.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="2">
|
||||
<code>$this->l</code>
|
||||
<code>IL10N</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Helper/Filter/JSON/FixRecipeYieldFilter.php">
|
||||
<ParadoxicalCondition occurrences="1">
|
||||
<code>is_float($json[self::YIELD]) || is_double($json[self::YIELD])</code>
|
||||
</ParadoxicalCondition>
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="4">
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
<code>IL10N</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Helper/Filter/JSON/FixToolsFilter.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="2">
|
||||
<code>$this->l</code>
|
||||
<code>IL10N</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Helper/Filter/JSON/FixUrlFilter.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Helper/Filter/JSON/SchemaConformityFilter.php">
|
||||
<FalseOperand occurrences="1">
|
||||
|
@ -427,48 +106,15 @@
|
|||
</InvalidReturnType>
|
||||
</file>
|
||||
<file src="lib/Helper/Filter/NormalizeRecipeFileFilter.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>File</code>
|
||||
</UndefinedClass>
|
||||
</file>
|
||||
<file src="lib/Helper/Filter/Output/EnsureNutritionPresentFilter.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Helper/HTMLParser/AbstractHtmlParser.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Helper/HTMLParser/HttpJsonLdParser.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="4">
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
</UndefinedDocblockClass>
|
||||
<InvalidOperand occurrences="1">
|
||||
<code>$filter->apply($json, $recipeFile)</code>
|
||||
</InvalidOperand>
|
||||
</file>
|
||||
<file src="lib/Helper/HTMLParser/HttpMicrodataParser.php">
|
||||
<InvalidDocblock occurrences="1"/>
|
||||
<MissingDocblockType occurrences="1">
|
||||
<code>$node</code>
|
||||
</MissingDocblockType>
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="1">
|
||||
<code>$this->l</code>
|
||||
</UndefinedDocblockClass>
|
||||
<UndefinedMethod occurrences="4">
|
||||
<code>getAttribute</code>
|
||||
<code>getAttribute</code>
|
||||
|
@ -476,275 +122,93 @@
|
|||
<code>hasAttribute</code>
|
||||
</UndefinedMethod>
|
||||
</file>
|
||||
<file src="lib/Helper/HtmlToDomParser.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="8">
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
<code>IL10N</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Helper/ISO8601DurationHelper.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="2">
|
||||
<code>$this->l</code>
|
||||
<code>IL10N</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Helper/ImageService/ImageFileHelper.php">
|
||||
<UndefinedClass occurrences="7">
|
||||
<code>File</code>
|
||||
<code>File</code>
|
||||
<code>Folder</code>
|
||||
<code>Folder</code>
|
||||
<code>Folder</code>
|
||||
<code>Folder</code>
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Helper/ImageService/ImageGenerationHelper.php">
|
||||
<UndefinedClass occurrences="3">
|
||||
<code>File</code>
|
||||
<code>File</code>
|
||||
<code>Folder</code>
|
||||
</UndefinedClass>
|
||||
</file>
|
||||
<file src="lib/Helper/ImageService/ThumbnailFileHelper.php">
|
||||
<UndefinedClass occurrences="7">
|
||||
<code>File</code>
|
||||
<code>Folder</code>
|
||||
<code>Folder</code>
|
||||
<code>Folder</code>
|
||||
<code>Folder</code>
|
||||
<code>Folder</code>
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
<UndefinedDocblockClass occurrences="8">
|
||||
<code>GenericFileException</code>
|
||||
<code>GenericFileException</code>
|
||||
<code>InvalidPathException</code>
|
||||
<code>InvalidPathException</code>
|
||||
<code>InvalidThumbnailTypeException</code>
|
||||
<code>InvalidThumbnailTypeException</code>
|
||||
<code>LockedException</code>
|
||||
<code>LockedException</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Helper/RestParameterParser.php">
|
||||
<InvalidReturnType occurrences="1">
|
||||
<code>array</code>
|
||||
</InvalidReturnType>
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="4">
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
<code>IL10N</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Helper/UserConfigHelper.php">
|
||||
<InvalidScalarArgument occurrences="1">
|
||||
<code>$value</code>
|
||||
</InvalidScalarArgument>
|
||||
<MissingDependency occurrences="2">
|
||||
<code>Application</code>
|
||||
<code>Application</code>
|
||||
</MissingDependency>
|
||||
<UndefinedClass occurrences="2">
|
||||
<code>IConfig</code>
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="6">
|
||||
<code>$this->config</code>
|
||||
<code>$this->config</code>
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
<code>IConfig</code>
|
||||
<code>IL10N</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Helper/UserFolderHelper.php">
|
||||
<UndefinedClass occurrences="7">
|
||||
<code>FileInfo</code>
|
||||
<code>Folder</code>
|
||||
<code>Folder</code>
|
||||
<code>IL10N</code>
|
||||
<code>IRootFolder</code>
|
||||
<code>NotFoundException</code>
|
||||
<code>NotPermittedException</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="8">
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
<MissingDependency occurrences="4">
|
||||
<code>$this->root</code>
|
||||
<code>$this->root</code>
|
||||
<code>?Node</code>
|
||||
<code>IL10N</code>
|
||||
<code>IRootFolder</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Migration/Version000000Date20190312140601.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>SimpleMigrationStep</code>
|
||||
</UndefinedClass>
|
||||
</file>
|
||||
<file src="lib/Migration/Version000000Date20190910100911.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>SimpleMigrationStep</code>
|
||||
</UndefinedClass>
|
||||
</file>
|
||||
<file src="lib/Migration/Version000000Date20190910223344.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>SimpleMigrationStep</code>
|
||||
</UndefinedClass>
|
||||
</file>
|
||||
<file src="lib/Migration/Version000000Date20200315121603.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>SimpleMigrationStep</code>
|
||||
</UndefinedClass>
|
||||
</file>
|
||||
<file src="lib/Migration/Version000000Date20210427082010.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>SimpleMigrationStep</code>
|
||||
</UndefinedClass>
|
||||
</file>
|
||||
<file src="lib/Migration/Version000000Date20210701093123.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>SimpleMigrationStep</code>
|
||||
</UndefinedClass>
|
||||
</file>
|
||||
<file src="lib/Migration/Version000000Date20220703174647.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>SimpleMigrationStep</code>
|
||||
</UndefinedClass>
|
||||
<code>IRootFolder</code>
|
||||
</MissingDependency>
|
||||
</file>
|
||||
<file src="lib/Search/Provider.php">
|
||||
<DuplicateClass occurrences="1">
|
||||
<code>Provider</code>
|
||||
</DuplicateClass>
|
||||
</file>
|
||||
<file src="lib/Service/DbCacheService.php">
|
||||
<UndefinedClass occurrences="3">
|
||||
<code>File</code>
|
||||
<code>File</code>
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="2">
|
||||
<code>DoesNotExistException</code>
|
||||
<code>IL10N</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Service/HtmlDownloadService.php">
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="5">
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
<code>IL10N</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Service/ImageService.php">
|
||||
<UndefinedClass occurrences="9">
|
||||
<code>File</code>
|
||||
<code>File</code>
|
||||
<code>Folder</code>
|
||||
<code>Folder</code>
|
||||
<code>Folder</code>
|
||||
<code>Folder</code>
|
||||
<code>Folder</code>
|
||||
<code>Folder</code>
|
||||
<code>Folder</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="7">
|
||||
<code>GenericFileException</code>
|
||||
<code>InvalidPathException</code>
|
||||
<code>InvalidThumbnailTypeException</code>
|
||||
<code>NoRecipeImageFoundException</code>
|
||||
<code>NoRecipeImageFoundException</code>
|
||||
<code>NoRecipeImageFoundException</code>
|
||||
<code>RecipeImageExistsException</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Service/RecipeExtractionService.php">
|
||||
<InvalidDocblock occurrences="1"/>
|
||||
<MissingDocblockType occurrences="1">
|
||||
<code>$parser</code>
|
||||
</MissingDocblockType>
|
||||
<UndefinedClass occurrences="1">
|
||||
<code>IL10N</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="2">
|
||||
<code>$this->l</code>
|
||||
<code>IL10N</code>
|
||||
</UndefinedDocblockClass>
|
||||
</file>
|
||||
<file src="lib/Service/RecipeService.php">
|
||||
<NullableReturnStatement occurrences="1">
|
||||
<InvalidNullableReturnType occurrences="2">
|
||||
<code>array</code>
|
||||
<code>int</code>
|
||||
</InvalidNullableReturnType>
|
||||
<MissingDependency occurrences="5">
|
||||
<code>$this->root</code>
|
||||
<code>$this->root</code>
|
||||
<code>$this->root</code>
|
||||
<code>$this->root</code>
|
||||
<code>IRootFolder</code>
|
||||
</MissingDependency>
|
||||
<NullableReturnStatement occurrences="3">
|
||||
<code>null</code>
|
||||
<code>null</code>
|
||||
<code>null</code>
|
||||
</NullableReturnStatement>
|
||||
<UndefinedClass occurrences="28">
|
||||
<code>$node</code>
|
||||
<code>$node</code>
|
||||
<code>$node</code>
|
||||
<code>$recipe_folder</code>
|
||||
<code>$recipe_folder</code>
|
||||
<code>$recipe_folder</code>
|
||||
<code>$this->il10n</code>
|
||||
<code>$this->il10n</code>
|
||||
<code>$this->il10n</code>
|
||||
<code>$this->root</code>
|
||||
<code>$this->root</code>
|
||||
<code>$this->root</code>
|
||||
<code>$user_folder</code>
|
||||
<code>$user_folder</code>
|
||||
<code>$user_folder</code>
|
||||
<code>$user_folder</code>
|
||||
<code>$user_folder</code>
|
||||
<code>$user_folder</code>
|
||||
<code>$user_folder</code>
|
||||
<code>$user_folder</code>
|
||||
<code>$user_folder</code>
|
||||
<code>File</code>
|
||||
<code>File</code>
|
||||
<code>Folder</code>
|
||||
<code>Folder</code>
|
||||
<code>IL10N</code>
|
||||
<code>IRootFolder</code>
|
||||
<code>NotFoundException</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="14">
|
||||
<code>$file</code>
|
||||
<code>$recipe_file</code>
|
||||
<code>$recipe_file</code>
|
||||
<code>$recipe_file</code>
|
||||
<code>$recipe_file</code>
|
||||
<code>$recipe_file</code>
|
||||
<code>File</code>
|
||||
<code>File</code>
|
||||
<code>File</code>
|
||||
<code>File|null</code>
|
||||
<code>PreConditionNotMetException</code>
|
||||
<code>PreConditionNotMetException</code>
|
||||
<code>\OCP\AppFramework\Db\DoesNotExistException</code>
|
||||
<code>\OCP\AppFramework\Db\DoesNotExistException</code>
|
||||
</UndefinedDocblockClass>
|
||||
<RedundantCondition occurrences="1">
|
||||
<code>!array_key_exists('dateCreated', $json) && method_exists($file, 'getCreationTime')</code>
|
||||
</RedundantCondition>
|
||||
<UndefinedInterfaceMethod occurrences="4">
|
||||
<code>newFile</code>
|
||||
<code>newFile</code>
|
||||
<code>newFile</code>
|
||||
<code>nodeExists</code>
|
||||
</UndefinedInterfaceMethod>
|
||||
</file>
|
||||
<file src="lib/Service/ThumbnailService.php">
|
||||
<UndefinedClass occurrences="7">
|
||||
<MissingDependency occurrences="6">
|
||||
<code>$img</code>
|
||||
<code>$img</code>
|
||||
<code>$img</code>
|
||||
<code>$img</code>
|
||||
<code>$img</code>
|
||||
<code>IL10N</code>
|
||||
<code>Image</code>
|
||||
</UndefinedClass>
|
||||
<UndefinedDocblockClass occurrences="3">
|
||||
<code>$this->l</code>
|
||||
<code>$this->l</code>
|
||||
<code>IL10N</code>
|
||||
</UndefinedDocblockClass>
|
||||
</MissingDependency>
|
||||
</file>
|
||||
</files>
|
||||
|
|
Загрузка…
Ссылка в новой задаче