akanehara / ginq

`LINQ to Object` inspired DSL for PHP
MIT License
193 stars 18 forks source link

symfonyのコードを流用する場合のライセンス表示 #37

Closed akanehara closed 11 years ago

akanehara commented 11 years ago

Related to #36

プロパティアクセスについて、

https://github.com/symfony/PropertyAccess/blob/master/PropertyAccessor.php#L188

をほぼそのまま真似るなら、該当部分にその旨を記述したうえでライセンス表示はこんなふうでいいだろうか。

<?php
/**
 * Ginq: `LINQ to Object` inspired DSL for PHP
 * Copyright 2013, Atsushi Kanehara <akanehara@gmail.com>
 *
 * Reuses part of symfony/PropertyAccess
 * https://github.com/symfony/PropertyAccess
 * Copyright (c) 2004-2013 Fabien Potencier
 * 
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * PHP Version 5.3 or later
 * 
 * @author     Atsushi Kanehara <akanehara@gmail.com>
 * @copyright  Copyright 2013, Atsushi Kanehara <akanehara@gmail.com>
 * @license    MIT License (http://www.opensource.org/licenses/mit-license.php)
 * @package    Ginq
 */