sonata-project / SonataDoctrinePhpcrAdminBundle

Compare 90269dc ... +154 ... 07a9912

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 30 of 32 files from the diff.
Other files ignored by Codecov

@@ -52,7 +52,7 @@
Loading
52 52
     *
53 53
     * @throws \RuntimeException the QueryBuilder is uninitialized
54 54
     */
55 -
    public function init()
55 +
    public function init(): void
56 56
    {
57 57
        if (!$this->getQuery()) {
58 58
            throw new \RuntimeException('Uninitialized QueryBuilder');

@@ -52,7 +52,7 @@
Loading
52 52
    /**
53 53
     * {@inheritdoc}
54 54
     */
55 -
    public function addField(FieldDescriptionCollection $list, $type, FieldDescriptionInterface $fieldDescription, AdminInterface $admin)
55 +
    public function addField(FieldDescriptionCollection $list, $type, FieldDescriptionInterface $fieldDescription, AdminInterface $admin): void
56 56
    {
57 57
        if (null === $type) {
58 58
            $guessType = $this->guesser->guessType($admin->getClass(), $fieldDescription->getName(), $admin->getModelManager());
@@ -74,7 +74,7 @@
Loading
74 74
     *
75 75
     * @throws \RuntimeException if the $fieldDescription does not have a type
76 76
     */
77 -
    public function fixFieldDescription(AdminInterface $admin, FieldDescriptionInterface $fieldDescription)
77 +
    public function fixFieldDescription(AdminInterface $admin, FieldDescriptionInterface $fieldDescription): void
78 78
    {
79 79
        $fieldDescription->setAdmin($admin);
80 80

@@ -24,7 +24,7 @@
Loading
24 24
     *
25 25
     * {@inheritdoc}
26 26
     */
27 -
    public function build(AdminInterface $admin, RouteCollection $collection)
27 +
    public function build(AdminInterface $admin, RouteCollection $collection): void
28 28
    {
29 29
        $collection->add('list');
30 30
        $collection->add('create');

@@ -24,7 +24,7 @@
Loading
24 24
    /**
25 25
     * {@inheritdoc}
26 26
     */
27 -
    public function buildView(FormView $view, FormInterface $form, array $options)
27 +
    public function buildView(FormView $view, FormInterface $form, array $options): void
28 28
    {
29 29
        $view->vars['root'] = $options['root'];
30 30
        //$view->vars['create_in_overlay'] = $options['create_in_overlay'];
@@ -36,15 +36,15 @@
Loading
36 36
    /**
37 37
     * NEXT_MAJOR: remove this method.
38 38
     */
39 -
    public function setDefaultOptions(OptionsResolverInterface $resolver)
39 +
    public function setDefaultOptions(OptionsResolverInterface $resolver): void
40 40
    {
41 41
        $this->configureOptions($resolver);
42 42
    }
43 43
44 44
    /**
45 45
     * {@inheritdoc}
46 46
     */
47 -
    public function configureOptions(OptionsResolver $resolver)
47 +
    public function configureOptions(OptionsResolver $resolver): void
48 48
    {
49 49
        $resolver->setRequired(['root']);
50 50

@@ -28,7 +28,7 @@
Loading
28 28
     *
29 29
     * Add tagged sonata guessers to their respective builders.
30 30
     */
31 -
    public function process(ContainerBuilder $container)
31 +
    public function process(ContainerBuilder $container): void
32 32
    {
33 33
        // ListBuilder
34 34
        $definition = $container->getDefinition('sonata.admin.guesser.doctrine_phpcr_list_chain');

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Learn more Showing 1 files with coverage changes found.

Changes in src/Model/ModelManager.php
-6
+6
Loading file...

156 Commits

Hiding 5 contexual commits
+25
-29
+54
Hiding 1 contexual commits
-25
-27
+2
+18
+18
-23
+1
-24
Hiding 84 contexual commits
+3
+29
-26
Files Complexity Coverage
src ø -0.54% 52.96%
Project Totals (38 files) 493 52.96%
Loading