Skip to content

Commit c95343f

Browse files
committed
Update YouTrack PHP SDK to v4
1 parent 9c9d980 commit c95343f

File tree

5 files changed

+54
-8
lines changed

5 files changed

+54
-8
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to `laravel-youtrack-sdk` will be documented in this file.
44

5+
## 4.0.0 - 2017-11-20
6+
7+
### Changed
8+
9+
- Updated YouTrack PHP SDK major version to 4.0.0
10+
511
## 3.0.0 - 2017-09-13
612

713
### Changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Laravel wrapper for the [YouTrack PHP SDK](https://github.com/cybercog/youtrack-
3030
- [Contributing](#contributing)
3131
- [Testing](#testing)
3232
- [Security](#security)
33-
- [Credits](#credits)
33+
- [Contributors](#contributors)
3434
- [Alternatives](#alternatives)
3535
- [License](#license)
3636
- [About CyberCog](#about-cybercog)
@@ -243,11 +243,10 @@ $ composer test
243243

244244
If you discover any security related issues, please email open@cybercog.su instead of using the issue tracker.
245245

246-
## Credits
246+
## Contributors
247247

248-
| | @mention |
249-
|---|---|
250-
| ![@a-komarev](https://avatars2.githubusercontent.com/u/1849174?s=64) | [@a-komarev](https://github.com/a-komarev) |
248+
| <a href="https://github.com/a-komarev">![@a-komarev](https://avatars.githubusercontent.com/u/1849174?s=110)<br />Anton Komarev</a> |
249+
| :---: |
251250

252251
[Laravel YouTrack SDK contributors list](../../contributors)
253252

composer.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
},
3939
"require": {
4040
"php": "^7.1",
41-
"cybercog/youtrack-php-sdk": "^3.0",
41+
"cybercog/youtrack-php-sdk": "^4.0",
4242
"illuminate/support": "~5.1.20|~5.2|~5.3|~5.4|~5.5"
4343
},
4444
"require-dev": {
@@ -60,13 +60,15 @@
6060
"composer install --prefer-dist --no-interaction --working-dir tests/framework/5.1",
6161
"composer install --prefer-dist --no-interaction --working-dir tests/framework/5.2",
6262
"composer install --prefer-dist --no-interaction --working-dir tests/framework/5.3",
63-
"composer install --prefer-dist --no-interaction --working-dir tests/framework/5.4"
63+
"composer install --prefer-dist --no-interaction --working-dir tests/framework/5.4",
64+
"composer install --prefer-dist --no-interaction --working-dir tests/framework/5.5"
6465
],
6566
"test": [
6667
"./vendor/bin/phpunit --configuration tests/framework/5.1",
6768
"./vendor/bin/phpunit --configuration tests/framework/5.2",
6869
"./vendor/bin/phpunit --configuration tests/framework/5.3",
69-
"./vendor/bin/phpunit --configuration tests/framework/5.4"
70+
"./vendor/bin/phpunit --configuration tests/framework/5.4",
71+
"./vendor/bin/phpunit --configuration tests/framework/5.5"
7072
]
7173
},
7274
"config": {

tests/framework/5.5/composer.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"require": {
3+
"illuminate/support": "~5.5.0"
4+
},
5+
"require-dev": {
6+
"orchestra/testbench": "3.5.*"
7+
}
8+
}

tests/framework/5.5/phpunit.xml.dist

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit
3+
backupGlobals="false"
4+
backupStaticAttributes="false"
5+
bootstrap="vendor/autoload.php"
6+
colors="true"
7+
convertErrorsToExceptions="true"
8+
convertNoticesToExceptions="true"
9+
convertWarningsToExceptions="true"
10+
processIsolation="false"
11+
stopOnFailure="false"
12+
syntaxCheck="false">
13+
<testsuites>
14+
<testsuite name="Package">
15+
<directory suffix="Test.php">../../Unit/</directory>
16+
</testsuite>
17+
</testsuites>
18+
<filter>
19+
<whitelist>
20+
<directory suffix=".php">./src/</directory>
21+
</whitelist>
22+
</filter>
23+
<php>
24+
<env name="YOUTRACK_BASE_URI" value="https://youtrack.example.com"/>
25+
<env name="YOUTRACK_AUTH" value="token"/>
26+
<env name="YOUTRACK_TOKEN" value=""/>
27+
<env name="YOUTRACK_USERNAME" value=""/>
28+
<env name="YOUTRACK_PASSWORD" value=""/>
29+
<env name="YOUTRACK_PROJECT" value="TEST"/>
30+
</php>
31+
</phpunit>

0 commit comments

Comments
 (0)