diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/IgnoreOriginInstanceRule.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/IgnoreOriginInstanceRule.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/IgnoreOriginInstanceRule.php b/src/Wallabag/CoreBundle/Entity/IgnoreOriginInstanceRule.php index 34aed50c..ce3b6e7d 100644 --- a/src/Wallabag/CoreBundle/Entity/IgnoreOriginInstanceRule.php +++ b/src/Wallabag/CoreBundle/Entity/IgnoreOriginInstanceRule.php | |||
@@ -11,7 +11,6 @@ use Symfony\Component\Validator\Constraints as Assert; | |||
11 | * | 11 | * |
12 | * @ORM\Entity(repositoryClass="Wallabag\CoreBundle\Repository\IgnoreOriginInstanceRuleRepository") | 12 | * @ORM\Entity(repositoryClass="Wallabag\CoreBundle\Repository\IgnoreOriginInstanceRuleRepository") |
13 | * @ORM\Table(name="`ignore_origin_instance_rule`") | 13 | * @ORM\Table(name="`ignore_origin_instance_rule`") |
14 | * @ORM\Entity | ||
15 | */ | 14 | */ |
16 | class IgnoreOriginInstanceRule implements IgnoreOriginRuleInterface, RuleInterface | 15 | class IgnoreOriginInstanceRule implements IgnoreOriginRuleInterface, RuleInterface |
17 | { | 16 | { |
@@ -30,7 +29,7 @@ class IgnoreOriginInstanceRule implements IgnoreOriginRuleInterface, RuleInterfa | |||
30 | * @Assert\NotBlank() | 29 | * @Assert\NotBlank() |
31 | * @Assert\Length(max=255) | 30 | * @Assert\Length(max=255) |
32 | * @RulerZAssert\ValidRule( | 31 | * @RulerZAssert\ValidRule( |
33 | * allowed_variables={"host","pattern"}, | 32 | * allowed_variables={"host","_all"}, |
34 | * allowed_operators={"=","~"} | 33 | * allowed_operators={"=","~"} |
35 | * ) | 34 | * ) |
36 | * @ORM\Column(name="rule", type="string", nullable=false) | 35 | * @ORM\Column(name="rule", type="string", nullable=false) |