Skip to content

Commit

Permalink
cs: get rid of obsolete phpcs annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Nov 3, 2022
1 parent dae9eb6 commit a385a6a
Show file tree
Hide file tree
Showing 70 changed files with 2 additions and 144 deletions.
2 changes: 0 additions & 2 deletions src/Operation/All.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class All extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Append.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Append extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Apply.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Apply extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Associate.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Associate extends AbstractOperation
{
Expand Down
5 changes: 1 addition & 4 deletions src/Operation/AsyncMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,15 @@
use function Amp\Sync\ConcurrentIterator\map;
use function function_exists;

// phpcs:disable
if (!function_exists('Amp\ParallelFunctions\parallel')) {
throw new Exception('You need amphp/parallel-functions to get this operation working.');
}
// phpcs:enable

/**
* @immutable
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class AsyncMap extends AbstractOperation
{
Expand Down
5 changes: 1 addition & 4 deletions src/Operation/AsyncMapN.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,15 @@
use function Amp\Sync\ConcurrentIterator\map;
use function function_exists;

// phpcs:disable
if (!function_exists('Amp\ParallelFunctions\parallel')) {
throw new Exception('You need amphp/parallel-functions to get this operation working.');
}
// phpcs:enable

/**
* @immutable
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class AsyncMapN extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Averages.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Averages extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Cache extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Combine.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Combine extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Compact.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Compact extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Distinct.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Distinct extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Drop.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Drop extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/DropWhile.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class DropWhile extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Dump.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Dump extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Duplicate.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Duplicate extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Equals.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

/**
* @immutable
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Equals extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Every.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Every extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Filter extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Find.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Find extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/FlatMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class FlatMap extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/FoldLeft.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class FoldLeft extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/FoldLeft1.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class FoldLeft1 extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/FoldRight.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class FoldRight extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/FoldRight1.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class FoldRight1 extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/GroupBy.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class GroupBy extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Has.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Has extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/IfThenElse.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class IfThenElse extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Implode.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Implode extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Init.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Init extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/IsEmpty.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class IsEmpty extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Limit.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Limit extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Map.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Map extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/MapN.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class MapN extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/MatchOne.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class MatchOne extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Matching.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Matching extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Merge.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Merge extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Nullsy.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Nullsy extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Partition.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Partition extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Permutate.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Permutate extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Pipe.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Pipe extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Pluck.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Pluck extends AbstractOperation
{
Expand Down
2 changes: 0 additions & 2 deletions src/Operation/Prepend.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
*
* @template TKey
* @template T
*
* phpcs:disable Generic.Files.LineLength.TooLong
*/
final class Prepend extends AbstractOperation
{
Expand Down
Loading

0 comments on commit a385a6a

Please sign in to comment.