Skip to content

Commit

Permalink
Add LICENSE information
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyzerner committed Sep 4, 2015
1 parent 9849e60 commit 1691e69
Show file tree
Hide file tree
Showing 8 changed files with 85 additions and 11 deletions.
1 change: 0 additions & 1 deletion .php_cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ $finder = Symfony\CS\Finder\DefaultFinder::create()
->in(__DIR__);

return Symfony\CS\Config\Config::create()
->setUsingCache(true)
->level(Symfony\CS\FixerInterface::PSR2_LEVEL)
->fixers([
'short_array_syntax',
Expand Down
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2014-2015 Toby Zerner

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
14 changes: 9 additions & 5 deletions bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
<?php

// Require the extension's composer autoload file. This will enable all of our
// classes in the src directory to be autoloaded.
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

require __DIR__.'/vendor/autoload.php';

// Return the name of our Extension class. Flarum will register it as a service
// provider, allowing it to register bindings and execute code when the
// application boots.
return 'Flarum\Pusher\Extension';
12 changes: 11 additions & 1 deletion src/Api/AuthAction.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
<?php namespace Flarum\Pusher\Api;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Flarum\Pusher\Api;

use Flarum\Api\Actions\JsonApiAction;
use Flarum\Api\Request;
Expand Down
12 changes: 11 additions & 1 deletion src/Extension.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
<?php namespace Flarum\Pusher;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Flarum\Pusher;

use Flarum\Support\Extension as BaseExtension;
use Illuminate\Events\Dispatcher;
Expand Down
12 changes: 11 additions & 1 deletion src/Listeners/AddApiAttributes.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
<?php namespace Flarum\Pusher\Listeners;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Flarum\Pusher\Listeners;

use Flarum\Events\ApiAttributes;
use Flarum\Events\RegisterApiRoutes;
Expand Down
12 changes: 11 additions & 1 deletion src/Listeners/AddClientAssets.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
<?php namespace Flarum\Pusher\Listeners;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Flarum\Pusher\Listeners;

use Flarum\Events\RegisterLocales;
use Flarum\Events\BuildClientView;
Expand Down
12 changes: 11 additions & 1 deletion src/Listeners/PushNewPosts.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
<?php namespace Flarum\Pusher\Listeners;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Flarum\Pusher\Listeners;

use Flarum\Events\PostWasPosted;
use Flarum\Events\NotificationWillBeSent;
Expand Down

0 comments on commit 1691e69

Please sign in to comment.