New developer command to test all third-party extensions

* `composer run-script phpstan-third-party`
* Rename the directory for generate.php to `third-party` instead of `tmp`
* Take advantage of PHPStan checkMissingOverrideMethodAttribute https://phpstan.org/config-reference#checkmissingoverridemethodattribute
* Detected and fixed bug in URL of https://github.com/tunbridgep/freshrss-invidious
This commit is contained in:
Alexandre Alapetite 2024-04-07 17:06:35 +02:00
parent 9f21984b8c
commit cc6bf0d1e6
No known key found for this signature in database
GPG key ID: A24378C38E812B23
45 changed files with 192 additions and 100 deletions

View file

@ -11,6 +11,7 @@ final class ImageProxyExtension extends Minz_Extension {
private const SCHEME_INCLUDE = '';
private const URL_ENCODE = '1';
#[Override]
public function init(): void {
if (!FreshRSS_Context::hasSystemConf()) {
throw new FreshRSS_Context_Exception('System configuration not initialised!');
@ -55,6 +56,7 @@ final class ImageProxyExtension extends Minz_Extension {
}
}
#[Override]
public function handleConfigureAction(): void {
$this->registerTranslates();

View file

@ -2,7 +2,7 @@
"name": "Image Proxy",
"author": "Frans de Jonge",
"description": "No insecure content warnings or disappearing images.",
"version": "0.7.1",
"version": "0.7.2",
"entrypoint": "ImageProxy",
"type": "user"
}