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
|
|
@ -3,13 +3,13 @@
|
|||
declare(strict_types=1);
|
||||
|
||||
class QuickCollapseExtension extends Minz_Extension {
|
||||
public function init() {
|
||||
public function init(): void {
|
||||
$this->registerTranslates();
|
||||
$this->registerViews();
|
||||
$this->registerController('quickCollapse');
|
||||
|
||||
Minz_View::appendStyle($this->getFileUrl('style.css', 'css'));
|
||||
Minz_View::appendScript(_url('quickCollapse', 'jsVars'), false, true, false);
|
||||
Minz_View::appendScript(_url('quickCollapse', 'jsVars') ?: '', false, true, false);
|
||||
Minz_View::appendScript($this->getFileUrl('script.js', 'js'), false, true, false);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue