minor #31635 Reference individual contracts packages (nicolas-grekas)

This PR was merged into the 4.3 branch.

Discussion
----------

Reference individual contracts packages

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Follows #31567

Commits
-------

0a640c53cb Reference individual contracts packages
This commit is contained in:
Fabien Potencier 2019-05-27 12:05:55 +02:00
commit 95c6e861d0
19 changed files with 25 additions and 23 deletions

View File

@ -19,9 +19,9 @@
"php": "^7.1.3",
"doctrine/event-manager": "~1.0",
"doctrine/persistence": "~1.0",
"symfony/contracts": "^1.0",
"symfony/polyfill-ctype": "~1.8",
"symfony/polyfill-mbstring": "~1.0"
"symfony/polyfill-mbstring": "~1.0",
"symfony/service-contracts": "^1.1"
},
"require-dev": {
"symfony/stopwatch": "~3.4|~4.0",

View File

@ -18,7 +18,7 @@
"require": {
"php": "^7.1.3",
"monolog/monolog": "~1.19",
"symfony/contracts": "^1.0",
"symfony/service-contracts": "^1.1",
"symfony/http-kernel": "^4.3"
},
"require-dev": {

View File

@ -17,7 +17,6 @@
],
"require": {
"php": "^7.1.3",
"symfony/contracts": "^1.0.2",
"twig/twig": "^1.41|^2.10"
},
"require-dev": {

View File

@ -20,7 +20,6 @@
"ext-xml": "*",
"symfony/cache": "~4.3",
"symfony/config": "~4.2",
"symfony/contracts": "^1.1",
"symfony/dependency-injection": "^4.3",
"symfony/http-foundation": "^4.3",
"symfony/http-kernel": "^4.3",

View File

@ -24,7 +24,8 @@
"php": "^7.1.3",
"psr/cache": "~1.0",
"psr/log": "~1.0",
"symfony/contracts": "^1.0",
"symfony/cache-contracts": "^1.1",
"symfony/service-contracts": "^1.1",
"symfony/var-exporter": "^4.2"
},
"require-dev": {

View File

@ -17,9 +17,9 @@
],
"require": {
"php": "^7.1.3",
"symfony/contracts": "^1.1",
"symfony/polyfill-mbstring": "~1.0",
"symfony/polyfill-php73": "^1.8"
"symfony/polyfill-php73": "^1.8",
"symfony/service-contracts": "^1.1"
},
"require-dev": {
"symfony/config": "~3.4|~4.0",

View File

@ -18,7 +18,7 @@
"require": {
"php": "^7.1.3",
"psr/container": "^1.0",
"symfony/contracts": "^1.1"
"symfony/service-contracts": "^1.1"
},
"require-dev": {
"symfony/yaml": "~3.4|~4.0",

View File

@ -17,7 +17,7 @@
],
"require": {
"php": "^7.1.3",
"symfony/contracts": "^1.1"
"symfony/event-dispatcher-contracts": "^1.1"
},
"require-dev": {
"symfony/dependency-injection": "~3.4|~4.0",

View File

@ -18,7 +18,7 @@
"require": {
"php": "^7.1.3",
"symfony/cache": "~3.4|~4.0",
"symfony/contracts": "^1.0"
"symfony/service-contracts": "^1.1"
},
"autoload": {
"psr-4": { "Symfony\\Component\\ExpressionLanguage\\": "" },

View File

@ -21,7 +21,7 @@
"require": {
"php": "^7.1.3",
"psr/log": "^1.0",
"symfony/contracts": "^1.1",
"symfony/http-client-contracts": "^1.1",
"symfony/polyfill-php73": "^1.11"
},
"require-dev": {

View File

@ -17,7 +17,6 @@
],
"require": {
"php": "^7.1.3",
"symfony/contracts": "^1.1",
"symfony/event-dispatcher": "^4.3",
"symfony/http-foundation": "^4.1.1",
"symfony/debug": "~3.4|~4.0",

View File

@ -17,7 +17,8 @@
],
"require": {
"php": "^7.1.3",
"symfony/contracts": "^1.1"
"symfony/event-dispatcher-contracts": "^1.1",
"symfony/service-contracts": "^1.1"
},
"require-dev": {
"psr/container": "^1.0",

View File

@ -17,10 +17,11 @@
],
"require": {
"php": "^7.1.3",
"symfony/contracts": "^1.1",
"symfony/event-dispatcher-contracts": "^1.1",
"symfony/http-foundation": "~3.4|~4.0",
"symfony/http-kernel": "^4.3",
"symfony/property-access": "~3.4|~4.0"
"symfony/property-access": "~3.4|~4.0",
"symfony/service-contracts": "^1.1"
},
"replace": {
"symfony/security-core": "self.version",

View File

@ -17,7 +17,7 @@
],
"require": {
"php": "^7.1.3",
"symfony/contracts": "^1.0"
"symfony/service-contracts": "^1.0"
},
"autoload": {
"psr-4": { "Symfony\\Component\\Stopwatch\\": "" },

View File

@ -12,7 +12,7 @@
namespace Symfony\Component\Translation\Tests;
use Symfony\Component\Translation\IdentityTranslator;
use Symfony\Contracts\Tests\Translation\TranslatorTest;
use Symfony\Contracts\Translation\Test\TranslatorTest;
class IdentityTranslatorTest extends TranslatorTest
{

View File

@ -17,8 +17,8 @@
],
"require": {
"php": "^7.1.3",
"symfony/contracts": "^1.0.2",
"symfony/polyfill-mbstring": "~1.0"
"symfony/polyfill-mbstring": "~1.0",
"symfony/translation-contracts": "^1.1"
},
"require-dev": {
"symfony/config": "~3.4|~4.0",

View File

@ -17,9 +17,9 @@
],
"require": {
"php": "^7.1.3",
"symfony/contracts": "^1.0.2",
"symfony/polyfill-ctype": "~1.8",
"symfony/polyfill-mbstring": "~1.0"
"symfony/polyfill-mbstring": "~1.0",
"symfony/translation-contracts": "^1.1"
},
"require-dev": {
"symfony/http-client": "^4.3",

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
namespace Symfony\Contracts\Tests\Translation;
namespace Symfony\Contracts\Translation\Test;
use PHPUnit\Framework\TestCase;
use Symfony\Contracts\Translation\TranslatorInterface;

View File

@ -15,6 +15,7 @@
<testsuites>
<testsuite name="Symfony Contracts Test Suite">
<directory>./Tests/</directory>
<directory>./Translation/Test/</directory>
</testsuite>
</testsuites>
@ -23,6 +24,7 @@
<directory>./</directory>
<exclude>
<directory>./Tests</directory>
<directory>./Translation/Test/</directory>
<directory>./vendor</directory>
</exclude>
</whitelist>