Passed
Push — master ( b32962...ad35b5 )
by Christian
02:31
created

src/Type/DatePickerType.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\DatePickerType as BaseDatePickerType;
0 ignored issues
show
The type Sonata\Form\Type\DatePickerType 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
16
final class DatePickerType extends BaseDatePickerType
17
{
18
    /**
19
     * {@inheritdoc}
20
     */
21
    public function getBlockPrefix()
22
    {
23
        return 'core23_type_date_picker';
24
    }
25
26
    /**
27
     * {@inheritdoc}
28
     */
29
    public function getParent()
30
    {
31
        return BaseDatePickerType::class;
32
    }
33
}
34