Skip to content

Commit

Permalink
Apply fixes from StyleCI (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore authored Aug 5, 2018
1 parent 74f3996 commit 5b45c7c
Show file tree
Hide file tree
Showing 15 changed files with 135 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Arrayizes.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the PHP-UNDERSCORE package.
*
* (c) Jitendra Adhikari <jiten.adhikary@gmail.com>
* <https://github.com/adhocore>
*
* Licensed under MIT license.
*/

namespace Ahc\Underscore;

trait Arrayizes
Expand Down
9 changes: 9 additions & 0 deletions src/Underscore.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the PHP-UNDERSCORE package.
*
* (c) Jitendra Adhikari <jiten.adhikary@gmail.com>
* <https://github.com/adhocore>
*
* Licensed under MIT license.
*/

namespace Ahc\Underscore;

final class Underscore extends UnderscoreFunction
Expand Down
9 changes: 9 additions & 0 deletions src/UnderscoreAliases.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the PHP-UNDERSCORE package.
*
* (c) Jitendra Adhikari <jiten.adhikary@gmail.com>
* <https://github.com/adhocore>
*
* Licensed under MIT license.
*/

namespace Ahc\Underscore;

trait UnderscoreAliases
Expand Down
9 changes: 9 additions & 0 deletions src/UnderscoreArray.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the PHP-UNDERSCORE package.
*
* (c) Jitendra Adhikari <jiten.adhikary@gmail.com>
* <https://github.com/adhocore>
*
* Licensed under MIT license.
*/

namespace Ahc\Underscore;

class UnderscoreArray extends UnderscoreCollection
Expand Down
9 changes: 9 additions & 0 deletions src/UnderscoreBase.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the PHP-UNDERSCORE package.
*
* (c) Jitendra Adhikari <jiten.adhikary@gmail.com>
* <https://github.com/adhocore>
*
* Licensed under MIT license.
*/

namespace Ahc\Underscore;

class UnderscoreBase implements \ArrayAccess, \Countable, \IteratorAggregate, \JsonSerializable
Expand Down
9 changes: 9 additions & 0 deletions src/UnderscoreCollection.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the PHP-UNDERSCORE package.
*
* (c) Jitendra Adhikari <jiten.adhikary@gmail.com>
* <https://github.com/adhocore>
*
* Licensed under MIT license.
*/

namespace Ahc\Underscore;

class UnderscoreCollection extends UnderscoreBase
Expand Down
9 changes: 9 additions & 0 deletions src/UnderscoreException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the PHP-UNDERSCORE package.
*
* (c) Jitendra Adhikari <jiten.adhikary@gmail.com>
* <https://github.com/adhocore>
*
* Licensed under MIT license.
*/

namespace Ahc\Underscore;

class UnderscoreException extends \Exception
Expand Down
9 changes: 9 additions & 0 deletions src/UnderscoreFunction.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the PHP-UNDERSCORE package.
*
* (c) Jitendra Adhikari <jiten.adhikary@gmail.com>
* <https://github.com/adhocore>
*
* Licensed under MIT license.
*/

namespace Ahc\Underscore;

class UnderscoreFunction extends UnderscoreArray
Expand Down
9 changes: 9 additions & 0 deletions src/functions.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the PHP-UNDERSCORE package.
*
* (c) Jitendra Adhikari <jiten.adhikary@gmail.com>
* <https://github.com/adhocore>
*
* Licensed under MIT license.
*/

use Ahc\Underscore\Underscore;

\class_alias(Underscore::class, 'Ahc\\Underscore');
Expand Down
9 changes: 9 additions & 0 deletions tests/UnderscoreArrayTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the PHP-UNDERSCORE package.
*
* (c) Jitendra Adhikari <jiten.adhikary@gmail.com>
* <https://github.com/adhocore>
*
* Licensed under MIT license.
*/

namespace Ahc\Underscore\Tests;

use Ahc\Underscore\Underscore as _;
Expand Down
9 changes: 9 additions & 0 deletions tests/UnderscoreBaseTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the PHP-UNDERSCORE package.
*
* (c) Jitendra Adhikari <jiten.adhikary@gmail.com>
* <https://github.com/adhocore>
*
* Licensed under MIT license.
*/

namespace Ahc\Underscore\Tests;

use Ahc\Underscore\Underscore as _;
Expand Down
9 changes: 9 additions & 0 deletions tests/UnderscoreCollectionTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the PHP-UNDERSCORE package.
*
* (c) Jitendra Adhikari <jiten.adhikary@gmail.com>
* <https://github.com/adhocore>
*
* Licensed under MIT license.
*/

namespace Ahc\Underscore\Tests;

use PHPUnit\Framework\TestCase;
Expand Down
9 changes: 9 additions & 0 deletions tests/UnderscoreFunctionTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the PHP-UNDERSCORE package.
*
* (c) Jitendra Adhikari <jiten.adhikary@gmail.com>
* <https://github.com/adhocore>
*
* Licensed under MIT license.
*/

namespace Ahc\Underscore\Tests;

use PHPUnit\Framework\TestCase;
Expand Down
9 changes: 9 additions & 0 deletions tests/UnderscoreTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the PHP-UNDERSCORE package.
*
* (c) Jitendra Adhikari <jiten.adhikary@gmail.com>
* <https://github.com/adhocore>
*
* Licensed under MIT license.
*/

namespace Ahc\Underscore\Tests;

use Ahc\Underscore\Underscore as _;
Expand Down
9 changes: 9 additions & 0 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the PHP-UNDERSCORE package.
*
* (c) Jitendra Adhikari <jiten.adhikary@gmail.com>
* <https://github.com/adhocore>
*
* Licensed under MIT license.
*/

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

if (class_exists('\PHPUnit_Framework_Error_Notice')) {
Expand Down

0 comments on commit 5b45c7c

Please sign in to comment.