Skip to content

Commit 784afc8

Browse files
committed
minor #21030 [Security] Remove is_anonymous expesssion language function (alamirault)
This PR was merged into the 6.4 branch. Discussion ---------- [Security] Remove `is_anonymous` expesssion language function `is_anonymous` has been deprecated in sf 5.4 and removed in 6.0 https://github.com/symfony/symfony/pull/42510/files#diff-788b1cc93ab32c347d892db378e262ca9970c5badf57627253e475e96cc02fdb Commits ------- a6aa43f [Security] Remove is_anonymous expesssion language function
2 parents 75685fe + a6aa43f commit 784afc8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

workflow.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ transition. The value of this option is any valid expression created with the
818818
from: draft
819819
to: reviewed
820820
publish:
821-
# or "is_anonymous", "is_remember_me", "is_fully_authenticated", "is_granted", "is_valid"
821+
# or "is_remember_me", "is_fully_authenticated", "is_granted", "is_valid"
822822
guard: "is_authenticated"
823823
from: reviewed
824824
to: published
@@ -853,7 +853,7 @@ transition. The value of this option is any valid expression created with the
853853
</framework:transition>
854854
855855
<framework:transition name="publish">
856-
<!-- or "is_anonymous", "is_remember_me", "is_fully_authenticated", "is_granted" -->
856+
<!-- or "is_remember_me", "is_fully_authenticated", "is_granted" -->
857857
<framework:guard>is_authenticated</framework:guard>
858858
<framework:from>reviewed</framework:from>
859859
<framework:to>published</framework:to>
@@ -889,7 +889,7 @@ transition. The value of this option is any valid expression created with the
889889
890890
$blogPublishing->transition()
891891
->name('publish')
892-
// or "is_anonymous", "is_remember_me", "is_fully_authenticated", "is_granted"
892+
// or "is_remember_me", "is_fully_authenticated", "is_granted"
893893
->guard('is_authenticated')
894894
->from(['reviewed'])
895895
->to(['published']);

0 commit comments

Comments
 (0)