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.
Depending on configuration with php -l may interpret XML files that start with <?XML as PHP files and report an error therefore. Tests on patches like #364467: Remove-items followed by update items does not work fail because they contain an XML file.
I'd suggest syntax checking PHP files with
php -d short_open_tag=[0] -l
- would that work?
Comment | File | Size | Author |
---|---|---|---|
#2 | pifr_parse_short_tag.patch | 622 bytes | boombatower |
Comments
Comment #1
webchicksubscribe. I asked hunmonk where to file the issue and he said file it here. Help us, boombatower! You're our only hope! ;)
Comment #2
boombatower CreditAttribution: boombatower commentedActually it would be:
The [] are just there to indicate it is optional. Tested locally and with 0 it work (also my config setting) and with 1 it returns:
Thus I have created one of the world largest patches!
Due to my computer issues I no longer have a way to login the testing servers..thus I will need hunmonk to help me get this uploaded....plus he is working on stardard setup script...we might just add to that.
Comment #3
alex_b CreditAttribution: alex_b commentedboombatower: thanks for taking care of this so quickly :-) - good times for #364467: Remove-items followed by update items does not work
Comment #4
alex_b CreditAttribution: alex_b commentedI filed a ticket for deployment #366193: Testbed: Deploy syntax checking fix - is that the correct place?