Skip to content

Commit

Permalink
Apply PSR2 single_quote php cs fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
shakaran committed Sep 17, 2017
1 parent 1452e63 commit 4082daa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Command/BuildAssetsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$this->processStyle($group, $files, $fs, $input, $output);
}

$fontsdir = $this->builddir . "/fonts";
$fontsdir = $this->builddir . '/fonts';
$fs->exists($fontsdir) or $fs->mkdir($fontsdir);

foreach($this->findFonts() as $name => $path) {
Expand Down
2 changes: 1 addition & 1 deletion Composer/ScriptHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ protected static function getPhpArguments()
*/
public static function fetchThemeVendors(CommandEvent $event)
{
$event->getIO()->write("Installing theme assets", true);
$event->getIO()->write('Installing theme assets', true);
$options = self::getOptions($event);
$consoleDir = self::getConsoleDir($event, 'installing theme assets');

Expand Down
2 changes: 1 addition & 1 deletion Theme/ThemeManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function __construct($container, $resolverClass = null)
$this->resolverClass = $resolverClass ?: 'Avanzu\AdminThemeBundle\Util\DependencyResolver';
}

public function registerScript($id, $src, $deps = [], $location = "bottom")
public function registerScript($id, $src, $deps = [], $location = 'bottom')
{
if (!isset($this->javascripts[$id])) {
$this->javascripts[$id] = [
Expand Down
2 changes: 1 addition & 1 deletion Twig/AvanzuAdminExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function getFilters()
];
}

public function bodyClass($classes = "")
public function bodyClass($classes = '')
{
$classList = [$classes];
$options = $this->options;
Expand Down

0 comments on commit 4082daa

Please sign in to comment.