forked from wallabag/wallabag
Added notmatches operator for tagging rule
This commit is contained in:
@ -31,7 +31,7 @@ class TaggingRule
|
||||
* @Assert\Length(max=255)
|
||||
* @RulerZAssert\ValidRule(
|
||||
* allowed_variables={"title", "url", "isArchived", "isStared", "content", "language", "mimetype", "readingTime", "domainName"},
|
||||
* allowed_operators={">", "<", ">=", "<=", "=", "is", "!=", "and", "not", "or", "matches"}
|
||||
* allowed_operators={">", "<", ">=", "<=", "=", "is", "!=", "and", "not", "or", "matches", "notmatches"}
|
||||
* )
|
||||
* @ORM\Column(name="rule", type="string", nullable=false)
|
||||
*/
|
||||
@ -87,7 +87,7 @@ class TaggingRule
|
||||
/**
|
||||
* Set tags.
|
||||
*
|
||||
* @param array<string> $tags
|
||||
* @param array <string> $tags
|
||||
*
|
||||
* @return TaggingRule
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user