Skip to content

Commit b51694f

Browse files
committed
LGPL => MIT license
1 parent 36b376e commit b51694f

File tree

84 files changed

+164
-647
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+164
-647
lines changed

LICENSE

+19-502
Large diffs are not rendered by default.

lib/Doctrine/ODM/MongoDB/Configuration.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1414
*
1515
* This software consists of voluntary contributions made by many individuals
16-
* and is licensed under the LGPL. For more information, see
16+
* and is licensed under the MIT license. For more information, see
1717
* <http://www.doctrine-project.org>.
1818
*/
1919

@@ -332,4 +332,4 @@ public function setDefaultCommitOptions($defaultCommitOptions)
332332
{
333333
$this->attributes['defaultCommitOptions'] = $defaultCommitOptions;
334334
}
335-
}
335+
}

lib/Doctrine/ODM/MongoDB/Cursor.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1414
*
1515
* This software consists of voluntary contributions made by many individuals
16-
* and is licensed under the LGPL. For more information, see
16+
* and is licensed under the MIT license. For more information, see
1717
* <http://www.doctrine-project.org>.
1818
*/
1919

@@ -181,4 +181,4 @@ public function sort($fields)
181181
$fields = parent::sort($fields);
182182
return $this;
183183
}
184-
}
184+
}

lib/Doctrine/ODM/MongoDB/DocumentManager.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1414
*
1515
* This software consists of voluntary contributions made by many individuals
16-
* and is licensed under the LGPL. For more information, see
16+
* and is licensed under the MIT license. For more information, see
1717
* <http://www.doctrine-project.org>.
1818
*/
1919

lib/Doctrine/ODM/MongoDB/DocumentNotFoundException.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1414
*
1515
* This software consists of voluntary contributions made by many individuals
16-
* and is licensed under the LGPL. For more information, see
16+
* and is licensed under the MIT license. For more information, see
1717
* <http://www.doctrine-project.org>.
1818
*/
1919

@@ -34,4 +34,4 @@ public static function documentNotFound($className, $identifier)
3434
{
3535
return new self(sprintf('The "%s" document with identifier "%s" could not be found.', $className, $identifier));
3636
}
37-
}
37+
}

lib/Doctrine/ODM/MongoDB/DocumentRepository.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1414
*
1515
* This software consists of voluntary contributions made by many individuals
16-
* and is licensed under the LGPL. For more information, see
16+
* and is licensed under the MIT license. For more information, see
1717
* <http://www.doctrine-project.org>.
1818
*/
1919

lib/Doctrine/ODM/MongoDB/EagerCursor.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1414
*
1515
* This software consists of voluntary contributions made by many individuals
16-
* and is licensed under the LGPL. For more information, see
16+
* and is licensed under the MIT license. For more information, see
1717
* <http://www.doctrine-project.org>.
1818
*/
1919

@@ -223,4 +223,4 @@ public function slaveOkay($okay = true)
223223
$this->cursor->slaveOkay($okay);
224224
return $this;
225225
}
226-
}
226+
}

lib/Doctrine/ODM/MongoDB/Event/LifecycleEventArgs.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1414
*
1515
* This software consists of voluntary contributions made by many individuals
16-
* and is licensed under the LGPL. For more information, see
16+
* and is licensed under the MIT license. For more information, see
1717
* <http://www.doctrine-project.org>.
1818
*/
1919

@@ -61,4 +61,4 @@ public function getDocumentManager()
6161
{
6262
return $this->dm;
6363
}
64-
}
64+
}

lib/Doctrine/ODM/MongoDB/Event/LoadClassMetadataEventArgs.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1414
*
1515
* This software consists of voluntary contributions made by many individuals
16-
* and is licensed under the LGPL. For more information, see
16+
* and is licensed under the MIT license. For more information, see
1717
* <http://www.doctrine-project.org>.
1818
*/
1919

lib/Doctrine/ODM/MongoDB/Event/OnClearEventArgs.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1414
*
1515
* This software consists of voluntary contributions made by many individuals
16-
* and is licensed under the LGPL. For more information, see
16+
* and is licensed under the MIT license. For more information, see
1717
* <http://www.doctrine-project.org>.
1818
*/
1919

