v1.6.4 #4

Merged
marcus merged 6 commits from v1.6.4 into main 2025-04-12 00:50:49 +00:00
5 changed files with 23 additions and 9 deletions
Showing only changes of commit 0e09e70c90 - Show all commits

View File

@ -3,6 +3,8 @@
* Plugin Updater
*
* @package FixPluginDoesNotExistNotices
* @noinspection PhpUndefinedFunctionInspection
* @noinspection PhpUndefinedClassInspection
*/
namespace WPALLSTARS\FixPluginDoesNotExistNotices;
@ -76,6 +78,7 @@ class Updater {
* Check if the plugin was installed from GitHub
*
* @return bool
* @noinspection PhpUndefinedFunctionInspection
*/
private function is_github_installation() {
// Check for GitHub-specific markers in the plugin directory
@ -101,6 +104,7 @@ class Updater {
* Check if the plugin was installed from Gitea
*
* @return bool
* @noinspection PhpUndefinedFunctionInspection
*/
private function is_gitea_installation() {
// Check for Gitea-specific markers in the plugin directory
@ -121,6 +125,8 @@ class Updater {
* Initialize Git Updater Lite
*
* @return void
* @noinspection PhpUndefinedFunctionInspection
* @noinspection PhpUndefinedClassInspection
*/
private function init_git_updater() {
// Check if the Git Updater Lite class exists (composer autoload)