Skip to content

Conversation

benjam-es
Copy link
Contributor

@benjam-es benjam-es commented Dec 27, 2021

When working on a different pull request, I kept hitting an issue, only to discover my auto code cleanup was removing double spaces from my fixtures, which would then prevent the fixture matching the output.

Separated into two commits. One for the fixture cleanup, and another for the solution, incase you want the solution to be carried out in a different way.

Solves #520

…s declaration

Signed-off-by: Ben James <in@benjam.es>
Signed-off-by: Ben James <in@benjam.es>
@benjam-es benjam-es changed the title Bug/remove double white space first relationship method Bug/remove double white space first relationship method #520 Dec 27, 2021
@benjam-es benjam-es changed the title Bug/remove double white space first relationship method #520 Bug/remove double white space first relationship method Dec 27, 2021
@jasonmccreary
Copy link
Collaborator

@benjam-es thanks for this. However, can you work towards a cleaner implementation. The temporary variable, inline coalesce, and iterative assignment are a bit heavy.

… the file

Signed-off-by: Ben James <in@benjam.es>
@benjam-es
Copy link
Contributor Author

@jasonmccreary much simpler solution added once realising that white space must be trimmed at the end of classes

@jasonmccreary jasonmccreary merged commit 464bc7d into laravel-shift:master Dec 28, 2021
@benjam-es benjam-es deleted the bug/remove-double-white-space-first-method branch December 28, 2021 19:50
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.

2 participants