Commit graph

6 commits

Author SHA1 Message Date
logmanoriginal
392e3ff6c7 phpcs: Fix violations 2018-11-05 12:55:58 +01:00
logmanoriginal
a4b9611e66 [phpcs] Add missing rules
- Do not add spaces after opening or before closing parenthesis

  // Wrong
  if( !is_null($var) ) {
    ...
  }

  // Right
  if(!is_null($var)) {
    ...
  }

- Add space after closing parenthesis

  // Wrong
  if(true){
    ...
  }

  // Right
  if(true) {
    ...
  }

- Add body into new line
- Close body in new line

  // Wrong
  if(true) { ... }

  // Right
  if(true) {
    ...
  }

Notice: Spaces after keywords are not detected:

  // Wrong (not detected)
  // -> space after 'if' and missing space after 'else'
  if (true) {
    ...
  } else{
    ...
  }

  // Right
  if(true) {
    ...
  } else {
    ...
  }
2017-07-29 19:55:12 +02:00
logmanoriginal
c4169f1579 bridges: Return parent::getName by default 2017-02-15 19:38:32 +01:00
Alexis CHEMEL
a5b0e2a24f [AmazonBridge] Adding country list box #447 2016-12-13 17:02:49 +01:00
Thomas Dalichow
f09e8e1139 Translate amazon bridge to english
Until now, it was my understanding to keep rss-bridge english, not french. Despite it's french roots.
2016-12-12 22:28:05 +01:00
Alexis CHEMEL
877465d508 AmazonBridge 2016-12-10 14:58:48 +01:00