Skip to content
This repository was archived by the owner on Feb 6, 2020. It is now read-only.

Commit ac39019

Browse files
committed
Merge branch 'hotfix/208' into develop
Forward port #208 Conflicts: .gitignore .travis.yml composer.json composer.lock
2 parents 2dd609f + 865f35e commit ac39019

26 files changed

+380
-325
lines changed

.gitattributes

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
/test export-ignore
2-
/vendor export-ignore
3-
.coveralls.yml export-ignore
4-
.gitattributes export-ignore
5-
.gitignore export-ignore
6-
.travis.yml export-ignore
7-
.php_cs export-ignore
8-
phpunit.xml.dist export-ignore
1+
/.coveralls.yml export-ignore
2+
/.gitattributes export-ignore
3+
/.gitignore export-ignore
4+
/.travis.yml export-ignore
5+
/benchmarks export-ignore
6+
/composer.lock export-ignore
7+
/docs/ export-ignore
8+
/mkdocs.yml export-ignore
9+
/phpbench.json export-ignore
10+
/phpcs.xml export-ignore
11+
/phpunit.xml.dist export-ignore
12+
/test/ export-ignore

.gitignore

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
1-
.buildpath
2-
.DS_Store
3-
.idea
4-
.project
5-
.settings/
6-
.*.sw*
7-
.*.un~
8-
nbproject
9-
doc/html/
10-
tmp/
11-
zf-mkdoc-theme/
12-
13-
clover.xml
14-
coveralls-upload.json
15-
phpunit.xml
16-
vendor
1+
/clover.xml
2+
/coveralls-upload.json
3+
/docs/html/
4+
/phpunit.xml
5+
/vendor/
6+
/zf-mkdoc-theme.tgz
7+
/zf-mkdoc-theme/

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ language: php
55
cache:
66
directories:
77
- $HOME/.composer/cache
8+
89
env:
910
global:
10-
- COMPOSER_ARGS="--no-interaction"
11+
- COMPOSER_ARGS="--no-interaction --no-plugins"
1112
- COVERAGE_DEPS="satooshi/php-coveralls"
1213

1314
matrix:
@@ -24,10 +25,13 @@ matrix:
2425
env:
2526
- DEPS=latest
2627
- php: 7.2
28+
env:
2729
- DEPS=lowest
2830
- php: 7.2
31+
env:
2932
- DEPS=locked
3033
- php: 7.2
34+
env:
3135
- DEPS=latest
3236

3337
before_install:
@@ -42,11 +46,11 @@ install:
4246

4347
script:
4448
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
45-
- if [[ $CHECK_CS == 'true' ]]; then composer cs-check ; fi
49+
- if [[ $BENCHMARKS == 'true' ]]; then vendor/bin/phpbench run --revs=2 --iterations=2 --report=aggregate ; fi
50+
- if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi
4651

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

5055
notifications:
5156
email: false
52-

LICENSE.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
1-
Copyright (c) 2005-2016, Zend Technologies USA, Inc.
2-
1+
Copyright (c) 2005-2017, Zend Technologies USA, Inc.
32
All rights reserved.
43

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

8-
- Redistributions of source code must retain the above copyright notice,
9-
this list of conditions and the following disclaimer.
7+
- Redistributions of source code must retain the above copyright notice, this
8+
list of conditions and the following disclaimer.
109

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

1514
- Neither the name of Zend Technologies USA, Inc. nor the names of its
1615
contributors may be used to endorse or promote products derived from this

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# zend-servicemanager
22

33
Master:
4-
[![Build Status](https://travis-ci.org/zendframework/zend-servicemanager.svg?branch=master)](https://travis-ci.org/zendframework/zend-servicemanager)
5-
[![Coverage Status](https://coveralls.io/repos/zendframework/zend-servicemanager/badge.svg?branch=master)](https://coveralls.io/r/zendframework/zend-servicemanager?branch=master)
4+
[![Build Status](https://secure.travis-ci.org/zendframework/zend-servicemanager.svg?branch=master)](https://secure.travis-ci.org/zendframework/zend-servicemanager)
5+
[![Coverage Status](https://coveralls.io/repos/github/zendframework/zend-servicemanager/badge.svg?branch=master)](https://coveralls.io/github/zendframework/zend-servicemanager?branch=master)
66
Develop:
7-
[![Build Status](https://travis-ci.org/zendframework/zend-servicemanager.svg?branch=develop)](https://travis-ci.org/zendframework/zend-servicemanager)
8-
[![Coverage Status](https://coveralls.io/repos/zendframework/zend-servicemanager/badge.svg?branch=develop)](https://coveralls.io/r/zendframework/zend-servicemanager?branch=develop)
7+
[![Build Status](https://secure.travis-ci.org/zendframework/zend-servicemanager.svg?branch=develop)](https://secure.travis-ci.org/zendframework/zend-servicemanager)
8+
[![Coverage Status](https://coveralls.io/repos/github/zendframework/zend-servicemanager/badge.svg?branch=develop)](https://coveralls.io/github/zendframework/zend-servicemanager?branch=develop)
99

1010
The Service Locator design pattern is implemented by the `Zend\ServiceManager`
1111
component. The Service Locator is a service/object locator, tasked with
1212
retrieving other objects.
1313

1414
- File issues at https://github.com/zendframework/zend-servicemanager/issues
15-
- [Online documentation](https://zendframework.github.io/zend-servicemanager)
15+
- [Online documentation](https://docs.zendframework.com/zend-servicemanager)
1616
- [Documentation source files](doc/book/)
1717

1818
## Benchmarks

composer.json

Lines changed: 29 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
11
{
22
"name": "zendframework/zend-servicemanager",
3-
"description": " ",
3+
"description": "Factory-Driven Dependency Injection Container",
44
"license": "BSD-3-Clause",
55
"keywords": [
6+
"di",
7+
"dic",
8+
"dependency-injection",
9+
"psr-11",
610
"zf",
11+
"zendframework",
712
"servicemanager",
813
"service-manager"
914
],
10-
"homepage": "https://github.com/zendframework/zend-servicemanager",
11-
"autoload": {
12-
"psr-4": {
13-
"Zend\\ServiceManager\\": "src/"
14-
}
15+
"support": {
16+
"docs": "https://docs.zendframework.com/zend-servicemanager/",
17+
"issues": "https://github.com/zendframework/zend-servicemanager/issues",
18+
"source": "https://github.com/zendframework/zend-servicemanager",
19+
"rss": "https://github.com/zendframework/zend-servicemanager/releases.atom",
20+
"slack": "https://zendframework-slack.herokuapp.com",
21+
"forum": "https://discourse.zendframework.com/c/questions/components"
1522
},
1623
"require": {
1724
"php": "^7.1",
@@ -23,19 +30,20 @@
2330
"mikey179/vfsStream": "^1.6.4",
2431
"ocramius/proxy-manager": "^2.1.1",
2532
"phpbench/phpbench": "^0.13.0",
26-
"phpunit/phpunit": "^6.2.3",
33+
"phpunit/phpunit": "^6.4.4",
2734
"zendframework/zend-coding-standard": "~1.0.0"
2835
},
36+
"provide": {
37+
"container-interop/container-interop-implementation": "^1.2",
38+
"psr/container-implementation": "^1.0"
39+
},
2940
"suggest": {
3041
"ocramius/proxy-manager": "ProxyManager ^2.1.1 to handle lazy initialization of services",
3142
"zendframework/zend-stdlib": "zend-stdlib ^2.7.7 | ^3.1 if you wish to use the MergeReplaceKey or MergeRemoveKey features in Config instances"
3243
},
33-
"minimum-stability": "dev",
34-
"prefer-stable": true,
35-
"extra": {
36-
"branch-alias": {
37-
"dev-master": "3.3-dev",
38-
"dev-develop": "4.0-dev"
44+
"autoload": {
45+
"psr-4": {
46+
"Zend\\ServiceManager\\": "src/"
3947
}
4048
},
4149
"autoload-dev": {
@@ -44,9 +52,14 @@
4452
"ZendBench\\ServiceManager\\": "benchmarks/"
4553
}
4654
},
47-
"provide": {
48-
"container-interop/container-interop-implementation": "^1.2",
49-
"psr/container-implementation": "^1.0"
55+
"config": {
56+
"sort-packages": true
57+
},
58+
"extra": {
59+
"branch-alias": {
60+
"dev-master": "3.3-dev",
61+
"dev-develop": "4.0-dev"
62+
}
5063
},
5164
"bin": [
5265
"bin/generate-deps-for-config-factory",

0 commit comments

Comments
 (0)