Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request #52 from webimpress/updates
Browse files Browse the repository at this point in the history
PHP 7.2 + QA Tools + Docs - follow up #50

Conflicts:
	composer.json
	composer.lock
  • Loading branch information
weierophinney committed Dec 4, 2017
2 parents 20684d5 + cc8b3c1 commit 7bc27b5
Show file tree
Hide file tree
Showing 57 changed files with 665 additions and 545 deletions.
18 changes: 10 additions & 8 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
/test export-ignore
/vendor export-ignore
.coveralls.yml export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.travis.yml export-ignore
.php_cs export-ignore
phpunit.xml.dist export-ignore
/.coveralls.yml export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.travis.yml export-ignore
/composer.lock export-ignore
/docs/ export-ignore
/mkdocs.yml export-ignore
/phpcs.xml export-ignore
/phpunit.xml.dist export-ignore
/test/ export-ignore
23 changes: 7 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
.buildpath
.DS_Store
.idea
.project
.settings/
.*.sw*
.*.un~
nbproject
doc/html/
tmp/
zf-mkdoc-theme/

clover.xml
coveralls-upload.json
phpunit.xml
vendor
/clover.xml
/coveralls-upload.json
/docs/html/
/phpunit.xml
/vendor/
/zf-mkdoc-theme.tgz
/zf-mkdoc-theme/
68 changes: 16 additions & 52 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,15 @@ sudo: false

language: php

branches:
except:
- /^release-.*$/
- /^ghgfk-.*$/

cache:
directories:
- $HOME/.composer/cache
- $HOME/.local
- zf-mkdoc-theme

env:
global:
- COMPOSER_ARGS="--no-interaction"
- COVERAGE_DEPS="satooshi/php-coveralls"
- LEGACY_DEPS="phpunit/phpunit"
- TESTS_ZEND_FEED_READER_ONLINE_ENABLED: true
- SITE_URL: https://zendframework.github.io/zend-feed
- GH_USER_NAME: "Matthew Weier O'Phinney"
- GH_USER_EMAIL: matthew@weierophinney.net
- GH_REF: github.com/zendframework/zend-feed.git
- secure: "AS2iXk+GXAGpIXcLGBt6CRYQGf7hWhfz3XxrELg56kRa5ae8pkht44mxt271AJD09ZP2ZcF078vRj0eQ2PqboXoluwfXwQ9CmJJhNqWb4ZEzXmETwnMqsCZW+CWbPNzKJe3jMgOGfWtmwujlIFQn1Q+pUS3vcLmnnt5jt2K+p2vhFI/AfLPxJjtNhXLQ3z5FuZV6VoQS7Qjlm83Bq4sPp0vDLzfPDLsIiNRGC9tQMuu6irOPLubiFM0ymAcj40/RE0t/9VMkM36fYLY2+FDxGpz79SrtHQImBEFZblV5zswehMWeHZmSqh1Ei3voGsplLENZRoJ62CGPfBLxpux3jLbPZp/PerEhxvrsbVpKvQSvDyvYTpGKp4N/kLV2JOHSG8UNvZ5RF7XSZS3nCmKuAG1Fbv/Y/gaNHitPFwVOR/YqyNGmOC5z6ucctt+i1QrBd01Ms3qUuDoZEY5vl2i3uD3KYCVWH1LxzihaqQ2BR6t0QSfqW4hAXfU5eCuraHAYTYCDYHkjutdcHwKAsG1Jh/nQVZ5TfBJOSuY5yAuDULRmlyyKJRP2UDPRFUWnNW1/3GeKxs5p5zQnoCNmstx/4NGxtj/+m7qEiuvlUy9c1P4AQxJXHvujcOyE+N6TFLkVQK949TSo73oH59yzWK2D5Fqk3BNzFS3cGiJ/p49+bmI="
- TESTS_ZEND_FEED_READER_ONLINE_ENABLED=true

