summaryrefslogtreecommitdiffstats
path: root/php-cs-fixer.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-12-08 10:52:36 +0100
committerRemi Collet <remi@remirepo.net>2020-12-08 10:52:36 +0100
commit7190ee034d1373aed7762fde2163936632a57ca1 (patch)
tree74ad7d549907a6a25261c87f167fd14415039748 /php-cs-fixer.spec
parentc33585271df8d4ed9f348fa623820c7a37ea8ff8 (diff)
update to 2.17.0
Diffstat (limited to 'php-cs-fixer.spec')
-rw-r--r--php-cs-fixer.spec14
1 files changed, 11 insertions, 3 deletions
diff --git a/php-cs-fixer.spec b/php-cs-fixer.spec
index 0d7e16b..072ab86 100644
--- a/php-cs-fixer.spec
+++ b/php-cs-fixer.spec
@@ -10,7 +10,7 @@
# For compatibility with SCL
%undefine __brp_mangle_shebangs
-%global gh_commit 4e35806a6d7d8510d6842ae932e8832363d22c87
+%global gh_commit 5274ce3d3200a2b374baa42143cb9dfcdcc2fa52
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
#global gh_date 20150717
%global gh_owner FriendsOfPHP
@@ -88,6 +88,7 @@ BuildRequires: php-symfony3-debug
# "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.2",
# "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.2.1",
# "phpunit/phpunit": "^5.7.27 || ^6.5.14 || ^7.1",
+# "phpunitgoodpractices/polyfill": "^1.5",
# "phpunitgoodpractices/traits": "^1.9.1",
# "symfony/phpunit-bridge": "^5.1",
# "symfony/yaml": "^3.0 || ^4.0 || ^5.0"
@@ -101,14 +102,16 @@ BuildRequires: (php-composer(mikey179/vfsstream)
BuildRequires: (php-composer(php-cs-fixer/accessible-object) >= 1.0 with php-composer(php-cs-fixer/accessible-object) < 2)
BuildRequires: (php-composer(php-cs-fixer/phpunit-constraint-isidenticalstring) >= 1.2 with php-composer(php-cs-fixer/phpunit-constraint-isidenticalstring) < 2)
BuildRequires: (php-composer(php-cs-fixer/phpunit-constraint-xmlmatchesxsd) >= 1.2.1 with php-composer(php-cs-fixer/phpunit-constraint-xmlmatchesxsd) < 2)
+BuildRequires: (php-composer(phpunitgoodpractices/polyfill) >= 1.5 with php-composer(phpunitgoodpractices/polyfill) < 2)
BuildRequires: (php-composer(phpunitgoodpractices/traits) >= 1.9.1 with php-composer(phpunitgoodpractices/traits) < 2)
-# remirepo:8
+# remirepo:9
%else
BuildRequires: php-justinrainbow-json-schema5
BuildRequires: php-mikey179-vfsstream >= 1.6
BuildRequires: php-cs-fixer-accessible-object
BuildRequires: php-cs-fixer-phpunit-constraint-isidenticalstring >= 1.2
BuildRequires: php-cs-fixer-phpunit-constraint-xmlmatchesxsd >= 1.2.1
+BuildRequires: php-phpunitgoodpractices-polyfill >= 1.5
BuildRequires: php-phpunitgoodpractices-traits >= 1.9.1
%endif
%global phpunit %{_bindir}/phpunit7
@@ -118,7 +121,7 @@ BuildRequires: phpunit7
BuildRequires: php-fedora-autoloader-devel
# From composer.json, "require": {
-# "php": "^7.1",
+# "php": "^5.6 || ^7.0 || ^8.0",
# "ext-json": "*",
# "ext-tokenizer": "*",
# "composer/semver": "^1.4 || ^2.0 || ^3.0",
@@ -290,6 +293,8 @@ rm tests/Smoke/StdinTest.php
rm tests/Smoke/InstallViaComposerTest.php
# strange failure
rm tests/Fixtures/Integration/priority/combine_consecutive_issets,no_singleline_whitespace_before_semicolons.test
+# test checking documentation
+rm tests/AutoReview/DocumentationTest.php
# Disable listener
sed -e '/<listeners>/,/<\/listeners>/d' phpunit.xml.dist >phpunit.xml
@@ -329,6 +334,9 @@ exit $ret
%changelog
+* Tue Dec 8 2020 Remi Collet <remi@remirepo.net> - 2.17.0-1
+- update to 2.17.0
+
* Wed Oct 28 2020 Remi Collet <remi@remirepo.net> - 2.16.7-1
- update to 2.16.7
- raise dependency on composer/semver v3