fix phpstan/phpcs

This commit is contained in:
Dennis Eichhorn 2021-06-26 14:38:08 +02:00
parent e6492c57b7
commit a14227aedb
3 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
[
{
"type": "collection",
"create_directory": true,
"type": "collection",
"create_directory": true,
"name": "Helper",
"virtualPath": "/Modules",
"user": 1

View File

@ -141,7 +141,7 @@ final class TemplateMapper extends DataMapperAbstract
{
$depth = 3;
$query = self::getQuery();
$query->where(self::$table . '_' . $depth . '.helper_template_virtual', '=', $virtualPath);
$query->where(self::$table . '_d' . $depth . '.helper_template_virtual', '=', $virtualPath);
return self::getAllByQuery($query, RelationType::ALL, $depth);
}

View File

@ -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",