Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ecdd0bb

Browse files
committed
Update COMMENTS.md
1 parent b6b722a commit ecdd0bb

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

‎COMMENTS.md‎

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -8,36 +8,36 @@
88

99
* Use of Perl/shell style comments (`#`) is discouraged.
1010

11-
```php
12-
// Encouraged Comment
13-
/* Encouraged Comment */
11+
```php
12+
// Encouraged Comment
13+
/* Encouraged Comment */
1414

15-
# Discouraged Comment
16-
//Discouraged Comment
17-
/*Discouraged Comment*/
18-
```
15+
# Discouraged Comment
16+
//Discouraged Comment
17+
/*Discouraged Comment*/
18+
```
1919

2020
* If you are making a longer, multi-line comment, use line breaks instead of spaces immediately inside both ends of a `/* */`-style comment.
2121

22-
```php
23-
/*
24-
* This is an extra long comment that I'm breaking up
25-
* into multiple lines for improved readability.
26-
*/
27-
```
22+
```php
23+
/*
24+
* This is an extra long comment that I'm breaking up
25+
* into multiple lines for improved readability.
26+
*/
27+
```
2828

2929
* There should always be one line of whitespace above the start of a comment block.
3030

31-
```php
32-
// This is my code.
33-
echo 'This is my code.';
31+
```php
32+
// This is my code.
33+
echo 'This is my code.';
3434

35-
// This is more code.
36-
echo 'This is more code.';
35+
// This is more code.
36+
echo 'This is more code.';
3737

38-
if (condition) {
38+
if (condition) {
3939

40-
// comment
41-
echo 'code';
42-
}
43-
```
40+
// comment
41+
echo 'code';
42+
}
43+
```

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /