Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Niklas Fiekas’s picture

Assigned: Unassigned » Niklas Fiekas

Doing this now.

Niklas Fiekas’s picture

Assigned: Niklas Fiekas » Unassigned
Status: Active » Needs review
FileSize
2.01 MB
250.59 KB

Classes converted.

I have also attached a version of the patch with much lower thresholds for rename and copy detection. That makes for a much bigger patch, but shows most of the code is directly coming from common.test.

Edit: I noticed that even 2% similarity index are not enough for the smaller tests. git blame -C would be an alternative.

Status: Needs review » Needs work

The last submitted patch, 1598564-common-tests-psr-0-2.patch, failed testing.

Niklas Fiekas’s picture

Status: Needs work » Needs review
FileSize
3.48 KB
250.6 KB

Some instances of stdClass() had to be prefixed with \.

aspilicious’s picture

Status: Needs review » Needs work

This probably will need a reroll with the recent commits. (I think it has to be checked manually)
And with recent discussion I would put "use stdClass" on top on the file without the \ prefix. (for now).

Niklas Fiekas’s picture

Reroll.

Attached is:

  1. A full patch
  2. The output of git log -p ..MERGE_HEAD -- common.test, showing the changes to common.test that had been done in the mean time and couldn't be automatically merged.
  3. The output of git show after doing the merge.
  4. The interdiff of the stdClass prefixing changes I did after the merge.

Status: Needs review » Needs work

The last submitted patch, 1598564-common-tests-psr-0-6.patch, failed testing.

Niklas Fiekas’s picture

Status: Needs work » Needs review
FileSize
250.63 KB

Sigh ... the commit that I just merged in has been reverted as of #1464244-18: Rewrite as URL adding equals sign to end of url..

aspilicious’s picture

Status: Needs review » Reviewed & tested by the community

Woow I couldn't find any more errors. You're to good...

We should get this is as soon as possible, this conflicts a lot :)

Niklas Fiekas’s picture

Status: Reviewed & tested by the community » Needs review
FileSize
250.63 KB

Reroll chasing the info file. I like the pace at which the PSR-0 patches are going in.

aspilicious’s picture

Status: Needs review » Reviewed & tested by the community

back to rtbc

catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 8.x, thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.