Skip to content

Commit 9ada951

Browse files
committed
Merge branch 'develop' into task/add-set-capable-container
# Conflicts: # .travis.yml # CHANGELOG.md # travis.php.ini
2 parents ea83f3f + 3c3abe3 commit 9ada951

15 files changed

+46
-34
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ nbproject export-ignore
77
.gitignore export-ignore
88
composer.lock export-ignore
99
phpunit.xml export-ignore
10+
phpmd.xml export-ignore
11+
travis.php.ini export-ignore

.idea/php.xml

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ php:
99
- '7.1'
1010
- '7.2'
1111
- '7.3'
12+
- '7.4snapshot'
1213
- nightly
1314

1415
matrix:
1516
allow_failures:
1617
- php: nightly
18+
- php: '7.4snapshot'
1719
fast_finish: true
1820

1921
before_script:

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1010
- `DeleteCapableContainerInterface`.
1111
- `ClearCapableContainerInterface`.
1212

13+
## [0.2] - 2019-05-06
14+
Stable release. See alpha releases for changes.
15+
1316
## [0.2-alpha3] - 2018-04-26
1417
### Added
1518
- `ContainerFactoryInterface`.

src/ClearCapableInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
/**
88
* Exposes means of clearing the members of the container.
99
*
10-
* @since [*next-version*]
10+
* @since 0.2
1111
*/
1212
interface ClearCapableInterface
1313
{
1414
/**
1515
* Clears the members.
1616
*
17-
* @since [*next-version*]
17+
* @since 0.2
1818
*
1919
* @throws ContainerExceptionInterface If problem clearing.
2020
*/

src/ContainerFactoryInterface.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,29 @@
88
/**
99
* Something that can create new container instances.
1010
*
11-
* @since [*next-version*]
11+
* @since 0.2
1212
*/
1313
interface ContainerFactoryInterface extends FactoryInterface
1414
{
1515
/**
1616
* The key in the factory config for container data.
1717
*
18-
* @since [*next-version*]
18+
* @since 0.2
1919
*/
2020
const K_DATA = 'data';
2121

2222
/**
2323
* The key in the factory config for service definitions.
2424
*
25-
* @since [*next-version*]
25+
* @since 0.2
2626
* @deprecated
2727
*/
2828
const K_CFG_DEFINITIONS = self::K_DATA;
2929

3030
/**
3131
* {@inheritdoc}
3232
*
33-
* @since [*next-version*]
33+
* @since 0.2
3434
*
3535
* @return BaseContainerInterface The created container instance.
3636
*/

src/DataKeyAwareInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
/**
88
* Something that can have a data key retrieved from it.
99
*
10-
* @since [*next-version*]
10+
* @since 0.2
1111
*/
1212
interface DataKeyAwareInterface
1313
{
1414
/**
1515
* Retrieves the key that is associated with this instance.
1616
*
17-
* @since [*next-version*]
17+
* @since 0.2
1818
*
1919
* @return string|Stringable|null The key, if any.
2020
*/

src/DeleteCapableInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
/**
99
* Exposes means of deleting a data member.
1010
*
11-
* @since [*next-version*]
11+
* @since 0.2
1212
*/
1313
interface DeleteCapableInterface
1414
{
1515
/**
1616
* Removes a data member from the object by key.
1717
*
18-
* @since [*next-version*]
18+
* @since 0.2
1919
*
2020
* @param string|int|float|bool|Stringable $key The key of the data member to delete.
2121
*

src/SetCapableInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
/**
99
* Exposes means of setting data on an object.
1010
*
11-
* @since [*next-version*]
11+
* @since 0.2
1212
*/
1313
interface SetCapableInterface
1414
{
1515
/**
1616
* Sets the value of a data member with the specified key.
1717
*
18-
* @since [*next-version*]
18+
* @since 0.2
1919
*
2020
* @param string|int|float|bool|Stringable $key The key of the data member to set.
2121
* @param mixed $value The value to set.

test/unit/ClearCapableInterfaceTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@
88
/**
99
* Tests {@see TestSubject}.
1010
*
11-
* @since [*next-version*]
11+
* @since 0.2
1212
*/
1313
class ClearCapableInterfaceTest extends TestCase
1414
{
1515
/**
1616
* The name of the test subject.
1717
*
18-
* @since [*next-version*]
18+
* @since 0.2
1919
*/
2020
const TEST_SUBJECT_CLASSNAME = 'Dhii\Data\Container\ClearCapableInterface';
2121

2222
/**
2323
* Creates a new instance of the test subject.
2424
*
25-
* @since [*next-version*]
25+
* @since 0.2
2626
*
2727
* @return TestSubject The new instance.
2828
*/
@@ -38,7 +38,7 @@ public function createInstance()
3838
/**
3939
* Tests whether a correct instance of a descendant can be created.
4040
*
41-
* @since [*next-version*]
41+
* @since 0.2
4242
*/
4343
public function testCanBeCreated()
4444
{

0 commit comments

Comments
 (0)