Skip to content

Commit

Permalink
Rewriting as Laminas Project package
Browse files Browse the repository at this point in the history
  • Loading branch information
weierophinney committed Dec 31, 2019
1 parent ba7069c commit 03b88ba
Show file tree
Hide file tree
Showing 83 changed files with 804 additions and 1,091 deletions.
16 changes: 8 additions & 8 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/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
/.php_cs export-ignore
/.travis.yml export-ignore
/benchmarks/ export-ignore
/phpunit.xml.dist export-ignore
/test/ export-ignore
20 changes: 5 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
.buildpath
.DS_Store
.idea
.project
.settings/
.*.sw*
.*.un~
nbproject
tmp/

clover.xml
composer.lock
coveralls-upload.json
phpunit.xml
vendor
/clover.xml
/composer.lock
/coveralls-upload.json
/phpunit.xml
/vendor/
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
sudo: false

language: php

branches:
Expand All @@ -26,7 +24,6 @@ matrix:
- php: hhvm

notifications:
irc: "irc.freenode.org#zftalk.dev"
email: false

before_install:
Expand Down
46 changes: 23 additions & 23 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ All notable changes to this project will be documented in this file, in reverse

### Fixed

- [#210](https://github.com/zendframework/zend-servicemanager/pull/210) fixes a
- [zendframework/zend-servicemanager#210](https://github.com/zendframework/zend-servicemanager/pull/210) fixes a
regression whereby factories accepting creation options were receiving an
empty array versus a `null` value when no options were present for a
particular invocation; they now correctly receive a `null` value.
Expand All @@ -43,7 +43,7 @@ All notable changes to this project will be documented in this file, in reverse

### Fixed

- [#205](https://github.com/zendframework/zend-servicemanager/pull/205) fixes
- [zendframework/zend-servicemanager#205](https://github.com/zendframework/zend-servicemanager/pull/205) fixes
how the `AbstractPluginManager` handles repeated retrievals of the same
service when instance options are provided and the service is marked as
"shared". Previously, it incorrectly would return the first instance
Expand All @@ -58,7 +58,7 @@ All notable changes to this project will be documented in this file, in reverse

### Changes

- [#158](https://github.com/zendframework/zend-servicemanager/pull/158) provides
- [zendframework/zend-servicemanager#158](https://github.com/zendframework/zend-servicemanager/pull/158) provides
a performance optimization within the `InvokableFactory`, ensuring it checks
for a class matching the `$requestedName` prior to the `$canonicalName`; this
also is more in line with version 3, which only has access to the requested
Expand All @@ -74,13 +74,13 @@ All notable changes to this project will be documented in this file, in reverse

### Fixed

- [#164](https://github.com/zendframework/zend-servicemanager/pull/164) fixes
- [zendframework/zend-servicemanager#164](https://github.com/zendframework/zend-servicemanager/pull/164) fixes
how the `InvokableFactory` deals with creation options. Prior to this release,
absence of options led to setting the creation options to an empty array,
which, because it was non-null, led to breakage in plugins that treated an
empty array differently than null. This patch ensures that the original
behavior is restored.
- [#168](https://github.com/zendframework/zend-servicemanager/pull/168) fixes
- [zendframework/zend-servicemanager#168](https://github.com/zendframework/zend-servicemanager/pull/168) fixes
how exception codes are provided to `ServiceNotCreatedException`. Previously,
the code was provided as-is. However, some PHP internal exception classes,
notably `PDOException`, can sometimes return other values (such as strings),
Expand All @@ -103,7 +103,7 @@ All notable changes to this project will be documented in this file, in reverse

### Fixed

- [#127](https://github.com/zendframework/zend-servicemanager/pull/127) fixes
- [zendframework/zend-servicemanager#127](https://github.com/zendframework/zend-servicemanager/pull/127) fixes
how the `AbstractPluingManager` handles `$options` arrays passed when
retrieving a plugin when that plugin resolves to the `InvokableFactory`,
ensuring subsequent calls with different options are created correctly.
Expand All @@ -124,7 +124,7 @@ All notable changes to this project will be documented in this file, in reverse

### Fixed

- [#116](https://github.com/zendframework/zend-servicemanager/pull/116) updates
- [zendframework/zend-servicemanager#116](https://github.com/zendframework/zend-servicemanager/pull/116) updates
`ServiceLocatorInterface` to extend container-interop's `ContainerInterface`,
as the definitions are compatible. This change will mean that implementing
`ServiceLocatorInterface` will provide a `ContainerInterface` implementation.
Expand All @@ -133,11 +133,11 @@ All notable changes to this project will be documented in this file, in reverse

### Added

- [#81](https://github.com/zendframework/zend-servicemanager/pull/81) adds a
- [zendframework/zend-servicemanager#81](https://github.com/zendframework/zend-servicemanager/pull/81) adds a
test covering forwards-compatibility features for plugin manager
implementations.
- [#96](https://github.com/zendframework/zend-servicemanager/pull/96) adds
`Zend\ServiceManager\Test\CommonPluginManagerTrait`, which allows you to test
- [zendframework/zend-servicemanager#96](https://github.com/zendframework/zend-servicemanager/pull/96) adds
`Laminas\ServiceManager\Test\CommonPluginManagerTrait`, which allows you to test
that your plugin manager is forwards compatible with v3.

### Deprecated
Expand All @@ -150,7 +150,7 @@ All notable changes to this project will be documented in this file, in reverse

### Fixed

- [#91](https://github.com/zendframework/zend-servicemanager/pull/91) updates
- [zendframework/zend-servicemanager#91](https://github.com/zendframework/zend-servicemanager/pull/91) updates
the `InvokableFactory` to add the `setCreationOptions()` method, allowing
the `InvokableFactory` to accept `$options` when triggered.

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

### Fixed

- [#71](https://github.com/zendframework/zend-servicemanager/pull/71) fixes an edge case
- [zendframework/zend-servicemanager#71](https://github.com/zendframework/zend-servicemanager/pull/71) fixes an edge case
with alias usage, whereby an alias of an alias was not being resolved to the
final service name.

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

### Fixed

- [#69](https://github.com/zendframework/zend-servicemanager/pull/69) fixes the
- [zendframework/zend-servicemanager#69](https://github.com/zendframework/zend-servicemanager/pull/69) fixes the
way aliases are resolved to ensure that the original alias target, without
canonicalization is passed to factories and abstract factories, ensuring that
features such as the `InvokableFactory` implementation can work.
Expand All @@ -199,7 +199,7 @@ All notable changes to this project will be documented in this file, in reverse

### Added

- [#63](https://github.com/zendframework/zend-servicemanager/pull/63) adds a
- [zendframework/zend-servicemanager#63](https://github.com/zendframework/zend-servicemanager/pull/63) adds a
constructor to `InvokableFactory`. In v2, this allows plugin managers to pass
construction options to the factory to use during instantiation of the
requested service class, emulating the behavior of `build()` in v3.
Expand All @@ -220,8 +220,8 @@ All notable changes to this project will be documented in this file, in reverse

### Added

- [#61](https://github.com/zendframework/zend-servicemanager/pull/61) adds
`Zend\ServiceManager\Exception\InvalidServiceException` for forwards
- [zendframework/zend-servicemanager#61](https://github.com/zendframework/zend-servicemanager/pull/61) adds
`Laminas\ServiceManager\Exception\InvalidServiceException` for forwards
compatibility with v3.

### Deprecated
Expand All @@ -234,17 +234,17 @@ All notable changes to this project will be documented in this file, in reverse

### Fixed

- [#61](https://github.com/zendframework/zend-servicemanager/pull/61) updates
- [zendframework/zend-servicemanager#61](https://github.com/zendframework/zend-servicemanager/pull/61) updates
the `InvokableFactory` to throw `InvalidServiceException` instead of
`InvalidServiceNameException`, for forwards compatibility with v3.
- [#61](https://github.com/zendframework/zend-servicemanager/pull/61) fixes
- [zendframework/zend-servicemanager#61](https://github.com/zendframework/zend-servicemanager/pull/61) fixes
the behavior of `InvokableFactory` when invoked after resolving an alias.

## 2.7.0 - 2016-01-11

### Added

- [#60](https://github.com/zendframework/zend-servicemanager/pull/60) adds
- [zendframework/zend-servicemanager#60](https://github.com/zendframework/zend-servicemanager/pull/60) adds
forward compatibility features for `AbstractPluingManager` and introduces
`InvokableFactory` to help forward migration to version 3.

Expand All @@ -258,19 +258,19 @@ All notable changes to this project will be documented in this file, in reverse

### Fixed

- [#46](https://github.com/zendframework/zend-servicemanager/pull/46) updates
- [zendframework/zend-servicemanager#46](https://github.com/zendframework/zend-servicemanager/pull/46) updates
the exception hierarchy to inherit from the container-interop exceptions.
This ensures that all exceptions thrown by the component follow the
recommendations of that project.
- [#52](https://github.com/zendframework/zend-servicemanager/pull/52) fixes
- [zendframework/zend-servicemanager#52](https://github.com/zendframework/zend-servicemanager/pull/52) fixes
the exception message thrown by `ServiceManager::setFactory()` to remove
references to abstract factories.

## 2.6.0 - 2015-07-23

### Added

- [#4](https://github.com/zendframework/zend-servicemanager/pull/4) updates the
- [zendframework/zend-servicemanager#4](https://github.com/zendframework/zend-servicemanager/pull/4) updates the
`ServiceManager` to [implement the container-interop interface](https://github.com/container-interop/container-interop),
allowing interoperability with applications that consume that interface.

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

### Fixed

- [#3](https://github.com/zendframework/zend-servicemanager/pull/3) properly updates the
- [zendframework/zend-servicemanager#3](https://github.com/zendframework/zend-servicemanager/pull/3) properly updates the
codebase to PHP 5.5, by taking advantage of the default closure binding
(`$this` in a closure is the invoking object when created within a method). It
also removes several `@requires PHP 5.4.0` annotations.
Loading

0 comments on commit 03b88ba

Please sign in to comment.