Skip to content

Commit

Permalink
Fixed CS fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
L3RAZ committed Jan 22, 2025
1 parent c1e98d7 commit 95469e2
Show file tree
Hide file tree
Showing 5 changed files with 2,545 additions and 965 deletions.
1 change: 1 addition & 0 deletions .php-cs-fixer.cache

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

require_once './vendor/prestashop/php-dev-tools/src/CsFixer/Config.php';

$config = new PrestaShop\CodingStandards\CsFixer\Config();

/** @var \Symfony\Component\Finder\Finder $finder */
$finder = $config->setUsingCache(true)->getFinder();
$finder->in(__DIR__)->exclude('vendor');

return $config;
12 changes: 0 additions & 12 deletions .php_cs.dist

This file was deleted.

11 changes: 6 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@
"webmozart/assert": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "~9.6.7",
"phpunit/php-code-coverage": "^9.2.31",
"nikic/php-parser": "^4.19.1",
"prestashop/php-dev-tools": "~5.0",
"friendsofphp/php-cs-fixer": "^3.68",
"monolog/monolog": "^1.27.1",
"prestashop/autoindex": "^2.1"
"nikic/php-parser": "^4.19.1",
"phpunit/php-code-coverage": "^9.2.31",
"phpunit/phpunit": "~9.6.7",
"prestashop/autoindex": "^2.1",
"prestashop/php-dev-tools": "~5.0"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 95469e2

Please sign in to comment.