Skip to content
This repository was archived by the owner on Dec 9, 2023. It is now read-only.

Commit d1eb905

Browse files
Apply "visibility_required" CS rule to constants
php-cs-fixer fix --rules='{"visibility_required": ["property", "method", "const"]}'
1 parent 6e86c65 commit d1eb905

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WebServer.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
*/
2525
class WebServer
2626
{
27-
const STARTED = 0;
28-
const STOPPED = 1;
27+
public const STARTED = 0;
28+
public const STOPPED = 1;
2929

3030
private $pidFileDirectory;
3131

0 commit comments

Comments
 (0)