Skip to content

Commit

Permalink
Apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mattamon authored and github-actions[bot] committed Aug 29, 2024
1 parent 67286d7 commit 7d8016e
Show file tree
Hide file tree
Showing 248 changed files with 250 additions and 1 deletion.
1 change: 1 addition & 0 deletions bundles/ApplicationLoggerBundle/src/ApplicationLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
use function is_array;
use function is_null;
use function is_string;
use function sprintf;

class ApplicationLogger implements LoggerInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
use Symfony\Component\HttpKernel\Event\ControllerEvent;
use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException;
use Symfony\Component\Routing\Annotation\Route;
use function sprintf;

/**
* @internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
use Pimcore\Maintenance\TaskInterface;
use Pimcore\Tool\Storage;
use Psr\Log\LoggerInterface;
use function sprintf;

/**
* @internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
use Pimcore\Model\Document;
use function is_object;
use function is_string;
use function sprintf;

/**
* Make sure you add this processor when using the ApplicationLoggerDb handler as is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use function sprintf;

/**
* @internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use function sprintf;

/**
* @internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
use Pimcore\Extension\Bundle\PimcoreBundleInterface;
use Pimcore\Extension\Bundle\PimcoreBundleManager;
use Symfony\Component\Console\Input\InputOption;
use function sprintf;

/**
* @internal
Expand Down
1 change: 1 addition & 0 deletions bundles/CoreBundle/src/Command/Bundle/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use function sprintf;

/**
* @internal
Expand Down
1 change: 1 addition & 0 deletions bundles/CoreBundle/src/Command/Bundle/ListCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use function is_bool;
use function sprintf;
use function strlen;

/**
Expand Down
1 change: 1 addition & 0 deletions bundles/CoreBundle/src/Command/Bundle/UninstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use function sprintf;

/**
* @internal
Expand Down
1 change: 1 addition & 0 deletions bundles/CoreBundle/src/Command/CacheWarmingCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
use Symfony\Component\Console\Output\OutputInterface;
use function count;
use function in_array;
use function sprintf;

/**
* @internal
Expand Down
1 change: 1 addition & 0 deletions bundles/CoreBundle/src/Command/ClassesRebuildCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Contracts\Service\Attribute\Required;
use function sprintf;

/**
* @internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Question\ConfirmationQuestion;
use function sprintf;

/**
* @internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use function sprintf;

#[AsCommand(
name: 'pimcore:definition:import:units',
Expand Down
1 change: 1 addition & 0 deletions bundles/CoreBundle/src/Command/Document/CleanupCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use function in_array;
use function sprintf;

#[AsCommand(
name: 'pimcore:documents:cleanup',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Question\ConfirmationQuestion;
use function sprintf;

#[AsCommand(
name: 'pimcore:documents:migrate-elements',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use function count;
use function sprintf;

/**
* @internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use function sprintf;

/**
* @internal
Expand Down
1 change: 1 addition & 0 deletions bundles/CoreBundle/src/Command/Migrate/StorageCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use function implode;
use function sprintf;

/**
* @internal
Expand Down
1 change: 1 addition & 0 deletions bundles/CoreBundle/src/Command/RunScriptCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use function sprintf;

/**
* @internal
Expand Down
1 change: 1 addition & 0 deletions bundles/CoreBundle/src/Command/ThumbnailsClearCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use function in_array;
use function sprintf;

/**
* @internal
Expand Down
1 change: 1 addition & 0 deletions bundles/CoreBundle/src/Command/ThumbnailsImageCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use function in_array;
use function sprintf;

/**
* @internal
Expand Down
1 change: 1 addition & 0 deletions bundles/CoreBundle/src/Command/WorkflowDumpCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Workflow\Marking;
use function sprintf;

/**
* @internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
use Symfony\Component\DependencyInjection\Reference;
use Symfony\Component\Finder\Finder;
use function in_array;
use function sprintf;

/**
* @internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Reference;
use function sprintf;

/**
* Adds tagged navigation renderers to navigation helper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
use Symfony\Component\Workflow;
use Symfony\Component\Workflow\Exception\LogicException;
use function is_null;
use function sprintf;

/**
* @internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
use Symfony\Component\HttpKernel\KernelEvents;
use function sprintf;

/**
* Handles element setup logic from request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
use function sprintf;

/**
* @internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
use function sprintf;

/**
* @internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
use Pimcore\Model\DataObject;
use function sprintf;

/**
* @internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
use Doctrine\Migrations\AbstractMigration;
use Exception;
use Pimcore\Model\DataObject\ClassDefinition\Listing;
use function sprintf;

final class Version20210702102100 extends AbstractMigration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
use Pimcore\Model\DataObject;
use function sprintf;

/**
* @internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
use Doctrine\Migrations\AbstractMigration;
use Exception;
use Pimcore\Model\DataObject\ClassDefinition\Listing;
use function sprintf;

final class Version20210901130000 extends AbstractMigration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
use Pimcore\Model\DataObject;
use function sprintf;

final class Version20211117173000 extends AbstractMigration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
use Doctrine\Migrations\AbstractMigration;
use Exception;
use Pimcore\Model\DataObject\ClassDefinition\Listing;
use function sprintf;

final class Version20220201132131 extends AbstractMigration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
use Doctrine\Migrations\AbstractMigration;
use Exception;
use Pimcore\Model\DataObject\Objectbrick\Definition\Listing;
use function sprintf;

final class Version20220318101020 extends AbstractMigration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
use function sprintf;

final class Version20220617145524 extends AbstractMigration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
use Doctrine\Migrations\AbstractMigration;
use Exception;
use Pimcore\Model\DataObject\ClassDefinition\Listing;
use function sprintf;

final class Version20220816120101 extends AbstractMigration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
use function sprintf;

/**
* Auto-generated Migration: Please modify to your needs!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
use Doctrine\Migrations\AbstractMigration;
use Exception;
use Pimcore\Model\DataObject\ClassDefinition\Listing;
use function sprintf;

final class Version20221028115803 extends AbstractMigration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
use Doctrine\Migrations\AbstractMigration;
use Exception;
use Pimcore\Model\DataObject\Objectbrick\Definition\Listing;
use function sprintf;

final class Version20221129084031 extends AbstractMigration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
use function sprintf;

final class Version20230321133700 extends AbstractMigration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
use function sprintf;

final class Version20230322114936 extends AbstractMigration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
use Pimcore\Model\Tool\SettingsStore;
use function sprintf;

final class Version20230406113010 extends AbstractMigration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
use Doctrine\Migrations\AbstractMigration;
use Pimcore\Model\DataObject;
use Pimcore\Model\DataObject\Exception\DefinitionWriteException;
use function sprintf;

final class Version20230412105530 extends AbstractMigration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
use Doctrine\Migrations\AbstractMigration;
use Pimcore\Model\DataObject;
use Pimcore\Model\DataObject\Exception\DefinitionWriteException;
use function sprintf;

final class Version20230508121105 extends AbstractMigration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
use Pimcore\Model\DataObject;
use function sprintf;

final class Version20230516161000 extends AbstractMigration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
use Doctrine\Migrations\AbstractMigration;
use Pimcore\Model\DataObject;
use Pimcore\Model\DataObject\Exception\DefinitionWriteException;
use function sprintf;

final class Version20230606112233 extends AbstractMigration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
use Pimcore\Model\DataObject;
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
use Symfony\Component\DependencyInjection\ContainerAwareTrait;
use function sprintf;

final class Version20231127124738 extends AbstractMigration implements ContainerAwareInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
use Symfony\Component\HttpKernel\Controller\ValueResolverInterface;
use Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadata;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
use function sprintf;

/**
* @internal
Expand Down
Loading

0 comments on commit 7d8016e

Please sign in to comment.