Skip to content

Commit 17afb30

Browse files
committed
Remove support for Redmine 4.2.x
1 parent 4b7e924 commit 17afb30

File tree

6 files changed

+6
-30
lines changed

6 files changed

+6
-30
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2525
- `Redmine\Client\Client::getLastResponseContentType()` is deprecated, use `\Redmine\Client\Client::request()` or `\Redmine\Api\AbstractApi::getLastResponse()->getContentType()` instead.
2626
- `Redmine\Client\Client::getLastResponseBody()` is deprecated, use `\Redmine\Client\Client::request()` or `\Redmine\Api\AbstractApi::getLastResponse()->getContent()` instead.
2727

28+
### Removed
29+
30+
- Support for Redmine 4.2.x was dropped.
31+
2832
## [v2.7.0](https://github.com/kbsali/php-redmine-api/compare/v2.6.0...v2.7.0) - 2024-07-10
2933

3034
### Added

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ that receive security updates.
4040

4141
- Redmine 5.1.x
4242
- Redmine 5.0.x
43-
- Redmine 4.2.x
4443

4544
Nevertheless, you can also use this library for all older Redmine versions.
4645
In this case, however, be aware that some features might not be supported by your Redmine server.

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@
5454
"bdt": [
5555
"Composer\\Config::disableProcessTimeout",
5656
"@behat --format=progress --suite=redmine_50104",
57-
"@behat --format=progress --suite=redmine_50010",
58-
"@behat --format=progress --suite=redmine_40210"
57+
"@behat --format=progress --suite=redmine_50010"
5958
],
6059
"behat": "behat --config tests/Behat/behat.yml",
6160
"codestyle": "php-cs-fixer fix",

docker-compose.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,3 @@ services:
4848
volumes:
4949
- ./.docker/redmine-50010_data/files:/usr/src/redmine/files
5050
- ./.docker/redmine-50010_data/sqlite:/usr/src/redmine/sqlite
51-
52-
redmine-40210:
53-
# Redmine 4.2.11 is not available on Docker Hub
54-
# @link https://hub.docker.com/_/redmine/tags?page=&page_size=&ordering=&name=4.2.11
55-
image: redmine:4.2.10
56-
user: "1000:1000"
57-
ports:
58-
- "4210:3000"
59-
environment:
60-
REDMINE_SECRET_KEY_BASE: supersecretkey
61-
REDMINE_PLUGINS_MIGRATE: true
62-
volumes:
63-
- ./.docker/redmine-40210_data/files:/usr/src/redmine/files
64-
- ./.docker/redmine-40210_data/sqlite:/usr/src/redmine/sqlite

tests/Behat/behat.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,3 @@ default:
1212
contexts:
1313
- Redmine\Tests\Behat\Bootstrap\FeatureContext:
1414
redmineVersion: '5.0.10'
15-
redmine_40210:
16-
paths:
17-
- '%paths.base%/features'
18-
contexts:
19-
- Redmine\Tests\Behat\Bootstrap\FeatureContext:
20-
redmineVersion: '4.2.10'
21-
filters:
22-
tags: "~@since50000"

tests/Behat/features/projects.feature

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ Feature: Interacting with the REST API for projects
183183
And the response has the content ""
184184
And the returned data is exactly ""
185185

186-
@since50000
187186
Scenario: Closing a project
188187
Given I have a "NativeCurlClient" client
189188
And I create a project with name "Test Project" and identifier "test-project"
@@ -197,7 +196,6 @@ Feature: Interacting with the REST API for projects
197196
| property | value |
198197
| status | 5 |
199198

200-
@since50000
201199
Scenario: Reopening a project
202200
Given I have a "NativeCurlClient" client
203201
And I create a project with name "Test Project" and identifier "test-project"
@@ -212,7 +210,6 @@ Feature: Interacting with the REST API for projects
212210
| property | value |
213211
| status | 1 |
214212

215-
@since50000
216213
Scenario: Archiving a project
217214
Given I have a "NativeCurlClient" client
218215
And I create a project with name "Test Project" and identifier "test-project"
@@ -222,7 +219,7 @@ Feature: Interacting with the REST API for projects
222219
And the response has the content ""
223220
And the returned data is true
224221

225-
@since50000 @error
222+
@error
226223
Scenario: Showing an archived project is not possible
227224
Given I have a "NativeCurlClient" client
228225
And I create a project with name "Test Project" and identifier "test-project"
@@ -233,7 +230,6 @@ Feature: Interacting with the REST API for projects
233230
And the response has the content ""
234231
And the returned data is false
235232

236-
@since50000
237233
Scenario: Unarchiving a project
238234
Given I have a "NativeCurlClient" client
239235
And I create a project with name "Test Project" and identifier "test-project"

0 commit comments

Comments
 (0)