| 1 | <?php |
||
| 2 | |||
| 3 | namespace Azine\HybridAuthBundle\Services; |
||
| 4 | |||
| 5 | class AzineContactMerger implements ContactMerger |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * In this default implementation, all the contacts are just shared in one list, no |
||
| 9 | * merging of duplicates is done. |
||
| 10 | * |
||
| 11 | * @param array of array( providerId => array of UserContacts) |
||
|
0 ignored issues
–
show
|
|||
| 12 | * |
||
| 13 | 1 | * @return array of UserContact |
|
| 14 | 1 | */ |
|
| 15 | 1 | public function merge(array $newContacts) |
|
| 16 | 1 | { |
|
| 17 | 1 | $contacts = array(); |
|
| 18 | 1 | foreach ($newContacts as $nextProvider => $nextContacts) { |
|
| 19 | $contacts = array_merge($contacts, $nextContacts); |
||
| 20 | } |
||
| 21 | |||
| 22 | return $contacts; |
||
| 23 | } |
||
| 24 | } |
||
| 25 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths