This repository has been archived by the owner on Jan 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced Jul 15, 2014
For me the dry run fails with this only: |
I don't think you should fix errors which aren't any. Make an issue report against PHP-CS-Fixer, but eventually, we switch to PHPCS anyway I suppose. |
I was doing this so developers' builds would stop failing. The noise that these failures generates distracts from actual failures within a pull request. |
Well, then the correct approach is to get rid of the buggy php-cs-fixer ;) |
Started down that route after I saw @localheinz PR #6182. I added my own PR #6454 |
Feel free to close this PR if you would rather wait until php-cs-fixer is gone |
gianarb
pushed a commit
to zendframework/zend-tag
that referenced
this pull request
May 15, 2015
gianarb
pushed a commit
to zendframework/zend-tag
that referenced
this pull request
May 15, 2015
…ted-errors' into develop Forward port zendframework/zendframework#6462
gianarb
pushed a commit
to zendframework/zend-di
that referenced
this pull request
May 15, 2015
gianarb
pushed a commit
to zendframework/zend-di
that referenced
this pull request
May 15, 2015
…ted-errors' into develop Forward port zendframework/zendframework#6462
gianarb
pushed a commit
to zendframework/zend-json
that referenced
this pull request
May 15, 2015
gianarb
pushed a commit
to zendframework/zend-json
that referenced
this pull request
May 15, 2015
…ted-errors' into develop Forward port zendframework/zendframework#6462
gianarb
pushed a commit
to zendframework/zend-cache
that referenced
this pull request
May 15, 2015
gianarb
pushed a commit
to zendframework/zend-cache
that referenced
this pull request
May 15, 2015
…ted-errors' into develop Forward port zendframework/zendframework#6462
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I do not know why
php-cs-fixer
reported these errors, I'm assuming some character(s) within the files themselves caused some weird tokenizing.On a fresh clone of
zend/master
You will get the following errorsMy solution for all of the
visibility
errors was to move the methods within the class files.php-cs-fixer
solution was to type-hint the methods withpublic
resulting in