Add PHPStan and other quality checks
Similar to FreshRSS core Contributes to https://github.com/FreshRSS/Extensions/issues/184
This commit is contained in:
parent
a86467db48
commit
b49596818c
59 changed files with 1173 additions and 404 deletions
|
|
@ -1,12 +1,16 @@
|
|||
<?php
|
||||
declare(strict_types=1);
|
||||
/** @var ShareByEmail\mailers\View $this */
|
||||
?>
|
||||
<div class="post">
|
||||
<h1><?= _t('shareByEmail.share.title') ?></h1>
|
||||
|
||||
<p>
|
||||
<?= _t('shareByEmail.share.intro', $this->entry->title()) ?>
|
||||
<?= _t('shareByEmail.share.intro', isset($this->entry) ? $this->entry->title() : '') ?>
|
||||
</p>
|
||||
|
||||
<form class="sbe-form-share" method="POST">
|
||||
<input type="hidden" name="_csrf" value="<?php echo FreshRSS_Auth::csrfToken(); ?>" />
|
||||
<input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />
|
||||
|
||||
<div class="form-group">
|
||||
<label class="group-name" for="to">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue