Skip to content

Commit e1539aa

Browse files
Update README and CHANGELOG
[skip ci]
1 parent da669e1 commit e1539aa

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- Only support Symfony 2.* and 3.* LTS versions
77
- Require PHP ^7.0
88
- Drop support for HHVM
9+
- Deprecated `Matthias\SymfonyConfigTest\PhpUnit\AbstractConfigurationTestCase`, use `Matthias\SymfonyConfigTest\PhpUnit\ConfigurationTestCaseTrait` instead.
910

1011
## 2.0.0
1112

README.md

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ Using Composer:
1616

1717
## Usage
1818

19-
### PHP 5.4 and up
20-
2119
Create a test case and use the trait from ``Matthias\SymfonyConfigTest\PhpUnit\ConfigurationTestCaseTrait``.
2220
Then implement ``getConfiguration()``:
2321

@@ -35,23 +33,6 @@ class ConfigurationTest extends \PHPUnit_Framework_TestCase
3533
}
3634
```
3735

38-
### PHP 5.3
39-
40-
Create a test case and extend from ``Matthias\SymfonyConfigTest\PhpUnit\AbstractConfigurationTestCase``. Then implement
41-
``getConfiguration()``:
42-
43-
```php
44-
<?php
45-
46-
class ConfigurationTest extends AbstractConfigurationTestCase
47-
{
48-
protected function getConfiguration()
49-
{
50-
return new Configuration();
51-
}
52-
}
53-
```
54-
5536
### Test invalid configuration values
5637

5738
Let's assume the ``Configuration`` class you want to test looks like this:

0 commit comments

Comments
 (0)