Completed
Push — 1.0-inceneev-composer-paramete... ( b90d91 )
by Kamil
51:25 queued 27:47
created

SyliusPluginTraitTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A it_does_not_crash() 0 6 1
1
<?php
2
3
/*
4
 * This file is part of the Sylius package.
5
 *
6
 * (c) Paweł Jędrzejewski
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
declare(strict_types=1);
13
14
namespace Sylius\Bundle\CoreBundle\Tests\Application;
15
16
use PHPUnit\Framework\TestCase;
17
use Sylius\Bundle\CoreBundle\Application\SyliusPluginTrait;
18
use Symfony\Component\HttpKernel\Bundle\Bundle;
19
20
final class SyliusPluginTraitTest extends TestCase
21
{
22
    /**
23
     * @test
24
     */
25
    public function it_does_not_crash(): void
26
    {
27
        new class() extends Bundle {
0 ignored issues
show
Coding Style introduced by
anonymous//src/Sylius/Bu...usPluginTraitTest.php$0 does not seem to conform to the naming convention (^[A-Z][a-zA-Z0-9]*$).

This check examines a number of code elements and verifies that they conform to the given naming conventions.

You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.

Loading history...
Bug introduced by
There is at least one abstract method in this class. Maybe declare it as abstract, or implement the remaining methods: createContainerExtension, getName, getNamespace
Loading history...
28
            use SyliusPluginTrait;
29
        };
30
    }
31
}
32