-
Notifications
You must be signed in to change notification settings - Fork 62
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
New sniffs #359
New sniffs #359
Conversation
for a cleaner look maybe could do this: env:
global:
- CODESNIFFER_IGNORE="vendor,*.info,*.txt,*.md,SolrPhpClient"
matrix:
- FEDORA_VERSION="3.5"
- FEDORA_VERSION="3.6.2"
- FEDORA_VERSION="3.7.0"
- FEDORA_VERSION="3.8.1" |
I can make that change but as coder is failing on the embedded Apache Solr Client I'll need to figure that out first and I have no idea how to get it to stop. |
@whikloj I'm coming here from Islandora/islandora#722 ... so am I to understand that the failures we're seeing here are because the affected files are supposed to be ignored, but are not getting skipped? And that's due to the "style" check? And, furthermore, the "style" check is redundant because we run phpcs anyway? |
Annnnnnd coder still checks the embedded SolrPhpClient. The only solution I now see is pulling the SolrPhpClient out of islandora_solr_search and keeping it separate, but I don't think I have the interest in doing that right now. |
Any change we can exclude that whole folder @whikloj ? Like https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage#ignoring-files-and-folders |
I couldn't find one, but that doesn't mean there isn't one. |
@whikloj it seems like the syntax is wrong https://github.com/Islandora/islandora/blob/7.x/tests/scripts/travis_scripts.sh#L42 And my guts tell me it should be
|
@DiegoPino That is for PHPCS and while there are issues appearing currently for PHPCS here the one that checks ApacheSolrClient is drush coder here and it fails here |
Gosh. True. My fault.
El El mar, 16 de jul. de 2019 a las 16:57, Jared Whiklo <
notifications@github.com> escribió:
@DiegoPino <https://github.com/DiegoPino> That is for PHPCS and while
there are issues appearing currently for PHPCS here
<https://travis-ci.org/Islandora/islandora_solr_search/jobs/542274814#L978>
the one that checks ApacheSolrClient is drush coder here
<https://github.com/Islandora/islandora/blob/7.x/tests/scripts/travis_scripts.sh#L25>
and it fails here
<https://travis-ci.org/Islandora/islandora_solr_search/jobs/542274814#L832>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#359?email_source=notifications&email_token=ABU7ZZ6WQ2KV6KRY23QB5UDP7YY4PA5CNFSM4GZLLQCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2CEBMI#issuecomment-511983793>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABU7ZZ6D3PU4MFOZRVTNUBLP7YY4PANCNFSM4GZLLQCA>
.
--
Diego Pino Navarro
Digital Repositories Developer
Metropolitan New York Library Council (METRO)
|
So Jared. Why do we need drush coder if we run phpcs?
Seems like drush coder does
phpcs --standard=Drupal,DrupalPractice
--extensions=php,module,inc,install,test,profile,theme,js,css,info,txt,md
/path/to/module
Maybe i’m wrong...
El El mar, 16 de jul. de 2019 a las 17:35, Diego Pino <dpino@metro.org>
escribió:
Gosh. True. My fault.
El El mar, 16 de jul. de 2019 a las 16:57, Jared Whiklo <
***@***.***> escribió:
> @DiegoPino <https://github.com/DiegoPino> That is for PHPCS and while
> there are issues appearing currently for PHPCS here
> <https://travis-ci.org/Islandora/islandora_solr_search/jobs/542274814#L978>
> the one that checks ApacheSolrClient is drush coder here
> <https://github.com/Islandora/islandora/blob/7.x/tests/scripts/travis_scripts.sh#L25>
> and it fails here
> <https://travis-ci.org/Islandora/islandora_solr_search/jobs/542274814#L832>
>
> —
> You are receiving this because you were mentioned.
>
>
> Reply to this email directly, view it on GitHub
> <#359?email_source=notifications&email_token=ABU7ZZ6WQ2KV6KRY23QB5UDP7YY4PA5CNFSM4GZLLQCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2CEBMI#issuecomment-511983793>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ABU7ZZ6D3PU4MFOZRVTNUBLP7YY4PANCNFSM4GZLLQCA>
> .
>
--
Diego Pino Navarro
Digital Repositories Developer
Metropolitan New York Library Council (METRO)
--
Diego Pino Navarro
Digital Repositories Developer
Metropolitan New York Library Council (METRO)
|
JIRA Ticket: No JIRA, work related to Islandora/islandora#714
This will also test the use case for Islandora/islandora#716
What does this Pull Request do?
Updates code for new code sniffs
How should this be tested?
Travis is green and then check that testing is complete.
Additional Notes:
Example:
Interested parties
@Islandora/7-x-1-x-committers