Skip to content

Commit

Permalink
Add dependabot. Change php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-mykhailenko committed Mar 7, 2024
1 parent 85e598f commit 2f6f7aa
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: composer
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 3
5 changes: 0 additions & 5 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ jobs:
php-version: ${{ matrix.php-versions }}
tools: none

#- name: Install composer dependencies
# uses: ramsey/composer-install@v2
# with:
# dependency-versions: ${{ matrix.dependency-versions }}

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest

Expand Down
3 changes: 2 additions & 1 deletion .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
->setRiskyAllowed(true)
->setRules([
'@PSR2' => true,
'@Symfony' => true,
'@PSR12' => true,
'@Symfony' => false,
'strict_param' => true,
'array_syntax' => ['syntax' => 'short'],
'declare_strict_types' => true,
Expand Down

0 comments on commit 2f6f7aa

Please sign in to comment.