Skip to content

Commit 3cf173f

Browse files
committed
merge #9: fix parser performance on large files
2 parents 3a3a7cf + c2cf8a4 commit 3cf173f

File tree

11 files changed

+1647
-125
lines changed

11 files changed

+1647
-125
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"jrmajor/cs": "^0.3.3",
3838
"nunomaduro/collision": "^5.10",
3939
"php-standard-library/psalm-plugin": "^1.1",
40+
"phpbench/phpbench": "^1.2",
4041
"phpunit/phpunit": "10.0.x-dev",
4142
"psalm/plugin-phpunit": "^0.16.1",
4243
"sebastian/diff": "5.0.x-dev as 4.0.4",

composer.lock

Lines changed: 254 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpbench.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"$schema": "vendor/phpbench/phpbench/phpbench.schema.json",
3+
"runner.annotations": false,
4+
"runner.bootstrap": "vendor/autoload.php",
5+
"runner.path": "tests/Benchmark",
6+
"runner.retry_threshold": 3
7+
}

psalm.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@
3131
<directory name="*"/>
3232
</errorLevel>
3333
</MissingClosureReturnType>
34+
<MissingConstructor>
35+
<errorLevel type="suppress">
36+
<directory name="tests"/>
37+
</errorLevel>
38+
</MissingConstructor>
3439
<MoreSpecificReturnType>
3540
<errorLevel type="suppress">
3641
<directory name="tests/Formatters/Number"/>

0 commit comments

Comments
 (0)