Skip to content

Commit

Permalink
ws
Browse files Browse the repository at this point in the history
  • Loading branch information
ubermichael committed May 20, 2021
1 parent 0f7782f commit d0f615e
Show file tree
Hide file tree
Showing 193 changed files with 218 additions and 433 deletions.
3 changes: 1 addition & 2 deletions BlogBundle/Controller/PageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
*
* @Route("/page")
*/
class PageController extends AbstractController implements PaginatorAwareInterface
{
class PageController extends AbstractController implements PaginatorAwareInterface {
use PaginatorTrait;

/**
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/Controller/PostCategoryController.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
*
* @Route("/post_category")
*/
class PostCategoryController extends AbstractController implements PaginatorAwareInterface
{
class PostCategoryController extends AbstractController implements PaginatorAwareInterface {
use PaginatorTrait;

/**
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/Controller/PostController.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@
*
* @Route("/post")
*/
class PostController extends AbstractController implements PaginatorAwareInterface
{
class PostController extends AbstractController implements PaginatorAwareInterface {
use PaginatorTrait;

/**
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/Controller/PostStatusController.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
* @IsGranted("ROLE_USER")
* @Route("/post_status")
*/
class PostStatusController extends AbstractController implements PaginatorAwareInterface
{
class PostStatusController extends AbstractController implements PaginatorAwareInterface {
use PaginatorTrait;

/**
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/DataFixtures/PageFixtures.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
use Nines\BlogBundle\Entity\Page;
use Nines\UserBundle\DataFixtures\UserFixtures;

class PageFixtures extends Fixture implements DependentFixtureInterface, FixtureGroupInterface
{
class PageFixtures extends Fixture implements DependentFixtureInterface, FixtureGroupInterface {
/**
* {@inheritdoc}
*/
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/DataFixtures/PostCategoryFixtures.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
/**
* Load some users for unit tests.
*/
class PostCategoryFixtures extends Fixture implements FixtureGroupInterface
{
class PostCategoryFixtures extends Fixture implements FixtureGroupInterface {
/**
* {@inheritdoc}
*/
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/DataFixtures/PostFixtures.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
use Nines\BlogBundle\Entity\Post;
use Nines\UserBundle\DataFixtures\UserFixtures;

class PostFixtures extends Fixture implements DependentFixtureInterface, FixtureGroupInterface
{
class PostFixtures extends Fixture implements DependentFixtureInterface, FixtureGroupInterface {
/**
* {@inheritdoc}
*/
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/DataFixtures/PostStatusFixtures.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
/**
* Load some users for unit tests.
*/
class PostStatusFixtures extends Fixture implements FixtureGroupInterface
{
class PostStatusFixtures extends Fixture implements FixtureGroupInterface {
/**
* {@inheritdoc}
*/
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
*
* To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/configuration.html}
*/
class Configuration implements ConfigurationInterface
{
class Configuration implements ConfigurationInterface {
/**
* {@inheritdoc}
*/
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/DependencyInjection/NinesBlogExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
*
* @see http://symfony.com/doc/current/cookbook/bundles/extension.html
*/
class NinesBlogExtension extends Extension
{
class NinesBlogExtension extends Extension {
/**
* {@inheritdoc}
*/
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/Entity/Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
* @ORM\Entity(repositoryClass="Nines\BlogBundle\Repository\PageRepository")
* @ORM\HasLifecycleCallbacks
*/
class Page extends AbstractEntity implements ContentEntityInterface
{
class Page extends AbstractEntity implements ContentEntityInterface {
use ContentExcerptTrait;

/**
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/Entity/Post.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
* @ORM\Entity(repositoryClass="Nines\BlogBundle\Repository\PostRepository")
* @ORM\HasLifecycleCallbacks
*/
class Post extends AbstractEntity implements ContentEntityInterface
{
class Post extends AbstractEntity implements ContentEntityInterface {
use ContentExcerptTrait;

/**
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/Entity/PostCategory.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
* @ORM\Table(name="blog_post_category")
* @ORM\Entity(repositoryClass="Nines\BlogBundle\Repository\PostCategoryRepository")
*/
class PostCategory extends AbstractTerm
{
class PostCategory extends AbstractTerm {
/**
* Posts in the category.
*
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/Entity/PostStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
* @ORM\Table(name="blog_post_status")
* @ORM\Entity(repositoryClass="Nines\BlogBundle\Repository\PostStatusRepository")
*/
class PostStatus extends AbstractTerm
{
class PostStatus extends AbstractTerm {
/**
* True if the status is meant to be public.
*
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/Form/PageType.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
/**
* PageType form.
*/
class PageType extends AbstractType
{
class PageType extends AbstractType {
/**
* Add form fields to $builder.
*/
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/Form/PostCategoryType.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
/**
* PostCategoryType form.
*/
class PostCategoryType extends TermType
{
class PostCategoryType extends TermType {
/**
* Define options for the form.
*/
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/Form/PostStatusType.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
/**
* PostStatusType form.
*/
class PostStatusType extends TermType
{
class PostStatusType extends TermType {
/**
* Add form fields to $builder.
*/
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/Form/PostType.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
/**
* PostType form.
*/
class PostType extends AbstractType
{
class PostType extends AbstractType {
/**
* Add form fields to $builder.
*/
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/Menu/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
/**
* Class to build some menus for navigation.
*/
class Builder implements ContainerAwareInterface
{
class Builder implements ContainerAwareInterface {
use ContainerAwareTrait;

/**
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/Migrations/Version20210224223823.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20210224223823 extends AbstractMigration
{
final class Version20210224223823 extends AbstractMigration {
public function getDescription() : string {
return '';
}
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/NinesBlogBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@

use Symfony\Component\HttpKernel\Bundle\Bundle;

class NinesBlogBundle extends Bundle
{
class NinesBlogBundle extends Bundle {
}
3 changes: 1 addition & 2 deletions BlogBundle/Repository/PageRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
/**
* PageRepository.
*/
class PageRepository extends ServiceEntityRepository
{
class PageRepository extends ServiceEntityRepository {
public function __construct(ManagerRegistry $registry) {
parent::__construct($registry, Page::class);
}
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/Repository/PostCategoryRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
/**
* PostCategoryRepository.
*/
class PostCategoryRepository extends ServiceEntityRepository
{
class PostCategoryRepository extends ServiceEntityRepository {
public function __construct(ManagerRegistry $registry) {
parent::__construct($registry, PostCategory::class);
}
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/Repository/PostRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class PostRepository extends ServiceEntityRepository
{
class PostRepository extends ServiceEntityRepository {
public function __construct(ManagerRegistry $registry) {
parent::__construct($registry, Post::class);
}
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/Repository/PostStatusRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
/**
* PostStatusRepository.
*/
class PostStatusRepository extends ServiceEntityRepository
{
class PostStatusRepository extends ServiceEntityRepository {
public function __construct(ManagerRegistry $registry) {
parent::__construct($registry, PostStatus::class);
}
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/Tests/Controller/PageControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
use Nines\UserBundle\DataFixtures\UserFixtures;
use Nines\UtilBundle\Tests\ControllerBaseCase;

class PageControllerTest extends ControllerBaseCase
{
class PageControllerTest extends ControllerBaseCase {
protected function fixtures() : array {
return [
UserFixtures::class,
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/Tests/Controller/PostCategoryControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
use Nines\UserBundle\DataFixtures\UserFixtures;
use Nines\UtilBundle\Tests\ControllerBaseCase;

class PostCategoryControllerTest extends ControllerBaseCase
{
class PostCategoryControllerTest extends ControllerBaseCase {
protected function fixtures() : array {
return [
UserFixtures::class,
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/Tests/Controller/PostControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
use Nines\UserBundle\DataFixtures\UserFixtures;
use Nines\UtilBundle\Tests\ControllerBaseCase;

class PostControllerTest extends ControllerBaseCase
{
class PostControllerTest extends ControllerBaseCase {
protected function fixtures() : array {
return [
UserFixtures::class,
Expand Down
3 changes: 1 addition & 2 deletions BlogBundle/Tests/Controller/PostStatusControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
use Nines\UserBundle\Entity\User;
use Nines\UtilBundle\Tests\ControllerBaseCase;

class PostStatusControllerTest extends ControllerBaseCase
{
class PostStatusControllerTest extends ControllerBaseCase {
protected function fixtures() : array {
return [
UserFixtures::class,
Expand Down
3 changes: 1 addition & 2 deletions DublinCoreBundle/Controller/ElementController.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@
* @Route("/element")
* @IsGranted("ROLE_USER")
*/
class ElementController extends AbstractController implements PaginatorAwareInterface
{
class ElementController extends AbstractController implements PaginatorAwareInterface {
use PaginatorTrait;

/**
Expand Down
3 changes: 1 addition & 2 deletions DublinCoreBundle/DataFixtures/ElementFixtures.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
use Doctrine\Persistence\ObjectManager;
use Nines\DublinCoreBundle\Entity\Element;

class ElementFixtures extends Fixture implements FixtureGroupInterface
{
class ElementFixtures extends Fixture implements FixtureGroupInterface {
private function getData() {
return [
[
Expand Down
3 changes: 1 addition & 2 deletions DublinCoreBundle/DataFixtures/TermFixtures.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
use Doctrine\Persistence\ObjectManager;
use Nines\DublinCoreBundle\Entity\Element;

class TermFixtures extends Fixture implements FixtureGroupInterface
{
class TermFixtures extends Fixture implements FixtureGroupInterface {
public const URI_PFX = 'http://purl.org/dc/terms/';

public const NAME_PFX = 'dcterms_';
Expand Down
3 changes: 1 addition & 2 deletions DublinCoreBundle/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
*
* To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/configuration.html}
*/
class Configuration implements ConfigurationInterface
{
class Configuration implements ConfigurationInterface {
/**
* {@inheritdoc}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
*
* @see http://symfony.com/doc/current/cookbook/bundles/extension.html
*/
class NinesDublinCoreExtension extends Extension
{
class NinesDublinCoreExtension extends Extension {
/**
* {@inheritdoc}
*/
Expand Down
3 changes: 1 addition & 2 deletions DublinCoreBundle/Entity/AbstractField.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
*
* @ORM\MappedSuperclass
*/
abstract class AbstractField extends AbstractEntity
{
abstract class AbstractField extends AbstractEntity {
/**
* @var string
* @ORM\Column(type="text")
Expand Down
3 changes: 1 addition & 2 deletions DublinCoreBundle/Entity/Element.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
* }),
* @ORM\Entity(repositoryClass="Nines\DublinCoreBundle\Repository\ElementRepository")
*/
class Element extends AbstractTerm
{
class Element extends AbstractTerm {
/**
* @var string
* @ORM\Column(type="string", length=190, nullable=false)
Expand Down
3 changes: 1 addition & 2 deletions DublinCoreBundle/Form/ElementType.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
/**
* ElementType form.
*/
class ElementType extends TermType
{
class ElementType extends TermType {
/**
* Add form fields to $builder.
*/
Expand Down
3 changes: 1 addition & 2 deletions DublinCoreBundle/Menu/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
/**
* Class to build some menus for navigation.
*/
class Builder implements ContainerAwareInterface
{
class Builder implements ContainerAwareInterface {
use ContainerAwareTrait;

/**
Expand Down
3 changes: 1 addition & 2 deletions DublinCoreBundle/NinesDublinCoreBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@

use Symfony\Component\HttpKernel\Bundle\Bundle;

class NinesDublinCoreBundle extends Bundle
{
class NinesDublinCoreBundle extends Bundle {
}
3 changes: 1 addition & 2 deletions DublinCoreBundle/Repository/ElementRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class ElementRepository extends ServiceEntityRepository
{
class ElementRepository extends ServiceEntityRepository {
public function __construct(ManagerRegistry $registry) {
parent::__construct($registry, Element::class);
}
Expand Down
Loading

0 comments on commit d0f615e

Please sign in to comment.