Skip to content

Commit a3062cf

Browse files
authored
fix(php-cs-fixer): drop deprecated PHP_CS_FIXER_IGNORE_ENV (#250) (#251)
php-cs-fixer 3.95 deprecated the env var (removed in 4.0); setting it printed a stderr deprecation that surfaced as a false `php-cs-fixer: fail` even though the tool exited 0. The project's .php-cs-fixer.php now owns the version-bypass via setUnsupportedPhpVersionAllowed(true) (dvsi MR !22047).
1 parent 439ed7a commit a3062cf

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

formatters/php-cs-fixer/php-cs-fixer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ def main() -> None:
9292
cmd.append(file)
9393

9494
env = os.environ.copy()
95-
env.setdefault("PHP_CS_FIXER_IGNORE_ENV", "1")
9695

9796
start = time.time()
9897
try:

0 commit comments

Comments
 (0)