Skip to content

Commit 66e797b

Browse files
committed
:octocat: redirect other deprecated vars
1 parent a286d66 commit 66e797b

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

src/QROptionsTrait.php

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ protected function get_imageBase64():bool{
557557
}
558558

559559
/*
560-
* redirect calls to new/renamed variables
560+
* redirect calls of deprecated variables to new/renamed property
561561
*/
562562

563563
/**
@@ -596,4 +596,40 @@ protected function get_pngCompression():int{
596596
return $this->quality;
597597
}
598598

599+
/**
600+
* @deprecated 5.0.0 use QROptions::$transparencyColor instead
601+
* @see \chillerlan\QRCode\QROptions::$transparencyColor
602+
* @codeCoverageIgnore
603+
*/
604+
protected function set_imageTransparencyBG(array $imageTransparencyBG):void{
605+
$this->transparencyColor = $imageTransparencyBG;
606+
}
607+
608+
/**
609+
* @deprecated 5.0.0 use QROptions::$transparencyColor instead
610+
* @see \chillerlan\QRCode\QROptions::$transparencyColor
611+
* @codeCoverageIgnore
612+
*/
613+
protected function get_imageTransparencyBG(){
614+
return $this->transparencyColor;
615+
}
616+
617+
/**
618+
* @deprecated 5.0.0 use QROptions::$bgColor instead
619+
* @see \chillerlan\QRCode\QROptions::$bgColor
620+
* @codeCoverageIgnore
621+
*/
622+
protected function set_imagickBG(string $imagickBG):void{
623+
$this->bgColor = $imagickBG;
624+
}
625+
626+
/**
627+
* @deprecated 5.0.0 use QROptions::$bgColor instead
628+
* @see \chillerlan\QRCode\QROptions::$bgColor
629+
* @codeCoverageIgnore
630+
*/
631+
protected function get_imagickBG(){
632+
return $this->bgColor;
633+
}
634+
599635
}

0 commit comments

Comments
 (0)