Skip to content

Commit

Permalink
style: fix cs vol.2
Browse files Browse the repository at this point in the history
  • Loading branch information
simPod committed Feb 9, 2024
1 parent 70732bb commit 9dfe243
Show file tree
Hide file tree
Showing 36 changed files with 36 additions and 1 deletion.
2 changes: 2 additions & 0 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
<arg name="colors" />
<arg value="n" />

<config name="php_version" value="80100"/>

<rule ref="PSR12" />

<rule ref="PSR1.Classes.ClassDeclaration.MultipleClasses">
Expand Down
1 change: 1 addition & 0 deletions src/Functional/ButLast.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

use Functional\Exceptions\InvalidArgumentException;
use Traversable;

use function is_array;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Functional/Curry.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
use ReflectionMethod;
use ReflectionFunction;
use Closure;

use function count;
use function is_array;
use function is_object;
Expand Down
1 change: 1 addition & 0 deletions src/Functional/CurryN.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/

namespace Functional;

use function call_user_func_array;
use function count;

Expand Down
1 change: 1 addition & 0 deletions src/Functional/Exceptions/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/

namespace Functional\Exceptions;

use function count;
use function get_class;
use function gettype;
Expand Down
1 change: 1 addition & 0 deletions src/Functional/Exceptions/MatchException.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/

namespace Functional\Exceptions;

use function count;
use function gettype;
use function is_array;
Expand Down
1 change: 1 addition & 0 deletions src/Functional/FirstIndexOf.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

use Functional\Exceptions\InvalidArgumentException;
use Traversable;

use function is_callable;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Functional/FlatMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

use Functional\Exceptions\InvalidArgumentException;
use Traversable;

use function is_array;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Functional/Flatten.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

use Functional\Exceptions\InvalidArgumentException;
use Traversable;

use function is_array;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Functional/Flip.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/

namespace Functional;

use function func_get_args;

/**
Expand Down
1 change: 0 additions & 1 deletion src/Functional/Functional.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

final class Functional
{

/**
* @see \Function\ary
*/
Expand Down
1 change: 1 addition & 0 deletions src/Functional/GreaterThan.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/

namespace Functional;

use Closure;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Functional/GreaterThanOrEqual.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/

namespace Functional;

use Closure;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Functional/Group.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

use Functional\Exceptions\InvalidArgumentException;
use Traversable;

use function is_float;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Functional/IndexesOf.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

use Functional\Exceptions\InvalidArgumentException;
use Traversable;

use function is_callable;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Functional/Invoke.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

use Functional\Exceptions\InvalidArgumentException;
use Traversable;

use function is_callable;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Functional/InvokeFirst.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

use Functional\Exceptions\InvalidArgumentException;
use Traversable;

use function is_callable;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Functional/InvokeIf.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/

namespace Functional;

use function is_callable;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Functional/InvokeLast.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

use Traversable;
use Functional\Exceptions\InvalidArgumentException;

use function is_callable;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Functional/LastIndexOf.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

use Functional\Exceptions\InvalidArgumentException;
use Traversable;

use function is_callable;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Functional/LessThan.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/

namespace Functional;

use Closure;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Functional/LessThanOrEqual.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/

namespace Functional;

use Closure;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Functional/LexicographicCompare.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/

namespace Functional;

use Closure;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Functional/Memoize.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
namespace Functional;

use const E_USER_DEPRECATED;

use function array_key_exists;
use function is_callable;

Expand Down
1 change: 1 addition & 0 deletions src/Functional/PartialAny.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
namespace Functional;

use Functional\Exceptions\InvalidArgumentException;

use function define;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Functional/PartialMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
namespace Functional;

use Functional\Exceptions\InvalidArgumentException;

use function is_callable;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Functional/Partition.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

use Functional\Exceptions\InvalidArgumentException;
use Traversable;

use function count;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Functional/Pick.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

use ArrayAccess;
use Functional\Exceptions\InvalidArgumentException;

use function array_key_exists;
use function is_array;

Expand Down
1 change: 1 addition & 0 deletions src/Functional/Pluck.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
use ArrayAccess;
use Functional\Exceptions\InvalidArgumentException;
use Traversable;

use function is_array;
use function is_object;

Expand Down
1 change: 1 addition & 0 deletions src/Functional/TakeLeft.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

use Functional\Exceptions\InvalidArgumentException;
use Traversable;

use function array_slice;
use function is_array;

Expand Down
1 change: 1 addition & 0 deletions src/Functional/TakeRight.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

use Functional\Exceptions\InvalidArgumentException;
use Traversable;

use function array_slice;
use function is_array;

Expand Down
1 change: 1 addition & 0 deletions src/Functional/Unique.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

use Functional\Exceptions\InvalidArgumentException;
use Traversable;

use function in_array;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Functional/ValueToKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
use Functional\Exceptions\InvalidArgumentException;
use Traversable;
use WeakReference;

use function get_class;
use function gettype;

Expand Down
1 change: 1 addition & 0 deletions src/Functional/With.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
namespace Functional;

use Functional\Exceptions\InvalidArgumentException;

use function is_callable;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Functional/Zip.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

use Functional\Exceptions\InvalidArgumentException;
use Traversable;

use function is_callable;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Functional/ZipAll.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

use Functional\Exceptions\InvalidArgumentException;
use Traversable;

use function is_callable;

/**
Expand Down

0 comments on commit 9dfe243

Please sign in to comment.