projects/packages/changelogger/src/Plugins/SemverVersioning.php 1 location
|
@@ 177-179 (lines=3) @@
|
174 |
|
if ( $aa['minor'] !== $bb['minor'] ) { |
175 |
|
return $aa['minor'] - $bb['minor']; |
176 |
|
} |
177 |
|
if ( $aa['patch'] !== $bb['patch'] ) { |
178 |
|
return $aa['patch'] - $bb['patch']; |
179 |
|
} |
180 |
|
|
181 |
|
if ( null === $aa['prerelease'] ) { |
182 |
|
return null === $bb['prerelease'] ? 0 : 1; |
projects/packages/changelogger/src/Plugins/WordpressVersioning.php 1 location
|
@@ 187-189 (lines=3) @@
|
184 |
|
return $aa['major'] < $bb['major'] ? -1 : 1; |
185 |
|
|
186 |
|
} |
187 |
|
if ( $aa['point'] !== $bb['point'] ) { |
188 |
|
return $aa['point'] - $bb['point']; |
189 |
|
} |
190 |
|
|
191 |
|
list( $aindex, $acount ) = $this->parsePrerelease( $aa['prerelease'] ); |
192 |
|
list( $bindex, $bcount ) = $this->parsePrerelease( $bb['prerelease'] ); |