Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

try fix travis cs develop again #7081

Merged
merged 3 commits into from
Dec 30, 2014

Conversation

samsonasik
Copy link
Contributor

latest travis develop built seems .php_cs config ->notPath('Zend/Db/Sql/Select.php') didn't work, let's see now.

@samsonasik
Copy link
Contributor Author

hm.., it seems .php_cs config didn't effect the cs, still error :

Running library/Zend/Db CS checks

Loaded config from ".php_cs"

..................F.............................................................................................................................................................................

Legend: ?-unknown, I-invalid file syntax, file ignored, .-no changes, F-fixed, E-error

1) Sql/Select.php (join_function)

@samsonasik
Copy link
Contributor Author

@Ocramius any idea ?

@Ocramius
Copy link
Member

@samsonasik run the same command with a --diff (see #7057) and you'll get a better output

@Ocramius Ocramius added the bug label Dec 29, 2014
@Ocramius Ocramius added this to the 2.4.0 milestone Dec 29, 2014
@Ocramius Ocramius self-assigned this Dec 29, 2014
@samsonasik
Copy link
Contributor Author

it gets output with diff :

Running library/Zend/Db CS checks
Loaded config from ".php_cs"
...........................................................................................................................................................................F....................
Legend: ?-unknown, I-invalid file syntax, file ignored, .-no changes, F-fixed, E-error
   1) Sql/Select.php (join_function)
      ---------- begin diff ----------
      --- Original
      +++ New
      @@ @@
            */
      -    public function join($name, $on, $columns = self::SQL_STAR, $type = self::JOIN_INNER)
      +    public function implode($name, $on, $columns = self::SQL_STAR, $type = self::JOIN_INNER)

as the exclude with ->notPath didn't work

@Ocramius
Copy link
Member

Meh, I'd rather remove that rule instead (buggy)

@samsonasik
Copy link
Contributor Author

the join -> implode issue itself patched in dev-master of php-cs-fixer PHP-CS-Fixer/PHP-CS-Fixer@830e64a . should just pointed to dev-master#commit instead ?

@Ocramius
Copy link
Member

@samsonasik I'd wait for a stable release instead

@Ocramius
Copy link
Member

(and revert that fixer rule for now)

@samsonasik
Copy link
Contributor Author

ok, rule reverted ;)

@Ocramius
Copy link
Member

@samsonasik weirdly, still failing

@Ocramius
Copy link
Member

Ah, sorry, you probably misunderstood what I was thinking of this rule

@samsonasik
Copy link
Contributor Author

maybe "join_function" rule?

Warm regards,

Abdul Malik Ikhsan

Pada 30 Des 2014, pukul 01.58, Marco Pivetta notifications@github.com menulis:

Ah, sorry, you probably misunderstood what I was thinking of this rule


Reply to this email directly or view it on GitHub.

@Ocramius
Copy link
Member

@samsonasik
Copy link
Contributor Author

@Ocramius ok, done ;). "join_function" reverted.

@samsonasik
Copy link
Contributor Author

travis develop green now ;)

@Ocramius
Copy link
Member

Awesome, thanks!

Ocramius added a commit that referenced this pull request Dec 30, 2014
@Ocramius Ocramius merged commit e1d24b7 into zendframework:develop Dec 30, 2014
@samsonasik samsonasik deleted the dev-cs-try-fix branch December 30, 2014 15:15
gianarb pushed a commit to zendframework/zend-stdlib that referenced this pull request May 15, 2015
…ev-cs-try-fix

try fix travis cs develop again
weierophinney pushed a commit to zendframework/zend-i18n-resources that referenced this pull request May 28, 2015
…ev-cs-try-fix

try fix travis cs develop again
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants