traits/config/TimestampConfig.php
A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 18 and the first side effect is on line 18. Open
Open
<?php
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 0 Open
Open
* @var string|false Specifies the attribute name that records the last update time.
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 0 Open
Open
*/
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 0 Open
Open
*/
- Exclude checks
Blank lines are not allowed in a multi-line function declaration Open
Open
- Exclude checks
Blank lines are not allowed in a multi-line function declaration Open
Open
- Exclude checks
Blank lines are not allowed in a multi-line function declaration Open
Open
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 0 Open
Open
* @var int Determine the type of timestamp.
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 0 Open
Open
*/
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 0 Open
Open
* Set this attribute to false if you do not want to record it and know whether the entity has been edited.
- Exclude checks
Blank lines are not allowed in a multi-line function declaration Open
Open
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 0 Open
Open
*/
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 0 Open
Open
*/
- Exclude checks
The first parameter of a multi-line function declaration must be on the line after the opening bracket Open
Open
public ?string $createdAtAttribute = 'created_at',
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 0 Open
Open
* @var int Determine the format of timestamp.
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 0 Open
Open
* Set this attribute to false if you do not want to record it and know whether the entity has been edited.
- Exclude checks
Blank lines are not allowed in a multi-line function declaration Open
Open
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 0 Open
Open
* @var string|false This attribute determines when the current entity expires.
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 0 Open
Open
* If not set, this function will not be enabled.
- Exclude checks
There must be a single space between the closing parenthesis and the opening brace of a multi-line function declaration; found 0 spaces Open
Open
){}
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 0 Open
Open
* @var string|false Specifies the attribute name that records the creation time.
- Exclude checks
Arguments with default values must be at the end of the argument list Open
Open
public int $timeType = 0,
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public ?string $updatedAtAttribute = 'updated_at',
- Exclude checks
Closing brace must be on a line by itself Open
Open
){}
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public ?string $createdAtAttribute = 'created_at',
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public int $timeType = 0,
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public ?string $expiredAfterAttribute = null,
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
}
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public int $timeFormat = 0,
- Exclude checks