Skip to content

Commit e7dab48

Browse files
committed
Work around flaky phan check
1 parent 9ca2eca commit e7dab48

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.phan/config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@
241241
'vendor/etsy/phan/.phan/plugins/UnreachableCodePlugin.php', // (TODO: make BlockExitStatus more reliable)
242242
// NOTE: This plugin only produces correct results when
243243
// Phan is run on a single core (-j1).
244-
'vendor/etsy/phan/.phan/plugins/UnusedSuppressionPlugin.php',
244+
// 'vendor/etsy/phan/.phan/plugins/UnusedSuppressionPlugin.php',
245245
],
246246

247247
];

src/ASTConverter/ASTConverter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1921,6 +1921,7 @@ private static function _new_ast_node(int $kind, int $flags, array $children, in
19211921
* NOTE: in AST version >= 45, this returns Node, but in version <=40, this returns Decl
19221922
*
19231923
* @return ast\Node|ast\Node\Decl
1924+
* @suppress PhanUndeclaredProperty
19241925
*/
19251926
private static function _new_ast_decl(int $kind, int $flags, array $children, int $lineno, string $docComment = null, string $name = null, int $endLineno = 0, int $declId = -1) : ast\Node {
19261927
if (self::$ast_version >= 45) {

0 commit comments

Comments
 (0)