Skip to content

Commit

Permalink
fixup! Add phan flow
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeweerd committed Oct 20, 2023
1 parent 1d76972 commit 535c842
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/phan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: |
cd /mnt/src
set -o pipefail
/opt/phan/phan --quick -k /mnt/src/.github/workflows/phan_config.php -B /mnt/src/.github/workflows/phan_baseline.txt --analyze-twice --minimum-target-php-version 5.6 | tee phan.log
/opt/phan/phan --quick -k .phan/config.php -B .phan/baseline.txt --analyze-twice --minimum-target-php-version 5.6 | tee phan.log
- name: Provide phan log as artifact
uses: actions/upload-artifact@v3
Expand Down
42 changes: 21 additions & 21 deletions .phan/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -336,27 +336,27 @@
// because Phan disables xdebug by default.
//'xdebug' => 'vendor/phan/phan/.phan/internal_stubs/xdebug.phan_php',
//'memcached' => '.phan/your_internal_stubs_folder_name/memcached.phan_php',
'PDO' => '/mnt/src/.github/workflows/phan_stubs/PDO.phan_php',
'curl' => '/mnt/src/.github/workflows/phan_stubs/curl.phan_php',
'calendar' => '/mnt/src/.github/workflows/phan_stubs/calendar.phan_php',
'fileinfo' => '/mnt/src/.github/workflows/phan_stubs/fileinfo.phan_php',
'ftp' => '/mnt/src/.github/workflows/phan_stubs/ftp.phan_php',
'gd' => '/mnt/src/.github/workflows/phan_stubs/gd.phan_php',
'imap' => '/mnt/src/.github/workflows/phan_stubs/imap.phan_php',
'intl' => '/mnt/src/.github/workflows/phan_stubs/intl.phan_php',
'ldap' => '/mnt/src/.github/workflows/phan_stubs/ldap.phan_php',
'mcrypt' => '/mnt/src/.github/workflows/phan_stubs/mcrypt.phan_php',
'memcache' => '/mnt/src/.github/workflows/phan_stubs/memcache.phan_php',
'mysqli' => '/mnt/src/.github/workflows/phan_stubs/mysqli.phan_php',
'pdo_cubrid' => '/mnt/src/.github/workflows/phan_stubs/pdo_cubrid.phan_php',
'pdo_mysql' => '/mnt/src/.github/workflows/phan_stubs/pdo_mysql.phan_php',
'pdo_pgsql' => '/mnt/src/.github/workflows/phan_stubs/pdo_pgsql.phan_php',
'pdo_sqlite' => '/mnt/src/.github/workflows/phan_stubs/pdo_sqlite.phan_php',
'session' => '/mnt/src/.github/workflows/phan_stubs/session.phan_php',
'simplexml' => '/mnt/src/.github/workflows/phan_stubs/SimpleXML.phan_php',
'soap' => '/mnt/src/.github/workflows/phan_stubs/soap.phan_php',
'sockets' => '/mnt/src/.github/workflows/phan_stubs/sockets.phan_php',
'zip' => '/mnt/src/.github/workflows/phan_stubs/zip.phan_php',
'PDO' => '.phan/stubs/PDO.phan_php',
'curl' => '.phan/stubs/curl.phan_php',
'calendar' => '.phan/stubs/calendar.phan_php',
'fileinfo' => '.phan/stubs/fileinfo.phan_php',
'ftp' => '.phan/stubs/ftp.phan_php',
'gd' => '.phan/stubs/gd.phan_php',
'imap' => '.phan/stubs/imap.phan_php',
'intl' => '.phan/stubs/intl.phan_php',
'ldap' => '.phan/stubs/ldap.phan_php',
'mcrypt' => '.phan/stubs/mcrypt.phan_php',
'memcache' => '.phan/stubs/memcache.phan_php',
'mysqli' => '.phan/stubs/mysqli.phan_php',
'pdo_cubrid' => '.phan/stubs/pdo_cubrid.phan_php',
'pdo_mysql' => '.phan/stubs/pdo_mysql.phan_php',
'pdo_pgsql' => '.phan/stubs/pdo_pgsql.phan_php',
'pdo_sqlite' => '.phan/stubs/pdo_sqlite.phan_php',
'session' => '.phan/stubs/session.phan_php',
'simplexml' => '.phan/stubs/SimpleXML.phan_php',
'soap' => '.phan/stubs/soap.phan_php',
'sockets' => '.phan/stubs/sockets.phan_php',
'zip' => '.phan/stubs/zip.phan_php',
],

];

0 comments on commit 535c842

Please sign in to comment.