mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 22:21:42 +00:00
Various code cleanup.
This commit is contained in:
@@ -40,6 +40,7 @@ SHOW_INCOMPLETE_TRANSLATIONS=false
|
||||
|
||||
CACHE_PREFIX=firefly
|
||||
|
||||
GOOGLE_MAPS_API_KEY=
|
||||
ANALYTICS_ID=
|
||||
SITE_OWNER=mail@example.com
|
||||
|
||||
@@ -49,3 +50,4 @@ PUSHER_APP_ID=
|
||||
|
||||
DEMO_USERNAME=
|
||||
DEMO_PASSWORD=
|
||||
|
||||
|
||||
@@ -53,6 +53,7 @@ class FireflyValidator extends Validator
|
||||
}
|
||||
|
||||
/**
|
||||
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
|
||||
* @param $attribute
|
||||
* @param $value
|
||||
*
|
||||
@@ -71,6 +72,7 @@ class FireflyValidator extends Validator
|
||||
}
|
||||
|
||||
/**
|
||||
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
|
||||
* @param $attribute
|
||||
* @param $value
|
||||
* @param $parameters
|
||||
@@ -94,6 +96,7 @@ class FireflyValidator extends Validator
|
||||
}
|
||||
|
||||
/**
|
||||
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
|
||||
* @param $attribute
|
||||
* @param $value
|
||||
*
|
||||
@@ -115,6 +118,7 @@ class FireflyValidator extends Validator
|
||||
}
|
||||
|
||||
/**
|
||||
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
|
||||
* @param $attribute
|
||||
* @param $value
|
||||
*
|
||||
@@ -144,6 +148,7 @@ class FireflyValidator extends Validator
|
||||
}
|
||||
|
||||
/**
|
||||
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
|
||||
* @param $attribute
|
||||
* @param $value
|
||||
* @param $parameters
|
||||
@@ -256,6 +261,7 @@ class FireflyValidator extends Validator
|
||||
}
|
||||
|
||||
/**
|
||||
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
|
||||
* @param $attribute
|
||||
* @param $value
|
||||
* @param $parameters
|
||||
@@ -286,6 +292,7 @@ class FireflyValidator extends Validator
|
||||
}
|
||||
|
||||
/**
|
||||
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
|
||||
* @param $attribute
|
||||
* @param $value
|
||||
* @param $parameters
|
||||
@@ -319,6 +326,7 @@ class FireflyValidator extends Validator
|
||||
}
|
||||
|
||||
/**
|
||||
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
|
||||
* Validate an object and its unicity. Checks for encryption / encrypted values as well.
|
||||
*
|
||||
* parameter 0: the table
|
||||
@@ -356,6 +364,7 @@ class FireflyValidator extends Validator
|
||||
}
|
||||
|
||||
/**
|
||||
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
|
||||
* @param $attribute
|
||||
* @param $value
|
||||
* @param $parameters
|
||||
|
||||
@@ -112,7 +112,7 @@ return [
|
||||
'Cash account' => 'cash',
|
||||
],
|
||||
'languages' => [
|
||||
'de_DE' => ['name_locale' => 'Deutsch', 'name_english' => 'German', 'complete' => false],
|
||||
'de_DE' => ['name_locale' => 'Deutsch', 'name_english' => 'German', 'complete' => true],
|
||||
'en_US' => ['name_locale' => 'English', 'name_english' => 'English', 'complete' => true],
|
||||
'es_ES' => ['name_locale' => 'Español', 'name_english' => 'Spanish', 'complete' => false],
|
||||
'fr_FR' => ['name_locale' => 'Français', 'name_english' => 'French', 'complete' => false],
|
||||
|
||||
@@ -92,4 +92,5 @@ function sortStop(event, ui) {
|
||||
$(this).animate({backgroundColor: originalBG}, 200);
|
||||
return undefined;
|
||||
});
|
||||
return undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user