Commit d9b3f0a3 authored by Alexander Schnitzler's avatar Alexander Schnitzler Committed by Andreas Fernandez
Browse files

[TASK] Use declare(strict_types=1) without spaces

As a preparation to be compatible with PSR-12, all spaces in
strict type declerations are removed.

Releases: master
Resolves: #91009
Change-Id: I2b7c2fda42b44168b5c4c6b21711eede2eadaf2e
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62104

Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
Tested-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
parent bde6e415
......@@ -20,7 +20,7 @@
*
* And then simply run
*
* $ php-cs-fixer fix --config ../Build/.php_cs
* $ ./bin/php-cs-fixer fix --config ./Build/.php_cs
*
* inside the TYPO3 directory. Warning: This may take up to 10 minutes.
*
......@@ -58,7 +58,7 @@ return PhpCsFixer\Config::create()
'array_syntax' => ['syntax' => 'short'],
'cast_spaces' => ['space' => 'none'],
'concat_space' => ['spacing' => 'one'],
'declare_equal_normalize' => ['space' => 'single'],
'declare_equal_normalize' => ['space' => 'none'],
'dir_constant' => true,
'function_typehint_space' => true,
'hash_to_slash_comment' => true,
......
#!/usr/bin/env php
<?php
declare(strict_types = 1);
declare(strict_types=1);
/*
* This file is part of the TYPO3 CMS project.
......
#!/usr/bin/env php
<?php
declare(strict_types = 1);
declare(strict_types=1);
/*
* This file is part of the TYPO3 CMS project.
*
......
#!/usr/bin/env php
<?php
declare(strict_types = 1);
declare(strict_types=1);
/*
* This file is part of the TYPO3 CMS project.
*
......
<?php
declare(strict_types = 1);
declare(strict_types=1);
namespace TYPO3\CMS\Composer\Scripts;
/***************************************************************
......
#!/usr/bin/env php
<?php
declare(strict_types = 1);
declare(strict_types=1);
/*
* This file is part of the TYPO3 CMS project.
......
#!/usr/bin/env php
<?php
declare(strict_types = 1);
declare(strict_types=1);
/*
* This file is part of the TYPO3 CMS project.
......
<?php
declare(strict_types = 1);
declare(strict_types=1);
namespace TYPO3\CMS\Adminpanel\Controller;
......
<?php
declare(strict_types = 1);
declare(strict_types=1);
namespace TYPO3\CMS\Adminpanel\Controller;
......
<?php
declare(strict_types = 1);
declare(strict_types=1);
namespace TYPO3\CMS\Adminpanel\Exceptions;
......
<?php
declare(strict_types = 1);
declare(strict_types=1);
namespace TYPO3\CMS\Adminpanel\Log;
......
<?php
declare(strict_types = 1);
declare(strict_types=1);
namespace TYPO3\CMS\Adminpanel\Log;
......
<?php
declare(strict_types = 1);
declare(strict_types=1);
namespace TYPO3\CMS\Adminpanel\Middleware;
......
<?php
declare(strict_types = 1);
declare(strict_types=1);
namespace TYPO3\CMS\Adminpanel\Middleware;
......
<?php
declare(strict_types = 1);
declare(strict_types=1);
namespace TYPO3\CMS\Adminpanel\Middleware;
......
<?php
declare(strict_types = 1);
declare(strict_types=1);
namespace TYPO3\CMS\Adminpanel\Middleware;
......
<?php
declare(strict_types = 1);
declare(strict_types=1);
namespace TYPO3\CMS\Adminpanel\ModuleApi;
......
<?php
declare(strict_types = 1);
declare(strict_types=1);
namespace TYPO3\CMS\Adminpanel\ModuleApi;
......
<?php
declare(strict_types = 1);
declare(strict_types=1);
namespace TYPO3\CMS\Adminpanel\ModuleApi;
......
<?php
declare(strict_types = 1);
declare(strict_types=1);
namespace TYPO3\CMS\Adminpanel\ModuleApi;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment