php - PSR for nested IF condition -


i migrate code in psr standard. not sure how write inside nested condition. confused line spacing. can use 1 line space after if condition ? below example code.

if ($this->value) {     if ($this->value === 'abc') {          $x = $this->x();     }      $x = 'lababala';      if ($this->value === '123') {          $x = $this->y();     }      $end = new object(); } 


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -