Skip to content

Commit 1bc9ec2

Browse files
authored
Merge pull request #7 from cybercog/feature/laravel-57-support
Add Laravel 5.7 support
2 parents 3b168fb + db979f0 commit 1bc9ec2

File tree

7 files changed

+53
-6
lines changed

7 files changed

+53
-6
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.2.0 - 2018-09-09
6+
7+
### Added
8+
9+
- Laravel 5.7 support
10+
511
## 4.1.0 - 2018-02-08
612

713
### Added

composer.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"require": {
4040
"php": "^7.1",
4141
"cybercog/youtrack-php-sdk": "^4.0",
42-
"illuminate/support": "~5.4|~5.5|~5.6"
42+
"illuminate/support": "~5.4|~5.5|~5.6|~5.7"
4343
},
4444
"require-dev": {
4545
"friendsofphp/php-cs-fixer": "^2.10",
@@ -59,12 +59,14 @@
5959
"test-install": [
6060
"composer install --prefer-dist --no-interaction --working-dir tests/framework/5.4",
6161
"composer install --prefer-dist --no-interaction --working-dir tests/framework/5.5",
62-
"composer install --prefer-dist --no-interaction --working-dir tests/framework/5.6"
62+
"composer install --prefer-dist --no-interaction --working-dir tests/framework/5.6",
63+
"composer install --prefer-dist --no-interaction --working-dir tests/framework/5.7"
6364
],
6465
"test": [
6566
"./vendor/bin/phpunit --configuration tests/framework/5.4",
6667
"./vendor/bin/phpunit --configuration tests/framework/5.5",
67-
"./vendor/bin/phpunit --configuration tests/framework/5.6"
68+
"./vendor/bin/phpunit --configuration tests/framework/5.6",
69+
"./vendor/bin/phpunit --configuration tests/framework/5.7"
6870
]
6971
},
7072
"config": {

tests/framework/5.4/phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
convertWarningsToExceptions="true"
1010
processIsolation="false"
1111
stopOnFailure="false"
12-
syntaxCheck="false">
12+
>
1313
<testsuites>
1414
<testsuite name="Package">
1515
<directory suffix="Test.php">../../Unit/</directory>

tests/framework/5.5/phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
convertWarningsToExceptions="true"
1010
processIsolation="false"
1111
stopOnFailure="false"
12-
syntaxCheck="false">
12+
>
1313
<testsuites>
1414
<testsuite name="Package">
1515
<directory suffix="Test.php">../../Unit/</directory>

tests/framework/5.6/phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
convertWarningsToExceptions="true"
1010
processIsolation="false"
1111
stopOnFailure="false"
12-
syntaxCheck="false">
12+
>
1313
<testsuites>
1414
<testsuite name="Package">
1515
<directory suffix="Test.php">../../Unit/</directory>

tests/framework/5.7/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.7.0"
4+
},
5+
"require-dev": {
6+
"orchestra/testbench": "3.7.*"
7+
}
8+
}

tests/framework/5.7/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+
>
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)