mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-02-03 23:18:41 +00:00
fix phpstan/phpcs
This commit is contained in:
parent
e6492c57b7
commit
a14227aedb
|
|
@ -1,7 +1,7 @@
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"type": "collection",
|
"type": "collection",
|
||||||
"create_directory": true,
|
"create_directory": true,
|
||||||
"name": "Helper",
|
"name": "Helper",
|
||||||
"virtualPath": "/Modules",
|
"virtualPath": "/Modules",
|
||||||
"user": 1
|
"user": 1
|
||||||
|
|
|
||||||
|
|
@ -141,7 +141,7 @@ final class TemplateMapper extends DataMapperAbstract
|
||||||
{
|
{
|
||||||
$depth = 3;
|
$depth = 3;
|
||||||
$query = self::getQuery();
|
$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);
|
return self::getAllByQuery($query, RelationType::ALL, $depth);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
],
|
],
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": ">=9.4",
|
"phpunit/phpunit": ">=9.4",
|
||||||
"friendsofphp/php-cs-fixer": ">=2.18",
|
"friendsofphp/php-cs-fixer": ">=3.0",
|
||||||
"squizlabs/php_codesniffer": ">=3.5",
|
"squizlabs/php_codesniffer": ">=3.5",
|
||||||
"phpmd/phpmd": ">=2.9",
|
"phpmd/phpmd": ">=2.9",
|
||||||
"phpstan/phpstan": ">=0.12.58",
|
"phpstan/phpstan": ">=0.12.58",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user