File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed
Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 11<?php
22
3+ declare (strict_types=1 );
4+
35/*
46|--------------------------------------------------------------------------
57| Test Case
2628|
2729*/
2830
29- expect ()->extend ('toBeOne ' , function () {
30- return $ this ->toBe (1 );
31- });
31+ expect ()->extend ('toBeOne ' , fn () => $ this ->toBe (1 ));
3232
3333/*
3434|--------------------------------------------------------------------------
4141|
4242*/
4343
44- function something ()
44+ function something (): void
4545{
4646 // ..
4747}
48+
49+ uses ()->group ('default ' );
Original file line number Diff line number Diff line change 66
77use PHPUnit \Framework \TestCase as BaseTestCase ;
88
9- abstract class TestCase extends BaseTestCase
10- {
11- //
12- }
9+ abstract class TestCase extends BaseTestCase {}
Original file line number Diff line number Diff line change 7474 expect ($ deleted )->toBeTrue ();
7575 expect ($ repo ->find ($ user ->id ))->toBeNull ();
7676 });
77- });
77+ });
You can’t perform that action at this time.
0 commit comments