Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit 69a5516

Browse files
committed
final release preps
1 parent 0feda2e commit 69a5516

6 files changed

Lines changed: 53 additions & 19 deletions

File tree

.gitattributes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/tests export-ignore
2+
/vendor export-ignore
3+
.gitattributes export-ignore
4+
.gitignore export-ignore
5+
.scrutinizer.yml export-ignore
6+
.travis.yml export-ignore
7+
phpunit.xml.dist export-ignore

.travis.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,29 @@
1+
sudo: false
2+
13
language: php
24

5+
cache:
6+
directories:
7+
- $HOME/.composer/cache
8+
- vendor
9+
310
php:
411
- 5.5
512
- 5.6
613
- 7.0
714

15+
env:
16+
matrix:
17+
- PREFER_LOWEST="--prefer-lowest"
18+
- PREFER_LOWEST=""
19+
820
before_script:
921
- composer self-update
10-
- composer install --dev --prefer-source
22+
- composer update --prefer-source $PREFER_LOWEST
1123

1224
script:
13-
- phpunit
14-
- ./vendor/bin/phpcs --standard=PSR2 ./src/
25+
- vendor/bin/phpunit -c ./phpunit.xml.dist
26+
- vendor/bin/phpcs --standard=PSR2 src
1527

1628
notifications:
1729
irc: "irc.freenode.org#zftalk.modules"

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.6.0
2+
3+
- [BC] Synchronize with SlmQueue release 0.6.0 which adds compatibility with PHP7, zend-servicemanager 3 and zend-eventmanager 3
4+
15
# 0.5.0
26

37
- [BC] SlmQueueSqs is now based on AWS SDK v3. As a consequence, minimum PHP dependency has been bumped to 5.5.

composer.json

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,30 +23,28 @@
2323
"homepage": "http://www.michaelgallego.fr"
2424
}
2525
],
26-
"repositories": [
27-
{
28-
"type": "vcs",
29-
"url": "https://github.com/basz/aws-sdk-php-zf2"
30-
}
31-
],
32-
"minimum-stability": "dev",
33-
"prefer-stable": true,
3426
"require": {
3527
"php": "^5.5 || ^7.0",
3628
"zendframework/zend-eventmanager": "^2.6 || ^3.0",
37-
"zendframework/zend-servicemanager": "~2.7 || ^3.0",
38-
"zendframework/zend-stdlib": "~2.2 || ^3.0",
39-
"slm/queue": "dev-master as 0.6.0",
40-
"aws/aws-sdk-php-zf2": "dev-zf-sm3-compatibility as 3.0.0"
29+
"zendframework/zend-servicemanager": "^2.7 || ^3.0",
30+
"zendframework/zend-stdlib": "^2.2 || ^3.0",
31+
"slm/queue": "^0.6",
32+
"aws/aws-sdk-php-zf2": "dev-master as 2.0.2"
4133
},
4234
"require-dev": {
43-
"zendframework/zendframework": "~2.2",
44-
"phpunit/phpunit": "~4.1",
45-
"squizlabs/php_codesniffer": "2.*"
35+
"zendframework/zend-config": "^2.2",
36+
"zendframework/zend-modulemanager": "^2.5",
37+
"zendframework/zend-view": "^2.5",
38+
"zendframework/zend-log": "^2.5",
39+
"zendframework/zend-i18n": "^2.5",
40+
"zendframework/zend-serializer": "^2.5",
41+
"zendframework/zend-mvc": "^2.5",
42+
"phpunit/phpunit": "^4.8",
43+
"squizlabs/php_codesniffer": "^2.1"
4644
},
4745
"extra": {
4846
"branch-alias": {
49-
"dev-master": "0.5.0-dev"
47+
"dev-master": "0.6.x-dev"
5048
}
5149
},
5250
"autoload": {
@@ -56,5 +54,10 @@
5654
"classmap": [
5755
"./Module.php"
5856
]
57+
},
58+
"autoload-dev": {
59+
"psr-4": {
60+
"SlmQueueSqsTest\\": "tests/"
61+
}
5962
}
6063
}

phpunit.xml renamed to phpunit.xml.dist

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,11 @@
1919
<directory suffix=".php">./src</directory>
2020
</whitelist>
2121
</filter>
22+
23+
<logging>
24+
<log type="coverage-clover" target="./tests/build/logs/clover.xml"/>
25+
<log type="coverage-html" target="./tests/build/coverage" charset="UTF-8"
26+
yui="true" highlight="true" lowUpperBound="90" highLowerBound="100"/>
27+
</logging>
28+
2229
</phpunit>

tests/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
TestConfiguration.php
2+
build

0 commit comments

Comments
 (0)