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

Commit

Permalink
Merge branch 'feature/16' into develop
Browse files Browse the repository at this point in the history
Close #16
Close #14
Fixes #15
  • Loading branch information
weierophinney committed Apr 30, 2018
2 parents dc79bc8 + f07e4b0 commit eb96100
Show file tree
Hide file tree
Showing 39 changed files with 958 additions and 569 deletions.
19 changes: 10 additions & 9 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/doc export-ignore
/test export-ignore
/vendor export-ignore
.coveralls.yml export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.travis.yml export-ignore
phpcs.xml 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/
41 changes: 12 additions & 29 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,14 @@ sudo: false

language: php

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

cache:
directories:
- $HOME/.composer/cache

env:
global:
- COMPOSER_ARGS="--no-interaction"
- COVERAGE_DEPS="satooshi/php-coveralls"
- LEGACY_DEPS="phpunit/phpunit"
- COVERAGE_DEPS="php-coveralls/php-coveralls"

matrix:
include:
Expand All @@ -25,17 +19,17 @@ matrix:
- php: 5.6
env:
- DEPS=locked
- LEGACY_DEPS="phpunit/phpunit zendframework/zend-code"
- php: 5.6
env:
- DEPS=latest
- TEST_COVERAGE=true
- php: 7
env:
- DEPS=lowest
- php: 7
env:
- DEPS=locked
- CHECK_CS=true
- LEGACY_DEPS="phpunit/phpunit zendframework/zend-code"
- php: 7
env:
- DEPS=latest
Expand All @@ -45,6 +39,8 @@ matrix:
- php: 7.1
env:
- DEPS=locked
- CS_CHECK=true
- TEST_COVERAGE=true
- php: 7.1
env:
- DEPS=latest
Expand All @@ -57,37 +53,24 @@ matrix:
- php: 7.2
env:
- DEPS=latest
- php: hhvm
env:
- DEPS=lowest
- php: hhvm
env:
- DEPS=locked
- php: hhvm
env:
- DEPS=latest
allow_failures:
- php: hhvm
- php: 7.2

notifications:
email: false

before_install:
- if [[ $TEST_COVERAGE != 'true' && "$(php --version | grep xdebug -ci)" -ge 1 ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
- travis_retry composer self-update
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi

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 [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
- stty cols 120 && composer show

script:
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
- if [[ $CHECK_CS == 'true' ]]; then composer cs-check ; fi
- if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi

after_script:
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer upload-coverage ; fi
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry php vendor/bin/php-coveralls -v ; fi

notifications:
email: false
28 changes: 3 additions & 25 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

All notable changes to this project will be documented in this file, in reverse chronological order by release.

## 1.2.0 - TBD
## 1.2.0 - 2018-04-30

### Added

- Nothing.
- [#16](https://github.com/zendframework/zend-servicemanager-di/pull/16) adds support for 7.2.

### Changed

Expand All @@ -18,29 +18,7 @@ All notable changes to this project will be documented in this file, in reverse

### Removed

- Nothing.

### Fixed

- Nothing.

## 1.1.2 - TBD

### Added

- Nothing.

### Changed

- Nothing.

### Deprecated

- Nothing.

### Removed

- Nothing.
- [#16](https://github.com/zendframework/zend-servicemanager-di/pull/16) removes support for HHVM.

### Fixed

Expand Down
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-2016, Zend Technologies USA, Inc.

Copyright (c) 2005-2018, 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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# zend-servicemanager-di

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

Provides integration for [zend-di](https://github.com/zendframework/zend-di)
within [zend-servicemanager](https://zendframework.github.io/zend-servicemanager/)
within [zend-servicemanager](https://github.com/zendframework/zend-servicemanager)

- File issues at https://github.com/zendframework/zend-servicemanager-di/issues
- Documentation is at https://zendframework.github.io/zend-servicemanager-di/
- Documentation is at https://docs.zendframework.com/zend-servicemanager-di/
30 changes: 20 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,28 @@
{
"name": "zendframework/zend-servicemanager-di",
"description": " ",
"description": "zend-di integration for zend-servicemanager",
"license": "BSD-3-Clause",
"keywords": [
"zf2",
"zf",
"zendframework",
"di"
],
"homepage": "https://github.com/zendframework/zend-servicemanager-di",
"support": {
"docs": "https://docs.zendframework.com/zend-servicemanager-di/",
"issues": "https://github.com/zendframework/zend-servicemanager-di/issues",
"source": "https://github.com/zendframework/zend-servicemanager-di",
"rss": "https://github.com/zendframework/zend-servicemanager-di/releases.atom",
"chat": "https://zendframework-slack.herokuapp.com",
"forum": "https://discourse.zendframework.com/c/questions/components"
},
"require": {
"php": "^5.6 || ^7.0",
"container-interop/container-interop": "^1.1",
"zendframework/zend-di": "^2.6",
"zendframework/zend-servicemanager": "^3.0.3"
},
"require-dev": {
"phpunit/phpunit": "^4.5",
"phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1.4",
"zendframework/zend-coding-standard": "~1.0.0"
},
"conflict": {
Expand All @@ -30,10 +38,13 @@
"ZendTest\\ServiceManager\\Di\\": "test/"
}
},
"config": {
"sort-packages": true
},
"extra": {
"branch-alias": {
"dev-master": "1.1-dev",
"dev-develop": "1.2-dev"
"dev-master": "1.2.x-dev",
"dev-develop": "1.3.x-dev"
},
"zf": {
"component": "Zend\\ServiceManager\\Di",
Expand All @@ -45,10 +56,9 @@
"@cs-check",
"@test"
],
"upload-coverage": "coveralls -v",
"cs-check": "phpcs",
"cs-fix": "phpcbf fix -v",
"test": "phpunit",
"test-coverage": "phpunit --coverage-clover clover.xml"
"cs-fix": "phpcbf",
"test": "phpunit --colors=always",
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
}
}
Loading

0 comments on commit eb96100

Please sign in to comment.