Skip to content

Commit

Permalink
refer mix-up of license MIT formats/missing ones to single file in th…
Browse files Browse the repository at this point in the history
…e root directory
  • Loading branch information
TomasVotruba committed Dec 10, 2019
1 parent 5d059ec commit 3d662d4
Show file tree
Hide file tree
Showing 38 changed files with 7 additions and 320 deletions.
3 changes: 3 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
The MIT License
---------------

Copyright (c) KnpLabs

Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,6 @@ trait TranslatableTrait
{
use Translatable;

/**
* @inheritdoc
*/
public static function getTranslationEntityClass()
{
$explodedNamespace = explode('\\', __CLASS__);
Expand All @@ -337,9 +334,6 @@ trait TranslationTrait
{
use Translation;

/**
* @inheritdoc
*/
public static function getTranslatableEntityClass()
{
$explodedNamespace = explode('\\', __CLASS__);
Expand Down
4 changes: 4 additions & 0 deletions ecs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ parameters:
PhpCsFixer\Fixer\Operator\UnaryOperatorSpacesFixer: null

services:
# see single LICENSE.txt file in the root directory
PhpCsFixer\Fixer\Comment\HeaderCommentFixer:
header: ''

PhpCsFixer\Fixer\Phpdoc\GeneralPhpdocAnnotationRemoveFixer:
annotations:
- 'author'
Expand Down
9 changes: 0 additions & 9 deletions src/Model/Blameable/Blameable.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

declare(strict_types=1);

/**
* This file is part of the KnpDoctrineBehaviors package.
*
* (c) KnpLabs <http://knplabs.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Knp\DoctrineBehaviors\Model\Blameable;

trait Blameable
Expand Down
9 changes: 0 additions & 9 deletions src/Model/Blameable/BlameableMethods.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

declare(strict_types=1);

/**
* This file is part of the KnpDoctrineBehaviors package.
*
* (c) KnpLabs <http://knplabs.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Knp\DoctrineBehaviors\Model\Blameable;

trait BlameableMethods
Expand Down
9 changes: 0 additions & 9 deletions src/Model/Blameable/BlameableProperties.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

declare(strict_types=1);

/**
* This file is part of the KnpDoctrineBehaviors package.
*
* (c) KnpLabs <http://knplabs.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Knp\DoctrineBehaviors\Model\Blameable;

trait BlameableProperties
Expand Down
9 changes: 0 additions & 9 deletions src/Model/Geocodable/Geocodable.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

declare(strict_types=1);

/**
* This file is part of the KnpDoctrineBehaviors package.
*
* (c) KnpLabs <http://knplabs.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Knp\DoctrineBehaviors\Model\Geocodable;

trait Geocodable
Expand Down
9 changes: 0 additions & 9 deletions src/Model/Geocodable/GeocodableMethods.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

declare(strict_types=1);

/**
* This file is part of the KnpDoctrineBehaviors package.
*
* (c) KnpLabs <http://knplabs.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Knp\DoctrineBehaviors\Model\Geocodable;

use Knp\DoctrineBehaviors\ORM\Geocodable\Type\Point;
Expand Down
9 changes: 0 additions & 9 deletions src/Model/Geocodable/GeocodableProperties.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

declare(strict_types=1);

/**
* This file is part of the KnpDoctrineBehaviors package.
*
* (c) KnpLabs <http://knplabs.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Knp\DoctrineBehaviors\Model\Geocodable;

trait GeocodableProperties
Expand Down
9 changes: 0 additions & 9 deletions src/Model/Loggable/Loggable.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

declare(strict_types=1);

/**
* This file is part of the KnpDoctrineBehaviors package.
*
* (c) KnpLabs <http://knplabs.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Knp\DoctrineBehaviors\Model\Loggable;

trait Loggable
Expand Down
9 changes: 0 additions & 9 deletions src/Model/SoftDeletable/SoftDeletable.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

declare(strict_types=1);

/*
* This file is part of the KnpDoctrineBehaviors package.
*
* (c) KnpLabs <http://knplabs.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Knp\DoctrineBehaviors\Model\SoftDeletable;

trait SoftDeletable
Expand Down
9 changes: 0 additions & 9 deletions src/Model/SoftDeletable/SoftDeletableMethods.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

declare(strict_types=1);

/*
* This file is part of the KnpDoctrineBehaviors package.
*
* (c) KnpLabs <http://knplabs.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Knp\DoctrineBehaviors\Model\SoftDeletable;

trait SoftDeletableMethods
Expand Down
9 changes: 0 additions & 9 deletions src/Model/SoftDeletable/SoftDeletableProperties.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

declare(strict_types=1);

/*
* This file is part of the KnpDoctrineBehaviors package.
*
* (c) KnpLabs <http://knplabs.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Knp\DoctrineBehaviors\Model\SoftDeletable;

trait SoftDeletableProperties
Expand Down
9 changes: 0 additions & 9 deletions src/Model/Timestampable/Timestampable.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

declare(strict_types=1);

/*
* This file is part of the KnpDoctrineBehaviors package.
*
* (c) KnpLabs <http://knplabs.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Knp\DoctrineBehaviors\Model\Timestampable;

/**
Expand Down
9 changes: 0 additions & 9 deletions src/Model/Timestampable/TimestampableMethods.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

declare(strict_types=1);

/*
* This file is part of the KnpDoctrineBehaviors package.
*
* (c) KnpLabs <http://knplabs.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Knp\DoctrineBehaviors\Model\Timestampable;

trait TimestampableMethods
Expand Down
9 changes: 0 additions & 9 deletions src/Model/Timestampable/TimestampableProperties.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

declare(strict_types=1);

/*
* This file is part of the KnpDoctrineBehaviors package.
*
* (c) KnpLabs <http://knplabs.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Knp\DoctrineBehaviors\Model\Timestampable;

trait TimestampableProperties
Expand Down
9 changes: 0 additions & 9 deletions src/Model/Translatable/Translatable.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

declare(strict_types=1);

/*
* This file is part of the KnpDoctrineBehaviors package.
*
* (c) KnpLabs <http://knplabs.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Knp\DoctrineBehaviors\Model\Translatable;

trait Translatable
Expand Down
9 changes: 0 additions & 9 deletions src/Model/Translatable/TranslatableMethods.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

declare(strict_types=1);

/*
* This file is part of the KnpDoctrineBehaviors package.
*
* (c) KnpLabs <http://knplabs.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Knp\DoctrineBehaviors\Model\Translatable;

use Doctrine\Common\Collections\ArrayCollection;
Expand Down
9 changes: 0 additions & 9 deletions src/Model/Translatable/TranslatableProperties.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

declare(strict_types=1);

/*
* This file is part of the KnpDoctrineBehaviors package.
*
* (c) KnpLabs <http://knplabs.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Knp\DoctrineBehaviors\Model\Translatable;

trait TranslatableProperties
Expand Down
9 changes: 0 additions & 9 deletions src/Model/Translatable/Translation.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

declare(strict_types=1);

/*
* This file is part of the KnpDoctrineBehaviors package.
*
* (c) KnpLabs <http://knplabs.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Knp\DoctrineBehaviors\Model\Translatable;

trait Translation
Expand Down
9 changes: 0 additions & 9 deletions src/Model/Translatable/TranslationMethods.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

declare(strict_types=1);

/*
* This file is part of the KnpDoctrineBehaviors package.
*
* (c) KnpLabs <http://knplabs.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Knp\DoctrineBehaviors\Model\Translatable;

trait TranslationMethods
Expand Down
9 changes: 0 additions & 9 deletions src/Model/Translatable/TranslationProperties.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

declare(strict_types=1);

/*
* This file is part of the KnpDoctrineBehaviors package.
*
* (c) KnpLabs <http://knplabs.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Knp\DoctrineBehaviors\Model\Translatable;

trait TranslationProperties
Expand Down
9 changes: 0 additions & 9 deletions src/Model/Tree/Node.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

declare(strict_types=1);

/**
* This file is part of the KnpDoctrineBehaviors package.
*
* (c) KnpLabs <http://knplabs.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Knp\DoctrineBehaviors\Model\Tree;

use Doctrine\Common\Collections\ArrayCollection;
Expand Down
9 changes: 0 additions & 9 deletions src/ORM/AbstractSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

declare(strict_types=1);

/**
* This file is part of the KnpDoctrineBehaviors package.
*
* (c) KnpLabs <http://knplabs.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Knp\DoctrineBehaviors\ORM;

use Doctrine\Common\EventSubscriber;
Expand Down
9 changes: 0 additions & 9 deletions src/ORM/Blameable/BlameableSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

declare(strict_types=1);

/**
* This file is part of the KnpDoctrineBehaviors package.
*
* (c) KnpLabs <http://knplabs.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Knp\DoctrineBehaviors\ORM\Blameable;

use Doctrine\Common\Persistence\Mapping\ClassMetadata;
Expand Down
Loading

0 comments on commit 3d662d4

Please sign in to comment.