- Fixed a bug where doc-only properties were not considered as possibly undefined.
- Fixed a bug in PHP >= 8 where redundant issets would never be reported for properties of classes with the AllowDynamicProperties attribute.
- Rename NoEmptyIfDefinedPlugin to RedundantExistenceChecksPlugin (Daimona Eaytoy)
- Add
isset()
checks to RedundantExistenceChecksPlugin (Daimona Eaytoy) - Upgrade phan to 5.4.5 and mediawiki/phan-taint-check-plugin to 6.1.0 (James D. Forrester)
- Update target PHP version from 8.1 to 8.3
- Add plugin to disallow use of
new Exception
(Daimona Eaytoy) - Do not emit MediaWikiNoEmptyIfDefined for properties of classes with the AllowDynamicProperties attribute (Daimona Eaytoy)
- Emit MediaWikiNoEmptyIfDefined for all node types except array element access (Daimona Eaytoy)
- Upgrade phan to 5.4.3 and mediawiki/phan-taint-check-plugin to 6.0.0 (James D. Forrester)
- Add plugin to forbid
empty()
on defined variables and properties (Daimona Eaytoy) - Bump phan to 5.4.2 and taint-check to 5.0.0 (Michael Große)
- "Auto discovery" of namespaces of wgConf and wgRequest (Amir Sarabadani)
- Enable PhanCompatibleSerializeInterfaceDeprecated (Umherirrender)
- Create a separate config file for libraries (Daimona Eaytoy)
- Avoid PhanRedefinedInheritedInterface by excluding symfony/polyfill-php80 (Umherirrender)
- Bump minimum PHP version to 7.4 (C. Scott Ananian)
- Disable PhanPluginDuplicateExpressionAssignmentOperation (Reedy)
- Bump phan to 5.4.1 and taint-check to 4.0.0 (Daimona Eaytoy)
- Set minimum and target PHP version (Daimona Eaytoy)
- Enable plugin UseReturnValuePlugin (Umherirrender)
- Exclude stubs from .phan configurations in libraries (C. Scott Ananian)
- Suppress PhanDeprecatedCaseInsensitiveDefine (Umherirrender)
- Suppress phan issues about use statements (Umherirrender)
- Add plugins: LoopVariableReusePlugin, RedundantAssignmentPlugin, UnreachableCodePlugin, SimplifyExpressionPlugin, DuplicateArrayKeyPlugin (Daimona Eaytoy)
- Remove hack that allows disabling taint-check (Daimona Eaytoy)
- Bump phan to 5.2.0, taint-check to 3.3.2 (Daimona Eaytoy)
- Add a ConfigBuilder class to configure phan (Daimona Eaytoy)
- Remove option for filtering the list of directories (Daimona Eaytoy)
- Bump taint-check to 3.2.1 and phan to 3.2.6 (Daimona Eaytoy)
Intermediate maintenance release without ConfigBuilder.
-
Bump taint-check to 3.1.1 (Daimona Eaytoy)
-
Expand globals_type_map (Daimona Eaytoy)
-
build: Updating mediawiki/mediawiki-codesniffer to 34.0.0 (James D. Forrester)
-
build: Updating ockcyp/covers-validator to 1.3.1 (libraryupgrader)
-
build: Updating ockcyp/covers-validator to 1.3.0 (libraryupgrader)
-
build: Updating mediawiki/mediawiki-codesniffer to 33.0.0 (libraryupgrader)
Intermediate maintenance release without ConfigBuilder.
- Bump taint-check to 3.0.4 (Daimona Eaytoy)
Intermediate maintenance release without ConfigBuilder.
-
Fix exclude of stubs from this repo (Umherirrender)
-
Require taint-check 3.0.3, up from 3.0.2 (James D. Forrester)
-
build: update mediawiki/mediawiki-codesniffer to 31.0.0 (libraryupgrader)
-
build: update php-parallel-lint/php-console-highlighter to 0.5.0 (libraryupgrader)
-
build: update php-parallel-lint/php-parallel-lint to 1.2.0 (libraryupgrader)
-
build: update ockcyp/covers-validator to 1.2.0 (libraryupgrader)
-
build: update .gitreview to point to mediawiki/tools/phan (Antoine Musso)
- Adjust taint-check settings, require new version (Daimona Eaytoy)
- build: Upgrade mediawiki-codesniffer from v29.0.0 to v30.0.0 (James D. Forrester)
- Fix path for taint-check (Daimona Eaytoy)
- Require taint-check (Daimona Eaytoy)
- Upgrade phan to 2.6.1 (Daimona Eaytoy)
- Update PHPUnit to 8.5 (Umherirrender)
- Upgrade phan to 2.5.0 (Daimona Eaytoy)
- Upgrade phan to 2.4.9 (Daimona Eaytoy)
- build: Updating composer dependencies (libraryupgrader)
- Upgrade phan to 2.4.7 (Daimona Eaytoy)
- Add more dev dependencies to the list of excluded files (Daimona Eaytoy)
- Set
exclude_file_regex
to exclude tests and dep devs from vendor folder (Umherirrender) - Drop Travis testing, no extra advantage over Wikimedia CI and runs post-merge anyway (James D. Forrester)
- build: Updating mediawiki/mediawiki-codesniffer to 29.0.0 (libraryupgrader)
- Update phan/phan to 2.4.6 (Umherirrender)
- Ignore composer.json on export (Umherirrender)
- Update phan/phan to 2.4.4 (Umherirrender)
- Disable implicit scalar and null casts (Daimona Eaytoy)
- Restore a line removed incidentally (Daimona Eaytoy)
- Add
MW_VENDOR_PATH
to set up path of mediawiki/vendor clone (Umherirrender) - Disable
PhanAccess*Internal
(Aryeh Gregor) - build: Upgrade mediawiki-codesniffer to v28.0.0 (James D. Forrester)
- Add
MSG_EOR
under windows as stub (Umherirrender)
- Move phan/phan to composer require and upgrade it (Daimona Eaytoy)
- Really require PHP 7.2+ (Daimona Eaytoy)
- Restore PHP5.6 requirement (Daimona Eaytoy)
- Upgrade phan to 2.2.11 (Daimona Eaytoy)
- Upgrade phan, remove old config settings (Daimona Eaytoy)
- build: Updating mediawiki/mediawiki-codesniffer to 26.0.0 (libraryupgrader)
- Suppress warnings about unknown dirs from 'directory_list' (Umherirrender)
- Removed old tests/phan/stubs for core from directory list (Umherirrender)
- Enable enable_class_alias_support (Max Semenik)
- Rename tests/phan/stubs in dir list to new location (Umherirrender)
- Upgrade phan to 1.2.7 (Kunal Mehta)
- Upgrade phan to 1.3.2 (Daimona Eaytoy)
- Upgrade phan to 1.3.4 (Umherirrender)
- Add RegexChecker, UnusedSuppression and DuplicateExpression plugins (Daimona Eaytoy)
- Upgrade Phan to 1.2.6 (Kunal Mehta & Daimona Eaytoy)
- Add phan version to composer.json (Kunal Mehta)
- build: Updating mediawiki/minus-x to 0.3.1 (Umherirrender)
- Don't start paths with "./" (Kunal Mehta)
- Drop PHP support pre 7.0 (Reedy)
- Include MediaWiki core's
tests/phan/stubs
by default (Kunal Mehta) - Support MW_INSTALL_PATH (Umherirrender)
- Suppress PhanDeprecated* by default (Kunal Mehta)
- Suppress PhanUnreferencedUseNormal (Umherirrender)
- phan should also check an extension's maintenance scripts by default (Kunal Mehta)
- Suppress PhanDeprecatedFunction by default (Kunal Mehta)
- Initial release (Kunal Mehta)