matrix:
include:
Expand All @@ -33,13 +20,7 @@ matrix:
- php: 5.6
env:
- DEPS=locked
- TEST_COVERAGE=true
- DEPLOY_DOCS="$(if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then echo -n 'true' ; else echo -n 'false' ; fi)"
- PATH="$HOME/.local/bin:$PATH"
- php: 5.6
env:
- DEPS=locked
- SERVICE_MANAGER_VERSION="^2.7.5"
- LEGACY_DEPS="phpunit/phpunit"
- php: 5.6
env:
- DEPS=latest
Expand All @@ -49,11 +30,7 @@ matrix:
- php: 7
env:
- DEPS=locked
- CS_CHECK=true
- php: 7
env:
- DEPS=locked
- SERVICE_MANAGER_VERSION="^2.7.5"
- LEGACY_DEPS="phpunit/phpunit"
- php: 7
env:
- DEPS=latest
Expand All @@ -63,51 +40,38 @@ matrix:
- php: 7.1
env:
- DEPS=locked
- CS_CHECK=true
- TEST_COVERAGE=true
- php: 7.1
env:
- DEPS=latest
- php: hhvm
- php: hhvm
- php: 7.2
env:
- DEPS=lowest
- php: 7.2
env:
- SERVICE_MANAGER_VERSION="^2.7.5"
allow_failures:
- php: hhvm
- DEPS=locked
- php: 7.2
env:
- DEPS=latest

before_install:
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
- travis_retry composer self-update

