Skip to content

Commit 08f09f8

Browse files
authored
Upgrade friendsofphp/php-cs-fixer to ^3.0 (#3566)
* Upgrade friendsofphp/php-cs-fixer to ^3.0 and format code * Rename barnch to 2.2 * Create CHANGELOG-2.2.md
1 parent 27080f8 commit 08f09f8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Cookie/Cookie.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
class Cookie
1515
{
16-
const SAMESITE_LAX = 'lax';
16+
public const SAMESITE_LAX = 'lax';
1717

18-
const SAMESITE_STRICT = 'strict';
18+
public const SAMESITE_STRICT = 'strict';
1919

2020
protected $name;
2121

src/Uri/Uri.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Uri implements UriInterface
2121
* we apply this default host when no host is given yet to form a
2222
* valid URI.
2323
*/
24-
const DEFAULT_HTTP_HOST = 'localhost';
24+
public const DEFAULT_HTTP_HOST = 'localhost';
2525

2626
/**
2727
* @var array

0 commit comments

Comments
 (0)