aboutsummaryrefslogtreecommitdiffstats
path: root/.phan/internal_stubs
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Add support for wikidiff2_multi_format_diff()"jenkins-bot2023-07-311-0/+9
|\
| * Add support for wikidiff2_multi_format_diff()Tim Starling2023-07-191-0/+9
| | | | | | | | | | Bug: T341754 Change-Id: I17396985d0b26516a06df17e9bd1343054521e01
* | tests: Update Phan stub to php-excimer 1.1.1Timo Tijhof2023-07-242-95/+64
|/ | | | | | | | | Last updated for php-excimer 1.0.4, which is missing getSpeedscopeData(), as used by excimer-ui-client and in examples on mediawiki.org. Bug: T266626 Change-Id: I7f0c86f83cbe3b0378648003a66fcb86da8d7828
* profiler: Drop support for Tideways 4.x in ProfilerXhprofKevin Israel2022-11-282-28/+15
| | | | | | | | | | | | | This branch fails to compile against PHP 7.4.3, our lowest supported version, and will not be updated to support that or any newer version: https://tideways.com/profiler/blog/releasing-new-tideways-xhprof-extension In doing so, remove the Xhprof class. At this point, it doesn't do anything other than calling either of two functions from whichever extension is installed, which can just be done in ProfilerXhprof. Change-Id: Iba1c16f47c68b36982f5d2dcda3bdf4dcb83501d
* phan: Remove internal stubs that should never be usedKevin Israel2022-11-253-1285/+0
| | | | | | | | | * dom: This PHP extension is an installation requirement so should always be available. * oci8: Oracle support was removed in 1.34 (4d10bb14e81aadb9). * sqlsrv: Likewise for Microsoft SQL Server. Change-Id: Id53f4ce477a19cff0063d3d60a405647249e7202
* phan: Add internal stub Redis::SERIALIZER_IGBINARYSébastien Beyou2022-04-181-0/+2
| | | | | Bug: T282133 Change-Id: I31f52d26bc022c77e50db42ac80c7dbe1a37c8e6
* Remove ext-intl phan stubsReedy2020-11-291-1791/+0
| | | | | Bug: T267669 Change-Id: I5832db55c53b663e846044a2202be8403c8542ea
* phan: Conditionally load PHP extension stubs with dedicated optionDaimona Eaytoy2020-06-082-0/+142
| | | | | | | | Stubs for PHP extensions like wikidiff2 or excimer can be conditionally loaded using autoload_internal_extension_signatures, which is basically a wrapper around extension_loaded. Change-Id: I3e844427733339283c41fa9f4aeb23a776c36ce6
* phan: Upgrade redis stubs to 5.1.1Daimona Eaytoy2020-02-071-387/+444
| | | | | Bug: T239736 Change-Id: I40c3d5e8f98c1f391efdb4430f229793f1c84eb1
* Unsuppress phan issues, part 8Daimona Eaytoy2019-09-041-0/+189
| | | | | | | | And also clean up the config. Bug: T231636 Depends-On: Ie6233561de78457cae5e4e44e220feec2d1272d8 Change-Id: I82a279e1f7b0fdefd3bb712e46c7d0665429d065
* Unsuppress another phan issue (part 7)Daimona Eaytoy2019-09-031-0/+420
| | | | | | | Bug: T231636 Depends-On: I2cd24e73726394e3200a570c45d5e86b6849bfa9 Depends-On: I4fa3e6aad872434ca397325ed7a83f94973661d0 Change-Id: Ie6233561de78457cae5e4e44e220feec2d1272d8
* Globally unsuppress phan issues with low countDaimona Eaytoy2019-08-301-0/+1791
| | | | | | | | | | | | All of these suppression prevent the detection of many common mistakes, and could easily prevent things like T231488. Especially if there are few issues of a given type, it's way better to suppress them inline, instead of disabling them for the whole core. This patch only touches the one with a lower count (although those counts may be out of date). Bug: T231636 Change-Id: Ica50297ec7c71a81ba2204f9763499da925067bd
* phan: Add internal stubs for imagick, pcntl, redis & socketsKunal Mehta2019-06-185-0/+2049
| | | | | | | | | Phan will automatically use these stubs if the extensions are not installed. Also added a brief README for how to generate the stubs in the first place. Bug: T224893 Change-Id: I1d31d03801fbc7b18dfc758453c95439acd96d19
* Upgrade to newer phanKunal Mehta2019-03-234-0/+1073
MediaWiki core now runs phan 1.2.6, bringing in nearly 2+ years of upstream fixes. Configuration was moved from `tests/phan` to `.phan/`. The legacy bash wrapper script is still kept in the repository in its own location for any extensions that are still using it. It should be removed before 1.33 is released. Since there's a lot of new issues being flagged, all currently failing issues are suppressed, and will be fixed in follow-up patches. We're dropping the jetbrains/phpstorm-stubs repository in favor of just the minimal stubs we need. Stubs for PHP extensions are kept in the new `.phan/internal_stubs` directory, since they're in a slightly different format than normal stubs. Normal stubs are kept in `.phan/stubs`. wikidiff2 and excimer are kept with these since we're also the upstream for them. Change-Id: I3fe437befa17f4fbaf97aa6271f659b56021f396