Reputation: 197682
For a composer version constraint how stable is the "patch
" Composer versions in terms of the order in the stability-flags.
Is it stable
? Where does it fit into the order?
The minimum-stability
setting does not list it:
Available options (in order of stability) are
dev
,alpha
,beta
,RC
, andstable
.
From common sense I would say that a patch is a patched stable version so I would consider it stable.
But would a version requirement of 3.1.3-patch1
satisfy a minimum-stability
-Setting of stable
?
Upvotes: 3
Views: 123
Reputation: 26554
Patch is considered stable. Take a look at the code in VersionSelectorTest.php
:
// real version, is dev package, stability, expected recommendation, [branch-alias]
array('3.1.2-patch', false, 'stable', '^3.1')
Upvotes: 3