├── .github └── workflows │ ├── test_develop_and_main.yml │ ├── test_other_branches.yml │ └── test_pull_request.yml ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── Makefile ├── README.md ├── composer.json ├── docs ├── README-RU.md └── image │ └── IterToolsLogo.png ├── src ├── File.php ├── Infinite.php ├── Math.php ├── Multi.php ├── Random.php ├── Reduce.php ├── Set.php ├── Single.php ├── Sort.php ├── Stream.php ├── Summary.php ├── Transform.php └── Util │ ├── Iterators │ ├── JustifyMultipleIterator.php │ ├── RelatedIterator.php │ ├── StrictMultipleIterator.php │ └── TeeIterator.php │ ├── NoValueMonad.php │ ├── ResourcePolicy.php │ ├── UniqueExtractor.php │ └── UsageMap.php └── tests ├── Common └── IsIterableTest.php ├── Composition └── StringTest.php ├── File ├── ReadCsvTest.php └── ReadLinesTest.php ├── Fixture ├── ArrayIteratorFixture.php ├── CountableIteratorAggregateFixture.php ├── DataProvider.php ├── FileFixture.php ├── GeneratorFixture.php └── IteratorAggregateFixture.php ├── Infinite ├── CountTest.php ├── CycleTest.php └── RepeatTest.php ├── Math ├── FrequenciesTest.php ├── RelativeFrequenciesTest.php ├── RunningAverageTest.php ├── RunningDifferenceTest.php ├── RunningMaxTest.php ├── RunningMinTest.php ├── RunningProductTest.php └── RunningTotalTest.php ├── Multi ├── ChainTest.php ├── Zip │ ├── ArrayTest.php │ ├── ErrorTest.php │ ├── GeneratorTest.php │ ├── IteratorTest.php │ ├── IteratorToArrayTest.php │ ├── MixedTest.php │ └── TraversableTest.php ├── ZipEqual │ ├── ArrayTest.php │ ├── ErrorTest.php │ ├── GeneratorTest.php │ ├── IteratorTest.php │ ├── IteratorToArrayTest.php │ ├── MixedTest.php │ └── TraversableTest.php ├── ZipFilled │ ├── ArrayTest.php │ ├── ErrorTest.php │ ├── GeneratorTest.php │ ├── IteratorTest.php │ ├── IteratorToArrayTest.php │ ├── MixedTest.php │ └── TraversableTest.php └── ZipLongest │ ├── ArrayTest.php │ ├── ErrorTest.php │ ├── GeneratorTest.php │ ├── IteratorTest.php │ ├── IteratorToArrayTest.php │ ├── MixedTest.php │ └── TraversableTest.php ├── Random ├── ChoiceTest.php ├── CoinFlipTest.php ├── NumberTest.php ├── PercentageTest.php └── RockPaperScissorsTest.php ├── Reduce ├── ToAverageTest.php ├── ToCountTest.php ├── ToFirstAndLastTest.php ├── ToFirstTest.php ├── ToLastTest.php ├── ToMaxTest.php ├── ToMinMaxTest.php ├── ToMinTest.php ├── ToNthTest.php ├── ToProductTest.php ├── ToRandomValueTest.php ├── ToRangeTest.php ├── ToStringTest.php ├── ToSumTest.php └── ToValueTest.php ├── Set ├── DistinctByTest.php ├── DistinctTest.php ├── IntersectionCoerciveTest.php ├── IntersectionTest.php ├── PartialIntersectionCoerciveTest.php ├── PartialIntersectionTest.php ├── SymmetricDifferenceCoerciveTest.php ├── SymmetricDifferenceTest.php ├── UnionCoerciveTest.php └── UnionTest.php ├── Single ├── ChunkwiseOverlapTest.php ├── ChunkwiseTest.php ├── CompressAssociativeTest.php ├── CompressTest.php ├── DropWhileTest.php ├── FilterFalseTest.php ├── FilterKeysTest.php ├── FilterTest.php ├── FilterTrueTest.php ├── FlatMapTest.php ├── FlattenTest.php ├── GroupByTest.php ├── LimitTest.php ├── MapTest.php ├── PairwiseTest.php ├── ReindexTest.php ├── RepeatTest.php ├── ReverseTest.php ├── SkipTest.php ├── SliceTest.php ├── StringTest.php └── TakeWhileTest.php ├── Sort ├── AsortTest.php └── SortTest.php ├── Stream ├── ExampleUsageTest.php ├── FileSourceTest.php ├── FileTerminalTest.php ├── FluentTest.php ├── InfiniteTest.php ├── MathTest.php ├── MultiTest.php ├── PeekPrintRTest.php ├── PeekPrintTest.php ├── PeekStreamTest.php ├── PeekTest.php ├── PrintTest.php ├── ReduceTest.php ├── SetTest.php ├── SingleTest.php ├── SortTest.php ├── SourceTest.php ├── SummaryTest.php └── TransformationTest.php ├── Summary ├── AllMatchTest.php ├── AllUniqueTest.php ├── AnyMatchTest.php ├── ArePermutationsCoerciveTest.php ├── ArePermutationsTest.php ├── ExactlyNTest.php ├── IsEmptyTest.php ├── IsPartitionedTest.php ├── IsReversedTest.php ├── IsSortedTest.php ├── NoneMatchTest.php ├── SameCountTest.php └── SameTest.php ├── Transform ├── TeeTest.php ├── ToArrayTest.php ├── ToAssociativeArrayTest.php └── ToIteratorTest.php ├── Util ├── StrictMultipleIteratorTest.php ├── TeeIteratorTest.php └── UniqueExtractorTest.php ├── bootstrap.php ├── coding_standard.xml ├── phpstan.neon ├── phpunit.xml └── psalm.xml /.github/workflows/test_develop_and_main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/.github/workflows/test_develop_and_main.yml -------------------------------------------------------------------------------- /.github/workflows/test_other_branches.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/.github/workflows/test_other_branches.yml -------------------------------------------------------------------------------- /.github/workflows/test_pull_request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/.github/workflows/test_pull_request.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/composer.json -------------------------------------------------------------------------------- /docs/README-RU.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/docs/README-RU.md -------------------------------------------------------------------------------- /docs/image/IterToolsLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/docs/image/IterToolsLogo.png -------------------------------------------------------------------------------- /src/File.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/src/File.php -------------------------------------------------------------------------------- /src/Infinite.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/src/Infinite.php -------------------------------------------------------------------------------- /src/Math.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/src/Math.php -------------------------------------------------------------------------------- /src/Multi.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/src/Multi.php -------------------------------------------------------------------------------- /src/Random.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/src/Random.php -------------------------------------------------------------------------------- /src/Reduce.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/src/Reduce.php -------------------------------------------------------------------------------- /src/Set.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/src/Set.php -------------------------------------------------------------------------------- /src/Single.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/src/Single.php -------------------------------------------------------------------------------- /src/Sort.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/src/Sort.php -------------------------------------------------------------------------------- /src/Stream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/src/Stream.php -------------------------------------------------------------------------------- /src/Summary.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/src/Summary.php -------------------------------------------------------------------------------- /src/Transform.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/src/Transform.php -------------------------------------------------------------------------------- /src/Util/Iterators/JustifyMultipleIterator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/src/Util/Iterators/JustifyMultipleIterator.php -------------------------------------------------------------------------------- /src/Util/Iterators/RelatedIterator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/src/Util/Iterators/RelatedIterator.php -------------------------------------------------------------------------------- /src/Util/Iterators/StrictMultipleIterator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/src/Util/Iterators/StrictMultipleIterator.php -------------------------------------------------------------------------------- /src/Util/Iterators/TeeIterator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/src/Util/Iterators/TeeIterator.php -------------------------------------------------------------------------------- /src/Util/NoValueMonad.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/src/Util/NoValueMonad.php -------------------------------------------------------------------------------- /src/Util/ResourcePolicy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/src/Util/ResourcePolicy.php -------------------------------------------------------------------------------- /src/Util/UniqueExtractor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/src/Util/UniqueExtractor.php -------------------------------------------------------------------------------- /src/Util/UsageMap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/src/Util/UsageMap.php -------------------------------------------------------------------------------- /tests/Common/IsIterableTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Common/IsIterableTest.php -------------------------------------------------------------------------------- /tests/Composition/StringTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Composition/StringTest.php -------------------------------------------------------------------------------- /tests/File/ReadCsvTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/File/ReadCsvTest.php -------------------------------------------------------------------------------- /tests/File/ReadLinesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/File/ReadLinesTest.php -------------------------------------------------------------------------------- /tests/Fixture/ArrayIteratorFixture.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Fixture/ArrayIteratorFixture.php -------------------------------------------------------------------------------- /tests/Fixture/CountableIteratorAggregateFixture.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Fixture/CountableIteratorAggregateFixture.php -------------------------------------------------------------------------------- /tests/Fixture/DataProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Fixture/DataProvider.php -------------------------------------------------------------------------------- /tests/Fixture/FileFixture.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Fixture/FileFixture.php -------------------------------------------------------------------------------- /tests/Fixture/GeneratorFixture.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Fixture/GeneratorFixture.php -------------------------------------------------------------------------------- /tests/Fixture/IteratorAggregateFixture.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Fixture/IteratorAggregateFixture.php -------------------------------------------------------------------------------- /tests/Infinite/CountTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Infinite/CountTest.php -------------------------------------------------------------------------------- /tests/Infinite/CycleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Infinite/CycleTest.php -------------------------------------------------------------------------------- /tests/Infinite/RepeatTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Infinite/RepeatTest.php -------------------------------------------------------------------------------- /tests/Math/FrequenciesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Math/FrequenciesTest.php -------------------------------------------------------------------------------- /tests/Math/RelativeFrequenciesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Math/RelativeFrequenciesTest.php -------------------------------------------------------------------------------- /tests/Math/RunningAverageTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Math/RunningAverageTest.php -------------------------------------------------------------------------------- /tests/Math/RunningDifferenceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Math/RunningDifferenceTest.php -------------------------------------------------------------------------------- /tests/Math/RunningMaxTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Math/RunningMaxTest.php -------------------------------------------------------------------------------- /tests/Math/RunningMinTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Math/RunningMinTest.php -------------------------------------------------------------------------------- /tests/Math/RunningProductTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Math/RunningProductTest.php -------------------------------------------------------------------------------- /tests/Math/RunningTotalTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Math/RunningTotalTest.php -------------------------------------------------------------------------------- /tests/Multi/ChainTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/ChainTest.php -------------------------------------------------------------------------------- /tests/Multi/Zip/ArrayTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/Zip/ArrayTest.php -------------------------------------------------------------------------------- /tests/Multi/Zip/ErrorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/Zip/ErrorTest.php -------------------------------------------------------------------------------- /tests/Multi/Zip/GeneratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/Zip/GeneratorTest.php -------------------------------------------------------------------------------- /tests/Multi/Zip/IteratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/Zip/IteratorTest.php -------------------------------------------------------------------------------- /tests/Multi/Zip/IteratorToArrayTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/Zip/IteratorToArrayTest.php -------------------------------------------------------------------------------- /tests/Multi/Zip/MixedTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/Zip/MixedTest.php -------------------------------------------------------------------------------- /tests/Multi/Zip/TraversableTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/Zip/TraversableTest.php -------------------------------------------------------------------------------- /tests/Multi/ZipEqual/ArrayTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/ZipEqual/ArrayTest.php -------------------------------------------------------------------------------- /tests/Multi/ZipEqual/ErrorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/ZipEqual/ErrorTest.php -------------------------------------------------------------------------------- /tests/Multi/ZipEqual/GeneratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/ZipEqual/GeneratorTest.php -------------------------------------------------------------------------------- /tests/Multi/ZipEqual/IteratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/ZipEqual/IteratorTest.php -------------------------------------------------------------------------------- /tests/Multi/ZipEqual/IteratorToArrayTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/ZipEqual/IteratorToArrayTest.php -------------------------------------------------------------------------------- /tests/Multi/ZipEqual/MixedTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/ZipEqual/MixedTest.php -------------------------------------------------------------------------------- /tests/Multi/ZipEqual/TraversableTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/ZipEqual/TraversableTest.php -------------------------------------------------------------------------------- /tests/Multi/ZipFilled/ArrayTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/ZipFilled/ArrayTest.php -------------------------------------------------------------------------------- /tests/Multi/ZipFilled/ErrorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/ZipFilled/ErrorTest.php -------------------------------------------------------------------------------- /tests/Multi/ZipFilled/GeneratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/ZipFilled/GeneratorTest.php -------------------------------------------------------------------------------- /tests/Multi/ZipFilled/IteratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/ZipFilled/IteratorTest.php -------------------------------------------------------------------------------- /tests/Multi/ZipFilled/IteratorToArrayTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/ZipFilled/IteratorToArrayTest.php -------------------------------------------------------------------------------- /tests/Multi/ZipFilled/MixedTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/ZipFilled/MixedTest.php -------------------------------------------------------------------------------- /tests/Multi/ZipFilled/TraversableTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/ZipFilled/TraversableTest.php -------------------------------------------------------------------------------- /tests/Multi/ZipLongest/ArrayTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/ZipLongest/ArrayTest.php -------------------------------------------------------------------------------- /tests/Multi/ZipLongest/ErrorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/ZipLongest/ErrorTest.php -------------------------------------------------------------------------------- /tests/Multi/ZipLongest/GeneratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/ZipLongest/GeneratorTest.php -------------------------------------------------------------------------------- /tests/Multi/ZipLongest/IteratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/ZipLongest/IteratorTest.php -------------------------------------------------------------------------------- /tests/Multi/ZipLongest/IteratorToArrayTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/ZipLongest/IteratorToArrayTest.php -------------------------------------------------------------------------------- /tests/Multi/ZipLongest/MixedTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/ZipLongest/MixedTest.php -------------------------------------------------------------------------------- /tests/Multi/ZipLongest/TraversableTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Multi/ZipLongest/TraversableTest.php -------------------------------------------------------------------------------- /tests/Random/ChoiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Random/ChoiceTest.php -------------------------------------------------------------------------------- /tests/Random/CoinFlipTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Random/CoinFlipTest.php -------------------------------------------------------------------------------- /tests/Random/NumberTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Random/NumberTest.php -------------------------------------------------------------------------------- /tests/Random/PercentageTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Random/PercentageTest.php -------------------------------------------------------------------------------- /tests/Random/RockPaperScissorsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Random/RockPaperScissorsTest.php -------------------------------------------------------------------------------- /tests/Reduce/ToAverageTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Reduce/ToAverageTest.php -------------------------------------------------------------------------------- /tests/Reduce/ToCountTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Reduce/ToCountTest.php -------------------------------------------------------------------------------- /tests/Reduce/ToFirstAndLastTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Reduce/ToFirstAndLastTest.php -------------------------------------------------------------------------------- /tests/Reduce/ToFirstTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Reduce/ToFirstTest.php -------------------------------------------------------------------------------- /tests/Reduce/ToLastTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Reduce/ToLastTest.php -------------------------------------------------------------------------------- /tests/Reduce/ToMaxTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Reduce/ToMaxTest.php -------------------------------------------------------------------------------- /tests/Reduce/ToMinMaxTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Reduce/ToMinMaxTest.php -------------------------------------------------------------------------------- /tests/Reduce/ToMinTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Reduce/ToMinTest.php -------------------------------------------------------------------------------- /tests/Reduce/ToNthTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Reduce/ToNthTest.php -------------------------------------------------------------------------------- /tests/Reduce/ToProductTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Reduce/ToProductTest.php -------------------------------------------------------------------------------- /tests/Reduce/ToRandomValueTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Reduce/ToRandomValueTest.php -------------------------------------------------------------------------------- /tests/Reduce/ToRangeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Reduce/ToRangeTest.php -------------------------------------------------------------------------------- /tests/Reduce/ToStringTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Reduce/ToStringTest.php -------------------------------------------------------------------------------- /tests/Reduce/ToSumTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Reduce/ToSumTest.php -------------------------------------------------------------------------------- /tests/Reduce/ToValueTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Reduce/ToValueTest.php -------------------------------------------------------------------------------- /tests/Set/DistinctByTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Set/DistinctByTest.php -------------------------------------------------------------------------------- /tests/Set/DistinctTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Set/DistinctTest.php -------------------------------------------------------------------------------- /tests/Set/IntersectionCoerciveTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Set/IntersectionCoerciveTest.php -------------------------------------------------------------------------------- /tests/Set/IntersectionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Set/IntersectionTest.php -------------------------------------------------------------------------------- /tests/Set/PartialIntersectionCoerciveTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Set/PartialIntersectionCoerciveTest.php -------------------------------------------------------------------------------- /tests/Set/PartialIntersectionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Set/PartialIntersectionTest.php -------------------------------------------------------------------------------- /tests/Set/SymmetricDifferenceCoerciveTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Set/SymmetricDifferenceCoerciveTest.php -------------------------------------------------------------------------------- /tests/Set/SymmetricDifferenceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Set/SymmetricDifferenceTest.php -------------------------------------------------------------------------------- /tests/Set/UnionCoerciveTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Set/UnionCoerciveTest.php -------------------------------------------------------------------------------- /tests/Set/UnionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Set/UnionTest.php -------------------------------------------------------------------------------- /tests/Single/ChunkwiseOverlapTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Single/ChunkwiseOverlapTest.php -------------------------------------------------------------------------------- /tests/Single/ChunkwiseTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Single/ChunkwiseTest.php -------------------------------------------------------------------------------- /tests/Single/CompressAssociativeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Single/CompressAssociativeTest.php -------------------------------------------------------------------------------- /tests/Single/CompressTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Single/CompressTest.php -------------------------------------------------------------------------------- /tests/Single/DropWhileTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Single/DropWhileTest.php -------------------------------------------------------------------------------- /tests/Single/FilterFalseTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Single/FilterFalseTest.php -------------------------------------------------------------------------------- /tests/Single/FilterKeysTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Single/FilterKeysTest.php -------------------------------------------------------------------------------- /tests/Single/FilterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Single/FilterTest.php -------------------------------------------------------------------------------- /tests/Single/FilterTrueTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Single/FilterTrueTest.php -------------------------------------------------------------------------------- /tests/Single/FlatMapTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Single/FlatMapTest.php -------------------------------------------------------------------------------- /tests/Single/FlattenTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Single/FlattenTest.php -------------------------------------------------------------------------------- /tests/Single/GroupByTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Single/GroupByTest.php -------------------------------------------------------------------------------- /tests/Single/LimitTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Single/LimitTest.php -------------------------------------------------------------------------------- /tests/Single/MapTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Single/MapTest.php -------------------------------------------------------------------------------- /tests/Single/PairwiseTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Single/PairwiseTest.php -------------------------------------------------------------------------------- /tests/Single/ReindexTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Single/ReindexTest.php -------------------------------------------------------------------------------- /tests/Single/RepeatTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Single/RepeatTest.php -------------------------------------------------------------------------------- /tests/Single/ReverseTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Single/ReverseTest.php -------------------------------------------------------------------------------- /tests/Single/SkipTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Single/SkipTest.php -------------------------------------------------------------------------------- /tests/Single/SliceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Single/SliceTest.php -------------------------------------------------------------------------------- /tests/Single/StringTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Single/StringTest.php -------------------------------------------------------------------------------- /tests/Single/TakeWhileTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Single/TakeWhileTest.php -------------------------------------------------------------------------------- /tests/Sort/AsortTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Sort/AsortTest.php -------------------------------------------------------------------------------- /tests/Sort/SortTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Sort/SortTest.php -------------------------------------------------------------------------------- /tests/Stream/ExampleUsageTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Stream/ExampleUsageTest.php -------------------------------------------------------------------------------- /tests/Stream/FileSourceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Stream/FileSourceTest.php -------------------------------------------------------------------------------- /tests/Stream/FileTerminalTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Stream/FileTerminalTest.php -------------------------------------------------------------------------------- /tests/Stream/FluentTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Stream/FluentTest.php -------------------------------------------------------------------------------- /tests/Stream/InfiniteTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Stream/InfiniteTest.php -------------------------------------------------------------------------------- /tests/Stream/MathTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Stream/MathTest.php -------------------------------------------------------------------------------- /tests/Stream/MultiTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Stream/MultiTest.php -------------------------------------------------------------------------------- /tests/Stream/PeekPrintRTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Stream/PeekPrintRTest.php -------------------------------------------------------------------------------- /tests/Stream/PeekPrintTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Stream/PeekPrintTest.php -------------------------------------------------------------------------------- /tests/Stream/PeekStreamTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Stream/PeekStreamTest.php -------------------------------------------------------------------------------- /tests/Stream/PeekTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Stream/PeekTest.php -------------------------------------------------------------------------------- /tests/Stream/PrintTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Stream/PrintTest.php -------------------------------------------------------------------------------- /tests/Stream/ReduceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Stream/ReduceTest.php -------------------------------------------------------------------------------- /tests/Stream/SetTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Stream/SetTest.php -------------------------------------------------------------------------------- /tests/Stream/SingleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Stream/SingleTest.php -------------------------------------------------------------------------------- /tests/Stream/SortTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Stream/SortTest.php -------------------------------------------------------------------------------- /tests/Stream/SourceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Stream/SourceTest.php -------------------------------------------------------------------------------- /tests/Stream/SummaryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Stream/SummaryTest.php -------------------------------------------------------------------------------- /tests/Stream/TransformationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Stream/TransformationTest.php -------------------------------------------------------------------------------- /tests/Summary/AllMatchTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Summary/AllMatchTest.php -------------------------------------------------------------------------------- /tests/Summary/AllUniqueTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Summary/AllUniqueTest.php -------------------------------------------------------------------------------- /tests/Summary/AnyMatchTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Summary/AnyMatchTest.php -------------------------------------------------------------------------------- /tests/Summary/ArePermutationsCoerciveTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Summary/ArePermutationsCoerciveTest.php -------------------------------------------------------------------------------- /tests/Summary/ArePermutationsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Summary/ArePermutationsTest.php -------------------------------------------------------------------------------- /tests/Summary/ExactlyNTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Summary/ExactlyNTest.php -------------------------------------------------------------------------------- /tests/Summary/IsEmptyTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Summary/IsEmptyTest.php -------------------------------------------------------------------------------- /tests/Summary/IsPartitionedTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Summary/IsPartitionedTest.php -------------------------------------------------------------------------------- /tests/Summary/IsReversedTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Summary/IsReversedTest.php -------------------------------------------------------------------------------- /tests/Summary/IsSortedTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Summary/IsSortedTest.php -------------------------------------------------------------------------------- /tests/Summary/NoneMatchTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Summary/NoneMatchTest.php -------------------------------------------------------------------------------- /tests/Summary/SameCountTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Summary/SameCountTest.php -------------------------------------------------------------------------------- /tests/Summary/SameTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Summary/SameTest.php -------------------------------------------------------------------------------- /tests/Transform/TeeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Transform/TeeTest.php -------------------------------------------------------------------------------- /tests/Transform/ToArrayTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Transform/ToArrayTest.php -------------------------------------------------------------------------------- /tests/Transform/ToAssociativeArrayTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Transform/ToAssociativeArrayTest.php -------------------------------------------------------------------------------- /tests/Transform/ToIteratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Transform/ToIteratorTest.php -------------------------------------------------------------------------------- /tests/Util/StrictMultipleIteratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Util/StrictMultipleIteratorTest.php -------------------------------------------------------------------------------- /tests/Util/TeeIteratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Util/TeeIteratorTest.php -------------------------------------------------------------------------------- /tests/Util/UniqueExtractorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/Util/UniqueExtractorTest.php -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/bootstrap.php -------------------------------------------------------------------------------- /tests/coding_standard.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/coding_standard.xml -------------------------------------------------------------------------------- /tests/phpstan.neon: -------------------------------------------------------------------------------- 1 | parameters: 2 | level: max 3 | paths: 4 | - ../src 5 | treatPhpDocTypesAsCertain: false 6 | -------------------------------------------------------------------------------- /tests/phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/phpunit.xml -------------------------------------------------------------------------------- /tests/psalm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markrogoyski/itertools-php/HEAD/tests/psalm.xml --------------------------------------------------------------------------------