File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 3737 os : ubuntu-latest
3838 - php : ' 8.4'
3939 os : ubuntu-latest
40+ - php : ' 8.5'
41+ os : ubuntu-latest
4042
4143 runs-on : ${{ matrix.os }}
4244
Original file line number Diff line number Diff line change 11<?php
2+
3+ // NOTE: Automatically re-enable after each update unless someone updates
4+ // this str_contains check, to avoid forgetting and losing Phan coverage.
5+ $ composerJson = file_get_contents ( __DIR__ . '/../composer.json ' );
6+ if (
7+ version_compare ( PHP_VERSION , '8.5.0 ' ) >= 0
8+ && str_contains ( $ composerJson , '"mediawiki/mediawiki-phan-config": "0.17.0" ' )
9+ ) {
10+ print "Skipping Phan on PHP 8.5. https://phabricator.wikimedia.org/T406326 \n\n" ;
11+ exit ( 0 );
12+ }
13+
214return [
315
4- 'target_php_version ' => '7.4 ' ,
16+ 'target_php_version ' => '8.1 ' ,
517
618 // A list of directories that should be parsed for class and
719 // method information. After excluding the directories
You can’t perform that action at this time.
0 commit comments