From 21e6ec58dcfdb684d599776cbf706774b9106c38 Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Thu, 15 Jul 2021 13:28:37 +0200 Subject: [PATCH] Removed Security stubs, they're no longer needed --- extension.neon | 9 ----- .../Security/Acl/Dbal/AclProvider.stub | 14 ------- .../Security/Acl/Dbal/MutableAclProvider.stub | 14 ------- .../Security/Acl/Model/AclInterface.stub | 40 ------------------- .../Acl/Model/AclProviderInterface.stub | 22 ---------- .../Security/Acl/Model/EntryInterface.stub | 7 ---- .../Acl/Model/MutableAclInterface.stub | 8 ---- .../Model/MutableAclProviderInterface.stub | 23 ----------- .../Acl/Model/ObjectIdentityInterface.stub | 8 ---- .../Acl/Model/SecurityIdentityInterface.stub | 8 ---- 10 files changed, 153 deletions(-) delete mode 100644 stubs/Symfony/Component/Security/Acl/Dbal/AclProvider.stub delete mode 100644 stubs/Symfony/Component/Security/Acl/Dbal/MutableAclProvider.stub delete mode 100644 stubs/Symfony/Component/Security/Acl/Model/AclInterface.stub delete mode 100644 stubs/Symfony/Component/Security/Acl/Model/AclProviderInterface.stub delete mode 100644 stubs/Symfony/Component/Security/Acl/Model/EntryInterface.stub delete mode 100644 stubs/Symfony/Component/Security/Acl/Model/MutableAclInterface.stub delete mode 100644 stubs/Symfony/Component/Security/Acl/Model/MutableAclProviderInterface.stub delete mode 100644 stubs/Symfony/Component/Security/Acl/Model/ObjectIdentityInterface.stub delete mode 100644 stubs/Symfony/Component/Security/Acl/Model/SecurityIdentityInterface.stub diff --git a/extension.neon b/extension.neon index 72cefce6..f890042a 100644 --- a/extension.neon +++ b/extension.neon @@ -26,15 +26,6 @@ parameters: - stubs/Symfony/Component/HttpFoundation/Session.stub - stubs/Symfony/Component/Process/Process.stub - stubs/Symfony/Component/PropertyAccess/PropertyPathInterface.stub - - stubs/Symfony/Component/Security/Acl/Dbal/AclProvider.stub - - stubs/Symfony/Component/Security/Acl/Dbal/MutableAclProvider.stub - - stubs/Symfony/Component/Security/Acl/Model/AclInterface.stub - - stubs/Symfony/Component/Security/Acl/Model/AclProviderInterface.stub - - stubs/Symfony/Component/Security/Acl/Model/EntryInterface.stub - - stubs/Symfony/Component/Security/Acl/Model/MutableAclInterface.stub - - stubs/Symfony/Component/Security/Acl/Model/MutableAclProviderInterface.stub - - stubs/Symfony/Component/Security/Acl/Model/ObjectIdentityInterface.stub - - stubs/Symfony/Component/Security/Acl/Model/SecurityIdentityInterface.stub - stubs/Symfony/Component/Serializer/Encoder/ContextAwareDecoderInterface.stub - stubs/Symfony/Component/Serializer/Encoder/DecoderInterface.stub - stubs/Symfony/Component/Serializer/Encoder/EncoderInterface.stub diff --git a/stubs/Symfony/Component/Security/Acl/Dbal/AclProvider.stub b/stubs/Symfony/Component/Security/Acl/Dbal/AclProvider.stub deleted file mode 100644 index cc0a37c3..00000000 --- a/stubs/Symfony/Component/Security/Acl/Dbal/AclProvider.stub +++ /dev/null @@ -1,14 +0,0 @@ - - */ -class AclProvider implements AclProviderInterface -{ - -} diff --git a/stubs/Symfony/Component/Security/Acl/Dbal/MutableAclProvider.stub b/stubs/Symfony/Component/Security/Acl/Dbal/MutableAclProvider.stub deleted file mode 100644 index e8568734..00000000 --- a/stubs/Symfony/Component/Security/Acl/Dbal/MutableAclProvider.stub +++ /dev/null @@ -1,14 +0,0 @@ - - */ -class MutableAclProvider implements MutableAclProviderInterface -{ - -} diff --git a/stubs/Symfony/Component/Security/Acl/Model/AclInterface.stub b/stubs/Symfony/Component/Security/Acl/Model/AclInterface.stub deleted file mode 100644 index 2f509501..00000000 --- a/stubs/Symfony/Component/Security/Acl/Model/AclInterface.stub +++ /dev/null @@ -1,40 +0,0 @@ - - */ - public function getClassAces(); - - /** - * Returns all class-field-based ACEs associated with this ACL. - * - * @param string $field - * - * @return array - */ - public function getClassFieldAces($field); - - /** - * Returns all object-based ACEs associated with this ACL. - * - * @return array - */ - public function getObjectAces(); - - /** - * Returns all object-field-based ACEs associated with this ACL. - * - * @param string $field - * - * @return array - */ - public function getObjectFieldAces($field); - -} diff --git a/stubs/Symfony/Component/Security/Acl/Model/AclProviderInterface.stub b/stubs/Symfony/Component/Security/Acl/Model/AclProviderInterface.stub deleted file mode 100644 index 5c0ad94c..00000000 --- a/stubs/Symfony/Component/Security/Acl/Model/AclProviderInterface.stub +++ /dev/null @@ -1,22 +0,0 @@ - $sids - * @phpstan-return TAcl - */ - public function findAcl(ObjectIdentityInterface $oid, array $sids = []); - - /** - * @phpstan-param array $oids - * @phpstan-param array $sids - * @phpstan-return \SplObjectStorage - */ - public function findAcls(array $oids, array $sids = []); -} diff --git a/stubs/Symfony/Component/Security/Acl/Model/EntryInterface.stub b/stubs/Symfony/Component/Security/Acl/Model/EntryInterface.stub deleted file mode 100644 index 335e581d..00000000 --- a/stubs/Symfony/Component/Security/Acl/Model/EntryInterface.stub +++ /dev/null @@ -1,7 +0,0 @@ - - */ -interface MutableAclProviderInterface extends AclProviderInterface -{ - /** - * @phpstan-param array $sids - * @phpstan-return TAcl - */ - public function findAcl(ObjectIdentityInterface $oid, array $sids = []); - - /** - * @phpstan-param array $oids - * @phpstan-param array $sids - * @phpstan-return \SplObjectStorage - */ - public function findAcls(array $oids, array $sids = []); -} diff --git a/stubs/Symfony/Component/Security/Acl/Model/ObjectIdentityInterface.stub b/stubs/Symfony/Component/Security/Acl/Model/ObjectIdentityInterface.stub deleted file mode 100644 index 8c03dabc..00000000 --- a/stubs/Symfony/Component/Security/Acl/Model/ObjectIdentityInterface.stub +++ /dev/null @@ -1,8 +0,0 @@ -