Skip to content

Commit

Permalink
refactor: Remove obsolete PHPCS options.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Feb 11, 2021
1 parent 21a0799 commit bc6d61e
Show file tree
Hide file tree
Showing 19 changed files with 2 additions and 30 deletions.
1 change: 0 additions & 1 deletion src/Operation/Associate.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* @psalm-template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
* phpcs:disable Generic.WhiteSpace.ScopeIndent.IncorrectExact
*/
final class Associate extends AbstractOperation
{
Expand Down
1 change: 0 additions & 1 deletion src/Operation/AsyncMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
* @psalm-template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
* phpcs:disable Generic.WhiteSpace.ScopeIndent.IncorrectExact
*/
final class AsyncMap extends AbstractOperation
{
Expand Down
1 change: 0 additions & 1 deletion src/Operation/DropWhile.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* @psalm-template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
* phpcs:disable Generic.WhiteSpace.ScopeIndent.IncorrectExact
*/
final class DropWhile extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Group.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
* @psalm-template TKey
* @psalm-template TKey of array-key
* @psalm-template T
*
* phpcs:disable Generic.WhiteSpace.ScopeIndent.IncorrectExact
*/
final class Group extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Lines.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
* @psalm-template TKey
* @psalm-template TKey of array-key
* @psalm-template T
*
* phpcs:disable Generic.WhiteSpace.ScopeIndent.IncorrectExact
*/
final class Lines extends AbstractOperation
{
Expand Down
1 change: 0 additions & 1 deletion src/Operation/Map.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* @psalm-template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
* phpcs:disable Generic.WhiteSpace.ScopeIndent.IncorrectExact
*/
final class Map extends AbstractOperation
{
Expand Down
1 change: 0 additions & 1 deletion src/Operation/Pluck.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
* @psalm-template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
* phpcs:disable Generic.WhiteSpace.ScopeIndent.IncorrectExact
*/
final class Pluck extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
* @psalm-template TKey
* @psalm-template TKey of array-key
* @psalm-template T
*
* phpcs:disable Generic.WhiteSpace.ScopeIndent.IncorrectExact
*/
final class Product extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Reverse.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
* @psalm-template TKey
* @psalm-template TKey of array-key
* @psalm-template T
*
* phpcs:disable Generic.WhiteSpace.ScopeIndent.IncorrectExact
*/
final class Reverse extends AbstractOperation
{
Expand Down
5 changes: 2 additions & 3 deletions src/Operation/Since.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,17 @@
* @psalm-template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
* phpcs:disable Generic.WhiteSpace.ScopeIndent.IncorrectExact
*/
final class Since extends AbstractOperation
{
/**
* @psalm-return Closure(callable(T , TKey ): bool ...):Closure (Iterator<TKey, T>): Generator<TKey, T>
* @psalm-return Closure(callable(T, TKey, Iterator<TKey, T>):bool ...): Closure(Iterator<TKey, T>): Generator<TKey, T>
*/
public function __invoke(): Closure
{
return
/**
* @psalm-param callable(T, TKey):bool ...$callbacks
* @psalm-param callable(T, TKey, Iterator<TKey, T>):bool ...$callbacks
*
* @psalm-return Closure(Iterator<TKey, T>): Generator<TKey, T>
*/
Expand Down
1 change: 0 additions & 1 deletion src/Operation/Split.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* @psalm-template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
* phpcs:disable Generic.WhiteSpace.ScopeIndent.IncorrectExact
*/
final class Split extends AbstractOperation
{
Expand Down
1 change: 0 additions & 1 deletion src/Operation/TakeWhile.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* @psalm-template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
* phpcs:disable Generic.WhiteSpace.ScopeIndent.IncorrectExact
*/
final class TakeWhile extends AbstractOperation
{
Expand Down
1 change: 0 additions & 1 deletion src/Operation/Times.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* @psalm-template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
* phpcs:disable Generic.WhiteSpace.ScopeIndent.IncorrectExact
*/
final class Times extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Unlines.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
* @psalm-template TKey
* @psalm-template TKey of array-key
* @psalm-template T
*
* phpcs:disable Generic.WhiteSpace.ScopeIndent.IncorrectExact
*/
final class Unlines extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Unpack.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
* @psalm-template TKey
* @psalm-template TKey of array-key
* @psalm-template T
*
* phpcs:disable Generic.WhiteSpace.ScopeIndent.IncorrectExact
*/
final class Unpack extends AbstractOperation
{
Expand Down
1 change: 0 additions & 1 deletion src/Operation/Until.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* @psalm-template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
* phpcs:disable Generic.WhiteSpace.ScopeIndent.IncorrectExact
*/
final class Until extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Unwords.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
* @psalm-template TKey
* @psalm-template TKey of array-key
* @psalm-template T
*
* phpcs:disable Generic.WhiteSpace.ScopeIndent.IncorrectExact
*/
final class Unwords extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Unzip.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
* @psalm-template TKey
* @psalm-template TKey of array-key
* @psalm-template T
*
* phpcs:disable Generic.WhiteSpace.ScopeIndent.IncorrectExact
*/
final class Unzip extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Words.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
* @psalm-template TKey
* @psalm-template TKey of array-key
* @psalm-template T
*
* phpcs:disable Generic.WhiteSpace.ScopeIndent.IncorrectExact
*/
final class Words extends AbstractOperation
{
Expand Down

0 comments on commit bc6d61e

Please sign in to comment.