1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-31 18:31:02 +00:00

Added notmatches operator for tagging rule

This commit is contained in:
Nicolas Lœuillet 2017-04-20 14:58:20 +02:00
parent 64f1d8f77a
commit fdd725f58c
32 changed files with 125 additions and 48 deletions

View file

@ -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
*/