@@ -82,4 +82,4 @@ public function clearsAllDocuments()
8282
{
8383
return ($this->documentClass === null);
8484
}
85-
}
85+
}

lib/Doctrine/ODM/MongoDB/Event/OnFlushEventArgs.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1616
*
1717
* This software consists of voluntary contributions made by many individuals
18-
* and is licensed under the LGPL. For more information, see
18+
* and is licensed under the MIT license. For more information, see
1919
* <http://www.doctrine-project.org>.
2020
*/
2121

@@ -51,4 +51,4 @@ public function getDocumentManager()
5151
{
5252
return $this->dm;
5353
}
54-
}
54+
}

lib/Doctrine/ODM/MongoDB/Event/PostFlushEventArgs.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1616
*
1717
* This software consists of voluntary contributions made by many individuals
18-
* and is licensed under the LGPL. For more information, see
18+
* and is licensed under the MIT license. For more information, see
1919
* <http://www.doctrine-project.org>.
2020
*/
2121

@@ -59,4 +59,4 @@ public function getDocumentManager()
5959
{
6060
return $this->dm;
6161
}
62-
}
62+
}

lib/Doctrine/ODM/MongoDB/Event/PreFlushEventArgs.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1616
*
1717
* This software consists of voluntary contributions made by many individuals
18-
* and is licensed under the LGPL. For more information, see
18+
* and is licensed under the MIT license. For more information, see
1919
* <http://www.doctrine-project.org>.
2020
*/
2121

@@ -51,4 +51,4 @@ public function getDocumentManager()
5151
{
5252
return $this->dm;
5353
}
54-
}
54+
}

lib/Doctrine/ODM/MongoDB/Event/PreLoadEventArgs.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1414
*
1515
* This software consists of voluntary contributions made by many individuals
16-
* and is licensed under the LGPL. For more information, see
16+
* and is licensed under the MIT license. For more information, see
1717
* <http://www.doctrine-project.org>.
1818
*/
1919

@@ -76,4 +76,4 @@ public function &getData()
7676
{
7777
return $data;
7878
}
79-
}
79+
}

lib/Doctrine/ODM/MongoDB/Event/PreUpdateEventArgs.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1414
*
1515
* This software consists of voluntary contributions made by many individuals
16-
* and is licensed under the LGPL. For more information, see
16+
* and is licensed under the MIT license. For more information, see
1717
* <http://www.doctrine-project.org>.
1818
*/
1919

@@ -112,4 +112,4 @@ private function assertValidField($field)
112112
);
113113
}
114114
}
115-
}
115+
}

lib/Doctrine/ODM/MongoDB/Events.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1616
*
1717
* This software consists of voluntary contributions made by many individuals
18-
* and is licensed under the LGPL. For more information, see
18+
* and is licensed under the MIT license. For more information, see
1919
* <http://www.doctrine-project.org>.
2020
*/
2121

@@ -167,4 +167,4 @@ private function __construct() {}
167167
* @var string
168168
*/
169169
const onClear = 'onClear';
170-
}
170+
}

lib/Doctrine/ODM/MongoDB/Hydrator/HydratorException.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1616
*
1717
* This software consists of voluntary contributions made by many individuals
18-
* and is licensed under the LGPL. For more information, see
18+
* and is licensed under the MIT license. For more information, see
1919
* <http://www.doctrine-project.org>.
2020
*/
2121

@@ -47,4 +47,4 @@ public static function hydratorDirectoryMustExist()
4747
{
4848
return new self("You must create a hydrator directory specified");
4949
}
50-
}
50+
}

lib/Doctrine/ODM/MongoDB/Hydrator/HydratorFactory.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1414
*
1515
* This software consists of voluntary contributions made by many individuals
16-
* and is licensed under the LGPL. For more information, see
16+
* and is licensed under the MIT license. For more information, see
1717
* <http://www.doctrine-project.org>.
1818
*/
1919

@@ -418,4 +418,4 @@ public function hydrate($document, $data, array $hints = array())
418418

419419
return $data;
420420
}
421-
}
421+
}

lib/Doctrine/ODM/MongoDB/Hydrator/HydratorInterface.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1414
*
1515
* This software consists of voluntary contributions made by many individuals
16-
* and is licensed under the LGPL. For more information, see
16+
* and is licensed under the MIT license. For more information, see
1717
* <http://www.doctrine-project.org>.
1818
*/
1919

