189 Commits

Author SHA1 Message Date
Alessandro Lai
707984727b Merge pull request #49 from localheinz/feature/source
Enhancement: Add link to source to `composer.json`
2023-09-22 13:11:30 +02:00
Andreas Möller
54ebfe8394 Enhancement: Add link to source to composer.json 2023-09-21 13:07:14 +02:00
Alessandro Lai
90db7b9ac2 Merge pull request #45 from erikn69/patch-1
Create .gitattributes
2022-07-19 19:36:59 +02:00
erikn69
2eea3ca6b8 Create .gitattributes 2022-06-28 16:01:38 -05:00
Alessandro Lai
c71ecc56df Merge pull request #32 from weierophinney/fix/bump-php-version-to-fix-dependency-issues
Bump minimum supported PHP version to 7.4 on v2 releases
2.0.2
2021-11-05 17:47:00 +01:00
Matthew Weier O'Phinney
6009776263 revert: re-instate extension of Throwable in supplied exception interfaces
See https://github.com/php-fig/container/pull/32#issuecomment-943081411
2021-11-05 08:24:30 -05:00
Matthew Weier O'Phinney
18d00169b8 fix: bump minimum supported PHP version to 7.4
Fixes #30 for the v2 series by bumping to a PHP version that does interface inheritance correctly.
2021-11-05 08:23:18 -05:00
Alessandro Lai
2ae37329ee Partially revert 19764b1 2.0.1 2021-03-24 14:40:57 +01:00
Alessandro Lai
19764b1677 Remove Throwable interface from exceptions (port of #31 to 2.x) 2021-03-08 10:32:22 +01:00
Matthew Weier O'Phinney
68f5200c33 fix: alias master branch to 2.0.x
Not sure why merting #28 did not pick this up...
2.0.0
2021-03-05 10:02:18 -06:00
Matthew Weier O'Phinney
122c2676de Merge pull request #28 from weierophinney/feature/add-return-type-hints
Add return type hints
2021-03-05 09:59:51 -06:00
Matthew Weier O'Phinney
9fc7aab7a7 Merge pull request #20 from moufmouf/type_hinting
Adding type-hints and extending Throwable for exception interfaces
1.1.0
2021-03-05 09:48:30 -06:00
Matthieu Napoli
381524e856 Merge pull request #27 from weierophinney/feature/add-param-hints
Adds parameter typehints to ContainerInterface
2020-10-13 09:07:53 +02:00
Matthew Weier O'Phinney
f9a98959fe fix: update dev-master to 2.0.x-dev, not 3.0.x-dev
I'd misread the original by-laws around typehint addition to require two new major versions, when it's just a minor version and a major version.
2020-10-12 09:09:10 -05:00
Alessandro Lai
b1fbdff230 Merge pull request #29 from J0WI/patch-1
Update url to HTTPS
2020-09-18 08:44:01 +02:00
J0WI
ccffa9feb7 Update url to HTTPS 2020-09-17 16:35:33 +00:00
Matthew Weier O'Phinney
2a09c4cb38 fix: update branch alias to reflect 1.1 target 2020-06-26 09:14:07 -05:00
Matthew Weier O'Phinney
de1921e99c feat: add return type hints
This patch adds a return type hint to `ContainerInterface::has()`, per
the already documented specification, in preparation for a v3 release.
No other methods were eligible, as they specified `mixed`.

See https://www.php-fig.org/blog/2019/10/upgrading-psr-interfaces/

Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
2020-06-17 11:33:48 -05:00
Matthew Weier O'Phinney
6c2bc7fc16 feat: Adds parameter typehints to ContainerInterface
This patch bumps the minimum supported PHP version to 7.2 and adds
parameter typehints to ContainerInterface, as the first step towards
adding explicit typehints based on the specification.

See https://www.php-fig.org/blog/2019/10/upgrading-psr-interfaces/
2020-06-17 11:31:42 -05:00
Alessandro Lai
fc1bc363ec Merge pull request #24 from gnumoksha/patch-1
docs: Standardize the README
2019-10-04 16:07:35 +02:00
Tobias Sette
f8f0d269b8 chore: update README
Changes requested in https://github.com/php-fig/http-factory/pull/9
2019-05-23 13:36:23 -03:00
Tobias Sette
f532b231d7 docs: Standardize the README
What:
Standardizes the README file providing a common language and an implementation link.

Why:
There are differences between PSR's READMEs in regarding language and the lacking of implementations references. So I've updated all READMEs using the https://github.com/php-fig/http-factory as base.
2019-05-21 02:34:07 -03:00
Tobias Sette
5c6f59b61f docs: Standardize the README
What:
Standardizes the README file providing a common language and an implementation link.

Why:
There are differences between PSR's READMEs in regarding language and the lacking of implementations references. So I've updated all READMEs using the https://github.com/php-fig/http-factory as base.
2019-05-21 02:10:04 -03:00
Alessandro Lai
014d250dae Merge pull request #16 from chalasr/rm-license-annot
Remove license phpdoc annotation
2018-12-29 16:36:03 +01:00
David Négrier
42ca75b37d Adding type-hints and extending Throwable for exception interfaces 2018-06-26 17:39:16 +02:00
Matthieu Napoli
2cc4a01788 Merge pull request #15 from moufmouf/fix_link
Fixes the link to PSR-11
2017-06-28 16:35:32 +01:00
Robin Chalas
83c9b15b03 Remove license phpdoc annotation 2017-06-28 15:04:41 +02:00
David Négrier
617b13eca7 Fixes the link to PSR-11 2017-06-27 10:15:57 +02:00
Matthew Weier O'Phinney
b7ce3b1764 Merge pull request #11 from kocsismate/patch-1
Copy PHPDoc comments from the specification
1.0.0
2017-02-14 10:28:37 -06:00
Máté Kocsis
404e82e65e Copy PHPDoc comments from the specification
There were some differences of comments between the specification and this interface which I tried to eliminate.
2017-02-14 15:00:23 +01:00
Matthieu Napoli
18f0c75336 Merge pull request #9 from greg0ire/interface_suffix
Suffix interfaces with "Interface"
2017-01-13 10:07:16 +01:00
Grégoire Paris
e08b685102 Remove trailing whitespace 2017-01-13 09:52:09 +01:00
Grégoire Paris
9ba1b6b586 Suffix interfaces with "Interface"
This is what is specified.
Fixes #8
2017-01-13 09:51:56 +01:00
Michael Cullum
cefa3c369b Merge pull request #6 from php-fig/move-exceptions
Move exceptions to the main namespace
2016-12-25 21:26:45 +00:00
Matthieu Napoli
ea053f9d8e Move exceptions to the main namespace
This is so that we are consistent with other PSRs.

https://groups.google.com/forum/#!topic/php-fig/L8rDUwRFsOU
2016-11-02 22:56:39 +01:00
David Négrier
b58310e3f8 Merge pull request #5 from php-fig/copyright-alt
Update copyright
2016-09-09 09:50:00 +02:00
Michael Cullum
cc3216dd74 Update copyright 2016-09-09 00:46:37 +01:00
Matthieu Napoli
cb58124c08 Merge pull request #3 from php-fig/composer-changes
composer.json changes
2016-08-21 22:00:53 +02:00
David Négrier
517cea4de1 Merge pull request #1 from php-fig/remove-docs
Remove documentation from container-interop
2016-08-21 17:16:27 +02:00
Michael Cullum
f23f3336b1 Still include library as a type 2016-08-15 20:34:21 +01:00
Michael Cullum
4aba0c23df composer.json changes 2016-08-15 20:33:23 +01:00
Matthieu Napoli
a538ecefcb Replace "container-interop" README with PSR one 2016-08-15 20:57:57 +02:00
Matthieu Napoli
406f671d79 Remove documentation from container-interop
This documentation will be part of the PSR document and meta-document, we should avoid duplicating the information.
2016-08-15 20:54:04 +02:00
Matthieu Napoli
3b4cadb5e0 Move from container-interop to psr/container 2016-08-15 20:50:05 +02:00
David Négrier
233bb6be6f Merge pull request #83 from pyrsmk/patch-2
Update README.md
2016-08-02 13:35:31 +02:00
Aurélien Delogu
927cac3a02 Update README.md
I'm updating the list of implementations :

- remove dcp-di since it's marked as unmaintained
- update Aura.Di URL because the previous one was not found
2016-08-02 09:46:41 +02:00
David Négrier
63a7a11d46 Adding Splash to the projects using container-interop (#81)
Just realized I also forgot to add a project to the list of projects using ContainerInterop.

Here is Splash: a router that should be a grand winner in the interoperability bingo :) :
- Uses PSR 1/2/3/4/6/7
- Uses container-interop
- Uses container-interop/service-provider
2016-07-14 20:49:50 +02:00
David Négrier
0594db53f5 Merge pull request #80 from container-interop/mnapoli-patch-1
Add download stats to "Projects using ContainerInterface"
2016-07-14 20:16:39 +02:00
Matthieu Napoli
9cc34bdd04 Link to a more complete list of packages consuming ContainerInterface 2016-07-14 18:21:08 +02:00
Matthieu Napoli
f07259307d Remove Prooph components to keep only projects with 100+ installs 2016-07-14 18:19:05 +02:00