Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/groupfolders.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Fotia <fotia.baptiste@hotmail.com>2022-10-06 18:44:18 +0300
committerBaptiste Fotia <fotia.baptiste@hotmail.com>2022-10-06 18:44:18 +0300
commita117c73a6849adee44f6d10a46f9aae1cb81ead0 (patch)
treebeb15c3e077f5c6d7dede13831fdf179141efc82
parent5b12a2eb957573a2fd0ba3b8cc789f2ea89f61a0 (diff)
fix(): Restore the const and psalm file
I restored the CLASS_NAME_ADMIN_DELEGATION const and I copied/pasted the psalm.xml file from another commit. Signed-off-by: Baptiste Fotia <fotia.baptiste@hotmail.com>
-rw-r--r--lib/AppInfo/Application.php11
-rw-r--r--psalm.xml12
2 files changed, 13 insertions, 10 deletions
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php
index 04f855c9..c5724d9a 100644
--- a/lib/AppInfo/Application.php
+++ b/lib/AppInfo/Application.php
@@ -21,9 +21,9 @@
namespace OCA\GroupFolders\AppInfo;
-use OCA\Files\Event\LoadAdditionalScriptsEvent;
use OCA\Files_Sharing\Event\BeforeTemplateRenderedEvent;
use OCA\Files_Trashbin\Expiration;
+use OCA\Files\Event\LoadAdditionalScriptsEvent;
use OCA\GroupFolders\ACL\ACLManagerFactory;
use OCA\GroupFolders\ACL\RuleManager;
use OCA\GroupFolders\ACL\UserMapping\IUserMappingManager;
@@ -34,9 +34,9 @@ use OCA\GroupFolders\BackgroundJob\ExpireGroupTrash as ExpireGroupTrashJob;
use OCA\GroupFolders\BackgroundJob\ExpireGroupVersions as ExpireGroupVersionsJob;
use OCA\GroupFolders\CacheListener;
use OCA\GroupFolders\Command\ExpireGroup\ExpireGroupBase;
-use OCA\GroupFolders\Command\ExpireGroup\ExpireGroupVersionsTrash;
-use OCA\GroupFolders\Command\ExpireGroup\ExpireGroupVersions;
use OCA\GroupFolders\Command\ExpireGroup\ExpireGroupTrash;
+use OCA\GroupFolders\Command\ExpireGroup\ExpireGroupVersions;
+use OCA\GroupFolders\Command\ExpireGroup\ExpireGroupVersionsTrash;
use OCA\GroupFolders\Folder\FolderManager;
use OCA\GroupFolders\Helper\LazyFolder;
use OCA\GroupFolders\Listeners\LoadAdditionalScriptsListener;
@@ -53,9 +53,9 @@ use OCP\AppFramework\IAppContainer;
use OCP\AppFramework\Utility\ITimeFactory;
use OCP\Files\Config\IMountProviderCollection;
use OCP\ICacheFactory;
+use OCP\IConfig;
use OCP\IDBConnection;
use OCP\IGroup;
-use OCP\IConfig;
use OCP\IGroupManager;
use OCP\IRequest;
use OCP\ISession;
@@ -63,6 +63,9 @@ use OCP\IUserSession;
use Psr\Log\LoggerInterface;
class Application extends App implements IBootstrap {
+
+ public const CLASS_NAME_ADMIN_DELEGATION = 'OCA\GroupFolders\Settings\Admin';
+
public function __construct(array $urlParams = []) {
parent::__construct('groupfolders', $urlParams);
}
diff --git a/psalm.xml b/psalm.xml
index 0f14f1e6..0bd8361f 100644
--- a/psalm.xml
+++ b/psalm.xml
@@ -38,23 +38,23 @@
</UndefinedInterfaceMethod>
<UndefinedClass>
<errorLevel type="suppress">
- <referencedClass name="OC\AppFramework\OCS\V1Response"/>
<referencedClass name="OC\AppFramework\Utility\ControllerMethodReflector"/>
- <referencedClass name="OC\Security\CSP\ContentSecurityPolicyNonceManager" />
- <referencedClass name="OC\Settings\AuthorizedGroupMapper"/>
<referencedClass name="OCA\Files\Event\LoadAdditionalScriptsEvent"/>
<referencedClass name="OCA\Settings\Service\AuthorizedGroupService"/>
+ <referencedClass name="OC\AppFramework\OCS\V1Response"/>
+ <referencedClass name="OC\Settings\AuthorizedGroupMapper"/>
+ <referencedClass name="OC\Security\CSP\ContentSecurityPolicyNonceManager" />
</errorLevel>
</UndefinedClass>
<UndefinedDocblockClass>
<errorLevel type="suppress">
- <referencedClass name="Doctrine\DBAL\Driver\Statement" />
+ <referencedClass name="OC\AppFramework\OCS\BaseResponse"/>
+ <referencedClass name="OCA\Settings\Service\AuthorizedGroupService"/>
<referencedClass name="Doctrine\DBAL\Schema\Schema" />
<referencedClass name="Doctrine\DBAL\Schema\SchemaException" />
+ <referencedClass name="Doctrine\DBAL\Driver\Statement" />
<referencedClass name="Doctrine\DBAL\Schema\Table" />
- <referencedClass name="OC\AppFramework\OCS\BaseResponse"/>
<referencedClass name="OC\Security\CSP\ContentSecurityPolicyNonceManager" />
- <referencedClass name="OCA\Settings\Service\AuthorizedGroupService"/>
</errorLevel>
</UndefinedDocblockClass>
</issueHandlers>