Skip to content

Commit

Permalink
updated license headers (fixes FriendsOfSymfony#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
lsmith77 committed Jun 8, 2011
1 parent 853190f commit 57b59ae
Show file tree
Hide file tree
Showing 45 changed files with 382 additions and 470 deletions.
16 changes: 7 additions & 9 deletions Controller/Annotations/Delete.php
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
<?php

namespace FOS\RestBundle\Controller\Annotations;

/*
* This file is part of the FOSRestBundle
* This file is part of the FOSUserBundle package.
*
* (c) Lukas Kahwe Smith <smith@pooteeweet.org>
* (c) Konstantin Kudryashov <ever.zet@gmail.com>
* (c) Bulat Shakirzyanov <mallluhuct@gmail.com>
* (c) FriendsOfSymfony <http://friendsofsymfony.github.com/>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace FOS\RestBundle\Controller\Annotations;

/**
* DELETE Route annotation class.
*/
Expand All @@ -22,4 +20,4 @@ public function getMethod()
{
return 'DELETE';
}
}
}
16 changes: 7 additions & 9 deletions Controller/Annotations/Get.php
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
<?php

namespace FOS\RestBundle\Controller\Annotations;

/*
* This file is part of the FOSRestBundle
* This file is part of the FOSUserBundle package.
*
* (c) Lukas Kahwe Smith <smith@pooteeweet.org>
* (c) Konstantin Kudryashov <ever.zet@gmail.com>
* (c) Bulat Shakirzyanov <mallluhuct@gmail.com>
* (c) FriendsOfSymfony <http://friendsofsymfony.github.com/>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace FOS\RestBundle\Controller\Annotations;

/**
* GET Route annotation class.
*/
Expand All @@ -22,4 +20,4 @@ public function getMethod()
{
return 'GET';
}
}
}
16 changes: 7 additions & 9 deletions Controller/Annotations/Head.php
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
<?php

namespace FOS\RestBundle\Controller\Annotations;

/*
* This file is part of the FOSRestBundle
* This file is part of the FOSUserBundle package.
*
* (c) Lukas Kahwe Smith <smith@pooteeweet.org>
* (c) Konstantin Kudryashov <ever.zet@gmail.com>
* (c) Bulat Shakirzyanov <mallluhuct@gmail.com>
* (c) FriendsOfSymfony <http://friendsofsymfony.github.com/>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace FOS\RestBundle\Controller\Annotations;

/**
* HEAD Route annotation class.
*/
Expand All @@ -22,4 +20,4 @@ public function getMethod()
{
return 'HEAD';
}
}
}
20 changes: 9 additions & 11 deletions Controller/Annotations/NamePrefix.php
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
<?php

namespace FOS\RestBundle\Controller\Annotations;

use Doctrine\Common\Annotations\Annotation;

/*
* This file is part of the FOSRestBundle
* This file is part of the FOSUserBundle package.
*
* (c) Lukas Kahwe Smith <smith@pooteeweet.org>
* (c) Konstantin Kudryashov <ever.zet@gmail.com>
* (c) Bulat Shakirzyanov <mallluhuct@gmail.com>
* (c) FriendsOfSymfony <http://friendsofsymfony.github.com/>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace FOS\RestBundle\Controller\Annotations;

use Doctrine\Common\Annotations\Annotation;

/**
* NamePrefix Route annotation class.
*/
class NamePrefix extends Annotation
{
}
}
14 changes: 6 additions & 8 deletions Controller/Annotations/NoRoute.php
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
<?php

namespace FOS\RestBundle\Controller\Annotations;

/*
* This file is part of the FOSRestBundle
* This file is part of the FOSUserBundle package.
*
* (c) Lukas Kahwe Smith <smith@pooteeweet.org>
* (c) Konstantin Kudryashov <ever.zet@gmail.com>
* (c) Bulat Shakirzyanov <mallluhuct@gmail.com>
* (c) FriendsOfSymfony <http://friendsofsymfony.github.com/>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace FOS\RestBundle\Controller\Annotations;

/**
* No Route annotation class
*/
Expand Down
16 changes: 7 additions & 9 deletions Controller/Annotations/Patch.php
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
<?php

namespace FOS\RestBundle\Controller\Annotations;

/*
* This file is part of the FOSRestBundle
* This file is part of the FOSUserBundle package.
*
* (c) Lukas Kahwe Smith <smith@pooteeweet.org>
* (c) Konstantin Kudryashov <ever.zet@gmail.com>
* (c) Bulat Shakirzyanov <mallluhuct@gmail.com>
* (c) FriendsOfSymfony <http://friendsofsymfony.github.com/>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace FOS\RestBundle\Controller\Annotations;

/**
* PATCH Route annotation class.
*/
Expand All @@ -22,4 +20,4 @@ public function getMethod()
{
return 'PATCH';
}
}
}
16 changes: 7 additions & 9 deletions Controller/Annotations/Post.php
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
<?php

