We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
isSnapshot()
1 parent daa7699 commit df71d16Copy full SHA for df71d16
1 file changed
src/VersionParser.php
@@ -276,6 +276,11 @@ public function isReleaseCandidate() : bool
276
{
277
return $this->getTagType() === self::TAG_TYPE_RELEASE_CANDIDATE;
278
}
279
+
280
+ public function isSnapshot() : bool
281
+ {
282
+ return $this->getTagType() === self::TAG_TYPE_SNAPSHOT;
283
+ }
284
285
/**
286
* Whether a branch name is present in the version.
0 commit comments