Skip to content

Commit

Permalink
Ignore false positive PHPStan error
Browse files Browse the repository at this point in the history
  • Loading branch information
xificurk committed Aug 3, 2024
1 parent 7fb0086 commit e013113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bridges/BustCacheDI/BustCacheExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function loadConfiguration(): void

$container->addDefinition($this->prefix('cacheBustingStrategy'))
->setType(CacheBustingStrategy::class)
->setFactory(self::CACHE_BUSTING_STRATEGIES[$this->config->strategy]);
->setFactory(self::CACHE_BUSTING_STRATEGIES[$this->config->strategy]); // @phpstan-ignore shipmonk.unsafeArrayKey pre-validated string config value

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.3

Array key must be integer or string, but mixed given.

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.3

Parse error in @phpstan-ignore: Unexpected identifier after identifier, expected comma (,) or end or T_OPEN_PARENTHESIS

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.2 --prefer-stable --prefer-lowest

Array key must be integer or string, but mixed given.

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.2 --prefer-stable --prefer-lowest

Parse error in @phpstan-ignore: Unexpected identifier after identifier, expected comma (,) or end or T_OPEN_PARENTHESIS

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.2 --prefer-stable

Array key must be integer or string, but mixed given.

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.2 --prefer-stable

Parse error in @phpstan-ignore: Unexpected identifier after identifier, expected comma (,) or end or T_OPEN_PARENTHESIS

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.2 --prefer-stable --prefer-lowest

Array key must be integer or string, but mixed given.

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.2 --prefer-stable --prefer-lowest

Parse error in @phpstan-ignore: Unexpected identifier after identifier, expected comma (,) or end or T_OPEN_PARENTHESIS

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.2 --prefer-stable

Array key must be integer or string, but mixed given.

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.2 --prefer-stable

Parse error in @phpstan-ignore: Unexpected identifier after identifier, expected comma (,) or end or T_OPEN_PARENTHESIS

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.3

Array key must be integer or string, but mixed given.

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.3

Parse error in @phpstan-ignore: Unexpected identifier after identifier, expected comma (,) or end or T_OPEN_PARENTHESIS

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.3 --prefer-stable

Array key must be integer or string, but mixed given.

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.3 --prefer-stable

Parse error in @phpstan-ignore: Unexpected identifier after identifier, expected comma (,) or end or T_OPEN_PARENTHESIS

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.2

Array key must be integer or string, but mixed given.

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.2

Parse error in @phpstan-ignore: Unexpected identifier after identifier, expected comma (,) or end or T_OPEN_PARENTHESIS

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.3 --prefer-stable --prefer-lowest

Array key must be integer or string, but mixed given.

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.3 --prefer-stable --prefer-lowest

Parse error in @phpstan-ignore: Unexpected identifier after identifier, expected comma (,) or end or T_OPEN_PARENTHESIS

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.1

Array key must be integer or string, but mixed given.

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.1

Parse error in @phpstan-ignore: Unexpected identifier after identifier, expected comma (,) or end or T_OPEN_PARENTHESIS

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.1 --prefer-stable --prefer-lowest

Array key must be integer or string, but mixed given.

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.1 --prefer-stable --prefer-lowest

Parse error in @phpstan-ignore: Unexpected identifier after identifier, expected comma (,) or end or T_OPEN_PARENTHESIS

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.3 --prefer-stable --prefer-lowest

Array key must be integer or string, but mixed given.

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.3 --prefer-stable --prefer-lowest

Parse error in @phpstan-ignore: Unexpected identifier after identifier, expected comma (,) or end or T_OPEN_PARENTHESIS

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.1 --prefer-stable --prefer-lowest

Array key must be integer or string, but mixed given.

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.1 --prefer-stable --prefer-lowest

Parse error in @phpstan-ignore: Unexpected identifier after identifier, expected comma (,) or end or T_OPEN_PARENTHESIS

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.1

Array key must be integer or string, but mixed given.

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.1

Parse error in @phpstan-ignore: Unexpected identifier after identifier, expected comma (,) or end or T_OPEN_PARENTHESIS

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.1 --prefer-stable

Array key must be integer or string, but mixed given.

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.1 --prefer-stable

Parse error in @phpstan-ignore: Unexpected identifier after identifier, expected comma (,) or end or T_OPEN_PARENTHESIS

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.3 --prefer-stable

Array key must be integer or string, but mixed given.

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.3 --prefer-stable

Parse error in @phpstan-ignore: Unexpected identifier after identifier, expected comma (,) or end or T_OPEN_PARENTHESIS

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.2

Array key must be integer or string, but mixed given.

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.2

Parse error in @phpstan-ignore: Unexpected identifier after identifier, expected comma (,) or end or T_OPEN_PARENTHESIS

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.1 --prefer-stable

Array key must be integer or string, but mixed given.

Check failure on line 84 in src/Bridges/BustCacheDI/BustCacheExtension.php

View workflow job for this annotation

GitHub Actions / PHP 8.1 --prefer-stable

Parse error in @phpstan-ignore: Unexpected identifier after identifier, expected comma (,) or end or T_OPEN_PARENTHESIS

$container->addDefinition($this->prefix('cache'))
->setType(Cache::class)
Expand Down

0 comments on commit e013113

Please sign in to comment.