From d13adb80ee5fd8c566c4d8433f0a52b0f841bdda Mon Sep 17 00:00:00 2001 From: xaviermarchegay Date: Mon, 22 Jun 2026 10:15:39 +0200 Subject: [PATCH] #25 - dependabot.yml + fix quality xaviermarchegay 8 minutes ago --- .github/dependabot.yml | 8 ++++++++ .php-cs-fixer.dist.php | 3 +++ src/CleverAgeFlysystemProcessBundle.php | 1 + src/Task/FileFetchTask.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 8f510e3..de5d52a 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/CleverAgeFlysystemProcessBundle.php b/src/CleverAgeFlysystemProcessBundle.php index 0b3a69a..12e4933 100644 --- a/src/CleverAgeFlysystemProcessBundle.php +++ b/src/CleverAgeFlysystemProcessBundle.php @@ -17,6 +17,7 @@ class CleverAgeFlysystemProcessBundle extends Bundle { + #[\Override] public function getPath(): string { return \dirname(__DIR__); diff --git a/src/Task/FileFetchTask.php b/src/Task/FileFetchTask.php index 0a57844..d79f55e 100644 --- a/src/Task/FileFetchTask.php +++ b/src/Task/FileFetchTask.php @@ -46,6 +46,7 @@ public function __construct(protected readonly ServiceLocator $storages) /** * @throws \InvalidArgumentException */ + #[\Override] public function initialize(ProcessState $state): void { // Configure options