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 ( e682e0...ff0450 )
by Odiseo
05:11
created

BlogArticleFixture::getName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 1
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Odiseo\SyliusBlogPlugin\Fixture;
6
7
use Sylius\Bundle\CoreBundle\Fixture\AbstractResourceFixture;
8
use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
9
10
final class BlogArticleFixture extends AbstractResourceFixture
11
{
12
    /**
13
     * {@inheritdoc}
14
     */
15
    protected function configureResourceNode(ArrayNodeDefinition $resourceNode): void
16
    {
17
        $resourceNode
18
            ->children()
19
            ->scalarNode('code')->cannotBeEmpty()->end()
20
            ->booleanNode('enabled')->end()
0 ignored issues
show
Bug introduced by
The method booleanNode() does not exist on Symfony\Component\Config...der\NodeParentInterface. It seems like you code against a sub-type of Symfony\Component\Config...der\NodeParentInterface such as Symfony\Component\Config...ion\Builder\NodeBuilder. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

20
            ->/** @scrutinizer ignore-call */ booleanNode('enabled')->end()
Loading history...
21
            ->arrayNode('channels')->scalarPrototype()->end()->end()
22
            ->arrayNode('categories')->scalarPrototype()->end()->end()
23
            ->scalarNode('title')->cannotBeEmpty()->end()
24
            ->scalarNode('content')->cannotBeEmpty()->end()
25
            ->scalarNode('slug')->cannotBeEmpty()->end()
26
            ->scalarNode('image')->end()
27
        ;
28
    }
29
30
    /**
31
     * {@inheritdoc}
32
     */
33
    public function getName(): string
34
    {
35
        return 'blog_article';
36
    }
37
}
38