Heads up! This section is under development.
- DO NOT repeat yourself
- USE PSR-2
- MUST NOT contain secrects
- host-volumes MUST NOT overlap
- all containers SHOULD keep running, eg. data-containers with
tail -f /dev/null
- camelCase_id
- MUST USE non-project specific default values
- SHOULD have an idempotent setup (see
BaseAppCommand
)
- MUST USE English names
- camelCase
- $this->table_field;
- MUST add
Tester
classes to the repository - SHOULD use
Yii::info()
orYii::trace()
, NOTYii::getLogger->(..., ..., ...)
- SHOULD NOT use
application.language = null
withcodemix/yii2-localeurls
- SHOULD NOT use static
::className()
calls in application configuration
- providers MUST NOT be copied into the project, may can extend a new class
- SHOULD contain
Id
columns
- SHOULD use hyphens for CSS classes and ID's i.e.
.my-class
and#my-id
- https://github.com/CSSLint/csslint/wiki/disallow-ids-in-selectors