-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Documentation] Add naming conventions to contributing section #14196
Conversation
* Suffix PHPSpec classes with `Spec`, | ||
* Suffix PHPUnit tests with `Test`, | ||
* Prefix Twig templates that are just partial blocks with `_`, | ||
* Use fully qualified class name (FQCN) of an interface as a service name of newly created service or FQCN of class |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Use fully qualified class name (FQCN) of an interface as a service name of newly created service or FQCN of class | |
* Use fully qualified class name (FQCN) of an interface as a service name of newly created service or FQCN of class |
* Suffix PHPUnit tests with `Test`, | ||
* Prefix Twig templates that are just partial blocks with `_`, | ||
* Use fully qualified class name (FQCN) of an interface as a service name of newly created service or FQCN of class | ||
if there are multiple implementations of a given interface unless it is inconsistent with the current scope of Sylius. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if there are multiple implementations of a given interface unless it is inconsistent with the current scope of Sylius. | |
if there are multiple implementations of a given interface unless it is inconsistent with the current scope of Sylius. |
* Suffix exceptions with `Exception`, | ||
* Suffix PHPSpec classes with `Spec`, | ||
* Suffix PHPUnit tests with `Test`, | ||
* Prefix Twig templates that are just partial blocks with `_`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Prefix Twig templates that are just partial blocks with `_`, | |
* Prefix Twig templates that are partial blocks with `_`, |
* Suffix PHPSpec classes with `Spec`, | ||
* Suffix PHPUnit tests with `Test`, | ||
* Prefix Twig templates that are just partial blocks with `_`, | ||
* Use fully qualified class name (FQCN) of an interface as a service name of newly created service or FQCN of class |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Use fully qualified class name (FQCN) of an interface as a service name of newly created service or FQCN of class | |
* Use fully qualified class name (FQCN) of an interface as a service name of newly created service or FQCN of class |
* Suffix PHPUnit tests with `Test`, | ||
* Prefix Twig templates that are just partial blocks with `_`, | ||
* Use fully qualified class name (FQCN) of an interface as a service name of newly created service or FQCN of class | ||
if there are multiple implementations of a given interface unless it is inconsistent with the current scope of Sylius. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if there are multiple implementations of a given interface unless it is inconsistent with the current scope of Sylius. | |
if there are multiple implementations of a given interface unless it is inconsistent with the current scope of Sylius. |
…adee) This PR was merged into the 1.11 branch. Discussion ---------- | Q | A | |-----------------|--------------------------------------------------------------| | Branch? | 1.11| | Bug fix? | yes | | New feature? | no | | BC breaks? | no | | Deprecations? | no| | Related tickets | fixes #14196 | | License | MIT | <!-- - Bug fixes must be submitted against the 1.11 branch - Features and deprecations must be submitted against the 1.12 branch - Make sure that the correct base branch is set To be sure you are not breaking any Backward Compatibilities, check the documentation: https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html --> Commits ------- d0c022a [Documentation] Minor fixes to naming conventions page
I would like to initiate a new chapter in our docs, in the
Contributing
section. Definitely, there is a need for some iterations over it, especially that there is probably many more conventions to write down but I believe that it is a good start 😃