Page MenuHomePhabricator

Add PHP linting to labs/tools/heritage
Closed, ResolvedPublic

Description

There are quiet a few PHP files in there ; we should php -l them at CI.

Event Timeline

Change 281129 had a related patch set uploaded (by Jean-Frédéric):
Add jsonlint and phplint as experimental pipeline to labs/tools/heritage

https://gerrit.wikimedia.org/r/281129

Change 281129 merged by jenkins-bot:
Add jsonlint and phplint as experimental pipeline to labs/tools/heritage

https://gerrit.wikimedia.org/r/281129

Change 281330 had a related patch set uploaded (by Jean-Frédéric):
Add jsonlint and php55lint pipelines for heritage

https://gerrit.wikimedia.org/r/281330

Change 281330 merged by jenkins-bot:
Add jsonlint and php55lint pipelines for heritage

https://gerrit.wikimedia.org/r/281330

Merci @hashar :)

I could not check this as there are no reviews opened right now but it should be fine − I’ll just close this and reopen in case of problem.

You can comment in Gerrit recheck on a change that has been merged. That will run the tests and report back :-}

Right! Tested on https://gerrit.wikimedia.org/r/#/c/281280/ − looks fine.

The jsonlint is not executed though (it was not either in experimental). OTOh we do not have JSON files yet (we are planning to) so it might be related ?

The jsonlint job is only executed when a patch modify/introduce a .json file :-}