Skip to content

Commit be91fe8

Browse files
committed
Bump PHP grammar
1 parent 32169bc commit be91fe8

2 files changed

Lines changed: 18 additions & 18 deletions

File tree

extensions/php/cgmanifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"git": {
77
"name": "language-php",
88
"repositoryUrl": "https://github.com/atom/language-php",
9-
"commitHash": "b896ebfb6f669b8714f419527f047466420efe5c"
9+
"commitHash": "0efbd42e73b52347f95ac5f00c9f288ed4958832"
1010
}
1111
},
1212
"license": "MIT",

extensions/php/syntaxes/php.tmLanguage.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
55
"Once accepted there, we are happy to receive an update request."
66
],
7-
"version": "https://github.com/atom/language-php/commit/b896ebfb6f669b8714f419527f047466420efe5c",
7+
"version": "https://github.com/atom/language-php/commit/0efbd42e73b52347f95ac5f00c9f288ed4958832",
88
"scopeName": "source.php",
99
"patterns": [
1010
{
@@ -1324,7 +1324,7 @@
13241324
}
13251325
},
13261326
"contentName": "text.html",
1327-
"end": "^(\\3)(?=;?$)",
1327+
"end": "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{7fffffff}])",
13281328
"endCaptures": {
13291329
"0": {
13301330
"name": "punctuation.section.embedded.end.php"
@@ -1360,7 +1360,7 @@
13601360
}
13611361
},
13621362
"contentName": "text.xml",
1363-
"end": "^(\\3)(?=;?$)",
1363+
"end": "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{7fffffff}])",
13641364
"endCaptures": {
13651365
"0": {
13661366
"name": "punctuation.section.embedded.end.php"
@@ -1396,7 +1396,7 @@
13961396
}
13971397
},
13981398
"contentName": "source.sql",
1399-
"end": "^(\\3)(?=;?$)",
1399+
"end": "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{7fffffff}])",
14001400
"endCaptures": {
14011401
"0": {
14021402
"name": "punctuation.section.embedded.end.php"
@@ -1432,7 +1432,7 @@
14321432
}
14331433
},
14341434
"contentName": "source.js",
1435-
"end": "^(\\3)(?=;?$)",
1435+
"end": "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{7fffffff}])",
14361436
"endCaptures": {
14371437
"0": {
14381438
"name": "punctuation.section.embedded.end.php"
@@ -1468,7 +1468,7 @@
14681468
}
14691469
},
14701470
"contentName": "source.json",
1471-
"end": "^(\\3)(?=;?$)",
1471+
"end": "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{7fffffff}])",
14721472
"endCaptures": {
14731473
"0": {
14741474
"name": "punctuation.section.embedded.end.php"
@@ -1504,7 +1504,7 @@
15041504
}
15051505
},
15061506
"contentName": "source.css",
1507-
"end": "^(\\3)(?=;?$)",
1507+
"end": "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{7fffffff}])",
15081508
"endCaptures": {
15091509
"0": {
15101510
"name": "punctuation.section.embedded.end.php"
@@ -1540,7 +1540,7 @@
15401540
}
15411541
},
15421542
"contentName": "string.regexp.heredoc.php",
1543-
"end": "^(\\3)(?=;?$)",
1543+
"end": "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{7fffffff}])",
15441544
"endCaptures": {
15451545
"0": {
15461546
"name": "punctuation.section.embedded.end.php"
@@ -1619,7 +1619,7 @@
16191619
"name": "invalid.illegal.trailing-whitespace.php"
16201620
}
16211621
},
1622-
"end": "^(\\3)(?=;?$)",
1622+
"end": "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{7fffffff}])",
16231623
"endCaptures": {
16241624
"1": {
16251625
"name": "keyword.operator.heredoc.php"
@@ -1652,7 +1652,7 @@
16521652
}
16531653
},
16541654
"contentName": "text.html",
1655-
"end": "^(\\2)(?=;?$)",
1655+
"end": "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{7fffffff}])",
16561656
"endCaptures": {
16571657
"0": {
16581658
"name": "punctuation.section.embedded.end.php"
@@ -1685,7 +1685,7 @@
16851685
}
16861686
},
16871687
"contentName": "text.xml",
1688-
"end": "^(\\2)(?=;?$)",
1688+
"end": "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{7fffffff}])",
16891689
"endCaptures": {
16901690
"0": {
16911691
"name": "punctuation.section.embedded.end.php"
@@ -1718,7 +1718,7 @@
17181718
}
17191719
},
17201720
"contentName": "source.sql",
1721-
"end": "^(\\2)(?=;?$)",
1721+
"end": "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{7fffffff}])",
17221722
"endCaptures": {
17231723
"0": {
17241724
"name": "punctuation.section.embedded.end.php"
@@ -1751,7 +1751,7 @@
17511751
}
17521752
},
17531753
"contentName": "source.js",
1754-
"end": "^(\\2)(?=;?$)",
1754+
"end": "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{7fffffff}])",
17551755
"endCaptures": {
17561756
"0": {
17571757
"name": "punctuation.section.embedded.end.php"
@@ -1784,7 +1784,7 @@
17841784
}
17851785
},
17861786
"contentName": "source.json",
1787-
"end": "^(\\2)(?=;?$)",
1787+
"end": "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{7fffffff}])",
17881788
"endCaptures": {
17891789
"0": {
17901790
"name": "punctuation.section.embedded.end.php"
@@ -1817,7 +1817,7 @@
18171817
}
18181818
},
18191819
"contentName": "source.css",
1820-
"end": "^(\\2)(?=;?$)",
1820+
"end": "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{7fffffff}])",
18211821
"endCaptures": {
18221822
"0": {
18231823
"name": "punctuation.section.embedded.end.php"
@@ -1850,7 +1850,7 @@
18501850
}
18511851
},
18521852
"contentName": "string.regexp.nowdoc.php",
1853-
"end": "^(\\2)(?=;?$)",
1853+
"end": "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{7fffffff}])",
18541854
"endCaptures": {
18551855
"0": {
18561856
"name": "punctuation.section.embedded.end.php"
@@ -1926,7 +1926,7 @@
19261926
"name": "invalid.illegal.trailing-whitespace.php"
19271927
}
19281928
},
1929-
"end": "^(\\2)(?=;?$)",
1929+
"end": "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{7fffffff}])",
19301930
"endCaptures": {
19311931
"1": {
19321932
"name": "keyword.operator.nowdoc.php"

0 commit comments

Comments
 (0)