Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Based on discussions in #1593058: Remove system.info's files[] entry, we are to move the tests in schema.test over to PSR-0.
Comment | File | Size | Author |
---|---|---|---|
#13 | 1598606.patch | 1.36 KB | Niklas Fiekas |
#10 | convert_schematest_to_psr0-1598606-10.patch | 1.37 KB | Albert Volkman |
#7 | 1598606.patch | 1.35 KB | RobLoach |
#6 | convert_schematest_to_psr0-1598606-6.patch | 1.35 KB | Albert Volkman |
#2 | convert_schematest_to_psr0-1598606-2.patch | 1.26 KB | Albert Volkman |
Comments
Comment #1
Albert Volkman CreditAttribution: Albert Volkman commentedConverted.
Comment #2
Albert Volkman CreditAttribution: Albert Volkman commentedAck, that's ugly. Try this instead.
Comment #4
Niklas Fiekas CreditAttribution: Niklas Fiekas commentedLooks like the problem is the same as in #1598620: Convert uuid.test to PSR-0. What commands/steps are you using to create the patch?
Comment #5
RobLoachSince there is only one test in schema.test, we could probably just use the Common namespace?
Albert, this might help...
Patches sometimes get confused when there are files moving. Hopefully that'll help you figure out what was wrong.
Comment #6
Albert Volkman CreditAttribution: Albert Volkman commentedThanks for the direction, Rob! I guess I'm still learning to do git properly. Let's give this a go.
Comment #7
RobLoachWell done! Just needed a reroll for system.info.
Comment #9
Niklas Fiekas CreditAttribution: Niklas Fiekas commentedWe need a reroll with another use statement for Exception:
use Exception;
.Comment #10
Albert Volkman CreditAttribution: Albert Volkman commentedAdded.
Comment #11
RobLoachComment #12
jhodgdonNeeds quick reroll (probably due to clashing with other PSR-0 commits today, this doesn't apply with git apply any more).
Comment #13
Niklas Fiekas CreditAttribution: Niklas Fiekas commentedAs always, the info file ;)
Comment #14
RobLoachComment #15
catchThanks. committed/pushed to 8.x.