This repository has been archived by the owner on Dec 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/35-php-7.2-support' into develop
Close #35
- Loading branch information
Showing
15 changed files
with
124 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,22 @@ | ||
sudo: false | ||
|
||
language: php | ||
|
||
php: | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
- hhvm | ||
matrix: | ||
include: | ||
- php: 5.6 | ||
- php: 7.0 | ||
- php: 7.1 | ||
env: | ||
- CS_CHECK=true | ||
- php: 7.2 | ||
|
||
before_install: | ||
- composer install | ||
- composer install --no-interaction | ||
|
||
script: | ||
- ./vendor/bin/phpunit | ||
- ./vendor/bin/phpunit | ||
- if [[ $CS_CHECK == 'true' ]]; then ./vendor/bin/phpcs ; fi | ||
|
||
notifications: | ||
irc: "irc.freenode.org#zftalk.2" | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,48 @@ | ||
{ | ||
"name": "zendframework/zendservice-google-gcm", | ||
"description": "OOP wrapper for Google Cloud Messaging", | ||
"type": "library", | ||
"license": "BSD-3-Clause", | ||
"keywords": [ | ||
"zf2", | ||
"zf", | ||
"zendframework", | ||
"gcm", | ||
"push", | ||
"notification", | ||
"google" | ||
], | ||
"homepage": "https://github.com/zendframework/zendservice-google-gcm", | ||
"license": "BSD-3-Clause", | ||
"support": { | ||
"issues": "https://github.com/zendframework/ZendService_Google_Gcm/issues", | ||
"source": "https://github.com/zendframework/ZendService_Google_Gcm", | ||
"rss": "https://github.com/zendframework/ZendService_Google_Gcm/releases.atom", | ||
"chat": "https://zendframework-slack.herokuapp.com", | ||
"forum": "https://discourse.zendframework.com/c/questions/components" | ||
}, | ||
"require": { | ||
"php": "^5.6 || ^7.0", | ||
"zendframework/zend-http": "^2.0", | ||
"zendframework/zend-json": "^2.0" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1.5", | ||
"zendframework/zend-coding-standard": "~1.0.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"ZendService\\Google\\": "library/" | ||
"ZendService\\Google\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"ZendServiceTest\\Google\\": "tests/" | ||
"ZendServiceTest\\Google\\": "test/" | ||
} | ||
}, | ||
"require": { | ||
"php": "^5.5 || ^7.0", | ||
"zendframework/zend-http": "^2.0", | ||
"zendframework/zend-json": "^2.0" | ||
"config": { | ||
"sort-packages": true | ||
}, | ||
"require-dev": { | ||
"phpunit/PHPUnit": "^4.8" | ||
"extra": { | ||
"branch-alias": { | ||
"dev-master": "2.1.x-dev", | ||
"dev-develop": "2.2.x-dev" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="Zend Framework Coding Standard"> | ||
<rule ref="./vendor/zendframework/zend-coding-standard/ruleset.xml"/> | ||
|
||
<file>src</file> | ||
<file>test</file> | ||
</ruleset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
<phpunit bootstrap="vendor/autoload.php" colors="true"> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" | ||
bootstrap="vendor/autoload.php" | ||
colors="true"> | ||
<testsuites> | ||
<testsuite name="ZendService Google Gcm Test Suite"> | ||
<directory>./tests</directory> | ||
<directory>./test</directory> | ||
</testsuite> | ||
</testsuites> | ||
|
||
<groups> | ||
<exclude> | ||
<group>disable</group> | ||
</exclude> | ||
</groups> | ||
<filter> | ||
<whitelist processUncoveredFilesFromWhitelist="true"> | ||
<directory suffix=".php">./src</directory> | ||
</whitelist> | ||
</filter> | ||
</phpunit> |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.