-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
SelfUpdateCommand updates to non-stable version #1925
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
Comments
That's because you are using the 2.x version. You need to use 1.x if you want that file. |
Sorry, the '2' was just added by me while I was saving the .phar. And I assume by "that file" you're referring to .php_cs? |
There is a mistake on http://cs.sensiolabs.org. It is 2.0-dev but should be 1.x. |
ref #1956 |
If sb have updated to 2.0.0-alpha and want to rollback he should run self-update once again, he will get latest stable 1.11.4 |
As #1925 and #1953 are the first links in google for:
I thought I'd post the fix. This problem is due to upgrading from
|
I would not advise to use 2 versions at same time. they were many bc breakers and for that not only config is different, but the behaviour of tool itself |
The currently hosted phar does not run.
jon@jon-bold-mac:~/repo$ php php-cs-fixer2 fix ./back-end/
PHP Fatal error: Class 'Symfony\CS\Finder\DefaultFinder' not found in /home/jon/repo/back-end/.php_cs on line 3
Here's the contents of our .php_cs file.
exclude('config','storage','bootstrap') ->in(**DIR**); return Symfony\CS\Config\Config::create() ->fixers(array('trailing_spaces','-psr0')) ->finder($finder);The text was updated successfully, but these errors were encountered: