@@ -39,9 +39,9 @@ public function tearDown(): void
3939
4040 /**
4141 * @test
42- * @group security
43- * @group session
4442 */
43+ #[\PHPUnit \Framework \Attributes \Group('security ' )]
44+ #[\PHPUnit \Framework \Attributes \Group('session ' )]
4545 public function the_authentication_moment_can_be_logged ()
4646 {
4747 $ fakeRequestStack = new FakeRequestStack ();
@@ -54,9 +54,9 @@ public function the_authentication_moment_can_be_logged()
5454
5555 /**
5656 * @test
57- * @group security
58- * @group session
5957 */
58+ #[\PHPUnit \Framework \Attributes \Group('security ' )]
59+ #[\PHPUnit \Framework \Attributes \Group('session ' )]
6060 public function the_authentication_moment_cannot_be_logged_twice ()
6161 {
6262 $ this ->expectException (LogicException::class);
@@ -69,9 +69,9 @@ public function the_authentication_moment_cannot_be_logged_twice()
6969
7070 /**
7171 * @test
72- * @group security
73- * @group session
7472 */
73+ #[\PHPUnit \Framework \Attributes \Group('security ' )]
74+ #[\PHPUnit \Framework \Attributes \Group('session ' )]
7575 public function whether_or_not_an_authentication_moment_is_logged_can_be_queried ()
7676 {
7777 $ fakeRequestStack = new FakeRequestStack ();
@@ -86,9 +86,9 @@ public function whether_or_not_an_authentication_moment_is_logged_can_be_queried
8686
8787 /**
8888 * @test
89- * @group security
90- * @group session
9189 */
90+ #[\PHPUnit \Framework \Attributes \Group('security ' )]
91+ #[\PHPUnit \Framework \Attributes \Group('session ' )]
9292 public function a_logged_authentication_moment_can_be_retrieved ()
9393 {
9494 $ fakeRequestStack = new FakeRequestStack ();
@@ -105,9 +105,9 @@ public function a_logged_authentication_moment_can_be_retrieved()
105105
106106 /**
107107 * @test
108- * @group security
109- * @group session
110108 */
109+ #[\PHPUnit \Framework \Attributes \Group('security ' )]
110+ #[\PHPUnit \Framework \Attributes \Group('session ' )]
111111 public function attempting_to_retrieve_an_authentication_moment_when_not_yet_logged_causes_an_exception_to_be_thrown ()
112112 {
113113 $ this ->expectException (LogicException::class);
@@ -120,9 +120,9 @@ public function attempting_to_retrieve_an_authentication_moment_when_not_yet_log
120120
121121 /**
122122 * @test
123- * @group security
124- * @group session
125123 */
124+ #[\PHPUnit \Framework \Attributes \Group('security ' )]
125+ #[\PHPUnit \Framework \Attributes \Group('session ' )]
126126 public function an_interaction_can_be_logged ()
127127 {
128128 $ fakeRequestStack = new FakeRequestStack ();
@@ -135,9 +135,9 @@ public function an_interaction_can_be_logged()
135135
136136 /**
137137 * @test
138- * @group security
139- * @group session
140138 */
139+ #[\PHPUnit \Framework \Attributes \Group('security ' )]
140+ #[\PHPUnit \Framework \Attributes \Group('session ' )]
141141 public function the_moment_of_interaction_can_be_retrieved ()
142142 {
143143 $ fakeRequestStack = new FakeRequestStack ();
@@ -154,9 +154,9 @@ public function the_moment_of_interaction_can_be_retrieved()
154154
155155 /**
156156 * @test
157- * @group security
158- * @group session
159157 */
158+ #[\PHPUnit \Framework \Attributes \Group('security ' )]
159+ #[\PHPUnit \Framework \Attributes \Group('session ' )]
160160 public function an_interaction_is_logged_when_an_authentication_is_logged ()
161161 {
162162 $ fakeRequestStack = new FakeRequestStack ();
@@ -179,9 +179,9 @@ public function an_interaction_is_logged_when_an_authentication_is_logged()
179179
180180 /**
181181 * @test
182- * @group security
183- * @group session
184182 */
183+ #[\PHPUnit \Framework \Attributes \Group('security ' )]
184+ #[\PHPUnit \Framework \Attributes \Group('session ' )]
185185 public function the_moment_of_interaction_can_be_updated ()
186186 {
187187 $ fakeRequestStack = new FakeRequestStack ();
@@ -206,9 +206,9 @@ public function the_moment_of_interaction_can_be_updated()
206206
207207 /**
208208 * @test
209- * @group security
210- * @group session
211209 */
210+ #[\PHPUnit \Framework \Attributes \Group('security ' )]
211+ #[\PHPUnit \Framework \Attributes \Group('session ' )]
212212 public function the_existence_of_a_moment_interaction_can_be_queried ()
213213 {
214214 $ fakeRequestStack = new FakeRequestStack ();
@@ -223,9 +223,9 @@ public function the_existence_of_a_moment_interaction_can_be_queried()
223223
224224 /**
225225 * @test
226- * @group security
227- * @group session
228226 */
227+ #[\PHPUnit \Framework \Attributes \Group('security ' )]
228+ #[\PHPUnit \Framework \Attributes \Group('session ' )]
229229 public function the_current_uri_can_be_stored_in_the_session ()
230230 {
231231 $ fakeRequestStack = new FakeRequestStack ();
@@ -240,9 +240,9 @@ public function the_current_uri_can_be_stored_in_the_session()
240240
241241 /**
242242 * @test
243- * @group security
244- * @group session
245243 */
244+ #[\PHPUnit \Framework \Attributes \Group('security ' )]
245+ #[\PHPUnit \Framework \Attributes \Group('session ' )]
246246 public function a_request_id_can_be_stored_in_the_session ()
247247 {
248248 $ fakeRequestStack = new FakeRequestStack ();
@@ -257,9 +257,9 @@ public function a_request_id_can_be_stored_in_the_session()
257257
258258 /**
259259 * @test
260- * @group security
261- * @group session
262260 */
261+ #[\PHPUnit \Framework \Attributes \Group('security ' )]
262+ #[\PHPUnit \Framework \Attributes \Group('session ' )]
263263 public function the_presence_of_a_request_id_can_be_queried ()
264264 {
265265 $ fakeRequestStack = new FakeRequestStack ();
@@ -275,9 +275,9 @@ public function the_presence_of_a_request_id_can_be_queried()
275275
276276 /**
277277 * @test
278- * @group security
279- * @group session
280278 */
279+ #[\PHPUnit \Framework \Attributes \Group('security ' )]
280+ #[\PHPUnit \Framework \Attributes \Group('session ' )]
281281 public function a_stored_request_id_can_be_cleared ()
282282 {
283283 $ fakeRequestStack = new FakeRequestStack ();
@@ -298,9 +298,9 @@ public function a_stored_request_id_can_be_cleared()
298298
299299 /**
300300 * @test
301- * @group security
302- * @group session
303301 */
302+ #[\PHPUnit \Framework \Attributes \Group('security ' )]
303+ #[\PHPUnit \Framework \Attributes \Group('session ' )]
304304 public function a_session_can_be_invalidated ()
305305 {
306306 $ session = Mockery::mock (SessionInterface::class)
@@ -317,9 +317,9 @@ public function a_session_can_be_invalidated()
317317
318318 /**
319319 * @test
320- * @group security
321- * @group session
322320 */
321+ #[\PHPUnit \Framework \Attributes \Group('security ' )]
322+ #[\PHPUnit \Framework \Attributes \Group('session ' )]
323323 public function a_session_can_be_migrated ()
324324 {
325325 $ session = Mockery::mock (SessionInterface::class)
0 commit comments