When installing the composer package in version 7.2.0 the following error occurs on macOS:
- Installing splitsoftware/split-sdk-php (7.2.0): Extracting archive
Failed to extract splitsoftware/split-sdk-php: (1) '/usr/bin/unzip' -qq '/Users/.../vendor/composer/tmp-3adceb1e2ad196f58b2ac42cebdedab9.zip' -d '/Users/.../vendor/composer/6e494f8f'
replace /Users/.../vendor/composer/6e494f8f/splitio-php-client-4d0aef5/src/SplitIO/Sdk/Validator/flagSetsValidator.php? [y]es, [n]o, [A]ll, [N]one, [r]ename: NULL
(EOF or read error, treating as "[N]one" ...)
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class
Skipped installation of bin bin/splitio for package splitsoftware/split-sdk-php: name conflicts with an existing file
When installing the composer package in version 7.2.0 the following error occurs on macOS:
It seems that the same class exists in two files in https://github.com/splitio/php-client/tree/master/src/SplitIO/Sdk/Validator, one with an upper case first char and another with a lower case first char:
I guess that https://github.com/splitio/php-client/blob/master/src/SplitIO/Sdk/Validator/flagSetsValidator.php could simply be deleted, as the content of the two files is identical.