Completed
Push — master ( 8f4937...fedf49 )
by smiley
03:03
created
src/BBCodeException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,6 +17,6 @@
 block discarded – undo
17 17
 /**
18 18
  * Placeholder
19 19
  */
20
-class BBCodeException extends Exception{
20
+class BBCodeException extends Exception {
21 21
 
22 22
 }
Please login to merge, or discard this patch.
src/BBTemp.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
  * @see \chillerlan\bbcode\Parser::__parse()
21 21
  * @see \chillerlan\bbcode\Modules\BaseModule::setBBTemp()
22 22
  */
23
-class BBTemp{
23
+class BBTemp {
24 24
 
25 25
 	/**
26 26
 	 * The current bbcode tag
Please login to merge, or discard this patch.
src/Language/Chinese.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 /**
16 16
  *
17 17
  */
18
-class Chinese extends LanguageBase implements LanguageInterface{
18
+class Chinese extends LanguageBase implements LanguageInterface {
19 19
 
20 20
 	public $parserExceptionCallback = '';
21 21
 	public $parserExceptionMatchall = '';
Please login to merge, or discard this patch.
src/Language/DefaultStrings.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 /**
16 16
  * property -> LanguageInterface method name
17 17
  */
18
-class DefaultStrings extends LanguageBase implements LanguageInterface{
18
+class DefaultStrings extends LanguageBase implements LanguageInterface {
19 19
 
20 20
 	public $parserExceptionCallback = 'parserExceptionCallback';
21 21
 	public $parserExceptionMatchall = 'parserExceptionMatchall';
Please login to merge, or discard this patch.
src/Language/English.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 /**
16 16
  *
17 17
  */
18
-class English extends LanguageBase implements LanguageInterface{
18
+class English extends LanguageBase implements LanguageInterface {
19 19
 
20 20
 	public $parserExceptionCallback = 'preg_replace_callback() died on [%1$s] due to a %2$s (%3$s)';
21 21
 	public $parserExceptionMatchall = 'preg_match_all() died due to a %1$s (%2$s)';
Please login to merge, or discard this patch.
src/Language/French.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 /**
16 16
  *
17 17
  */
18
-class French extends LanguageBase implements LanguageInterface{
18
+class French extends LanguageBase implements LanguageInterface {
19 19
 
20 20
 	public $parserExceptionCallback = '';
21 21
 	public $parserExceptionMatchall = '';
Please login to merge, or discard this patch.
src/Language/German.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 /**
16 16
  *
17 17
  */
18
-class German extends LanguageBase implements LanguageInterface{
18
+class German extends LanguageBase implements LanguageInterface {
19 19
 
20 20
 	public $parserExceptionCallback = 'preg_replace_callback() verursachte einen %2$s (%3$s) am tag [%1$s]';
21 21
 	public $parserExceptionMatchall = 'preg_match_all() verursachte einen %1$s (%2$s)';
Please login to merge, or discard this patch.
src/Language/LanguageBase.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
  * @method string expanderDisplaySpoiler($override_language = null)
35 35
  * @method string expanderDisplayTrigger($override_language = null)
36 36
  */
37
-class LanguageBase{
37
+class LanguageBase {
38 38
 	use ClassLoaderTrait;
39 39
 
40 40
 	/**
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 	 *
46 46
 	 * @return mixed
47 47
 	 */
48
-	public function __call($name, $arguments){
48
+	public function __call($name, $arguments) {
49 49
 		return $this->string($name, ...$arguments);
50 50
 	}
51 51
 
@@ -58,9 +58,9 @@  discard block
 block discarded – undo
58 58
 	 * @return mixed
59 59
 	 * @throws \chillerlan\bbcode\BBCodeException
60 60
 	 */
61
-	public function string($key, $override_language = null){
61
+	public function string($key, $override_language = null) {
62 62
 
63
-		if($override_language){
63
+		if ($override_language) {
64 64
 			return $this->__loadClass($override_language, LanguageInterface::class)->{$key}();
65 65
 		}
66 66
 
Please login to merge, or discard this patch.
src/Language/LanguageInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
  * @method string expanderDisplayTrigger($override_language = null)
35 35
  *
36 36
  */
37
-interface LanguageInterface{
37
+interface LanguageInterface {
38 38
 
39 39
 	/**
40 40
 	 * It's magic.
Please login to merge, or discard this patch.