1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-12 09:19:40 +01:00
psalm/tests/Config/Plugin
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
..
Hook Fix CS 2022-01-28 15:18:30 +03:00
AfterAnalysisPlugin.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
FilePlugin.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
FileTypeSelfRegisteringPlugin.php !!! Allow plugins to modify Config::$fileExtensions early 2022-01-30 13:06:00 +01:00
FunctionPlugin.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
MethodPlugin.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
PropertyPlugin.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
SqlStringProviderPlugin.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
StoragePlugin.php Renaming all occurrences of "function dynamic storage" to "dynamic function storage" 2022-01-28 15:18:30 +03:00