Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

Commit e6201f3

Browse files
committed
docs: explain it's about class name casing
1 parent 5aaa899 commit e6201f3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ All notable changes to this project will be documented in this file, in reverse
6666
- There MUST NOT be duplicate class names.
6767
- The file name MUST match the case of the terminating class name.
6868
- PHP 4 style constructors MUST NOT be used.
69-
- The correct class names MUST be used.
69+
- Correct class name casing MUST be used.
7070
- Abstract classes MUST have a `Abstract` prefix.
7171
- Exception classes MUST have a `Exception` suffix.
7272
- Interface classes MUST have a `Interface` suffix.

docs/book/v2/coding-style-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ new Foo();
417417
>
418418
> PHP 4 style constructors MUST NOT be used.
419419
>
420-
> The correct class names MUST be used.
420+
> Correct class name casing MUST be used.
421421
>
422422
> Abstract classes MUST have a `Abstract` prefix.
423423
>

src/ZendCodingStandard/ruleset.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@
306306
<rule ref="WebimpressCodingStandard.NamingConventions.Interface"/>
307307
<!-- Trait classes MUST have a `Trait` suffix. -->
308308
<rule ref="WebimpressCodingStandard.NamingConventions.Trait"/>
309-
<!-- The correct class names MUST be used. -->
309+
<!-- Correct class name casing MUST be used. -->
310310
<rule ref="WebimpressCodingStandard.PHP.CorrectClassNameCase"/>
311311
<!-- For self-reference a class lower-case `self::` MUST be used without
312312
spaces around the scope resolution operator. -->

0 commit comments

Comments
 (0)