8000 Rename Contract to Contracts by fabpot · Pull Request #27947 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Rename Contract to Contracts #27947

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
renamed Contract to Contracts
  • Loading branch information
fabpot committed Jul 13, 2018
commit 682836da9cbad2dcf76d86344ef33c0b5d074aaa
2 changes: 1 addition & 1 deletion composer.json
10000
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"Symfony\\Bridge\\Twig\\": "src/Symfony/Bridge/Twig/",
"Symfony\\Bundle\\": "src/Symfony/Bundle/",
"Symfony\\Component\\": "src/Symfony/Component/",
"Symfony\\Contract\\": "src/Symfony/Contract/"
"Symfony\\Contracts\\": "src/Symfony/Contracts/"
},
"classmap": [
"src/Symfony/Component/Intl/Resources/stubs"
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bridge/Doctrine/Form/Type/DoctrineType.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\Options;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Contract\Service\ResetInterface;
use Symfony\Contracts\Service\ResetInterface;

abstract class DoctrineType extends AbstractType implements ResetInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bridge/Monolog/Logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use Monolog\Logger as BaseLogger;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpKernel\Log\DebugLoggerInterface;
use Symfony\Contract\Service\ResetInterface;
use Symfony\Contracts\Service\ResetInterface;

/**
* Logger.
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bridge/Monolog/Processor/DebugProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\RequestStack;
use Symfony\Component\HttpKernel\Log\DebugLoggerInterface;
use Symfony\Contract\Service\ResetInterface;
use Symfony\Contracts\Service\ResetInterface;

class DebugProcessor implements DebugLoggerInterface, ResetInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
use Symfony\Component\Workflow;
use Symfony\Component\Yaml\Command\LintCommand as BaseYamlLintCommand;
use Symfony\Component\Yaml\Yaml;
use Symfony\Contract\Service\ResetInterface;
use Symfony\Contracts\Service\ResetInterface;

/**
* Fram 9E7A eworkExtension.
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Cache/Adapter/ChainAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
use Symfony\Component\Cache\PruneableInterface;
use Symfony\Component\Cache\ResettableInterface;
use Symfony\Component\Cache\Traits\GetTrait;
use Symfony\Contract\Service\ResetInterface;
use Symfony\Contracts\Service\ResetInterface;

/**
* Chains several adapters together.
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Cache/Adapter/TraceableAdapter.php
F438
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use Symfony\Component\Cache\CacheItem;
use Symfony\Component\Cache\PruneableInterface;
use Symfony\Component\Cache\ResettableInterface;
use Symfony\Contract\Service\ResetInterface;
use Symfony\Contracts\Service\ResetInterface;

/**
* An adapter that collects data about all cache calls.
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Cache/DoctrineProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

use Doctrine\Common\Cache\CacheProvider;
use Psr\Cache\CacheItemPoolInterface;
use Symfony\Contract\Service\ResetInterface;
use Symfony\Contracts\Service\ResetInterface;

/**
* @author Nicolas Grekas <p@tchwork.com>
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Cache/ResettableInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace Symfony\Component\Cache;

use Symfony\Contract\Service\ResetInterface;
use Symfony\Contracts\Service\ResetInterface;

/**
* Resets a pool's local state.
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Cache/Simple/ChainCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use Symfony\Component\Cache\Exception\InvalidArgumentException;
use Symfony\Component\Cache\PruneableInterface;
use Symfony\Component\Cache\ResettableInterface;
use Symfony\Contract\Service\ResetInterface;
use Symfony\Contracts\Service\ResetInterface;

/**
* Chains several caches together.
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Cache/Simple/TraceableCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use Psr\SimpleCache\CacheInterface;
use Symfony\Component\Cache\PruneableInterface;
use Symfony\Component\Cache\ResettableInterface;
use Symfony\Contract\Service\ResetInterface;
use Symfony\Contracts\Service\ResetInterface;

/**
* An adapter that collects data about all cache calls.
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Cache/Traits/ProxyTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace Symfony\Component\Cache\Traits;

use Symfony\Component\Cache\PruneableInterface;
use Symfony\Contract\Service\ResetInterface;
use Symfony\Contracts\Service\ResetInterface;

/**
* @author Nicolas Grekas <p@tchwork.com>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace Symfony\Component\Console\Formatter;

use Symfony\Component\Console\Exception\InvalidArgumentException;
use Symfony\Contract\Service\ResetInterface;
use Symfony\Contracts\Service\ResetInterface;

/**
* @author Jean-François Simon <contact@jfsimon.fr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace Symfony\Component\DependencyInjection;

use Symfony\Contract\Service\ResetInterface;
use Symfony\Contracts\Service\ResetInterface;

/**
* ResettableContainerInterface defines additional resetting functionality
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace Symfony\Component\EventDispatcher\Debug;

use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Contract\Service\ResetInterface;
use Symfony\Contracts\Service\ResetInterface;

/**
* @deprecated since Symfony 4.1
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/ExpressionLanguage/Compiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace Symfony\Component\ExpressionLanguage;

use Symfony\Contract\Service\ResetInterface;
use Symfony\Contracts\Service\ResetInterface;

/**
* Compiles a node to PHP code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Contract\Service\ResetInterface;
use Symfony\Contracts\Service\ResetInterface;

/**
* DataCollectorInterface.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Contract\Service\ResetInterface;
use Symfony\Contracts\Service\ResetInterface;

/**
* EventDataCollector.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace Symfony\Component\HttpKernel\DependencyInjection;

use Symfony\Contract\Service\ResetInterface;
use Symfony\Contracts\Service\ResetInterface;

/**
* Resets provided services.
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpKernel/Profiler/Profiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface;
use Symfony\Component\HttpKernel\DataCollector\LateDataCollectorInterface;
use Symfony\Contract\Service\ResetInterface;
use Symfony\Contracts\Service\ResetInterface;
use Psr\Log\LoggerInterface;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace Symfony\Component\Security\Core\Authentication\Token\Storage;

use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Contract\Service\ResetInterface;
use Symfony\Contracts\Service\ResetInterface;

/**
* TokenStorage contains a TokenInterface.
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Stopwatch/Stopwatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace Symfony\Component\Stopwatch;

use Symfony\Contract\Service\ResetInterface;
use Symfony\Contracts\Service\ResetInterface;

/**
* Stopwatch provides a way to profile code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace Symfony\Component\Validator\Validator;

use Symfony\Component\Validator\Context\ExecutionContextInterface;
use Symfony\Contract\Service\ResetInterface;
use Symfony\Contracts\Service\ResetInterface;

/**
* Collects some data about validator calls.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/

namespace Symfony\Contract\Service;
namespace Symfony\Contracts\Service;

/**
* Provides a way to reset an object to its initial state.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"php": "^7.1.3"
},
"autoload": {
"psr-4": { "Symfony\\Contract\\": "" },
"psr-4": { "Symfony\\Contracts\\": "" },
"exclude-from-classmap": [
"**/Tests/"
]
Expand Down
0