Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ tools/ export-ignore
.gitattributes export-ignore
.github/ export-ignore
.gitignore export-ignore
.php-cs-fixer.php export-ignore
phpstan.neon export-ignore
5 changes: 4 additions & 1 deletion .github/workflows/tests_24.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: GnuPG 2.4 + phpstan
name: GnuPG 2.4 + SA + CS

on:
push:
Expand Down Expand Up @@ -36,6 +36,9 @@ jobs:
- name: Install dependencies
run: composer install --prefer-dist --no-interaction --no-progress

- name: Execute php-cs-fixer
run: php vendor/bin/php-cs-fixer fix --dry-run --using-cache=no --diff --verbose --allow-unsupported-php-version=yes

- name: Execute phpstan
run: php -dmemory_limit=256M vendor/bin/phpstan analyse -v

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ tests/config.php
tests/debug.log
tests/test-keychain/
tests/.phpunit.result.cache
.php-cs-fixer.cache
13 changes: 13 additions & 0 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

$finder = (new PhpCsFixer\Finder())
->in(__DIR__)
;

return (new PhpCsFixer\Config())
->setRules([
'@PER-CS' => true,
'@PHP8x1Migration' => true,
])
->setFinder($finder)
;
Loading
Loading