mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
lint
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
|
||||
use Appwrite\Event\Build;
|
||||
use Appwrite\Extend\Exception;
|
||||
use Appwrite\Filter\Adapter\BranchDomain as FilterBranchDomain;
|
||||
use Appwrite\Filter\Filter;
|
||||
use Appwrite\SDK\AuthType;
|
||||
use Appwrite\SDK\Method;
|
||||
use Appwrite\SDK\Response as SDKResponse;
|
||||
use Appwrite\Filter\Filter;
|
||||
use Appwrite\Filter\Adapter\BranchDomain as FilterBranchDomain;
|
||||
use Appwrite\Utopia\Request;
|
||||
use Appwrite\Utopia\Response;
|
||||
use Appwrite\Vcs\Comment;
|
||||
|
||||
@@ -26,4 +26,4 @@ abstract class Adapter
|
||||
abstract public function isValid(mixed $input): bool;
|
||||
|
||||
abstract public function filter(): self;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ class BranchDomain extends Adapter
|
||||
|
||||
/**
|
||||
* Pre-process branch name to a valid domain name.
|
||||
*
|
||||
*
|
||||
* Input should be an array with:
|
||||
* - 'branch' (string): The branch name
|
||||
* - 'resourceId' (string): The resource ID (site or function)
|
||||
@@ -108,4 +108,4 @@ class BranchDomain extends Adapter
|
||||
|
||||
return trim($sanitized, '-');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -59,4 +59,4 @@ class Filter
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,10 +4,10 @@ namespace Appwrite\Platform\Modules\Compute;
|
||||
|
||||
use Appwrite\Event\Build;
|
||||
use Appwrite\Extend\Exception;
|
||||
use Appwrite\Filter\Adapter\BranchDomain as FilterBranchDomain;
|
||||
use Appwrite\Filter\Filter;
|
||||
use Appwrite\Platform\Action;
|
||||
use Appwrite\Platform\Modules\Compute\Validator\Specification as SpecificationValidator;
|
||||
use Appwrite\Filter\Filter;
|
||||
use Appwrite\Filter\Adapter\BranchDomain as FilterBranchDomain;
|
||||
use Utopia\Config\Config;
|
||||
use Utopia\Database\Database;
|
||||
use Utopia\Database\Document;
|
||||
|
||||
@@ -9,8 +9,8 @@ use Appwrite\Event\Realtime;
|
||||
use Appwrite\Event\Screenshot;
|
||||
use Appwrite\Event\StatsUsage;
|
||||
use Appwrite\Event\Webhook;
|
||||
use Appwrite\Filter\Filter;
|
||||
use Appwrite\Filter\Adapter\BranchDomain as FilterBranchDomain;
|
||||
use Appwrite\Filter\Filter;
|
||||
use Appwrite\Utopia\Response\Model\Deployment;
|
||||
use Appwrite\Vcs\Comment;
|
||||
use Exception;
|
||||
|
||||
Reference in New Issue
Block a user