sonata-project / SonataClassificationBundle
Showing 13 of 23 files from the diff.

@@ -22,10 +22,7 @@
Loading
22 22
use Symfony\Component\Console\Input\InputInterface;
23 23
use Symfony\Component\Console\Output\OutputInterface;
24 24
25 -
/**
26 -
 * @final since sonata-project/classification-bundle 3.x
27 -
 */
28 -
class FixContextCommand extends Command
25 +
final class FixContextCommand extends Command
29 26
{
30 27
    protected static $defaultName = 'sonata:classification:fix-context';
31 28
    protected static $defaultDescription = 'Generate the default context if none defined and attach the context to all elements';

@@ -17,10 +17,7 @@
Loading
17 17
use Sonata\ClassificationBundle\Model\CollectionManagerInterface;
18 18
use Sonata\Doctrine\Entity\BaseEntityManager;
19 19
20 -
/**
21 -
 * @final since sonata-project/classification-bundle 3.x
22 -
 */
23 -
class CollectionManager extends BaseEntityManager implements CollectionManagerInterface
20 +
final class CollectionManager extends BaseEntityManager implements CollectionManagerInterface
24 21
{
25 22
    public function getBySlug(string $slug, $context = null, ?bool $enabled = true): ?CollectionInterface
26 23
    {

@@ -17,10 +17,7 @@
Loading
17 17
use Sonata\ClassificationBundle\Model\TagManagerInterface;
18 18
use Sonata\Doctrine\Entity\BaseEntityManager;
19 19
20 -
/**
21 -
 * @final since sonata-project/classification-bundle 3.x
22 -
 */
23 -
class TagManager extends BaseEntityManager implements TagManagerInterface
20 +
final class TagManager extends BaseEntityManager implements TagManagerInterface
24 21
{
25 22
    public function getBySlug(string $slug, $context = null, ?bool $enabled = true): ?TagInterface
26 23
    {

@@ -26,10 +26,8 @@
Loading
26 26
 * Select a category.
27 27
 *
28 28
 * @author Thomas Rabaix <thomas.rabaix@sonata-project.org>
29 -
 *
30 -
 * @final since sonata-project/classification-bundle 3.x
31 29
 */
32 -
class CategorySelectorType extends AbstractType
30 +
final class CategorySelectorType extends AbstractType
33 31
{
34 32
    /**
35 33
     * @var CategoryManagerInterface

@@ -22,10 +22,7 @@
Loading
22 22
use Sonata\DoctrineMongoDBAdminBundle\Datagrid\Pager;
23 23
use Sonata\DoctrineMongoDBAdminBundle\Datagrid\ProxyQuery;
24 24
25 -
/**
26 -
 * @final since sonata-project/classification-bundle 3.x
27 -
 */
28 -
class CategoryManager extends BaseDocumentManager implements CategoryManagerInterface
25 +
final class CategoryManager extends BaseDocumentManager implements CategoryManagerInterface
29 26
{
30 27
    /**
31 28
     * @var array<string, CategoryInterface[]>

@@ -19,10 +19,7 @@
Loading
19 19
use Sonata\AdminBundle\Form\FormMapper;
20 20
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
21 21
22 -
/**
23 -
 * @final since sonata-project/classification-bundle 3.x
24 -
 */
25 -
class ContextAdmin extends AbstractAdmin
22 +
final class ContextAdmin extends AbstractAdmin
26 23
{
27 24
    protected $classnameLabel = 'Context';
28 25

@@ -20,10 +20,7 @@
Loading
20 20
use Symfony\Component\Form\Extension\Core\Type\TextareaType;
21 21
use Symfony\Component\Validator\Constraints\Valid;
22 22
23 -
/**
24 -
 * @final since sonata-project/classification-bundle 3.x
25 -
 */
26 -
class CollectionAdmin extends ContextAwareAdmin
23 +
final class CollectionAdmin extends ContextAwareAdmin
27 24
{
28 25
    protected $classnameLabel = 'Collection';
29 26

@@ -23,10 +23,7 @@
Loading
23 23
use Symfony\Component\Form\Extension\Core\Type\TextareaType;
24 24
use Symfony\Component\Validator\Constraints\Valid;
25 25
26 -
/**
27 -
 * @final since sonata-project/classification-bundle 3.x
28 -
 */
29 -
class CategoryAdmin extends ContextAwareAdmin
26 +
final class CategoryAdmin extends ContextAwareAdmin
30 27
{
31 28
    protected $classnameLabel = 'Category';
32 29

@@ -24,10 +24,8 @@
Loading
24 24
 * Category Admin Controller.
25 25
 *
26 26
 * @author Thomas Rabaix <thomas.rabaix@sonata-project.org>
27 -
 *
28 -
 * @final since sonata-project/classification-bundle 3.x
29 27
 */
30 -
class CategoryAdminController extends Controller
28 +
final class CategoryAdminController extends Controller
31 29
{
32 30
    public static function getSubscribedServices(): array
33 31
    {

@@ -25,10 +25,8 @@
Loading
25 25
 * SonataClassificationBundleExtension.
26 26
 *
27 27
 * @author Thomas Rabaix <thomas.rabaix@sonata-project.org>
28 -
 *
29 -
 * @final since sonata-project/classification-bundle 3.x
30 28
 */
31 -
class SonataClassificationExtension extends Extension
29 +
final class SonataClassificationExtension extends Extension
32 30
{
33 31
    /**
34 32
     * @throws \InvalidArgumentException

@@ -18,10 +18,7 @@
Loading
18 18
use Sonata\AdminBundle\Form\FormMapper;
19 19
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
20 20
21 -
/**
22 -
 * @final since sonata-project/classification-bundle 3.x
23 -
 */
24 -
class TagAdmin extends ContextAwareAdmin
21 +
final class TagAdmin extends ContextAwareAdmin
25 22
{
26 23
    protected $classnameLabel = 'Tag';
27 24

@@ -23,10 +23,7 @@
Loading
23 23
use Sonata\DoctrineORMAdminBundle\Datagrid\Pager;
24 24
use Sonata\DoctrineORMAdminBundle\Datagrid\ProxyQuery;
25 25
26 -
/**
27 -
 * @final since sonata-project/classification-bundle 3.x
28 -
 */
29 -
class CategoryManager extends BaseEntityManager implements CategoryManagerInterface
26 +
final class CategoryManager extends BaseEntityManager implements CategoryManagerInterface
30 27
{
31 28
    /**
32 29
     * @var array

@@ -26,10 +26,8 @@
Loading
26 26
 * This is the class that validates and merges configuration from your app/config files.
27 27
 *
28 28
 * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}
29 -
 *
30 -
 * @final since sonata-project/classification-bundle 3.x
31 29
 */
32 -
class Configuration implements ConfigurationInterface
30 +
final class Configuration implements ConfigurationInterface
33 31
{
34 32
    public function getConfigTreeBuilder()
35 33
    {
Files Complexity Coverage
src 336 49.63%
Project Totals (31 files) 336 49.63%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading