minor #34583 [DependencyInjection] skip test on incompatible PHP versions (xabbuh)

This PR was merged into the 4.4 branch.

Discussion
----------

[DependencyInjection] skip test on incompatible PHP versions

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       |
| License       | MIT
| Doc PR        |

Commits
-------

986cfc6580 skip test on incompatible PHP versions
This commit is contained in:
Fabien Potencier 2019-11-25 11:55:43 +01:00
commit ec781c927a

View File

@ -392,7 +392,10 @@ class CheckTypeDeclarationsPassTest extends TestCase
$this->addToAssertionCount(1);
}
public function testProcessSuccessWhenPassingDefintionForObjectType()
/**
* @requires PHP 7.2
*/
public function testProcessSuccessWhenPassingDefinitionForObjectType()
{
$container = new ContainerBuilder();