src/translations/translations-manager.php
Method init
has 149 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function init() {
$this->translations = array(
/* --- Model --- */
'db_insert_error' => $this->__translate( 'Could not insert model into the database.', 'textdomain' ),
The method init() has 197 lines of code. Current threshold is set to 100. Avoid really long methods. Open
Open
protected function init() {
$this->translations = array(
/* --- Model --- */
'db_insert_error' => $this->__translate( 'Could not insert model into the database.', 'textdomain' ),
- Exclude checks