File tree Expand file tree Collapse file tree 3 files changed +28
-2
lines changed Expand file tree Collapse file tree 3 files changed +28
-2
lines changed Original file line number Diff line number Diff line change 1515(defconst php-mode-version-number " 1.19.0"
1616 " PHP Mode version number." )
1717
18- (defconst php-mode-modified " 2018-04-08 "
18+ (defconst php-mode-modified " 2018-04-23 "
1919 " PHP Mode build date." )
2020
2121; ; This file is free software; you can redistribute it and/or
@@ -1700,7 +1700,7 @@ a completion list."
17001700
17011701 ; ; Highlight return types in functions and methods.
17021702 (" function.+:\\ s-*\\ ??\\ (\\ (?:\\ sw\\ |\\ s_\\ )+\\ )" 1 font-lock-type-face )
1703- (" )\\ s-*:\\ s-*\\ ??\\ (\\ (?:\\ sw\\ |\\ s_\\ )+\\ )\\ s-*\{ " 1 font-lock-type-face )
1703+ (" )\\ s-*:\\ s-*\\ ??\\ (\\ (?:\\ sw\\ |\\ s_\\ )+\\ )\\ s-*\\ (?: \{ \\ |; \\ ) " 1 font-lock-type-face )
17041704
17051705 ; ; Highlight class names used as nullable type hints
17061706 (" \\ ?\\ (\\ (:?\\ sw\\ |\\ s_\\ )+\\ )\\ s-+\\ $" 1 font-lock-type-face )
Original file line number Diff line number Diff line change @@ -125,6 +125,12 @@ public function getNullableObject(
125125 ): ?stdClass {
126126 }
127127
128+ abstract public function getOtherObject (
129+ ): stdClass ;
130+
131+ abstract public function getOtherNullableObject (
132+ ): ?stdClass ;
133+
128134 public function getNsObject (
129135 ): \path \to \my \Object {
130136 }
Original file line number Diff line number Diff line change 343343 (" (\n ): ?" )
344344 (" stdClass" . font-lock-type-face )
345345 (" {\n }\n\n " )
346+ (" abstract" . php-keyword)
347+ (" " )
348+ (" public" . php-keyword)
349+ (" " )
350+ (" function" . php-keyword)
351+ (" " )
352+ (" getOtherObject" . php-function-name)
353+ (" (\n ): " )
354+ (" stdClass" . font-lock-type-face )
355+ (" ;\n\n " )
356+ (" abstract" . php-keyword)
357+ (" " )
358+ (" public" . php-keyword)
359+ (" " )
360+ (" function" . php-keyword)
361+ (" " )
362+ (" getOtherNullableObject" . php-function-name)
363+ (" (\n ): ?" )
364+ (" stdClass" . font-lock-type-face )
365+ (" ;\n\n " )
346366 (" public" . php-keyword)
347367 (" " )
348368 (" function" . php-keyword)
You can’t perform that action at this time.
0 commit comments