Skip to content

Commit

Permalink
[TASK] Run cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
MFabse committed Apr 3, 2024
1 parent 3fb9e4b commit 4cf493b
Show file tree
Hide file tree
Showing 30 changed files with 36 additions and 31 deletions.
2 changes: 1 addition & 1 deletion Classes/Command/UpdateIpDatabaseCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\Command;
Expand Down
2 changes: 1 addition & 1 deletion Classes/Domain/Repository/RegionRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\Domain\Repository;
Expand Down
2 changes: 1 addition & 1 deletion Classes/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate;
Expand Down
2 changes: 1 addition & 1 deletion Classes/Exception/IllegalActionException.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\Exception;
Expand Down
2 changes: 1 addition & 1 deletion Classes/Exception/IllegalFactProviderException.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\Exception;
Expand Down
2 changes: 1 addition & 1 deletion Classes/Exception/IllegalJudgeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\Exception;
Expand Down
2 changes: 1 addition & 1 deletion Classes/Exception/InvalidActionName.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\Exception;
Expand Down
2 changes: 1 addition & 1 deletion Classes/FactProvider/AbstractFactProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\FactProvider;
Expand Down
2 changes: 1 addition & 1 deletion Classes/FactProvider/BrowserAcceptedLanguage.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\FactProvider;
Expand Down
2 changes: 1 addition & 1 deletion Classes/FactProvider/IP2Country.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\FactProvider;
Expand Down
2 changes: 1 addition & 1 deletion Classes/FactProvider/StaticFactProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\FactProvider;
Expand Down
2 changes: 1 addition & 1 deletion Classes/Hook/OverrideIconOverlayHook.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\Hook;
Expand Down
2 changes: 1 addition & 1 deletion Classes/Judge/AbstractJudge.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\Judge;
Expand Down
2 changes: 1 addition & 1 deletion Classes/Judge/Condition.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\Judge;
Expand Down
2 changes: 1 addition & 1 deletion Classes/Judge/Decision.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\Judge;
Expand Down
2 changes: 1 addition & 1 deletion Classes/Judge/Fixed.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\Judge;
Expand Down
2 changes: 1 addition & 1 deletion Classes/Middleware/LanguageRedirectMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\Middleware;
Expand Down
2 changes: 1 addition & 1 deletion Classes/Middleware/PageUnavailableMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\Middleware;
Expand Down
2 changes: 1 addition & 1 deletion Classes/Processor/Court.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\Processor;
Expand Down
2 changes: 1 addition & 1 deletion Classes/Processor/ProcessorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\Processor;
Expand Down
2 changes: 1 addition & 1 deletion Classes/Store/SessionStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\Store;
Expand Down
2 changes: 1 addition & 1 deletion Classes/Utility/LocateUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\Utility;
Expand Down
2 changes: 1 addition & 1 deletion Classes/Verdict/AbstractVerdict.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\Verdict;
Expand Down
2 changes: 1 addition & 1 deletion Classes/Verdict/Redirect.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\Verdict;
Expand Down
2 changes: 1 addition & 1 deletion Tests/Functional/FrontendTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\Tests\Functional;
Expand Down
2 changes: 1 addition & 1 deletion Tests/Functional/Store/Session/SessionStoreTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\Tests\Functional\Store\Session;
Expand Down
2 changes: 1 addition & 1 deletion Tests/Functional/Utility/LocateUtilityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\Tests\Functional\Utility;
Expand Down
2 changes: 1 addition & 1 deletion Tests/Unit/FactProvider/BrowserAcceptedLanguageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\Tests\Unit\FactProvider;
Expand Down
2 changes: 1 addition & 1 deletion Tests/Unit/FactProvider/IP2CountryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
* Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
*/

namespace Leuchtfeuer\Locate\Tests\Unit\FactProvider;
Expand Down
9 changes: 7 additions & 2 deletions php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
For the full copyright and license information, please read the
LICENSE.txt file that was distributed with this source code.
Florian Wessels <f.wessels@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
Team YD <dev@Leuchtfeuer.com>, Leuchtfeuer Digital Marketing
COMMENT;

$finder = (new PhpCsFixer\Finder())
Expand All @@ -30,6 +30,7 @@
->setRiskyAllowed(true)
->setRules([
'@DoctrineAnnotation' => true,
'@PER' => true,
'@PSR2' => true,
'array_syntax' => ['syntax' => 'short'],
'blank_line_after_opening_tag' => true,
Expand All @@ -39,6 +40,7 @@
'concat_space' => ['spacing' => 'one'],
'declare_equal_normalize' => ['space' => 'none'],
'dir_constant' => true,
'function_to_constant' => ['functions' => ['get_called_class', 'get_class', 'get_class_this', 'php_sapi_name', 'phpversion', 'pi']],
'function_typehint_space' => true,
'header_comment' => [
'header' => $headerComment,
Expand All @@ -48,6 +50,7 @@
],
'lowercase_cast' => true,
'method_argument_space' => ['on_multiline' => 'ensure_fully_multiline'],
'modernize_strpos' => true,
'modernize_types_casting' => true,
'native_function_casing' => true,
'new_with_braces' => true,
Expand All @@ -66,6 +69,7 @@
'no_unneeded_control_parentheses' => true,
'no_unused_imports' => true,
'no_useless_else' => true,
'no_useless_nullsafe_operator' => true,
'no_whitespace_in_blank_line' => true,
'ordered_imports' => true,
'php_unit_construct' => ['assertions' => ['assertEquals', 'assertSame', 'assertNotEquals', 'assertNotSame']],
Expand All @@ -83,6 +87,7 @@
'single_line_comment_style' => ['comment_types' => ['hash']],
'single_trait_insert_per_statement' => true,
'trailing_comma_in_multiline' => ['elements' => ['arrays']],
'whitespace_after_comma_in_array' => true,
'whitespace_after_comma_in_array' => ['ensure_single_space' => true],
'yoda_style' => ['equal' => false, 'identical' => false, 'less_and_greater' => false],
])
->setFinder($finder);

0 comments on commit 4cf493b

Please sign in to comment.