mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-21 18:03:54 +00:00
Add PHP tests and fix bug in PHP builtin driver
This commit is contained in:
parent
082e82dba5
commit
daebb59869
@ -186,7 +186,7 @@ PATTERNS("csharp",
|
||||
"|[-+*/<>%&^|=!]=|--|\\+\\+|<<=?|>>=?|&&|\\|\\||::|->"),
|
||||
|
||||
PATTERNS("php",
|
||||
"^[ \t]*((public|private|protected|static|final)[ \t]+)*((class|function)[ \t].*)$",
|
||||
"^[ \t]*(((public|private|protected|static|final)[ \t]+)*((class|function)[ \t].*))$",
|
||||
/* -- */
|
||||
"[a-zA-Z_][a-zA-Z0-9_]*"
|
||||
"|[-+0-9.e]+[fFlL]?|0[xX]?[0-9a-fA-F]+[lL]?"
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
tests/resources/userdiff/after/file.php
Normal file
BIN
tests/resources/userdiff/after/file.php
Normal file
Binary file not shown.
BIN
tests/resources/userdiff/before/file.php
Normal file
BIN
tests/resources/userdiff/before/file.php
Normal file
Binary file not shown.
BIN
tests/resources/userdiff/expected/driver/diff.php
Normal file
BIN
tests/resources/userdiff/expected/driver/diff.php
Normal file
Binary file not shown.
BIN
tests/resources/userdiff/expected/nodriver/diff.php
Normal file
BIN
tests/resources/userdiff/expected/nodriver/diff.php
Normal file
Binary file not shown.
BIN
tests/resources/userdiff/files/file.php
Normal file
BIN
tests/resources/userdiff/files/file.php
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user