1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 12:55:26 +01:00
Commit Graph

21 Commits

Author SHA1 Message Date
Oliver Hader
6fd31cb5fa
[TASK] Remove deprecated AfterFunctionLikeAnalysisEvent::getClasslikeStorage 2022-01-31 00:34:03 +02:00
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
AndrolGenhald
d705d5e83a Add note about $load_xdebug_stub removal to UPGRADING.md. 2022-01-27 17:52:50 -06:00
AndrolGenhald
e268a05307 Minor fixes after rebasing. 2022-01-26 12:57:19 -06:00
AndrolGenhald
139c3af9d1 Add reference changes to UPGRADING documentation. 2022-01-26 12:56:15 -06:00
orklah
e7743007d5 typo 2022-01-26 19:45:34 +01:00
orklah
efe9c2bc6d document some BC breaks introduced in #7409 2022-01-26 19:37:10 +01:00
Bruce Weirdan
1a15db89cc
Update UPGRADING.md 2022-01-26 13:25:27 +02:00
orklah
63b802bff4 remove TPositiveInt 2022-01-23 23:49:23 +01:00
AndrolGenhald
0c142ee3f8 Add BC break note. 2022-01-22 14:10:57 -06:00
Matthew Brown
0a81f8cd6c
Use objects, not strings, for assertions (#7410)
* Use objects, not strings, for assertions

* Remove unnecessary param

* Remove some unnecessary checks

* Fix bad find/replace

* Add note about assertions no longer stored as strings in UPGRADING.md
2022-01-20 17:33:06 -05:00
orklah
ddf7a0bb36 remove forbidEcho 2022-01-18 18:27:27 +01:00
Bruce Weirdan
6589ad1504
Document BC breaks in #7358 2022-01-09 22:51:23 +02:00
Bruce Weirdan
f09814ac17
Documented THtmlEscapedString removal 2022-01-03 22:48:59 +02:00
Bruce Weirdan
afa6497051
Dropped THtmlEscapedString 2022-01-03 22:48:59 +02:00
Bruce Weirdan
804d0c651d
Documented DocComment methods removal 2022-01-03 20:03:52 +02:00
Bruce Weirdan
0866866348
Document CodeIssue methods removal 2022-01-03 19:28:23 +02:00
Bruce Weirdan
0a991e3467
Documented removal of legacy hook interfaces 2022-01-03 18:34:54 +02:00
Bruce Weirdan
2066a21ca8
Documented addition of @internal annotations 2022-01-03 09:33:22 +02:00
Bruce Weirdan
c3700e11db
Updated UPGRADING.md 2022-01-03 06:12:34 +02:00
Bruce Weirdan
d3729c06ad
Document BC breaks 2022-01-02 14:39:44 +02:00