Skip to content

Commit b9a95b0

Browse files
committed
Merge tag 'v1.5.8'
Conflicts: Source/MantisSourceBase.class.php Source/Source.FilterAPI.php SourceViewVC/SourceViewVC.php docs/CHANGELOG.md
2 parents a8b3461 + cf5b0da commit b9a95b0

File tree

4 files changed

+16
-5
lines changed

4 files changed

+16
-5
lines changed

Source/MantisSourceBase.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ abstract class MantisSourceBase extends MantisPlugin
1919
* a change in the minimum required MantisBT version: 0=1.2; 1=1.3, 2=2.x.
2020
* The framework version is incremented when the plugin's core files change.
2121
*/
22-
const FRAMEWORK_VERSION = '2.1.3';
22+
const FRAMEWORK_VERSION = '2.1.4-dev';
2323

2424
/**
2525
* Minimum required MantisBT version.

Source/Source.FilterAPI.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ function Source_Process_FilterOption( $key, $option ) {
201201
}
202202

203203
$wc = array_map( 'db_param', $value );
204-
$wc = array_map( create_function( '$item','return "' . $key . ' LIKE $item";' ), $wc );
205-
$value = array_map( create_function( '$item', 'return "%$item%";' ), $value );
204+
$wc = array_map( function ( $item ) use ( $key ) { return "$key LIKE $item"; }, $wc);
205+
$value = array_map( function( $item ) { return "%$item%"; }, $value );
206206

207207
$sql = '(' . implode( ' OR ', $wc ) . ')';
208208

SourceViewVC/SourceViewVC.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
class SourceViewVCPlugin extends SourceSVNPlugin {
1212

13-
const PLUGIN_VERSION = '2.0.0';
13+
const PLUGIN_VERSION = '2.0.1';
1414
const FRAMEWORK_VERSION_REQUIRED = '2.0.0';
1515
const SOURCESVN_VERSION_REQUIRED = '2.0.0';
1616

docs/CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,16 @@ Includes all changes and fixes from 1.5.0.
149149

150150
# Releases for MantisBT 1.3
151151

152+
## [1.5.8] - 2018-08-30
153+
154+
### Fixed
155+
156+
- Remove usage of create_function(), deprecated in PHP 7.2
157+
[#284](https://github.com/mantisbt-plugins/source-integration/issues/284)
158+
- ViewVC: fix links to moved/deleted files
159+
[#273](https://github.com/mantisbt-plugins/source-integration/issues/273)
160+
161+
152162
## [1.5.7] - 2018-07-30
153163

154164
### Fixed
@@ -357,7 +367,7 @@ Includes all changes and fixes from master-1.2.x branch, up to commit
357367

358368

359369
[Unreleased 2.x]: https://github.com/mantisbt-plugins/source-integration/compare/v2.1.3...HEAD
360-
[Unreleased 1.x]: https://github.com/mantisbt-plugins/source-integration/compare/v1.5.7...master-1.3.x
370+
[Unreleased 1.x]: https://github.com/mantisbt-plugins/source-integration/compare/v1.5.8...master-1.3.x
361371

362372
[2.1.3]: https://github.com/mantisbt-plugins/source-integration/compare/v2.1.2...v2.1.3
363373
[2.1.2]: https://github.com/mantisbt-plugins/source-integration/compare/v2.1.1...v2.1.2
@@ -370,6 +380,7 @@ Includes all changes and fixes from master-1.2.x branch, up to commit
370380
[2.0.0-beta.2]: https://github.com/mantisbt-plugins/source-integration/compare/v2.0.0-beta.1...v2.0.0-beta.2
371381
[2.0.0-beta.1]: https://github.com/mantisbt-plugins/source-integration/compare/v1.5.2...v2.0.0-beta.1
372382

383+
[1.5.8]: https://github.com/mantisbt-plugins/source-integration/compare/v1.5.7...v1.5.8
373384
[1.5.7]: https://github.com/mantisbt-plugins/source-integration/compare/v1.5.6...v1.5.7
374385
[1.5.6]: https://github.com/mantisbt-plugins/source-integration/compare/v1.5.5...v1.5.6
375386
[1.5.5]: https://github.com/mantisbt-plugins/source-integration/compare/v1.5.4...v1.5.5

0 commit comments

Comments
 (0)