summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json2
-rw-r--r--php-cs-fixer.spec7
2 files changed, 7 insertions, 2 deletions
diff --git a/composer.json b/composer.json
index 0dd86ea..388e4e7 100644
--- a/composer.json
+++ b/composer.json
@@ -83,6 +83,7 @@
],
"cs:check": "@php php-cs-fixer fix --dry-run --diff",
"cs:fix": "@php php-cs-fixer fix",
+ "cs:fix:parallel": "echo '🔍 Will run in batches of 50 files.'; if [[ -f .php-cs-fixer.php ]]; then FIXER_CONFIG=.php-cs-fixer.php; else FIXER_CONFIG=.php-cs-fixer.dist.php; fi; php php-cs-fixer list-files --config=$FIXER_CONFIG | xargs -n 50 -P 8 php php-cs-fixer fix --config=$FIXER_CONFIG --path-mode intersection 2> /dev/null",
"docs": "@php dev-tools/doc.php",
"install-tools": "@composer --working-dir=dev-tools install",
"mess-detector": "@php dev-tools/vendor/bin/phpmd . ansi dev-tools/mess-detector/phpmd.xml --exclude vendor/*,dev-tools/vendor/*,dev-tools/phpstan/*,tests/Fixtures/*",
@@ -126,6 +127,7 @@
"scripts-descriptions": {
"cs:check": "Check coding standards",
"cs:fix": "Fix coding standards",
+ "cs:fix:parallel": "Fix coding standards in naive parallel mode (using xargs)",
"docs": "Regenerate docs",
"install-tools": "Install DEV tools",
"mess-detector": "Analyse code with Mess Detector",
diff --git a/php-cs-fixer.spec b/php-cs-fixer.spec
index 2ac164a..352547c 100644
--- a/php-cs-fixer.spec
+++ b/php-cs-fixer.spec
@@ -10,14 +10,14 @@
# For compatibility with SCL
%undefine __brp_mangle_shebangs
-%global gh_commit d023ba6684055f6ea1da1352d8a02baca0426983
+%global gh_commit e73ccaae1208f017bb7860986eebb3da48bd25d6
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
#global gh_date 20150717
%global gh_owner FriendsOfPHP
%global gh_project PHP-CS-Fixer
Name: php-cs-fixer
-Version: 3.26.1
+Version: 3.27.0
Release: 1%{?gh_date:.%{gh_date}git%{gh_short}}%{?dist}
Summary: PHP Coding Standards Fixer
@@ -150,6 +150,9 @@ PHP_CS_FIXER_IGNORE_ENV=1 ./%{name} --version | grep %{version}
%changelog
+* Mon Sep 18 2023 Remi Collet <remi@remirepo.net> - 3.27.0-1
+- update to 3.27.0
+
* Mon Sep 11 2023 Remi Collet <remi@remirepo.net> - 3.26.1-1
- update to 3.26.1