pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/php-fig/per-coding-style/commit/49970b4fcf11379df7fbe6d3b1d910755a4a80a0

/> Reword section about colon usage in switch statement · php-fig/per-coding-style@49970b4 · GitHub
Skip to content

Commit 49970b4

Browse files
committed
Reword section about colon usage in switch statement
1 parent f6126d9 commit 49970b4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spec.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,8 +1093,7 @@ parentheses, spaces, and braces. The `case` statement MUST be indented once
10931093
from `switch`, and the `break` keyword (or other terminating keywords) MUST be
10941094
indented at the same level as the `case` body. There MUST be a comment such as
10951095
`// no break` when fall-through is intentional in a non-empty `case` body.
1096-
The `case` and `default` keywords MUST NOT utilise semi-colons e.g. (`default;`),
1097-
colons MUST be used as shown in the sample code below.
1096+
The `case` and `default` keywords MUST use colons as shown in the sample code below.
10981097

10991098

11001099
```php

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy