Merge pull request #7816 from rosenstrauch/patch-1

This commit is contained in:
Jérémy Benoist 2024-11-18 07:09:12 +01:00 committed by GitHub
commit 9a7848e834
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,7 +34,7 @@ class TaggingRule implements RuleInterface
* @Assert\NotBlank() * @Assert\NotBlank()
* @Assert\Length(max=255) * @Assert\Length(max=255)
* @RulerZAssert\ValidRule( * @RulerZAssert\ValidRule(
* allowed_variables={"title", "url", "isArchived", "isStared", "content", "language", "mimetype", "readingTime", "domainName"}, * allowed_variables={"title", "url", "isArchived", "isStarred", "content", "language", "mimetype", "readingTime", "domainName"},
* allowed_operators={">", "<", ">=", "<=", "=", "is", "!=", "and", "not", "or", "matches", "notmatches"} * allowed_operators={">", "<", ">=", "<=", "=", "is", "!=", "and", "not", "or", "matches", "notmatches"}
* ) * )
* @ORM\Column(name="rule", type="string", nullable=false) * @ORM\Column(name="rule", type="string", nullable=false)