From 8442a68754dc6ed5c85b9173d578a889a3d7671c Mon Sep 17 00:00:00 2001 From: xaviermarchegay Date: Mon, 22 Jun 2026 10:42:05 +0200 Subject: [PATCH] #13 - dependabot.yml + fix quality --- .github/dependabot.yml | 8 ++++++++ .php-cs-fixer.dist.php | 3 +++ src/CleverAgeCacheProcessBundle.php | 1 + src/Task/SetTask.php | 1 + 4 files changed, 13 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..f5fcaf5 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,8 @@ +# This keeps updated the GitHub actions used in .github/workflows/*.yaml +# See https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" \ No newline at end of file diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 67620aa..94f3224 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -1,5 +1,7 @@ ['header' => $fileHeaderComment], 'modernize_strpos' => true, 'get_class_to_class_keyword' => true, + 'declare_strict_types' => true, ]) ->setRiskyAllowed(true) ->setFinder( diff --git a/src/CleverAgeCacheProcessBundle.php b/src/CleverAgeCacheProcessBundle.php index 30b1c9b..a35c607 100644 --- a/src/CleverAgeCacheProcessBundle.php +++ b/src/CleverAgeCacheProcessBundle.php @@ -33,6 +33,7 @@ public function build(ContainerBuilder $container): void ); } + #[\Override] public function getPath(): string { return \dirname(__DIR__); diff --git a/src/Task/SetTask.php b/src/Task/SetTask.php index 797bf5a..12e5501 100644 --- a/src/Task/SetTask.php +++ b/src/Task/SetTask.php @@ -46,6 +46,7 @@ public function execute(ProcessState $state): void * @throws UndefinedOptionsException * @throws AccessException */ + #[\Override] protected function configureOptions(OptionsResolver $resolver): void { parent::configureOptions($resolver);