From 2ad2ba3d7a6cb2f2bec1113c0a98c7ffdc36d2e5 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 26 Jun 2021 14:38:08 +0200 Subject: [PATCH] fix phpstan/phpcs --- Models/EditorDocMapper.php | 4 ++-- composer.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Models/EditorDocMapper.php b/Models/EditorDocMapper.php index 9cbfc16..7f5a700 100755 --- a/Models/EditorDocMapper.php +++ b/Models/EditorDocMapper.php @@ -119,8 +119,8 @@ final class EditorDocMapper extends DataMapperAbstract { $depth = 3; $query = self::getQuery(); - $query->where(self::$table . '_' . $depth . '.editor_doc_virtual', '=', $virtualPath); - $query->where(self::$table . '_' . $depth . '.editor_doc_created_by', '=', $account); + $query->where(self::$table . '_d' . $depth . '.editor_doc_virtual', '=', $virtualPath); + $query->where(self::$table . '_d' . $depth . '.editor_doc_created_by', '=', $account); return self::getAllByQuery($query, RelationType::ALL, $depth); } diff --git a/composer.json b/composer.json index 8f2fb6d..7ad134b 100755 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ ], "require-dev": { "phpunit/phpunit": ">=9.4", - "friendsofphp/php-cs-fixer": ">=2.18", + "friendsofphp/php-cs-fixer": ">=3.0", "squizlabs/php_codesniffer": ">=3.5", "phpmd/phpmd": ">=2.9", "phpstan/phpstan": ">=0.12.58",