summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-cs-fixer.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/php-cs-fixer.spec b/php-cs-fixer.spec
index ae2e319..6cd825e 100644
--- a/php-cs-fixer.spec
+++ b/php-cs-fixer.spec
@@ -138,7 +138,7 @@ install -Dpm755 %{name} %{buildroot}%{_bindir}/%{name}
%check
sed -e 's:%{_datadir}:%{buildroot}%{_datadir}:' -i %{name}
-./%{name} --version | grep %{version}
+PHP_CS_FIXER_IGNORE_ENV=1 ./%{name} --version | grep %{version}
%files