@@ -41,4 +41,4 @@ interface HydratorInterface
4141
* @return array $values The array of hydrated values.
4242
*/
4343
function hydrate($document, $data, array $hints = array());
44-
}
44+
}

lib/Doctrine/ODM/MongoDB/Id/AbstractIdGenerator.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1414
*
1515
* This software consists of voluntary contributions made by many individuals
16-
* and is licensed under the LGPL. For more information, see
16+
* and is licensed under the MIT license. For more information, see
1717
* <http://www.doctrine-project.org>.
1818
*/
1919

@@ -39,4 +39,4 @@ abstract class AbstractIdGenerator
3939
* @return mixed
4040
*/
4141
abstract public function generate(DocumentManager $dm, $document);
42-
}
42+
}

lib/Doctrine/ODM/MongoDB/Id/AlnumGenerator.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1414
*
1515
* This software consists of voluntary contributions made by many individuals
16-
* and is licensed under the LGPL. For more information, see
16+
* and is licensed under the MIT license. For more information, see
1717
* <http://www.doctrine-project.org>.
1818
*/
1919

@@ -75,4 +75,4 @@ public function generate(DocumentManager $dm, $document)
7575
}
7676
return $out;
7777
}
78-
}
78+
}

lib/Doctrine/ODM/MongoDB/Id/AutoGenerator.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1414
*
1515
* This software consists of voluntary contributions made by many individuals
16-
* and is licensed under the LGPL. For more information, see
16+
* and is licensed under the MIT license. For more information, see
1717
* <http://www.doctrine-project.org>.
1818
*/
1919

@@ -37,4 +37,4 @@ public function generate(DocumentManager $dm, $document)
3737
{
3838
return new \MongoId();
3939
}
40-
}
40+
}

lib/Doctrine/ODM/MongoDB/Id/IncrementGenerator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1414
*
1515
* This software consists of voluntary contributions made by many individuals
16-
* and is licensed under the LGPL. For more information, see
16+
* and is licensed under the MIT license. For more information, see
1717
* <http://www.doctrine-project.org>.
1818
*/
1919

lib/Doctrine/ODM/MongoDB/Id/UuidGenerator.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1414
*
1515
* This software consists of voluntary contributions made by many individuals
16-
* and is licensed under the LGPL. For more information, see
16+
* and is licensed under the MIT license. For more information, see
1717
* <http://www.doctrine-project.org>.
1818
*/
1919

@@ -161,4 +161,4 @@ public function generateV5($namespace, $salt)
161161

162162
return $guid;
163163
}
164-
}
164+
}

lib/Doctrine/ODM/MongoDB/Internal/CommitOrderCalculator.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1414
*
1515
* This software consists of voluntary contributions made by many individuals
16-
* and is licensed under the LGPL. For more information, see
16+
* and is licensed under the MIT license. For more information, see
1717
* <http://www.doctrine-project.org>.
1818
*/
1919

@@ -129,4 +129,4 @@ public function addClass($class)
129129
{
130130
$this->classes[$class->name] = $class;
131131
}
132-
}
132+
}

lib/Doctrine/ODM/MongoDB/LockException.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1414
*
1515
* This software consists of voluntary contributions made by many individuals
16-
* and is licensed under the LGPL. For more information, see
16+
* and is licensed under the MIT license. For more information, see
1717
* <http://www.doctrine-project.org>.
1818
*/
1919

@@ -71,4 +71,4 @@ public static function invalidVersionFieldType($type)
7171
{
7272
return new self('Invalid version field type '.$type.'. Version field must be int or date.');
7373
}
74-
}
74+
}

lib/Doctrine/ODM/MongoDB/LockMode.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1616
*
1717
* This software consists of voluntary contributions made by many individuals
18-
* and is licensed under the LGPL. For more information, see
18+
* and is licensed under the MIT license. For more information, see
1919
* <http://www.doctrine-project.org>.
2020
*/
2121

@@ -40,4 +40,4 @@ class LockMode
4040
const PESSIMISTIC_WRITE = 4;
4141

4242
final private function __construct() { }
43-
}
43+
}

0 commit comments

Comments
 (0)