From a385a6a482868bc802954da79c82bff6ffee401a Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 3 Nov 2022 13:31:21 +0100 Subject: [PATCH] cs: get rid of obsolete `phpcs` annotations --- src/Operation/All.php | 2 -- src/Operation/Append.php | 2 -- src/Operation/Apply.php | 2 -- src/Operation/Associate.php | 2 -- src/Operation/AsyncMap.php | 5 +---- src/Operation/AsyncMapN.php | 5 +---- src/Operation/Averages.php | 2 -- src/Operation/Cache.php | 2 -- src/Operation/Combine.php | 2 -- src/Operation/Compact.php | 2 -- src/Operation/Distinct.php | 2 -- src/Operation/Drop.php | 2 -- src/Operation/DropWhile.php | 2 -- src/Operation/Dump.php | 2 -- src/Operation/Duplicate.php | 2 -- src/Operation/Equals.php | 2 -- src/Operation/Every.php | 2 -- src/Operation/Filter.php | 2 -- src/Operation/Find.php | 2 -- src/Operation/FlatMap.php | 2 -- src/Operation/FoldLeft.php | 2 -- src/Operation/FoldLeft1.php | 2 -- src/Operation/FoldRight.php | 2 -- src/Operation/FoldRight1.php | 2 -- src/Operation/GroupBy.php | 2 -- src/Operation/Has.php | 2 -- src/Operation/IfThenElse.php | 2 -- src/Operation/Implode.php | 2 -- src/Operation/Init.php | 2 -- src/Operation/IsEmpty.php | 2 -- src/Operation/Limit.php | 2 -- src/Operation/Map.php | 2 -- src/Operation/MapN.php | 2 -- src/Operation/MatchOne.php | 2 -- src/Operation/Matching.php | 2 -- src/Operation/Merge.php | 2 -- src/Operation/Nullsy.php | 2 -- src/Operation/Partition.php | 2 -- src/Operation/Permutate.php | 2 -- src/Operation/Pipe.php | 2 -- src/Operation/Pluck.php | 2 -- src/Operation/Prepend.php | 2 -- src/Operation/Product.php | 2 -- src/Operation/RSample.php | 2 -- src/Operation/Random.php | 2 -- src/Operation/Range.php | 2 -- src/Operation/Reduce.php | 2 -- src/Operation/Reduction.php | 2 -- src/Operation/Reject.php | 2 -- src/Operation/Same.php | 2 -- src/Operation/Scale.php | 2 -- src/Operation/ScanLeft.php | 2 -- src/Operation/ScanLeft1.php | 2 -- src/Operation/ScanRight.php | 2 -- src/Operation/ScanRight1.php | 2 -- src/Operation/Shuffle.php | 2 -- src/Operation/Since.php | 2 -- src/Operation/Sort.php | 2 -- src/Operation/Span.php | 2 -- src/Operation/Split.php | 2 -- src/Operation/Strict.php | 2 -- src/Operation/TakeWhile.php | 2 -- src/Operation/Times.php | 2 -- src/Operation/Transpose.php | 2 -- src/Operation/Unfold.php | 2 -- src/Operation/Unpack.php | 2 -- src/Operation/Until.php | 2 -- src/Operation/When.php | 2 -- src/Operation/Zip.php | 2 -- src/Utils/CallbacksArrayReducer.php | 2 -- 70 files changed, 2 insertions(+), 144 deletions(-) diff --git a/src/Operation/All.php b/src/Operation/All.php index e74f13a7d..171698217 100644 --- a/src/Operation/All.php +++ b/src/Operation/All.php @@ -12,8 +12,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class All extends AbstractOperation { diff --git a/src/Operation/Append.php b/src/Operation/Append.php index b7594b69a..28eaa8b95 100644 --- a/src/Operation/Append.php +++ b/src/Operation/Append.php @@ -13,8 +13,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Append extends AbstractOperation { diff --git a/src/Operation/Apply.php b/src/Operation/Apply.php index fe25fc2c3..c11c7fa36 100644 --- a/src/Operation/Apply.php +++ b/src/Operation/Apply.php @@ -12,8 +12,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Apply extends AbstractOperation { diff --git a/src/Operation/Associate.php b/src/Operation/Associate.php index b1039293a..b470b726a 100644 --- a/src/Operation/Associate.php +++ b/src/Operation/Associate.php @@ -12,8 +12,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Associate extends AbstractOperation { diff --git a/src/Operation/AsyncMap.php b/src/Operation/AsyncMap.php index ee6c5d486..7b3e6a0f9 100644 --- a/src/Operation/AsyncMap.php +++ b/src/Operation/AsyncMap.php @@ -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 { diff --git a/src/Operation/AsyncMapN.php b/src/Operation/AsyncMapN.php index 8fc214eb9..05fd3e9ed 100644 --- a/src/Operation/AsyncMapN.php +++ b/src/Operation/AsyncMapN.php @@ -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 { diff --git a/src/Operation/Averages.php b/src/Operation/Averages.php index f3a8fee03..8d988e140 100644 --- a/src/Operation/Averages.php +++ b/src/Operation/Averages.php @@ -12,8 +12,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Averages extends AbstractOperation { diff --git a/src/Operation/Cache.php b/src/Operation/Cache.php index e83015c96..e1491a979 100644 --- a/src/Operation/Cache.php +++ b/src/Operation/Cache.php @@ -15,8 +15,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Cache extends AbstractOperation { diff --git a/src/Operation/Combine.php b/src/Operation/Combine.php index 510a2f572..c5d64c604 100644 --- a/src/Operation/Combine.php +++ b/src/Operation/Combine.php @@ -14,8 +14,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Combine extends AbstractOperation { diff --git a/src/Operation/Compact.php b/src/Operation/Compact.php index 0bbde0495..1c0223d90 100644 --- a/src/Operation/Compact.php +++ b/src/Operation/Compact.php @@ -14,8 +14,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Compact extends AbstractOperation { diff --git a/src/Operation/Distinct.php b/src/Operation/Distinct.php index 57a90c506..91a4e73b5 100644 --- a/src/Operation/Distinct.php +++ b/src/Operation/Distinct.php @@ -13,8 +13,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Distinct extends AbstractOperation { diff --git a/src/Operation/Drop.php b/src/Operation/Drop.php index 1080fa922..7d16752a4 100644 --- a/src/Operation/Drop.php +++ b/src/Operation/Drop.php @@ -12,8 +12,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Drop extends AbstractOperation { diff --git a/src/Operation/DropWhile.php b/src/Operation/DropWhile.php index 89169564d..687b0a1a2 100644 --- a/src/Operation/DropWhile.php +++ b/src/Operation/DropWhile.php @@ -15,8 +15,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class DropWhile extends AbstractOperation { diff --git a/src/Operation/Dump.php b/src/Operation/Dump.php index da966d8fb..544e07918 100644 --- a/src/Operation/Dump.php +++ b/src/Operation/Dump.php @@ -13,8 +13,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Dump extends AbstractOperation { diff --git a/src/Operation/Duplicate.php b/src/Operation/Duplicate.php index 5b63927e8..fda80a41a 100644 --- a/src/Operation/Duplicate.php +++ b/src/Operation/Duplicate.php @@ -13,8 +13,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Duplicate extends AbstractOperation { diff --git a/src/Operation/Equals.php b/src/Operation/Equals.php index a1e631d31..c97b069c2 100644 --- a/src/Operation/Equals.php +++ b/src/Operation/Equals.php @@ -10,8 +10,6 @@ /** * @immutable - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Equals extends AbstractOperation { diff --git a/src/Operation/Every.php b/src/Operation/Every.php index 81046021b..fb264f909 100644 --- a/src/Operation/Every.php +++ b/src/Operation/Every.php @@ -13,8 +13,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Every extends AbstractOperation { diff --git a/src/Operation/Filter.php b/src/Operation/Filter.php index faf149f84..52fd8bb7f 100644 --- a/src/Operation/Filter.php +++ b/src/Operation/Filter.php @@ -14,8 +14,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Filter extends AbstractOperation { diff --git a/src/Operation/Find.php b/src/Operation/Find.php index b0fd42ebe..27cbf1465 100644 --- a/src/Operation/Find.php +++ b/src/Operation/Find.php @@ -12,8 +12,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Find extends AbstractOperation { diff --git a/src/Operation/FlatMap.php b/src/Operation/FlatMap.php index 13bba9c22..dd711546c 100644 --- a/src/Operation/FlatMap.php +++ b/src/Operation/FlatMap.php @@ -12,8 +12,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class FlatMap extends AbstractOperation { diff --git a/src/Operation/FoldLeft.php b/src/Operation/FoldLeft.php index 649d5e71a..54f9c6b49 100644 --- a/src/Operation/FoldLeft.php +++ b/src/Operation/FoldLeft.php @@ -12,8 +12,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class FoldLeft extends AbstractOperation { diff --git a/src/Operation/FoldLeft1.php b/src/Operation/FoldLeft1.php index 251c79372..713bf2bf0 100644 --- a/src/Operation/FoldLeft1.php +++ b/src/Operation/FoldLeft1.php @@ -12,8 +12,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class FoldLeft1 extends AbstractOperation { diff --git a/src/Operation/FoldRight.php b/src/Operation/FoldRight.php index bd1bd1a91..45cc23857 100644 --- a/src/Operation/FoldRight.php +++ b/src/Operation/FoldRight.php @@ -12,8 +12,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class FoldRight extends AbstractOperation { diff --git a/src/Operation/FoldRight1.php b/src/Operation/FoldRight1.php index ec64c6b45..1a9071670 100644 --- a/src/Operation/FoldRight1.php +++ b/src/Operation/FoldRight1.php @@ -12,8 +12,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class FoldRight1 extends AbstractOperation { diff --git a/src/Operation/GroupBy.php b/src/Operation/GroupBy.php index 1781ae53c..0522e5835 100644 --- a/src/Operation/GroupBy.php +++ b/src/Operation/GroupBy.php @@ -12,8 +12,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class GroupBy extends AbstractOperation { diff --git a/src/Operation/Has.php b/src/Operation/Has.php index e05d3c5df..c16b906d6 100644 --- a/src/Operation/Has.php +++ b/src/Operation/Has.php @@ -12,8 +12,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Has extends AbstractOperation { diff --git a/src/Operation/IfThenElse.php b/src/Operation/IfThenElse.php index 3743336d2..d8ddfd0e3 100644 --- a/src/Operation/IfThenElse.php +++ b/src/Operation/IfThenElse.php @@ -12,8 +12,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class IfThenElse extends AbstractOperation { diff --git a/src/Operation/Implode.php b/src/Operation/Implode.php index 67bf8a047..038e016f5 100644 --- a/src/Operation/Implode.php +++ b/src/Operation/Implode.php @@ -12,8 +12,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Implode extends AbstractOperation { diff --git a/src/Operation/Init.php b/src/Operation/Init.php index e5ec87230..97a47b87d 100644 --- a/src/Operation/Init.php +++ b/src/Operation/Init.php @@ -13,8 +13,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Init extends AbstractOperation { diff --git a/src/Operation/IsEmpty.php b/src/Operation/IsEmpty.php index d36538855..a58a6e58f 100644 --- a/src/Operation/IsEmpty.php +++ b/src/Operation/IsEmpty.php @@ -13,8 +13,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class IsEmpty extends AbstractOperation { diff --git a/src/Operation/Limit.php b/src/Operation/Limit.php index d3b1ee8ae..91da63a55 100644 --- a/src/Operation/Limit.php +++ b/src/Operation/Limit.php @@ -13,8 +13,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Limit extends AbstractOperation { diff --git a/src/Operation/Map.php b/src/Operation/Map.php index 57a343d2d..a2711cb27 100644 --- a/src/Operation/Map.php +++ b/src/Operation/Map.php @@ -13,8 +13,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Map extends AbstractOperation { diff --git a/src/Operation/MapN.php b/src/Operation/MapN.php index 1e062100e..dd9505948 100644 --- a/src/Operation/MapN.php +++ b/src/Operation/MapN.php @@ -12,8 +12,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class MapN extends AbstractOperation { diff --git a/src/Operation/MatchOne.php b/src/Operation/MatchOne.php index ef39bc299..9f5a494d4 100644 --- a/src/Operation/MatchOne.php +++ b/src/Operation/MatchOne.php @@ -13,8 +13,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class MatchOne extends AbstractOperation { diff --git a/src/Operation/Matching.php b/src/Operation/Matching.php index 1d6118901..36568d86d 100644 --- a/src/Operation/Matching.php +++ b/src/Operation/Matching.php @@ -15,8 +15,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Matching extends AbstractOperation { diff --git a/src/Operation/Merge.php b/src/Operation/Merge.php index 813cdfb8e..2e407912b 100644 --- a/src/Operation/Merge.php +++ b/src/Operation/Merge.php @@ -13,8 +13,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Merge extends AbstractOperation { diff --git a/src/Operation/Nullsy.php b/src/Operation/Nullsy.php index dc71aa8d3..012c2069c 100644 --- a/src/Operation/Nullsy.php +++ b/src/Operation/Nullsy.php @@ -14,8 +14,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Nullsy extends AbstractOperation { diff --git a/src/Operation/Partition.php b/src/Operation/Partition.php index feb185942..82a039078 100644 --- a/src/Operation/Partition.php +++ b/src/Operation/Partition.php @@ -15,8 +15,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Partition extends AbstractOperation { diff --git a/src/Operation/Permutate.php b/src/Operation/Permutate.php index c2aaca763..f59a7ce1f 100644 --- a/src/Operation/Permutate.php +++ b/src/Operation/Permutate.php @@ -13,8 +13,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Permutate extends AbstractOperation { diff --git a/src/Operation/Pipe.php b/src/Operation/Pipe.php index a15f666c3..d5575fdfc 100644 --- a/src/Operation/Pipe.php +++ b/src/Operation/Pipe.php @@ -11,8 +11,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Pipe extends AbstractOperation { diff --git a/src/Operation/Pluck.php b/src/Operation/Pluck.php index 5f3355f64..a9e7ed6d0 100644 --- a/src/Operation/Pluck.php +++ b/src/Operation/Pluck.php @@ -21,8 +21,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Pluck extends AbstractOperation { diff --git a/src/Operation/Prepend.php b/src/Operation/Prepend.php index 79193da36..262685250 100644 --- a/src/Operation/Prepend.php +++ b/src/Operation/Prepend.php @@ -13,8 +13,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Prepend extends AbstractOperation { diff --git a/src/Operation/Product.php b/src/Operation/Product.php index 59914d8d9..5b57275f3 100644 --- a/src/Operation/Product.php +++ b/src/Operation/Product.php @@ -14,8 +14,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Product extends AbstractOperation { diff --git a/src/Operation/RSample.php b/src/Operation/RSample.php index 98f507e33..cfbee5c6a 100644 --- a/src/Operation/RSample.php +++ b/src/Operation/RSample.php @@ -12,8 +12,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class RSample extends AbstractOperation { diff --git a/src/Operation/Random.php b/src/Operation/Random.php index 2307fc76c..daa224431 100644 --- a/src/Operation/Random.php +++ b/src/Operation/Random.php @@ -14,8 +14,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Random extends AbstractOperation { diff --git a/src/Operation/Range.php b/src/Operation/Range.php index 7c841d9ce..c03351a52 100644 --- a/src/Operation/Range.php +++ b/src/Operation/Range.php @@ -14,8 +14,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Range extends AbstractOperation { diff --git a/src/Operation/Reduce.php b/src/Operation/Reduce.php index 6bac58638..674d17c4c 100644 --- a/src/Operation/Reduce.php +++ b/src/Operation/Reduce.php @@ -12,8 +12,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Reduce extends AbstractOperation { diff --git a/src/Operation/Reduction.php b/src/Operation/Reduction.php index 45361b527..60f2c9a1a 100644 --- a/src/Operation/Reduction.php +++ b/src/Operation/Reduction.php @@ -13,8 +13,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Reduction extends AbstractOperation { diff --git a/src/Operation/Reject.php b/src/Operation/Reject.php index e4e4a67b4..a019b6687 100644 --- a/src/Operation/Reject.php +++ b/src/Operation/Reject.php @@ -14,8 +14,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Reject extends AbstractOperation { diff --git a/src/Operation/Same.php b/src/Operation/Same.php index 2536f53a0..de21d39bc 100644 --- a/src/Operation/Same.php +++ b/src/Operation/Same.php @@ -10,8 +10,6 @@ /** * @immutable - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Same extends AbstractOperation { diff --git a/src/Operation/Scale.php b/src/Operation/Scale.php index 5f68f7f18..cf9b06766 100644 --- a/src/Operation/Scale.php +++ b/src/Operation/Scale.php @@ -14,8 +14,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Scale extends AbstractOperation { diff --git a/src/Operation/ScanLeft.php b/src/Operation/ScanLeft.php index 780134602..f4ec6294c 100644 --- a/src/Operation/ScanLeft.php +++ b/src/Operation/ScanLeft.php @@ -12,8 +12,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class ScanLeft extends AbstractOperation { diff --git a/src/Operation/ScanLeft1.php b/src/Operation/ScanLeft1.php index cbae3efc9..92f771c2b 100644 --- a/src/Operation/ScanLeft1.php +++ b/src/Operation/ScanLeft1.php @@ -13,8 +13,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class ScanLeft1 extends AbstractOperation { diff --git a/src/Operation/ScanRight.php b/src/Operation/ScanRight.php index 24f6e55da..11147ad27 100644 --- a/src/Operation/ScanRight.php +++ b/src/Operation/ScanRight.php @@ -12,8 +12,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class ScanRight extends AbstractOperation { diff --git a/src/Operation/ScanRight1.php b/src/Operation/ScanRight1.php index afc5e4cb4..33dd762af 100644 --- a/src/Operation/ScanRight1.php +++ b/src/Operation/ScanRight1.php @@ -12,8 +12,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class ScanRight1 extends AbstractOperation { diff --git a/src/Operation/Shuffle.php b/src/Operation/Shuffle.php index ed3b78819..8df6e5fe2 100644 --- a/src/Operation/Shuffle.php +++ b/src/Operation/Shuffle.php @@ -13,8 +13,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Shuffle extends AbstractOperation { diff --git a/src/Operation/Since.php b/src/Operation/Since.php index 8bee47709..fe77db392 100644 --- a/src/Operation/Since.php +++ b/src/Operation/Since.php @@ -15,8 +15,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Since extends AbstractOperation { diff --git a/src/Operation/Sort.php b/src/Operation/Sort.php index 5d64b1d58..9d8ad5451 100644 --- a/src/Operation/Sort.php +++ b/src/Operation/Sort.php @@ -15,8 +15,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Sort extends AbstractOperation { diff --git a/src/Operation/Span.php b/src/Operation/Span.php index 3c8ce4be4..2f75ce294 100644 --- a/src/Operation/Span.php +++ b/src/Operation/Span.php @@ -15,8 +15,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Span extends AbstractOperation { diff --git a/src/Operation/Split.php b/src/Operation/Split.php index 77cc08f8c..c3847fc1a 100644 --- a/src/Operation/Split.php +++ b/src/Operation/Split.php @@ -14,8 +14,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Split extends AbstractOperation { diff --git a/src/Operation/Strict.php b/src/Operation/Strict.php index 997d653b3..ed4197b74 100644 --- a/src/Operation/Strict.php +++ b/src/Operation/Strict.php @@ -14,8 +14,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Strict extends AbstractOperation { diff --git a/src/Operation/TakeWhile.php b/src/Operation/TakeWhile.php index 41d3d6b26..9bdf39861 100644 --- a/src/Operation/TakeWhile.php +++ b/src/Operation/TakeWhile.php @@ -15,8 +15,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class TakeWhile extends AbstractOperation { diff --git a/src/Operation/Times.php b/src/Operation/Times.php index 511d9af2d..10b45ae78 100644 --- a/src/Operation/Times.php +++ b/src/Operation/Times.php @@ -13,8 +13,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Times extends AbstractOperation { diff --git a/src/Operation/Transpose.php b/src/Operation/Transpose.php index 763ae8011..d3e2bbf5a 100644 --- a/src/Operation/Transpose.php +++ b/src/Operation/Transpose.php @@ -14,8 +14,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Transpose extends AbstractOperation { diff --git a/src/Operation/Unfold.php b/src/Operation/Unfold.php index cca38afe8..ffd1e0cd3 100644 --- a/src/Operation/Unfold.php +++ b/src/Operation/Unfold.php @@ -12,8 +12,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Unfold extends AbstractOperation { diff --git a/src/Operation/Unpack.php b/src/Operation/Unpack.php index 2fd82c39a..b6861df02 100644 --- a/src/Operation/Unpack.php +++ b/src/Operation/Unpack.php @@ -8,8 +8,6 @@ use Generator; use loophp\iterators\UnpackIterableAggregate; -// phpcs:disable Generic.Files.LineLength.TooLong - /** * @immutable * diff --git a/src/Operation/Until.php b/src/Operation/Until.php index 45f8e4e55..931557f69 100644 --- a/src/Operation/Until.php +++ b/src/Operation/Until.php @@ -15,8 +15,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Until extends AbstractOperation { diff --git a/src/Operation/When.php b/src/Operation/When.php index 75ed980ba..7e14ff606 100644 --- a/src/Operation/When.php +++ b/src/Operation/When.php @@ -12,8 +12,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class When extends AbstractOperation { diff --git a/src/Operation/Zip.php b/src/Operation/Zip.php index e6ec3ee31..9f874193f 100644 --- a/src/Operation/Zip.php +++ b/src/Operation/Zip.php @@ -14,8 +14,6 @@ * * @template TKey * @template T - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class Zip extends AbstractOperation { diff --git a/src/Utils/CallbacksArrayReducer.php b/src/Utils/CallbacksArrayReducer.php index c27563c76..14dd52b38 100644 --- a/src/Utils/CallbacksArrayReducer.php +++ b/src/Utils/CallbacksArrayReducer.php @@ -10,8 +10,6 @@ * @internal * * @immutable - * - * phpcs:disable Generic.Files.LineLength.TooLong */ final class CallbacksArrayReducer {