Skip to content

Commit

Permalink
[FEATURE] Ensure composer always installs the packages
Browse files Browse the repository at this point in the history
This patch ignores some platform requirements to ensure that the packages can be installed.
To achieve that all plugins and all the php version and extension requirements are ignored.

Otherwise a simple missing `php-gd` extension might break the license finder
  • Loading branch information
kaystrobach authored Dec 13, 2019
1 parent 9f127ab commit 70b5e7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/license_finder/package_managers/composer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def self.package_management_command
end

def prepare_command
'composer install'
'composer install --no-plugins --ignore-platform-reqs --no-interaction'
end

def package_path
Expand Down

0 comments on commit 70b5e7a

Please sign in to comment.