Skip to content

Commit

Permalink
MISC: Update dev tools. Remove Bundle dependency from bundle's bundle…
Browse files Browse the repository at this point in the history
… class
  • Loading branch information
yivi committed Dec 19, 2023
1 parent 28eab05 commit ec5b09d
Show file tree
Hide file tree
Showing 7 changed files with 369 additions and 437 deletions.
10 changes: 7 additions & 3 deletions .idea/YivoffJwtRefreshBundle.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/codeception.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/phpspec.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 48 additions & 2 deletions src/YivoffJwtRefreshBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,55 @@

namespace Yivoff\JwtRefreshBundle;

use Symfony\Component\HttpKernel\Bundle\Bundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
use Symfony\Component\HttpKernel\Bundle\BundleInterface;
use Yivoff\JwtRefreshBundle\DependencyInjection\YivoffJwtRefreshExtension;
use function dirname;

class YivoffJwtRefreshBundle extends Bundle
class YivoffJwtRefreshBundle implements BundleInterface
{
public const BUNDLE_PREFIX = 'yivoff_jwt_refresh';

protected ExtensionInterface|false|null $extension = null;
protected ?ContainerInterface $container = null;

public function boot()
{
}

public function shutdown()
{
}

public function build(ContainerBuilder $container)
{
}

public function getContainerExtension(): ?ExtensionInterface
{
return new YivoffJwtRefreshExtension();
}

public function getName(): string
{
return 'YivoffJwtRefreshBundle';
}

public function getNamespace(): string
{
return 'Yivoff';
}

public function getPath(): string
{
return dirname(__DIR__);
}

public function setContainer(?ContainerInterface $container): void
{
$this->container = $container;
}

}
6 changes: 3 additions & 3 deletions vendor-bin/static/composer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{

"require": {
"vimeo/psalm": "^4.16.1",
"php-standard-library/psalm-plugin": "^1.1",
"psalm/plugin-symfony": "^2.5"
"vimeo/psalm": "^5.18.0",
"php-standard-library/psalm-plugin": "^2.3.0",
"psalm/plugin-symfony": "^v5.1.0"
},
"config": {
"platform": {
Expand Down
Loading

0 comments on commit ec5b09d

Please sign in to comment.