Skip to content

Commit fd4120f

Browse files
committed
Merge tag 'v1.6.1'
# Conflicts: # Source/MantisSourceBase.class.php # SourceCgit/SourceCgit.php # docs/CHANGELOG.md
2 parents 66a62f4 + 962bd40 commit fd4120f

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

SourceCgit/SourceCgit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
class SourceCgitPlugin extends MantisSourceGitBasePlugin {
1818

19-
const PLUGIN_VERSION = '2.0.2';
19+
const PLUGIN_VERSION = '2.0.3';
2020
const FRAMEWORK_VERSION_REQUIRED = '2.0.0';
2121

2222
public function register() {
@@ -143,7 +143,7 @@ public function commit( $p_repo, $p_data ) {
143143
# i.e. DATA=`echo $INPUT | sed -e 's/ /+/g'`
144144
list( , $t_commit_id, $t_branch ) = explode( ' ', $p_data );
145145
list( , , $t_branch ) = explode( '/', $t_branch );
146-
$master_branches = map( 'trim', explode( ',', $p_repo->info['master_branch']));
146+
$master_branches = array_map( 'trim', explode( ',', $p_repo->info['master_branch'] ) );
147147
if (!in_array($t_branch,$master_branches) )
148148
{
149149
return;

docs/CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ specification.
1212

1313
## [Unreleased 2.x]
1414

15-
Includes all changes and fixes from [1.6.0](#160---2019-01-31).
15+
Includes all changes and fixes from [1.6.0](#160---2019-01-31) and [1.6.1](#161---2019-03-26).
1616

1717
### Added
1818

@@ -217,6 +217,13 @@ Includes all changes and fixes from [1.5.0](#150---2017-03-06).
217217

218218
# Releases for MantisBT 1.3
219219

220+
## [1.6.1] - 2019-03-26
221+
222+
### Fixed
223+
224+
- CGit: replace invalid function map() by array_map()
225+
[#306](https://github.com/mantisbt-plugins/source-integration/issues/306)
226+
220227
## [1.6.0] - 2019-01-31
221228

222229
### Changed
@@ -451,7 +458,6 @@ Includes all changes and fixes from master-1.2.x branch, up to commit
451458

452459

453460
[Unreleased 2.x]: https://github.com/mantisbt-plugins/source-integration/compare/v2.1.5...HEAD
454-
[Unreleased 1.x]: https://github.com/mantisbt-plugins/source-integration/compare/v1.6.0...master-1.3.x
455461

456462
[2.1.5]: https://github.com/mantisbt-plugins/source-integration/compare/v2.1.4...v2.1.5
457463
[2.1.4]: https://github.com/mantisbt-plugins/source-integration/compare/v2.1.3...v2.1.4
@@ -466,6 +472,9 @@ Includes all changes and fixes from master-1.2.x branch, up to commit
466472
[2.0.0-beta.2]: https://github.com/mantisbt-plugins/source-integration/compare/v2.0.0-beta.1...v2.0.0-beta.2
467473
[2.0.0-beta.1]: https://github.com/mantisbt-plugins/source-integration/compare/v1.5.2...v2.0.0-beta.1
468474

475+
[Unreleased 1.x]: https://github.com/mantisbt-plugins/source-integration/compare/v1.6.1...master-1.3.x
476+
477+
[1.6.1]: https://github.com/mantisbt-plugins/source-integration/compare/v1.6.0...v1.6.1
469478
[1.6.0]: https://github.com/mantisbt-plugins/source-integration/compare/v1.5.9...v1.6.0
470479
[1.5.9]: https://github.com/mantisbt-plugins/source-integration/compare/v1.5.8...v1.5.9
471480
[1.5.8]: https://github.com/mantisbt-plugins/source-integration/compare/v1.5.7...v1.5.8

0 commit comments

Comments
 (0)