schneespur/vendor/psy/psysh/.phan/baseline-external-deps.php
Michael 2c63440ed8 Revert: move code back to project root from schneespur/ subdirectory
- Reverts the schneespur/ subdirectory restructure (b8e426b)
- Restores package.json and vite.config.js (needed for npm build, were
  removed in an earlier cleanup before the restructure)
- Updates public/build/ assets with current Vite output (new content hashes)
2026-05-17 18:24:26 +00:00

32 lines
1.8 KiB
PHP

<?php
/**
* Phan baseline for issues related to external dependencies and optional extensions.
*
* This includes:
* - PHP Parser node properties (intentionally dynamic)
* - Optional PHP extensions (Runkit, MongoDB)
* - Optional Composer classes (ClassMapGenerator, ClassLoader)
* - Optional PSR interfaces (LoggerInterface)
* - PHP 8.x reflection classes for backward compatibility
*/
return [
'file_suppressions' => [
'src/CodeCleaner/AssignThisVariablePass.php' => ['PhanUndeclaredProperty'],
'src/CodeCleaner/FunctionReturnInWriteContextPass.php' => ['PhanUndeclaredProperty'],
'src/CodeCleaner/ListPass.php' => ['PhanUndeclaredProperty'],
'src/CodeCleaner/LoopContextPass.php' => ['PhanUndeclaredProperty'],
'src/CodeCleaner/RequirePass.php' => ['PhanUndeclaredProperty'],
'src/CodeCleaner/ReturnTypePass.php' => ['PhanUndeclaredProperty'],
'src/CodeCleaner/ValidClassNamePass.php' => ['PhanUndeclaredProperty'],
'src/Configuration.php' => ['PhanUndeclaredClassInstanceof', 'PhanUndeclaredTypeParameter'],
'src/ExecutionLoop/ProcessForker.php' => ['PhanUndeclaredClassInstanceof'],
'src/ExecutionLoop/RunkitReloader.php' => ['PhanUndeclaredConstant'],
'src/Formatter/SignatureFormatter.php' => ['PhanUndeclaredClassInstanceof', 'PhanUndeclaredClassMethod'],
'src/ShellLogger.php' => ['PhanUndeclaredClassMethod', 'PhanUndeclaredTypeParameter'],
'src/Sudo/SudoVisitor.php' => ['PhanUndeclaredProperty'],
'src/TabCompletion/AutoloadWarmer/ComposerAutoloadWarmer.php' => ['PhanUndeclaredClassMethod'],
'src/TabCompletion/Matcher/MongoClientMatcher.php' => ['PhanUndeclaredClassInstanceof', 'PhanUndeclaredClassMethod'],
'src/TabCompletion/Matcher/MongoDatabaseMatcher.php' => ['PhanUndeclaredClassInstanceof', 'PhanUndeclaredClassMethod'],
],
];