[2.14]: QA: Add specific type hints for $params#126
Conversation
fb66f20 to
efe8e62
Compare
|
I just realized I could change |
|
aside, why "coverage/coveralls — Coverage remained the same at 62.166%" is an error? coverage must increase with each PR? :) |
|
Really don't know about the coveralls setup: I can imagine it erroring due to floating point comparisons. |
@Ocramius this can't be merged until Travis is fixed. It will continue to haunt all future PR's. The check runs on all code, not just modified lines. I created the PR, so getting the ignore rules to work can be experimented, as I failed to find anything working in #109 (details in notes in there), and I understood you also tried something but failed as well. |
|
Probably better to merge #127 first then |
|
@Ocramius what exactly from there? can you point to a commit? |
|
@Ocramius seems you lost context, the CI failure is due to CS: I created this PR out of #109 due unable to handle "line length cs violation", as the chunks did not get any resolution (so it got excluded from #109) nor any help on the matter as outlined in the PR body. Please see the discussion in #109 it goes around the problem in rounds and rounds. Here are direct links to each of the posts, but I find it easier to just read the whole PR notes top to bottom.
For this PR to go forward, need help with how to set up the CS violation exclude. |
efe8e62 to
7956c22
Compare
|
Let's disable the CS rule overall then: see example at https://github.com/Ocramius/ProxyManager/blob/c078f63a4224c518f3e007ad1d8b774fdcf38b70/phpcs.xml.dist#L20-L21 |
|
Hmm, can't find Travis integration at all anymore. And seems already master broken with test/Transport/SendmailTest.php from #117: Will send separate PR with CS fix disable |
|
@Ocramius your suggestion is too complex, what to put under the name "Doctrine"? This project does include to anyway, found this page:
what values to set here? |
|
Submitted PR to up the limits: #132 |
|
@glensc
and the old PHP_CodeSniffer version, I think that the use is wrong. Try the old syntax: // @codingStandardsIgnoreStart
protected function _detectCallbackUrl()
{
// @codingStandardsIgnoreEnd
}(laminas-coding-standard 1.0.0 uses version 2 of PHP_CodeSniffer but the new comments were added in version 3.2.0.) |
|
@froschdesign ok. that makes a lot of sense! thanks for figuring that out. but, what now?
|
Signed-off-by: Elan Ruusamäe <glen@pld-linux.org>
Signed-off-by: Elan Ruusamäe <glen@pld-linux.org>
7956c22 to
2f71835
Compare
|
CI green now |
[2.14]: QA: Add specific type hints for $params
Description
Extracted from #109
These need line length exception, which is difficult to setup, hence the separate PR to be able to work on the specific problem only.