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

Commit c576df6

Browse files
committed
Merge pull request #208 from webimpress/docs
Docs + added missing composer.lock + fixed Travis CI config
2 parents 0fa3d3c + c5fee6c commit c576df6

26 files changed

+3107
-146
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 & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +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-
composer.lock
15-
coveralls-upload.json
16-
phpunit.xml
17-
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: 16 additions & 12 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:
@@ -18,38 +19,41 @@ matrix:
1819
- php: 5.6
1920
env:
2021
- DEPS=locked
21-
- LEGACY_DEPS="phpunit/phpunit"
22+
- LEGACY_DEPS="ocramius/proxy-manager phpbench/phpbench phpunit/phpunit"
2223
- php: 5.6
2324
env:
2425
- DEPS=latest
2526
- php: 7
27+
env:
2628
- DEPS=lowest
2729
- php: 7
30+
env:
2831
- DEPS=locked
29-
- TEST_COVERAGE=true
32+
- LEGACY_DEPS="ocramius/proxy-manager phpbench/phpbench phpunit/phpunit"
3033
- php: 7
34+
env:
3135
- DEPS=latest
3236
- php: 7.1
37+
env:
3338
- DEPS=lowest
3439
- php: 7.1
40+
env:
3541
- DEPS=locked
42+
- BENCHMARKS=true
3643
- CS_CHECK=true
44+
- TEST_COVERAGE=true
3745
- php: 7.1
46+
env:
3847
- DEPS=latest
3948
- php: 7.2
49+
env:
4050
- DEPS=lowest
4151
- php: 7.2
52+
env:
4253
- DEPS=locked
4354
- php: 7.2
55+
env:
4456
- DEPS=latest
45-
- php: hhvm
46-
- DEPS=lowest
47-
- php: hhvm
48-
- DEPS=locked
49-
- php: hhvm
50-
- DEPS=latest
51-
allow_failures:
52-
- php: hhvm
5357

5458
before_install:
5559
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
@@ -64,11 +68,11 @@ install:
6468

6569
script:
6670
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
71+
- if [[ $BENCHMARKS == 'true' ]]; then vendor/bin/phpbench run --revs=2 --iterations=2 --report=aggregate ; fi
6772
- if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi
6873

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

7277
notifications:
7378
email: false
74-

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: 27 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
{
22
"name": "zendframework/zend-servicemanager",
3-
"description": " ",
3+
"description": "Factory-Driven Dependency Injection Container",
44
"license": "BSD-3-Clause",
55
"keywords": [
66
"zf",
7+
"zendframework",
78
"servicemanager",
89
"service-manager"
910
],
10-
"homepage": "https://github.com/zendframework/zend-servicemanager",
11-
"autoload": {
12-
"psr-4": {
13-
"Zend\\ServiceManager\\": "src/"
14-
}
11+
"support": {
12+
"docs": "https://docs.zendframework.com/zend-servicemanager/",
13+
"issues": "https://github.com/zendframework/zend-servicemanager/issues",
14+
"source": "https://github.com/zendframework/zend-servicemanager",
15+
"rss": "https://github.com/zendframework/zend-servicemanager/releases.atom",
16+
"slack": "https://zendframework-slack.herokuapp.com",
17+
"forum": "https://discourse.zendframework.com/c/questions/components"
1518
},
1619
"require": {
1720
"php": "^5.6 || ^7.0",
@@ -20,22 +23,23 @@
2023
"zendframework/zend-stdlib": "^3.1"
2124
},
2225
"require-dev": {
26+
"mikey179/vfsStream": "^1.6.5",
2327
"ocramius/proxy-manager": "^1.0 || ^2.0",
24-
"phpbench/phpbench": "^0.10.0",
25-
"phpunit/phpunit": "^5.7 || ^6.0.6",
26-
"mikey179/vfsStream": "^1.6",
28+
"phpbench/phpbench": "^0.13.0",
29+
"phpunit/phpunit": "^5.7.25 || ^6.4.4",
2730
"zendframework/zend-coding-standard": "~1.0.0"
2831
},
32+
"provide": {
33+
"container-interop/container-interop-implementation": "^1.2",
34+
"psr/container-implementation": "^1.0"
35+
},
2936
"suggest": {
3037
"ocramius/proxy-manager": "ProxyManager 1.* to handle lazy initialization of services",
3138
"zendframework/zend-stdlib": "zend-stdlib ^2.5 if you wish to use the MergeReplaceKey or MergeRemoveKey features in Config instances"
3239
},
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"
40+
"autoload": {
41+
"psr-4": {
42+
"Zend\\ServiceManager\\": "src/"
3943
}
4044
},
4145
"autoload-dev": {
@@ -44,9 +48,14 @@
4448
"ZendBench\\ServiceManager\\": "benchmarks/"
4549
}
4650
},
47-
"provide": {
48-
"container-interop/container-interop-implementation": "^1.2",
49-
"psr/container-implementation": "^1.0"
51+
"config": {
52+
"sort-packages": true
53+
},
54+
"extra": {
55+
"branch-alias": {
56+
"dev-master": "3.3-dev",
57+
"dev-develop": "4.0-dev"
58+
}
5059
},
5160
"bin": [
5261
"bin/generate-deps-for-config-factory",

0 commit comments

Comments
 (0)