install:
- travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs
- if [[ $TRAVIS_PHP_VERSION =~ ^5.6 ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
- if [[ $LEGACY_DEPS != '' ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
- if [[ $SERVICE_MANAGER_VERSION != '' ]]; then travis_retry composer require --dev --no-update $COMPOSER_ARGS "zendframework/zend-servicemanager:$SERVICE_MANAGER_VERSION" ; fi
- if [[ $SERVICE_MANAGER_VERSION == '' ]]; then travis_retry composer require --dev --no-update $COMPOSER_ARGS "zendframework/zend-servicemanager:^3.0.3" ; fi
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
- stty cols 120
- COLUMNS=120 composer show
- stty cols 120 && composer show

script:
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
- if [[ $TEST_COVERAGE == 'true' ]]; then composer run-script test-coverage --timeout=400 -- --verbose ; else composer run-script test --timeout=300 -- --verbose ; fi
- if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi
- if [[ $DEPLOY_DOCS == "true" && "$TRAVIS_TEST_RESULT" == "0" ]]; then wget -O theme-installer.sh "https://github.com/zendframework/zf-mkdoc-theme/master/theme-installer.sh" ; chmod 755 theme-installer.sh ; ./theme-installer.sh ; fi

after_script:
- if [[ $TEST_COVERAGE == 'true' ]]; then composer upload-coverage ; fi

after_success:
- if [[ $DEPLOY_DOCS == "true" ]]; then echo "Preparing to build and deploy documentation" ; ./zf-mkdoc-theme/deploy.sh ; echo "Completed deploying documentation" ; fi

notifications:
email: false
irc:
channels:
- "irc.freenode.org#zftalk.dev"
on_success: change
on_failure: always
slack:
rooms:
- secure: "M6BgzzV6/45mYdhRvLnktwrcAHH6zS00Sx0F+G/hXeOe/5hDapzvhC1rkCryr4B/qoOMXCKW6mRMPaEPrnvAX+GGNNTGs6jCK+yDn4jTZcCtsujbieRx60lhRrfqqN9Cz51J4MdDpa314Wf4lx2UJ8/PQEtOx2iwUYrV894J84UFHcpwfckgy/Xhpp9C4gZV0KKjnHiOBF5y8AVfC4q1X2mj+JopSjtkDktbOuNyZYsT16xV2P659PF4/VOuswS7riSB/ZlO73fTmR/5TsbAGyH9KlQSExDP+r672otWO5TJ7B5xr4gEnCuNcfnB8sCzUbDNjeh8olqEHaJuZuOzNR+O0DjRcAWanMpPslrpLBJM5KrtngOnGqxxQ3CQ5VlEUIi7Z0FLlPUCBjFFC04e2GkUeQGY4lYv5HpK+qQzWGvEKl8uQlhAlu+dJGDtrJONwNP/ws0xuJUpOPbZyD/9HEfE9tquKVtxdHWFDk1uunTek2ybALQRc+9qRnTJ/n0ZlnKHp1gej+ZA13xwva2/DrMAXYS0VCGe/zgkDUyNL3ECdp33d471cg/qRAURZTdH4qFUTPziqjnHcTEHRLR1FoXfkk9PVGMsfF3mug3MPogJjz65x5QMX76IgtZ3OsUNVrU9h9df0wxYzlQGPCqtiYnJcTHVh3bh5hjiZaavglM="
on_success: change
on_failure: always
13 changes: 6 additions & 7 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
Copyright (c) 2005-2015, Zend Technologies USA, Inc.

Copyright (c) 2005-2017, Zend Technologies USA, Inc.
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

- Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
- Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

- Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
- Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.

- Neither the name of Zend Technologies USA, Inc. nor the names of its
contributors may be used to endorse or promote products derived from this
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# zend-feed

[![Build Status](https://secure.travis-ci.org/zendframework/zend-feed.svg?branch=master)](https://secure.travis-ci.org/zendframework/zend-feed)
[![Coverage Status](https://coveralls.io/repos/zendframework/zend-feed/badge.svg?branch=master)](https://coveralls.io/r/zendframework/zend-feed?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/zendframework/zend-feed/badge.svg?branch=master)](https://coveralls.io/github/zendframework/zend-feed?branch=master)

`Zend\Feed` provides functionality for consuming RSS and Atom feeds. It provides
a natural syntax for accessing elements of feeds, feed attributes, and entry
attributes. `Zend\Feed` also has extensive support for modifying feed and entry
structure with the same natural syntax, and turning the result back into XML.


- File issues at https://github.com/zendframework/zend-feed/issues
- Documentation is at https://zendframework.github.io/zend-feed/
- Documentation is at https://docs.zendframework.com/zend-feed/
53 changes: 32 additions & 21 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,49 +3,60 @@
"description": "provides functionality for consuming RSS and Atom feeds",
"license": "BSD-3-Clause",
"keywords": [
"zf2",
"zf",
"zendframework",
"feed"
],
"homepage": "https://github.com/zendframework/zend-feed",
"autoload": {
"psr-4": {
"Zend\\Feed\\": "src/"
}
"support": {
"docs": "https://docs.zendframework.com/zend-feed/",
"issues": "https://github.com/zendframework/zend-feed/issues",
"source": "https://github.com/zendframework/zend-feed",
"rss": "https://github.com/zendframework/zend-feed/releases.atom",
"slack": "https://zendframework-slack.herokuapp.com",
"forum": "https://discourse.zendframework.com/c/questions/components"
},
"require": {
"php": "^5.6 || ^7.0",
"zendframework/zend-escaper": "^2.5",
"zendframework/zend-stdlib": "^2.7 || ^3.1"
"zendframework/zend-escaper": "^2.5.2",
"zendframework/zend-stdlib": "^2.7.7 || ^3.1"
},
"require-dev": {
"zendframework/zend-db": "^2.7",
"zendframework/zend-cache": "^2.6",
"zendframework/zend-http": "^2.5.4",
"zendframework/zend-servicemanager": "^2.7.5 || ^3.0.3",
"zendframework/zend-validator": "^2.6",
"phpunit/PHPUnit": "^6.0.8 || ^5.7.15",
"psr/http-message": "^1.0",
"zendframework/zend-coding-standard": "~1.0.0"
"phpunit/phpunit": "^5.7.23 || ^6.4.3",
"psr/http-message": "^1.0.1",
"zendframework/zend-cache": "^2.7.2",
"zendframework/zend-coding-standard": "~1.0.0",
"zendframework/zend-db": "^2.8.2",
"zendframework/zend-http": "^2.7",
"zendframework/zend-servicemanager": "^2.7.8 || ^3.3",
"zendframework/zend-validator": "^2.10.1"
},
"suggest": {
"psr/http-message": "PSR-7 ^1.0, if you wish to use Zend\\Feed\\Reader\\Http\\Psr7ResponseDecorator",
"psr/http-message": "PSR-7 ^1.0.1, if you wish to use Zend\\Feed\\Reader\\Http\\Psr7ResponseDecorator",
"zendframework/zend-cache": "Zend\\Cache component, for optionally caching feeds between requests",
"zendframework/zend-db": "Zend\\Db component, for use with PubSubHubbub",
"zendframework/zend-http": "Zend\\Http for PubSubHubbub, and optionally for use with Zend\\Feed\\Reader",
"zendframework/zend-servicemanager": "Zend\\ServiceManager component, for easily extending ExtensionManager implementations",
"zendframework/zend-validator": "Zend\\Validator component, for validating email addresses used in Atom feeds and entries when using the Writer subcomponent"
},
"extra": {
"branch-alias": {
"dev-master": "2.9-dev",
"dev-develop": "2.10-dev"
"autoload": {
"psr-4": {
"Zend\\Feed\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ZendTest\\Feed\\": "test/"
}
},
"config": {
"sort-packages": true
},
"extra": {
"branch-alias": {
"dev-master": "2.9-dev",
"dev-develop": "2.10-dev"
}
},
"scripts": {
"check": [
"@cs-check",
Expand Down
Loading

0 comments on commit 7bc27b5

Please sign in to comment.