Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Apr 5, 2024
1 parent 267c495 commit 6ec5208
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 7 deletions.
24 changes: 17 additions & 7 deletions ContainerAwareInterface.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
<?php

/*
* This file is part of the MassiveBuildBundle
*
* (c) MASSIVE ART WebServices GmbH
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/

namespace Massive\Bundle\BuildBundle;

use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\ContainerAwareInterface as SymfonyContainerAwareInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;

if (\class_exists(SymfonyContainerAwareInterface::class)) {
\class_alias(ContainerAwareInterface::class, SymfonyContainerAwareInterface::class);
} else {
interface ContainerAwareInterface {
/**
* @return void
*/
public function setContainer(?ContainerInterface $container = null);
}
interface ContainerAwareInterface
{
/**
* @return void
*/
public function setContainer(?ContainerInterface $container = null);
}
}
9 changes: 9 additions & 0 deletions Tests/ProphecyTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the MassiveBuildBundle
*
* (c) MASSIVE ART WebServices GmbH
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/

namespace Massive\Bundle\BuildBundle\Tests;

use Prophecy\PhpUnit\ProphecyTrait as ProphecyProphecyTrait;
Expand Down

0 comments on commit 6ec5208

Please sign in to comment.