mirror of
https://github.com/Karaka-Management/oms-HumanResourceManagement.git
synced 2026-02-14 20:08:40 +00:00
fix phpstan/phpcs
This commit is contained in:
parent
4c5d0a2706
commit
4909b1fb9b
|
|
@ -1,7 +1,7 @@
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"type": "collection",
|
"type": "collection",
|
||||||
"create_directory": true,
|
"create_directory": true,
|
||||||
"name": "HumanResourceManagement",
|
"name": "HumanResourceManagement",
|
||||||
"virtualPath": "/Modules",
|
"virtualPath": "/Modules",
|
||||||
"user": 1
|
"user": 1
|
||||||
|
|
|
||||||
|
|
@ -133,7 +133,7 @@ final class EmployeeMapper extends DataMapperAbstract
|
||||||
$query = new Builder(self::$db);
|
$query = new Builder(self::$db);
|
||||||
$query = self::getQuery($query)
|
$query = self::getQuery($query)
|
||||||
->innerJoin(ProfileMapper::getTable())
|
->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())
|
->innerJoin(AccountMapper::getTable())
|
||||||
->on(ProfileMapper::getTable() . '.profile_account_account', '=', AccountMapper::getTable() . '.' . AccountMapper::getPrimaryField())
|
->on(ProfileMapper::getTable() . '.profile_account_account', '=', AccountMapper::getTable() . '.' . AccountMapper::getPrimaryField())
|
||||||
->where(AccountMapper::getTable() . '.' . AccountMapper::getPrimaryField(), '=', $account)
|
->where(AccountMapper::getTable() . '.' . AccountMapper::getPrimaryField(), '=', $account)
|
||||||
|
|
|
||||||
|
|
@ -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