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:
parent
9f21984b8c
commit
cc6bf0d1e6
45 changed files with 192 additions and 100 deletions
|
|
@ -6,11 +6,12 @@
|
|||
// ------------------- //
|
||||
const VERSION = 0.1;
|
||||
const TYPE_GIT = 'git';
|
||||
$tempFolder = './tmp';
|
||||
$tempFolder = './third-party/';
|
||||
|
||||
$extensions = [];
|
||||
$gitRepositories = [];
|
||||
if (file_exists($tempFolder)) {
|
||||
// TODO: Improve by keeping git copy if possible (e.g. fetch + reset)
|
||||
exec("rm -rf -- {$tempFolder}");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue