private function getSuggestsFilters(Composer $composer): array
    {
        return array_map(
            function (string $package) : ViolationFilterInterface {
                return new ExactPackageFilter($package);
            },
            array_keys(
                $composer->getPackage()->getSuggests()
            )
        );
    }
private function getSuggestsFilters(Composer $composer): array
    {
        return array_map(
            function (string $package) : ViolationFilterInterface {
                return new ExactPackageFilter($package);
            },
            array_keys(
                $composer->getPackage()->getSuggests()
            )
        );
    }
private function getSuggestsFilters ( Composer $ composer ) : array { return array_map ( function ( string $ package ) : ViolationFilterInterface { return new ExactPackageFilter ( $ package ) ; } , array_keys ( $ composer -> getPackage ( ) -> getSuggests ( ) ) ) ; }
Exclude packages suggested by the root package from violating dependencies.

@param Composer $composer

@return ViolationFilterInterface[]
Exclude packages suggested by the root package from violating dependencies .