Skip to content

Commit e379146

Browse files
committed
minor symfony#27947 Rename Contract to Contracts (fabpot)
This PR was merged into the 4.2-dev branch. Discussion ---------- Rename Contract to Contracts | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a To avoid confusions between the composer name and the namespace. Commits ------- 682836d renamed Contract to Contracts
2 parents 1e16a8b + 682836d commit e379146

File tree

30 files changed

+25
-25
lines changed

30 files changed

+25
-25
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
"Symfony\\Bridge\\Twig\\": "src/Symfony/Bridge/Twig/",
121121
"Symfony\\Bundle\\": "src/Symfony/Bundle/",
122122
"Symfony\\Component\\": "src/Symfony/Component/",
123-
"Symfony\\Contract\\": "src/Symfony/Contract/"
123+
"Symfony\\Contracts\\": "src/Symfony/Contracts/"
124124
},
125125
"classmap": [
126126
"src/Symfony/Component/Intl/Resources/stubs"

src/Symfony/Bridge/Doctrine/Form/Type/DoctrineType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
use Symfony\Component\Form\FormBuilderInterface;
2525
use Symfony\Component\OptionsResolver\Options;
2626
use Symfony\Component\OptionsResolver\OptionsResolver;
27-
use Symfony\Contract\Service\ResetInterface;
27+
use Symfony\Contracts\Service\ResetInterface;
2828

2929
abstract class DoctrineType extends AbstractType implements ResetInterface
3030
{

src/Symfony/Bridge/Monolog/Logger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Monolog\Logger as BaseLogger;
1515
use Symfony\Component\HttpFoundation\Request;
1616
use Symfony\Component\HttpKernel\Log\DebugLoggerInterface;
17-
use Symfony\Contract\Service\ResetInterface;
17+
use Symfony\Contracts\Service\ResetInterface;
1818

1919
/**
2020
* Logger.

src/Symfony/Bridge/Monolog/Processor/DebugProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use Symfony\Component\HttpFoundation\Request;
1616
use Symfony\Component\HttpFoundation\RequestStack;
1717
use Symfony\Component\HttpKernel\Log\DebugLoggerInterface;
18-
use Symfony\Contract\Service\ResetInterface;
18+
use Symfony\Contracts\Service\ResetInterface;
1919

2020
class DebugProcessor implements DebugLoggerInterface, ResetInterface
2121
{

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
use Symfony\Component\Workflow;
9595
use Symfony\Component\Yaml\Command\LintCommand as BaseYamlLintCommand;
9696
use Symfony\Component\Yaml\Yaml;
97-
use Symfony\Contract\Service\ResetInterface;
97+
use Symfony\Contracts\Service\ResetInterface;
9898

9999
/**
100100
* FrameworkExtension.

src/Symfony/Component/Cache/Adapter/ChainAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
use Symfony\Component\Cache\PruneableInterface;
2020
use Symfony\Component\Cache\ResettableInterface;
2121
use Symfony\Component\Cache\Traits\GetTrait;
22-
use Symfony\Contract\Service\ResetInterface;
22+
use Symfony\Contracts\Service\ResetInterface;
2323

2424
/**
2525
* Chains several adapters together.

src/Symfony/Component/Cache/Adapter/TraceableAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use Symfony\Component\Cache\CacheItem;
1717
use Symfony\Component\Cache\PruneableInterface;
1818
use Symfony\Component\Cache\ResettableInterface;
19-
use Symfony\Contract\Service\ResetInterface;
19+
use Symfony\Contracts\Service\ResetInterface;
2020

2121
/**
2222
* An adapter that collects data about all cache calls.

src/Symfony/Component/Cache/DoctrineProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
use Doctrine\Common\Cache\CacheProvider;
1515
use Psr\Cache\CacheItemPoolInterface;
16-
use Symfony\Contract\Service\ResetInterface;
16+
use Symfony\Contracts\Service\ResetInterface;
1717

1818
/**
1919
* @author Nicolas Grekas <[email protected]>

src/Symfony/Component/Cache/ResettableInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace Symfony\Component\Cache;
1313

14-
use Symfony\Contract\Service\ResetInterface;
14+
use Symfony\Contracts\Service\ResetInterface;
1515

1616
/**
1717
* Resets a pool's local state.

src/Symfony/Component/Cache/Simple/ChainCache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use Symfony\Component\Cache\Exception\InvalidArgumentException;
1616
use Symfony\Component\Cache\PruneableInterface;
1717
use Symfony\Component\Cache\ResettableInterface;
18-
use Symfony\Contract\Service\ResetInterface;
18+
use Symfony\Contracts\Service\ResetInterface;
1919

2020
/**
2121
* Chains several caches together.

0 commit comments

Comments
 (0)