Skip to content

Commit

Permalink
added admin tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeerickson committed Sep 13, 2020
2 parents 65f7214 + 88ca36a commit 696f599
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
13 changes: 6 additions & 7 deletions src/PrinterTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ trait PrinterTrait
*/
private $dontFormatClassName;


/**
* {@inheritdoc}
*/
Expand Down Expand Up @@ -280,12 +279,12 @@ private function loadUserConfiguration()

$this->printerOptions = array_merge($this->defaultConfigOptions, $this->printerOptions);

$this->hideClassName = $this->getConfigOption('cd-printer-hide-class');
$this->simpleOutput = $this->getConfigOption('cd-printer-simple-output');
$this->showConfig = $this->getConfigOption('cd-printer-show-config');
$this->hideNamespace = $this->getConfigOption('cd-printer-hide-namespace');
$this->anyBarEnabled = $this->getConfigOption('cd-printer-anybar');
$this->anyBarPort = $this->getConfigOption('cd-printer-anybar-port');
$this->hideClassName = $this->getConfigOption('cd-printer-hide-class');
$this->simpleOutput = $this->getConfigOption('cd-printer-simple-output');
$this->showConfig = $this->getConfigOption('cd-printer-show-config');
$this->hideNamespace = $this->getConfigOption('cd-printer-hide-namespace');
$this->anyBarEnabled = $this->getConfigOption('cd-printer-anybar');
$this->anyBarPort = $this->getConfigOption('cd-printer-anybar-port');
$this->dontFormatClassName = $this->getConfigOption('cd-printer-dont-format-classname');

$this->markers = [
Expand Down
12 changes: 6 additions & 6 deletions src/PrinterTrait8.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,12 +275,12 @@ private function loadUserConfiguration()

$this->printerOptions = array_merge($this->defaultConfigOptions, $this->printerOptions);

$this->hideClassName = $this->getConfigOption('cd-printer-hide-class');
$this->simpleOutput = $this->getConfigOption('cd-printer-simple-output');
$this->showConfig = $this->getConfigOption('cd-printer-show-config');
$this->hideNamespace = $this->getConfigOption('cd-printer-hide-namespace');
$this->anyBarEnabled = $this->getConfigOption('cd-printer-anybar');
$this->anyBarPort = $this->getConfigOption('cd-printer-anybar-port');
$this->hideClassName = $this->getConfigOption('cd-printer-hide-class');
$this->simpleOutput = $this->getConfigOption('cd-printer-simple-output');
$this->showConfig = $this->getConfigOption('cd-printer-show-config');
$this->hideNamespace = $this->getConfigOption('cd-printer-hide-namespace');
$this->anyBarEnabled = $this->getConfigOption('cd-printer-anybar');
$this->anyBarPort = $this->getConfigOption('cd-printer-anybar-port');
$this->dontFormatClassName = $this->getConfigOption('cd-printer-dont-format-classname');

$this->markers = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ public function setUp(): void
/** @test */
public function it_should_pass_test_part_of_long_filename(): void
{

$this->assertTrue(true);
}
}

0 comments on commit 696f599

Please sign in to comment.