File tree Expand file tree Collapse file tree 3 files changed +39
-3
lines changed
tests/nullsafepropertylookup Expand file tree Collapse file tree 3 files changed +39
-3
lines changed Original file line number Diff line number Diff line change @@ -76,3 +76,31 @@ $obj->aaaaaaaaaaaaaaaaaaaaaaaa()
7676
7777================================================================================
7878` ;
79+
80+ exports [` reserved-keyword.php 1` ] = `
81+ ====================================options=====================================
82+ parsers: ["php"]
83+ phpVersion: "8.0"
84+ printWidth: 80
85+ | printWidth
86+ =====================================input======================================
87+ <?php
88+
89+ // keyword: abstract
90+ echo $post->metaData?->abstract;
91+
92+ // keyword: class
93+ echo $record->learner->currentEnrollment?->class->grade->code;
94+
95+
96+ =====================================output=====================================
97+ <?php
98+
99+ // keyword: abstract
100+ echo $post->metaData?->abstract;
101+
102+ // keyword: class
103+ echo $record->learner->currentEnrollment?->class->grade->code;
104+
105+ ================================================================================
106+ ` ;
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ // keyword: abstract
4+ echo $ post ->metaData ?->abstract;
5+
6+ // keyword: class
7+ echo $ record ->learner ->currentEnrollment ?->class->grade ->code ;
8+
Original file line number Diff line number Diff line change @@ -5008,9 +5008,9 @@ path-type@^4.0.0:
50085008 integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==
50095009
50105010php-parser@^3.1.5 :
5011- version "3.1.5 "
5012- resolved "https://registry.yarnpkg.com/php-parser/-/php-parser-3.1.5. tgz#84500e5b5c6a0907e32c38b931bb4e7d3f275026 "
5013- integrity sha512-jEY2DcbgCm5aclzBdfW86GM6VEIWcSlhTBSHN1qhJguVePlYe28GhwS0yoeLYXpM2K8y6wzLwrbq814n2PHSoQ ==
5011+ version "3.2.1 "
5012+ resolved "https://registry.yarnpkg.com/php-parser/-/php-parser-3.2.1. tgz#960916dc03e4979a59435f9dd9eb03f2e86d8126 "
5013+ integrity sha512-WT5AMqe39ZdqAxp9Yp7uR6e3clBWlT1dxHHs49GmnDx2d+975NEiLSVy2tRGLdSC9tgdQOLiN1Yz54g1d2cZDQ ==
50145014
50155015picocolors@^1.0.0 :
50165016 version "1.0.0"
You canβt perform that action at this time.
0 commit comments