Skip to content
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

Travis and local sniffs out of alignment #1620

Open
dannylamb opened this issue Sep 17, 2020 · 5 comments
Open

Travis and local sniffs out of alignment #1620

dannylamb opened this issue Sep 17, 2020 · 5 comments
Labels
Subject: Drupal related specifically to Drupal, usually pointing somewhere on drupal.org

Comments

@dannylamb
Copy link
Contributor

Noticed this on Islandora/islandora#756

Travis seems to be using a different version of the Drupal sniff than what I've got locally. I'm using ISLE, but it riffs off of the playbook so they may very well be the same version.

We either need to lock everything down or bite the bullet and update to the newest sniff and get into alignment. Might also be worth considering the DrupalPractice sniff now if we really want to step it up.

@ajstanley
Copy link
Contributor

There's another issue of tests that used to pass are failing now.
I can bring 8.x-1.x up to coding standards this weekend.

@rosiel
Copy link
Member

rosiel commented Sep 10, 2021

I'm proposing to update the documentation (see above PR).

In the version of ISLE i've got (make local), phpcs does not appear to be installed. Are there instructions for doing that, since that's what this particular issue was about?

@kstapelfeldt kstapelfeldt added the Subject: Drupal related specifically to Drupal, usually pointing somewhere on drupal.org label Sep 29, 2021
@kstapelfeldt
Copy link
Member

kstapelfeldt commented Sep 29, 2021

Group felt that we should be using at least Drupal, and ideally Drupal & Drupal Practice. @rosiel can you update your documentation PR to reflect this?

@elizoller
Copy link
Member

to start https://github.com/Islandora/islandora_ci/blob/main/travis_scripts.sh#L16 would have to include DrupalPractice as well

@rosiel
Copy link
Member

rosiel commented Feb 4, 2022

At the moment, it appears that phpcs is failing on the very line @elizoller pointed above.
PR that's failing checks: Islandora/controlled_access_terms#78
errors: https://github.com/Islandora/controlled_access_terms/runs/5058696572?check_suite_focus=true

The error is "ERROR: Referenced sniff "SlevomatCodingStandard.ControlStructures.RequireNullCoalesceOperator" does not exist"

Does anyone know why this is happening?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Subject: Drupal related specifically to Drupal, usually pointing somewhere on drupal.org
Projects
Development

No branches or pull requests

5 participants