JSON configuration 3.2.
{ "source-providers": [ { "in": ". as current", "name": "/\\.(php|inc|phtml)$/" } ], "plugins": [ { "name": "Analyser", "class": "Bartlett\\Reflect\\Plugin\\Analyser\\AnalyserPlugin" } ], "analysers" : [ { "name": "Namespace", "class": "Bartlett\\CompatInfo\\Analyser\\NamespaceAnalyser" }, { "name": "Extension", "class": "Bartlett\\CompatInfo\\Analyser\\ExtensionAnalyser" }, { "name": "Interface", "class": "Bartlett\\CompatInfo\\Analyser\\InterfaceAnalyser" }, { "name": "Trait", "class": "Bartlett\\CompatInfo\\Analyser\\TraitAnalyser" }, { "name": "Class", "class": "Bartlett\\CompatInfo\\Analyser\\ClassAnalyser" }, { "name": "Function", "class": "Bartlett\\CompatInfo\\Analyser\\FunctionAnalyser" }, { "name": "Constant", "class": "Bartlett\\CompatInfo\\Analyser\\ConstantAnalyser" }, { "name": "Summary", "class": "Bartlett\\CompatInfo\\Analyser\\SummaryAnalyser" }, { "name": "Condition", "class": "Bartlett\\CompatInfo\\Analyser\\CodeCondAnalyser" }, { "name": "Composer", "class": "Bartlett\\CompatInfo\\Analyser\\ComposerAnalyser" }, { "name": "Structure", "class": "Bartlett\\Reflect\\Analyser\\StructureAnalyser" } ] }
Minimal JSON configuration 4.0.
{ "source-providers": [ ], "plugins": [ ], "analysers" : [ ], "services" : [ ] }
![]() | |
In version 4.0, all (default) analysers are available. It’s no more required to declare them in the JSON config file, especially because this file is now became optional. |
![]() | |
Cache plugin may be find in different location ( |
Version 3.2.
{ "plugins": [ { "name": "Analyser", "class": "Bartlett\\Reflect\\Plugin\\Analyser\\AnalyserPlugin" }, { "name": "Cache", "class": "Bartlett\\Reflect\\Plugin\\Cache\\CachePlugin", "options": { "adapter": "DoctrineCacheAdapter", "backend": { "class": "Doctrine\\Common\\Cache\\FilesystemCache", "args": [ "%{TEMP}/bartlett/cache" ] } } } ], }
Version 4.0.
{ "plugins": [ { "name": "Cache", "class": "Bartlett\\Reflect\\Plugin\\CachePlugin", "options": { "adapter": "DoctrineCacheAdapter", "backend": { "class": "Doctrine\\Common\\Cache\\FilesystemCache", "args": [ "%{TEMP}/bartlett/cache" ] } } } ], }
![]() | |
|