diff options
-rw-r--r-- | composer.json | 2 | ||||
-rw-r--r-- | installed.json | 26 | ||||
-rw-r--r-- | php-cs-fixer.spec | 44 |
3 files changed, 38 insertions, 34 deletions
diff --git a/composer.json b/composer.json index 968425c..218dc43 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,7 @@ }, "require-dev": { "justinrainbow/json-schema": "^5.2", - "keradus/cli-executor": "^1.5", + "keradus/cli-executor": "^2.0", "mikey179/vfsstream": "^1.6.10", "php-coveralls/php-coveralls": "^2.5.2", "php-cs-fixer/accessible-object": "^1.1", diff --git a/installed.json b/installed.json index 4910572..dce220e 100644 --- a/installed.json +++ b/installed.json @@ -662,17 +662,17 @@ }, { "name": "symfony/console", - "version": "v5.4.14", - "version_normalized": "5.4.14.0", + "version": "v5.4.15", + "version_normalized": "5.4.15.0", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "984ea2c0f45f42dfed01d2f3987b187467c4b16d" + "reference": "ea59bb0edfaf9f28d18d8791410ee0355f317669" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/984ea2c0f45f42dfed01d2f3987b187467c4b16d", - "reference": "984ea2c0f45f42dfed01d2f3987b187467c4b16d", + "url": "https://api.github.com/repos/symfony/console/zipball/ea59bb0edfaf9f28d18d8791410ee0355f317669", + "reference": "ea59bb0edfaf9f28d18d8791410ee0355f317669", "shasum": "" }, "require": { @@ -710,7 +710,7 @@ "symfony/lock": "", "symfony/process": "" }, - "time": "2022-10-07T08:01:20+00:00", + "time": "2022-10-26T21:41:52+00:00", "type": "library", "installation-source": "dist", "autoload": { @@ -744,7 +744,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.4.14" + "source": "https://github.com/symfony/console/tree/v5.4.15" }, "funding": [ { @@ -2017,17 +2017,17 @@ }, { "name": "symfony/string", - "version": "v5.4.14", - "version_normalized": "5.4.14.0", + "version": "v5.4.15", + "version_normalized": "5.4.15.0", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "089e7237497fae7a9c404d0c3aeb8db3254733e4" + "reference": "571334ce9f687e3e6af72db4d3b2a9431e4fd9ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/089e7237497fae7a9c404d0c3aeb8db3254733e4", - "reference": "089e7237497fae7a9c404d0c3aeb8db3254733e4", + "url": "https://api.github.com/repos/symfony/string/zipball/571334ce9f687e3e6af72db4d3b2a9431e4fd9ed", + "reference": "571334ce9f687e3e6af72db4d3b2a9431e4fd9ed", "shasum": "" }, "require": { @@ -2086,7 +2086,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.4.14" + "source": "https://github.com/symfony/string/tree/v5.4.15" }, "funding": [ { diff --git a/php-cs-fixer.spec b/php-cs-fixer.spec index 6cd825e..87d45d6 100644 --- a/php-cs-fixer.spec +++ b/php-cs-fixer.spec @@ -10,18 +10,19 @@ # For compatibility with SCL %undefine __brp_mangle_shebangs -%global gh_commit eae11d945e2885d86e1c080eec1bb30a2aa27998 +%global gh_commit a6232229a8309e8811dc751c28b91cb34b2943e1 %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.12.0 +Version: 3.13.0 Release: 1%{?gh_date:.%{gh_date}git%{gh_short}}%{?dist} Summary: PHP Coding Standards Fixer -License: MIT and BSD +# see bundled list below, SPDX +License: MIT AND BSD-3-Clause URL: https://github.com/%{gh_owner}/%{gh_project} # git snapshot to get upstream test suite Source0: %{name}-%{version}-%{gh_short}.tgz @@ -61,7 +62,7 @@ Provides: bundled(php-psr-cache) = 1.0.1 Provides: bundled(php-psr-container) = 1.1.2 Provides: bundled(php-psr-event-dispatcher) = 1.0.0 Provides: bundled(php-psr-log) = 1.1.4 -Provides: bundled(php-symfony-console) = v5.4.14 +Provides: bundled(php-symfony-console) = v5.4.15 Provides: bundled(php-symfony-deprecation-contracts) = v2.5.2 Provides: bundled(php-symfony-event-dispatcher) = v5.4.9 Provides: bundled(php-symfony-event-dispatcher-contracts) = v2.5.2 @@ -78,7 +79,7 @@ Provides: bundled(php-symfony-polyfill-php81) = v1.26.0 Provides: bundled(php-symfony-process) = v5.4.11 Provides: bundled(php-symfony-service-contracts) = v2.5.2 Provides: bundled(php-symfony-stopwatch) = v5.4.13 -Provides: bundled(php-symfony-string) = v5.4.14 +Provides: bundled(php-symfony-string) = v5.4.15 Provides: php-composer(friendsofphp/php-cs-fixer) = %{version} @@ -103,23 +104,23 @@ projects. This tool does not only detect them, but also fixes them for you. : List bundled libraries and Licenses php -r ' - $pkgs = file_get_contents("vendor/composer/installed.json"); - $pkgs = json_decode($pkgs, true); - if (!is_array($pkgs) || !isset($pkgs["packages"])) { + $pkgs = file_get_contents("vendor/composer/installed.json"); + $pkgs = json_decode($pkgs, true); + if (!is_array($pkgs) || !isset($pkgs["packages"])) { echo "cant decode json file\n"; - exit(3); - } - $res = []; + exit(3); + } + $res = []; foreach($pkgs["packages"] as $pkg) { - $lic = implode(" and ", $pkg["license"]); - if (!isset($res[$lic])) $res[$lic] = []; - $res[$lic][] = sprintf("Provides: bundled(php-%s) = %s", str_replace(["/", "_"], ["-", "-"], $pkg["name"]), $pkg["version"]); - } - ksort($res); - foreach($res as $lic => $lib) { - sort($lib); - printf("# License %s\n%s\n", $lic, implode("\n", $lib)); - } + $lic = implode(" and ", $pkg["license"]); + if (!isset($res[$lic])) $res[$lic] = []; + $res[$lic][] = sprintf("Provides: bundled(php-%s) = %s", str_replace(["/", "_"], ["-", "-"], $pkg["name"]), $pkg["version"]); + } + ksort($res); + foreach($res as $lic => $lib) { + sort($lib); + printf("# License %s\n%s\n", $lic, implode("\n", $lib)); + } ' %build @@ -153,6 +154,9 @@ PHP_CS_FIXER_IGNORE_ENV=1 ./%{name} --version | grep %{version} %changelog +* Wed Nov 2 2022 Remi Collet <remi@remirepo.net> - 3.13.0-1 +- update to 3.13.0 + * Wed Oct 12 2022 Remi Collet <remi@remirepo.net> - 3.12.0-1 - update to 3.12.0 |