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:
commit
95c6e861d0
@ -19,9 +19,9 @@
|
|||||||
"php": "^7.1.3",
|
"php": "^7.1.3",
|
||||||
"doctrine/event-manager": "~1.0",
|
"doctrine/event-manager": "~1.0",
|
||||||
"doctrine/persistence": "~1.0",
|
"doctrine/persistence": "~1.0",
|
||||||
"symfony/contracts": "^1.0",
|
|
||||||
"symfony/polyfill-ctype": "~1.8",
|
"symfony/polyfill-ctype": "~1.8",
|
||||||
"symfony/polyfill-mbstring": "~1.0"
|
"symfony/polyfill-mbstring": "~1.0",
|
||||||
|
"symfony/service-contracts": "^1.1"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"symfony/stopwatch": "~3.4|~4.0",
|
"symfony/stopwatch": "~3.4|~4.0",
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": "^7.1.3",
|
"php": "^7.1.3",
|
||||||
"monolog/monolog": "~1.19",
|
"monolog/monolog": "~1.19",
|
||||||
"symfony/contracts": "^1.0",
|
"symfony/service-contracts": "^1.1",
|
||||||
"symfony/http-kernel": "^4.3"
|
"symfony/http-kernel": "^4.3"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.1.3",
|
"php": "^7.1.3",
|
||||||
"symfony/contracts": "^1.0.2",
|
|
||||||
"twig/twig": "^1.41|^2.10"
|
"twig/twig": "^1.41|^2.10"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
"ext-xml": "*",
|
"ext-xml": "*",
|
||||||
"symfony/cache": "~4.3",
|
"symfony/cache": "~4.3",
|
||||||
"symfony/config": "~4.2",
|
"symfony/config": "~4.2",
|
||||||
"symfony/contracts": "^1.1",
|
|
||||||
"symfony/dependency-injection": "^4.3",
|
"symfony/dependency-injection": "^4.3",
|
||||||
"symfony/http-foundation": "^4.3",
|
"symfony/http-foundation": "^4.3",
|
||||||
"symfony/http-kernel": "^4.3",
|
"symfony/http-kernel": "^4.3",
|
||||||
|
@ -24,7 +24,8 @@
|
|||||||
"php": "^7.1.3",
|
"php": "^7.1.3",
|
||||||
"psr/cache": "~1.0",
|
"psr/cache": "~1.0",
|
||||||
"psr/log": "~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"
|
"symfony/var-exporter": "^4.2"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
@ -17,9 +17,9 @@
|
|||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.1.3",
|
"php": "^7.1.3",
|
||||||
"symfony/contracts": "^1.1",
|
|
||||||
"symfony/polyfill-mbstring": "~1.0",
|
"symfony/polyfill-mbstring": "~1.0",
|
||||||
"symfony/polyfill-php73": "^1.8"
|
"symfony/polyfill-php73": "^1.8",
|
||||||
|
"symfony/service-contracts": "^1.1"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"symfony/config": "~3.4|~4.0",
|
"symfony/config": "~3.4|~4.0",
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": "^7.1.3",
|
"php": "^7.1.3",
|
||||||
"psr/container": "^1.0",
|
"psr/container": "^1.0",
|
||||||
"symfony/contracts": "^1.1"
|
"symfony/service-contracts": "^1.1"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"symfony/yaml": "~3.4|~4.0",
|
"symfony/yaml": "~3.4|~4.0",
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.1.3",
|
"php": "^7.1.3",
|
||||||
"symfony/contracts": "^1.1"
|
"symfony/event-dispatcher-contracts": "^1.1"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"symfony/dependency-injection": "~3.4|~4.0",
|
"symfony/dependency-injection": "~3.4|~4.0",
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": "^7.1.3",
|
"php": "^7.1.3",
|
||||||
"symfony/cache": "~3.4|~4.0",
|
"symfony/cache": "~3.4|~4.0",
|
||||||
"symfony/contracts": "^1.0"
|
"symfony/service-contracts": "^1.1"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": { "Symfony\\Component\\ExpressionLanguage\\": "" },
|
"psr-4": { "Symfony\\Component\\ExpressionLanguage\\": "" },
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": "^7.1.3",
|
"php": "^7.1.3",
|
||||||
"psr/log": "^1.0",
|
"psr/log": "^1.0",
|
||||||
"symfony/contracts": "^1.1",
|
"symfony/http-client-contracts": "^1.1",
|
||||||
"symfony/polyfill-php73": "^1.11"
|
"symfony/polyfill-php73": "^1.11"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.1.3",
|
"php": "^7.1.3",
|
||||||
"symfony/contracts": "^1.1",
|
|
||||||
"symfony/event-dispatcher": "^4.3",
|
"symfony/event-dispatcher": "^4.3",
|
||||||
"symfony/http-foundation": "^4.1.1",
|
"symfony/http-foundation": "^4.1.1",
|
||||||
"symfony/debug": "~3.4|~4.0",
|
"symfony/debug": "~3.4|~4.0",
|
||||||
|
@ -17,7 +17,8 @@
|
|||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.1.3",
|
"php": "^7.1.3",
|
||||||
"symfony/contracts": "^1.1"
|
"symfony/event-dispatcher-contracts": "^1.1",
|
||||||
|
"symfony/service-contracts": "^1.1"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"psr/container": "^1.0",
|
"psr/container": "^1.0",
|
||||||
|
@ -17,10 +17,11 @@
|
|||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.1.3",
|
"php": "^7.1.3",
|
||||||
"symfony/contracts": "^1.1",
|
"symfony/event-dispatcher-contracts": "^1.1",
|
||||||
"symfony/http-foundation": "~3.4|~4.0",
|
"symfony/http-foundation": "~3.4|~4.0",
|
||||||
"symfony/http-kernel": "^4.3",
|
"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": {
|
"replace": {
|
||||||
"symfony/security-core": "self.version",
|
"symfony/security-core": "self.version",
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.1.3",
|
"php": "^7.1.3",
|
||||||
"symfony/contracts": "^1.0"
|
"symfony/service-contracts": "^1.0"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": { "Symfony\\Component\\Stopwatch\\": "" },
|
"psr-4": { "Symfony\\Component\\Stopwatch\\": "" },
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
namespace Symfony\Component\Translation\Tests;
|
namespace Symfony\Component\Translation\Tests;
|
||||||
|
|
||||||
use Symfony\Component\Translation\IdentityTranslator;
|
use Symfony\Component\Translation\IdentityTranslator;
|
||||||
use Symfony\Contracts\Tests\Translation\TranslatorTest;
|
use Symfony\Contracts\Translation\Test\TranslatorTest;
|
||||||
|
|
||||||
class IdentityTranslatorTest extends TranslatorTest
|
class IdentityTranslatorTest extends TranslatorTest
|
||||||
{
|
{
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.1.3",
|
"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": {
|
"require-dev": {
|
||||||
"symfony/config": "~3.4|~4.0",
|
"symfony/config": "~3.4|~4.0",
|
||||||
|
@ -17,9 +17,9 @@
|
|||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.1.3",
|
"php": "^7.1.3",
|
||||||
"symfony/contracts": "^1.0.2",
|
|
||||||
"symfony/polyfill-ctype": "~1.8",
|
"symfony/polyfill-ctype": "~1.8",
|
||||||
"symfony/polyfill-mbstring": "~1.0"
|
"symfony/polyfill-mbstring": "~1.0",
|
||||||
|
"symfony/translation-contracts": "^1.1"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"symfony/http-client": "^4.3",
|
"symfony/http-client": "^4.3",
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Symfony\Contracts\Tests\Translation;
|
namespace Symfony\Contracts\Translation\Test;
|
||||||
|
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
use Symfony\Contracts\Translation\TranslatorInterface;
|
use Symfony\Contracts\Translation\TranslatorInterface;
|
@ -15,6 +15,7 @@
|
|||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="Symfony Contracts Test Suite">
|
<testsuite name="Symfony Contracts Test Suite">
|
||||||
<directory>./Tests/</directory>
|
<directory>./Tests/</directory>
|
||||||
|
<directory>./Translation/Test/</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
|
|
||||||
@ -23,6 +24,7 @@
|
|||||||
<directory>./</directory>
|
<directory>./</directory>
|
||||||
<exclude>
|
<exclude>
|
||||||
<directory>./Tests</directory>
|
<directory>./Tests</directory>
|
||||||
|
<directory>./Translation/Test/</directory>
|
||||||
<directory>./vendor</directory>
|
<directory>./vendor</directory>
|
||||||
</exclude>
|
</exclude>
|
||||||
</whitelist>
|
</whitelist>
|
||||||
|
Reference in New Issue
Block a user