Skip to content

Commit

Permalink
resolve deprecation messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ilvalerione committed Dec 10, 2024
1 parent a63dd5f commit 0af91f4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
13 changes: 2 additions & 11 deletions recipe/config/packages/inspector.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
inspector:
ingestion_key: '%env(INSPECTOR_INGESTION_KEY)%'
url: https://ingest.inspector.dev
enabled: true
unhandled_exceptions: true
messenger: true
query: true
query_bindings: false
user: true
templates: true
transport: async
ignore_routes:
- '/wdt*'
- '/profiler*'
- '/_wdt*'
- '/_profiler*'
ignore_commands:
- 'messenger:consume'
- 'assets:install'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class DoctrineDBALCompilerPass implements CompilerPassInterface
/**
* You can modify the container here before it is dumped to PHP code.
*/
#[\ReturnTypeWillChange]
public function process(ContainerBuilder $container)
{
$config = $container->getParameter('inspector.configuration.definition');
Expand Down
5 changes: 3 additions & 2 deletions src/DependencyInjection/InspectorExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use Symfony\Component\DependencyInjection\Definition;
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
use Symfony\Component\DependencyInjection\Reference;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\Extension\Extension;
use Symfony\Component\Routing\RouterInterface;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
use Symfony\Component\Security\Core\Security;
Expand All @@ -22,13 +22,14 @@ class InspectorExtension extends Extension
/**
* Current version of the bundle.
*/
const VERSION = '1.3.5';
const VERSION = '1.3.6';

/**
* Loads a specific configuration.
*
* @throws \InvalidArgumentException|\Exception When provided tag is not defined in this extension
*/
#[\ReturnTypeWillChange]
public function load(array $configs, ContainerBuilder $container)
{
$configuration = $this->getConfiguration($configs, $container);
Expand Down

0 comments on commit 0af91f4

Please sign in to comment.