namespace FOS\RestBundle\Controller\Annotations;

/*
* This file is part of the FOSRestBundle
* This file is part of the FOSUserBundle package.
*
* (c) Lukas Kahwe Smith <smith@pooteeweet.org>
* (c) Konstantin Kudryashov <ever.zet@gmail.com>
* (c) Bulat Shakirzyanov <mallluhuct@gmail.com>
* (c) FriendsOfSymfony <http://friendsofsymfony.github.com/>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace FOS\RestBundle\Controller\Annotations;

/**
* POST Route annotation class.
*/
Expand All @@ -22,4 +20,4 @@ public function getMethod()
{
return 'POST';
}
}
}
20 changes: 9 additions & 11 deletions Controller/Annotations/Prefix.php
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
<?php

namespace FOS\RestBundle\Controller\Annotations;

use Doctrine\Common\Annotations\Annotation;

/*
* This file is part of the FOSRestBundle
* This file is part of the FOSUserBundle package.
*
* (c) Lukas Kahwe Smith <smith@pooteeweet.org>
* (c) Konstantin Kudryashov <ever.zet@gmail.com>
* (c) Bulat Shakirzyanov <mallluhuct@gmail.com>
* (c) FriendsOfSymfony <http://friendsofsymfony.github.com/>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace FOS\RestBundle\Controller\Annotations;

use Doctrine\Common\Annotations\Annotation;

/**
* Prefix Route annotation class.
*/
class Prefix extends Annotation
{
}
}
16 changes: 7 additions & 9 deletions Controller/Annotations/Put.php
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
<?php

namespace FOS\RestBundle\Controller\Annotations;

/*
* This file is part of the FOSRestBundle
* This file is part of the FOSUserBundle package.
*
* (c) Lukas Kahwe Smith <smith@pooteeweet.org>
* (c) Konstantin Kudryashov <ever.zet@gmail.com>
* (c) Bulat Shakirzyanov <mallluhuct@gmail.com>
* (c) FriendsOfSymfony <http://friendsofsymfony.github.com/>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace FOS\RestBundle\Controller\Annotations;

/**
* PUT Route annotation class.
*/
Expand All @@ -22,4 +20,4 @@ public function getMethod()
{
return 'PUT';
}
}
}
18 changes: 8 additions & 10 deletions Controller/Annotations/Route.php
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
<?php

namespace FOS\RestBundle\Controller\Annotations;

use Symfony\Component\Routing\Annotation\Route as BaseRoute;

/*
* This file is part of the FOSRestBundle
* This file is part of the FOSUserBundle package.
*
* (c) Lukas Kahwe Smith <smith@pooteeweet.org>
* (c) Konstantin Kudryashov <ever.zet@gmail.com>
* (c) Bulat Shakirzyanov <mallluhuct@gmail.com>
* (c) FriendsOfSymfony <http://friendsofsymfony.github.com/>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace FOS\RestBundle\Controller\Annotations;

use Symfony\Component\Routing\Annotation\Route as BaseRoute;

/**
* Route annotation class.
*/
Expand Down
19 changes: 8 additions & 11 deletions Controller/ExceptionController.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
<?php
/*
* This file is part of the FOSUserBundle package.
*
* (c) FriendsOfSymfony <http://friendsofsymfony.github.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace FOS\RestBundle\Controller;

Expand All @@ -12,17 +20,6 @@
use FOS\RestBundle\Response\Codes,
FOS\RestBundle\Serializer\Encoder\TemplatingAwareEncoderInterface;

/*
* This file is part of the FOSRestBundle
*
* (c) Lukas Kahwe Smith <smith@pooteeweet.org>
* (c) Konstantin Kudryashov <ever.zet@gmail.com>
* (c) Bulat Shakirzyanov <mallluhuct@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/

/**
* Custom ExceptionController that uses the view layer and supports HTTP response status code mapping
*/
Expand Down
20 changes: 9 additions & 11 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
<?php

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

namespace FOS\RestBundle\DependencyInjection;

use Symfony\Component\Config\Definition\Builder\TreeBuilder,
Symfony\Component\Config\Definition\ConfigurationInterface;

use FOS\RestBundle\Response\Codes;

/*
* This file is part of the FOSRestBundle
*
* (c) Lukas Kahwe Smith <smith@pooteeweet.org>
* (c) Konstantin Kudryashov <ever.zet@gmail.com>
* (c) Bulat Shakirzyanov <mallluhuct@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/

/**
* This class contains the configuration information for the bundle
*
Expand Down
Loading

0 comments on commit 57b59ae

Please sign in to comment.