PHP Semver

Inc
in package

Determines by which identifier the given Version should be incremented.

Table of Contents

Constants

MAJOR  = 0
Indicates that the Version should be incremented by its MAJOR number.
MINOR  = 1
Indicates that the Version should be incremented by its MINOR number.
PATCH  = 2
Indicates that the Version should be incremented by its PATCH number.
PRE_RELEASE  = 3
Indicates that the Version should be incremented by its PRE-RELEASE identifier.

Constants

MAJOR

Indicates that the Version should be incremented by its MAJOR number.

public mixed MAJOR = 0

MINOR

Indicates that the Version should be incremented by its MINOR number.

public mixed MINOR = 1

PATCH

Indicates that the Version should be incremented by its PATCH number.

public mixed PATCH = 2

PRE_RELEASE

Indicates that the Version should be incremented by its PRE-RELEASE identifier.

public mixed PRE_RELEASE = 3

        
On this page

Search results