? ? ? Failure

User tests: Successful: Unsuccessful:

avatar wilsonge
wilsonge
26 Jan 2019

[CLEAR CACHE]

WIP on moving the CMS to the new codesniffer version

avatar wilsonge wilsonge - open - 26 Jan 2019
avatar wilsonge wilsonge - change - 26 Jan 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 26 Jan 2019
Category Unit Tests Repository External Library Composer Change
avatar wilsonge wilsonge - change - 26 Jan 2019
The description was changed
avatar wilsonge wilsonge - edited - 26 Jan 2019
avatar wilsonge wilsonge - change - 26 Jan 2019
Labels Added: ? ? ?
avatar wilsonge
wilsonge - comment - 26 Jan 2019

@rdeutz I'm going to need some help here for the docker image - I need the docker phpcs image to come with phpcs v2 (i think i need a composer install first - dealerdirect/phpcodesniffer-composer-installer in the composer package should deal with this - but presumably isn't there until after the prepare step)

avatar franz-wohlkoenig franz-wohlkoenig - change - 9 Apr 2019
Category Unit Tests Repository External Library Composer Change External Library Repository Unit Tests
avatar wilsonge wilsonge - change - 7 May 2019
Labels Removed: J3 Issue
avatar joomla-cms-bot joomla-cms-bot - change - 7 May 2019
Category Unit Tests Repository External Library Unit Tests Repository External Library Composer Change
avatar Hackwar
Hackwar - comment - 25 May 2019

I've been messing around with this a bit and these are my remarks:

  • We have lots of errors with the new Sniffs. phpcbf seems to be able to fix most of those.
  • I disagree with disallowing the short array syntax. Can we remove that again?
  • We can use the system test docker image to run the phpcs check.

Should I create a PR against your branch to make the necessary changes?

While phpcbf creates a diff file, my patch executable fails pretty hard at applying that and then deletes that file. So I've not been able to apply those changes yet.

avatar wilsonge
wilsonge - comment - 25 May 2019

We can remove the short array stuff. This build was designed to run against the 3.x branch originally. Obviously in 4.x that changes. But that needs to go against the cms standards repo for now https://github.com/joomla/cms-coding-standards. Let's start by getting the tests running (i.e. using the system test docker image to run the phpcs check).

Until the backend template repo is in this repository I am not proceeding with this btw. it's going to cause far too many headaches. But we can get this at a point where we just need to apply the fixes

Rebased this to 4.0-dev today

avatar wilsonge wilsonge - change - 25 May 2019
Title
Move to Codesniffer version 2
[4.0] Move to Codesniffer version 2
avatar wilsonge wilsonge - edited - 25 May 2019
avatar rdeutz
rdeutz - comment - 25 May 2019

lets use a smaller docker image the system test image is a pretty large one

avatar 810
810 - comment - 11 Jul 2019

This one can be closed?

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 12 Jul 2019

@810 which Reason for closing?

avatar Hackwar
Hackwar - comment - 12 Jul 2019

George and I did the switch with a series of 16 PRs yesterday.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 12 Jul 2019

@Hackwar mean this can be closed?

avatar wilsonge wilsonge - change - 12 Jul 2019
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2019-07-12 09:59:30
Closed_By wilsonge
avatar wilsonge wilsonge - close - 12 Jul 2019
avatar wilsonge
wilsonge - comment - 12 Jul 2019

Yup

Add a Comment

Login with GitHub to post a comment