Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn off ContentAfterOpenBracket and CloseBracketLine for phpcbf #200

Merged
merged 3 commits into from
May 21, 2020

Conversation

mikeselander
Copy link
Contributor

In 5e3e9eb, I re-allowed multiple arguments on a line after a WPCS change, but in my copy-馃崫, I only fixed this for PHPCS, and not PHPCBF. This fixes #62 by adjusting this in all places.

You can test this by adding example.php locally (see below) and running vendor/bin/phpcbf --standard=HM/ruleset.xml example.php. The code should remain unchanged.

<?php
add_filter( 'determine_current_user', function ( $user ) {
	return 1;
} );

@mikeselander mikeselander merged commit b18a95c into master May 21, 2020
@mikeselander mikeselander deleted the phpcbf-function-all-fixer branch May 21, 2020 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Odd max-columns with using phpcbf
2 participants