1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 12:55:26 +01:00
psalm/tests/Config
Oliver Hader 62a0ece035
!!! Allow plugins to modify Config::$fileExtensions early
ProjectAnalyzer consumed Config::$fileExtensions early in its
constructor - without having processed plugins' modifications,
registering their custom scanners or analyzer implementations.

This change
* adds new specific interface \Psalm\Plugin\FileExtensionsInterface
  to be used by plugin implementations
* extracts file extension handling from \Psalm\PluginRegistrationSocket
  and interface \Psalm\Plugin\RegistrationInterface to a new dedicated
  \Psalm\PluginFileExtensionsSocket and new interface
  \Psalm\Plugin\FileExtensionsInterface
  !!! this is a breaking change in PluginRegistrationSocket !!!
* adds runtime in-memory cache for Config::$plugins
* calls new method Config::processPluginFileExtensions(), providing
  modifications to file extension only early in ProjectAnalyzer
* adjusts documentation
2022-01-30 13:06:00 +01:00
..
Plugin !!! Allow plugins to modify Config::$fileExtensions early 2022-01-30 13:06:00 +01:00
ConfigFileTest.php Fix copy/paste fail and other psalm/cs issues, reduce duplication of literals. 2022-01-27 16:31:09 -06:00
ConfigTest.php !!! Allow plugins to modify Config::$fileExtensions early 2022-01-30 13:06:00 +01:00
CreatorTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
PluginListTest.php drop compatibility aliases 2022-01-19 19:29:16 +01:00
PluginTest.php Test for FunctionDynamicStorageProvider 2022-01-28 15:18:29 +03:00