fix phpstan/phpcs

This commit is contained in:
Dennis Eichhorn 2021-06-26 14:38:08 +02:00
parent 4c5d0a2706
commit 4909b1fb9b
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": "HumanResourceManagement",
"virtualPath": "/Modules",
"user": 1

View File

@ -133,7 +133,7 @@ final class EmployeeMapper extends DataMapperAbstract
$query = new Builder(self::$db);
$query = self::getQuery($query)
->innerJoin(ProfileMapper::getTable())
->on(self::$table . '_' . $depth . '.hr_staff_profile', '=', ProfileMapper::getTable() . '.' . ProfileMapper::getPrimaryField())
->on(self::$table . '_d' . $depth . '.hr_staff_profile', '=', ProfileMapper::getTable() . '.' . ProfileMapper::getPrimaryField())
->innerJoin(AccountMapper::getTable())
->on(ProfileMapper::getTable() . '.profile_account_account', '=', AccountMapper::getTable() . '.' . AccountMapper::getPrimaryField())
->where(AccountMapper::getTable() . '.' . AccountMapper::getPrimaryField(), '=', $account)

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