samples/src/video/Main.hx
0xE0E6F8
is a magic number Open
Open
backgroundColor = 0xE0E6F8;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
Invalid method name signature: main
(name should be ~/^_[a-z][a-zA-Z0-9]*$/
) Open
Open
static function main() {
new Main();
}
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that method names conform to a format specified by the format
property.
Unused import pixi.core.display.Container
detected Open
Open
import pixi.core.display.Container;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks for unused or duplicate imports.
Empty block should be written as {}
Open
Open
function _onResize() {
}
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks for empty blocks. The policy to verify is specified using the property option
.
Empty block should be written as {}
Open
Open
function _setup() {
}
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks for empty blocks. The policy to verify is specified using the property option
.
Empty block should be written as {}
Open
Open
function _onUpdate(elapsedTime:Float) {
}
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks for empty blocks. The policy to verify is specified using the property option
.