It seems like the GitHub access token used for retrieving details about this repository from
GitHub became invalid. This might prevent certain types of inspections from being run (in
particular,
everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
7
use Symfony\Component\Config\Definition\ConfigurationInterface;
8
9
/**
10
* Class Configuration.
11
*/
12
class Configuration implements ConfigurationInterface
13
{
14
/**
15
* {@inheritdoc}
16
*
17
* @throws RuntimeException
18
*/
19
public function getConfigTreeBuilder()
20
{
21
$treeBuilder = new TreeBuilder('erelke_twig_spreadsheet');
22
$rootNode = $treeBuilder->getRootNode();
23
24
$rootNode
25
->children()
26
->booleanNode('pre_calculate_formulas')
27
->defaultTrue()
28
->info('Disabling formula calculations can improve the performance but the resulting documents won\'t immediately show formula results in external programs.')