.. _composer-usecomposerlock:
.. _use-composer-lock:
Use Composer Lock
+++++++++++++++++
This rule reports when the ``composer.lock`` is committed to the archive. ``composer.lock`` stores the actual versions of the components that were fetched by composer, based on the ``composer.json``. This is useful to store and share among developers.
See also `Composer `_.
Connex PHP features
-------------------
+ `composer `_
Specs
_____
+--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Short name | Composer/UseComposerLock |
+--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Rulesets | :ref:`All `, :ref:`Appinfo `, :ref:`CE `, :ref:`Changed Behavior ` |
+--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Exakat since | 0.9.2 |
+--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| PHP Version | All |
+--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Severity | Minor |
+--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Time To Fix | Quick (30 mins) |
+--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Precision | Very high |
+--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Available in | `Entreprise Edition `_, `Community Edition `_, `Exakat Cloud `_ |
+--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+