File tree Expand file tree Collapse file tree 2 files changed +1
-19
lines changed
Expand file tree Collapse file tree 2 files changed +1
-19
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -16,8 +16,6 @@ Using Composer:
1616
1717## Usage
1818
19- ### PHP 5.4 and up
20-
2119Create a test case and use the trait from `` Matthias\SymfonyConfigTest\PhpUnit\ConfigurationTestCaseTrait `` .
2220Then 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
5738Let's assume the `` Configuration `` class you want to test looks like this:
You can’t perform that action at this time.
0 commit comments