Skip to content

Commit e2537fb

Browse files
author
Pierre PLAZANET
authored
ci: remove Symfony CLI security check (#194)
* refactor: fix cs issues * ci: remove Symfony CLI security check
1 parent 02e600d commit e2537fb

5 files changed

Lines changed: 2 additions & 8 deletions

File tree

.circleci/config.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@ jobs:
2424
steps:
2525
- checkout
2626
- run: |
27-
echo 'deb [trusted=yes] https://repo.symfony.com/apt/ /' | tee /etc/apt/sources.list.d/symfony-cli.list
2827
apt-get update
29-
apt-get -y install git zip jq symfony-cli
28+
apt-get -y install git zip jq
3029
- run: |
3130
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
3231
php composer-setup.php
@@ -43,7 +42,6 @@ jobs:
4342
mv composer.new.json composer.json
4443
cat composer.json
4544
- run: composer update << parameters.composer-options >> --ignore-platform-req=ext-intl
46-
- run: symfony security:check
4745
- run: vendor/bin/phpstan analyse --no-progress --memory-limit=-1
4846
- run: vendor/bin/phpspec run -v --config=phpspec.no-coverage.yml
4947
- run: bin/lint-twig src/

src/Knp/DictionaryBundle/Dictionary/Simple.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
use Generator;
88
use Knp\DictionaryBundle\Dictionary;
9-
use ReturnTypeWillChange;
109

1110
/**
1211
* @template E

src/Knp/DictionaryBundle/Dictionary/Traceable.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
use Knp\DictionaryBundle\DataCollector\DictionaryDataCollector;
88
use Knp\DictionaryBundle\Dictionary;
9-
use ReturnTypeWillChange;
109

1110
/**
1211
* @template E of mixed

src/Knp/DictionaryBundle/Dictionary/Wrapper.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
namespace Knp\DictionaryBundle\Dictionary;
66

77
use Knp\DictionaryBundle\Dictionary;
8-
use ReturnTypeWillChange;
98

109
/**
1110
* @template E

src/Knp/DictionaryBundle/Validator/Constraints/DictionaryValidator.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ private function varToString(mixed $var): string
3333
if (\is_float($var)) {
3434
return 0.0 === $var
3535
? '0.0'
36-
: (string) $var
37-
;
36+
: (string) $var;
3837
}
3938

4039
if (\is_object($var) && method_exists($var, '__toString')) {

0 commit comments

Comments
 (0)