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/.github/workflows/test.yml b/.github/workflows/test.yml index 0e07db0..db4dcbd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,8 +41,8 @@ jobs: - php-version: '8.2' dependencies: highest allowed-to-fail: false - symfony-require: 7.3.* - variant: symfony/symfony:"7.3.*" + symfony-require: 7.4.* + variant: symfony/symfony:"7.4.*" - php-version: '8.3' dependencies: highest allowed-to-fail: false @@ -51,8 +51,8 @@ jobs: - php-version: '8.3' dependencies: highest allowed-to-fail: false - symfony-require: 7.3.* - variant: symfony/symfony:"7.3.*" + symfony-require: 7.4.* + variant: symfony/symfony:"7.4.*" - php-version: '8.4' dependencies: highest allowed-to-fail: false @@ -61,8 +61,8 @@ jobs: - php-version: '8.4' dependencies: highest allowed-to-fail: false - symfony-require: 7.3.* - variant: symfony/symfony:"7.3.*" + symfony-require: 7.4.* + variant: symfony/symfony:"7.4.*" steps: - name: Checkout diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 273e26d..2daa680 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -1,5 +1,7 @@ true, 'get_class_to_class_keyword' => true, 'phpdoc_to_comment' => ['ignored_tags' => ['var']], // Fix issue on initializeStatement method $params variable + 'declare_strict_types' => true, ]) ->setRiskyAllowed(true) ->setFinder( diff --git a/src/CleverAgeDoctrineProcessBundle.php b/src/CleverAgeDoctrineProcessBundle.php index d013ee1..cd94c7a 100644 --- a/src/CleverAgeDoctrineProcessBundle.php +++ b/src/CleverAgeDoctrineProcessBundle.php @@ -17,6 +17,7 @@ class CleverAgeDoctrineProcessBundle extends Bundle { + #[\Override] public function getPath(): string { return \dirname(__DIR__); diff --git a/src/Task/EntityManager/AbstractDoctrineQueryTask.php b/src/Task/EntityManager/AbstractDoctrineQueryTask.php index ef26c21..06bd713 100644 --- a/src/Task/EntityManager/AbstractDoctrineQueryTask.php +++ b/src/Task/EntityManager/AbstractDoctrineQueryTask.php @@ -32,6 +32,7 @@ */ abstract class AbstractDoctrineQueryTask extends AbstractDoctrineTask { + #[\Override] protected function configureOptions(OptionsResolver $resolver): void { parent::configureOptions($resolver); diff --git a/src/Task/EntityManager/DoctrineBatchWriterTask.php b/src/Task/EntityManager/DoctrineBatchWriterTask.php index f26bdf5..4440733 100644 --- a/src/Task/EntityManager/DoctrineBatchWriterTask.php +++ b/src/Task/EntityManager/DoctrineBatchWriterTask.php @@ -45,6 +45,7 @@ public function execute(ProcessState $state): void } } + #[\Override] protected function configureOptions(OptionsResolver $resolver): void { parent::configureOptions($resolver);