GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( b32962...ad35b5 )
by Christian
02:31
created

src/Type/DateTimePickerType.php (1 issue)

Labels
Severity
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * (c) Christian Gripp <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Core23\Form\Type;
13
14
use Sonata\Form\Type\DateTimePickerType as BaseDateTimePickerType;
0 ignored issues
show
The type Sonata\Form\Type\DateTimePickerType was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
15
use Symfony\Component\OptionsResolver\OptionsResolver;
16
17
final class DateTimePickerType extends BaseDateTimePickerType
18
{
19
    /**
20
     * {@inheritdoc}
21
     */
22
    public function configureOptions(OptionsResolver $resolver): void
23
    {
24
        parent::configureOptions($resolver);
25
26
        $resolver->setDefaults([
27
            'dp_side_by_side' => true,
28
        ]);
29
    }
30
31
    /**
32
     * {@inheritdoc}
33
     */
34
    public function getBlockPrefix()
35
    {
36
        return 'core23_type_datetime_picker';
37
    }
38
39
    /**
40
     * {@inheritdoc}
41
     */
42
    public function getParent()
43
    {
44
        return BaseDateTimePickerType::class;
45
    }
46
}
47