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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue with sed command: #2318

Merged
merged 2 commits into from
Nov 14, 2019

Conversation

jeroensmit
Copy link
Contributor

on macOs the -E option was taken as the argument of the -i option causing backups to be made with the addional extension -E.
also the backslash of the \s needed additional escaping

on macOs the -E option was taken as the argument of the -i option causing backups to be made with the addional extension -E.
also the backslash of the \s needed additional escaping
@TomasVotruba TomasVotruba merged commit 544561f into rectorphp:master Nov 14, 2019
@@ -1,3 +1,3 @@
#!/usr/bin/env bash
# trailing whitespaces
sed -i -E 's#\s+$##g' config/set/*/*.yaml docs/*.md README.md
sed -i '' -E 's#\\s+$##g' config/set/*/*.yaml docs/*.md README.md
Copy link
Member

@TomasVotruba TomasVotruba Nov 14, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This now keeps failing on Linux :/

Travis didn't fail, because the check was not added there. I've added it:
#2322

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix for unix and macOs both is #2323

TomasVotruba added a commit that referenced this pull request May 15, 2022
rectorphp/rector-src@0686f43 [PHPStan] Enable symplify-rules.neon (#2318)
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