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,6 +1,6 @@
|
|||
Extension for FressRSS (https://github.com/FreshRSS)
|
||||
Extension for FressRSS (<https://github.com/FreshRSS>)
|
||||
|
||||
It helps to find the feed IDs of each feed.
|
||||
It helps to find the feed IDs of each feed.
|
||||
|
||||
Feed IDs are used f.e. for the search or user queries.
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
declare(strict_types=1);
|
||||
|
||||
class ShowFeedIdExtension extends Minz_Extension {
|
||||
public function init() {
|
||||
public function init(): void {
|
||||
Minz_View::appendScript($this->getFileUrl('showfeedid.js', 'js'));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
const url = new URL(window.location);
|
||||
const url = new URL(window.location);
|
||||
if (url.searchParams.get('c') === 'subscription') {
|
||||
const div = document.querySelector('h1 ~ div');
|
||||
const button = document.createElement('Button');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue