-
Notifications
You must be signed in to change notification settings - Fork 751
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bump supported phpversion from **5.6 -> 8.2** to **7.2 -> 8.4**
improve some bad codes
- Loading branch information
Showing
9 changed files
with
36 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,9 +16,6 @@ jobs: | |
strategy: | ||
matrix: | ||
php-version: | ||
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
- 7.2 | ||
- 7.3 | ||
- 7.4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,27 +9,30 @@ | |
* @author Laurent MINGUET <[email protected]> | ||
* @copyright 2017 Laurent MINGUET | ||
*/ | ||
|
||
namespace Spipu\Html2Pdf\Tag\Html; | ||
|
||
use Spipu\Html2Pdf\Tag\AbstractHtmlTag; | ||
|
||
/** | ||
* Tag StrikeTag | ||
* Tag Strike | ||
*/ | ||
class StrikeTag extends AbstractHtmlTag | ||
class Strike extends AbstractHtmlTag | ||
{ | ||
public function __construct() | ||
{ | ||
parent::__construct('strike'); | ||
} | ||
|
||
/** | ||
* @inheritdoc | ||
*/ | ||
public function getName() | ||
{ | ||
return 'strike'; | ||
} | ||
|
||
/** | ||
* @inheritdoc | ||
*/ | ||
protected function overrideStyles() | ||
{ | ||
$this->parsingCss->value['font-linethrough'] = true; | ||
return true; | ||
|
||
return $this; | ||
} | ||
} | ||
} |