Skip to content

Commit da36bb1

Browse files
committed
build: Skip Phan on PHP 8.1
GitHub CI, this library still supports PHP 8.1, validated from time to time there. Phan only needs to run once, the version doesn't matter. Change-Id: If1ec3f2618eb1bbef0a6967afa6b49caa4b19ea2
1 parent f3e9516 commit da36bb1

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.phan/config.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
<?php
22

3+
if ( PHP_VERSION_ID < 80200 ) {
4+
print "Skipping Phan on PHP 8.1.\n\n";
5+
exit( 0 );
6+
}
7+
38
return [
49

510
'target_php_version' => '8.1',

0 commit comments

Comments
 (0)