* use php-cs-fixer instead of phpcodesniffer * updated scrutinizer config * adjusted code yules to all files * updated CONTRIBUTING guidelines
This commit is contained in:
@@ -25,7 +25,6 @@ use App\Repository\ActivityRepository;
|
||||
*/
|
||||
class TimesheetEditForm extends AbstractType
|
||||
{
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
@@ -39,7 +38,7 @@ class TimesheetEditForm extends AbstractType
|
||||
$activity = $entry->getActivity();
|
||||
}
|
||||
|
||||
if ($entry->getEnd() === null || !$options['duration_only']) {
|
||||
if (null === $entry->getEnd() || !$options['duration_only']) {
|
||||
$builder->add('begin', DateTimeType::class, [
|
||||
'label' => 'label.begin',
|
||||
'widget' => 'single_text',
|
||||
|
||||
Reference in New Issue
Block a user