Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHPCompatibility in composer.json -> prefer stable #11980

Closed
wimg opened this issue Sep 27, 2016 · 2 comments
Closed

PHPCompatibility in composer.json -> prefer stable #11980

wimg opened this issue Sep 27, 2016 · 2 comments

Comments

@wimg
Copy link

wimg commented Sep 27, 2016

EXPLANATION OF THE ISSUE

It's best to change the inclusion of PHPCompatibility in composer.json to the latest stable release (currently 7.0.6) instead of "*". This ensure you are using a stable release instead of master which, although fully unit tested, we do not guarantee to be 100% stable.

Seems prudent to add :
"prefer-stable" : true

@claudiosanches
Copy link
Contributor

@claudiosanches
Copy link
Contributor

Ohh yeah and I removed because of:

composer install            
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package prefer-stable could not be found in any version, there may be a typo in the package name.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

More easy to install and lock in the correct version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants