Skip to content

Commit 9c04ccb

Browse files
committed
update parser to @jorgsowa/php-parser
1 parent 0c883a4 commit 9c04ccb

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@prettier/plugin-php",
2+
"name": "@jorgsowa/prettier-plugin-php",
33
"version": "0.24.0",
44
"description": "Prettier PHP Plugin",
55
"repository": "prettier/prettier-php",
@@ -27,7 +27,7 @@
2727
],
2828
"dependencies": {
2929
"linguist-languages": "^8.0.0",
30-
"php-parser": "^3.2.5"
30+
"@jorgsowa/php-parser": "^3.2.5-7"
3131
},
3232
"devDependencies": {
3333
"@babel/preset-env": "^7.27.2",

src/parser.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import engine from "php-parser";
1+
import engine from "@jorgsowa/php-parser";
22
import { LATEST_SUPPORTED_PHP_VERSION } from "./options.mjs";
33
import { resolvePhpVersion } from "./options.mjs";
44

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1604,6 +1604,11 @@
16041604
"@types/yargs" "^17.0.33"
16051605
chalk "^4.1.2"
16061606

1607+
"@jorgsowa/php-parser@^3.2.5-7":
1608+
version "3.2.5"
1609+
resolved "https://registry.yarnpkg.com/@jorgsowa/php-parser/-/php-parser-3.2.5.tgz#4ee2c03f48aa22b5bd22b785acb5f483b46e5b88"
1610+
integrity sha512-EOhxHfvDjofdhRcuyoY06GlaNsHFkfWKaRJ5Q5UdtAkhUwfnvQDznFAL7CiIGHYqB1YqFOc+uvnP5ubXEya8Qw==
1611+
16071612
"@jridgewell/gen-mapping@^0.3.0", "@jridgewell/gen-mapping@^0.3.2":
16081613
version "0.3.3"
16091614
resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz#7e02e6eb5df901aaedb08514203b096614024098"
@@ -4701,11 +4706,6 @@ path-type@^4.0.0:
47014706
resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b"
47024707
integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==
47034708

4704-
php-parser@^3.2.5:
4705-
version "3.2.5"
4706-
resolved "https://registry.yarnpkg.com/php-parser/-/php-parser-3.2.5.tgz#24ff4b4f3e1788967f7737e43c273a5a8e7cd0ac"
4707-
integrity sha512-M1ZYlALFFnESbSdmRtTQrBFUHSriHgPhgqtTF/LCbZM4h7swR5PHtUceB2Kzby5CfqcsYwBn7OXTJ0+8Sajwkw==
4708-
47094709
picocolors@^1.0.0:
47104710
version "1.0.0"
47114711
resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c"

0 commit comments

Comments
 (0)