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
6 changes: 6 additions & 0 deletions .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ jobs:
cd galette-core/galette/plugins/plugin-fullcard
../../vendor/bin/phpcs lib/ ./*.php

- name: CS Fixer
if: matrix.php-versions == '8.1'
run: |
cd galette-core/galette/plugins/plugin-fullcard
../../vendor/bin/php-cs-fixer check --show-progress=dots --verbose --diff

- name: Check missing symbols
run: |
cd galette-core/galette/plugins/plugin-fullcard
Expand Down
22 changes: 22 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

$finder = (new PhpCsFixer\Finder())
->in([
__DIR__ . '/lib',
])
;

return (new PhpCsFixer\Config())
->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect())
->setCacheFile(sys_get_temp_dir() . '/php-cs-fixer.plugin-galette-fullcard.cache')
->setRules([
'@PSR12' => true,
'@PER-CS' => true,
'@PHP82Migration' => true,
'trailing_comma_in_multiline' => false,
'cast_spaces' => false,
'single_line_empty_body' => false,
'no_unused_imports' => true
])
->setFinder($finder)
;
3 changes: 1 addition & 2 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@ build:
override:
- composer self-update
- git clone --depth=1 https://github.com/galette/galette -b develop galette && pushd galette
- ./bin/install_deps && popd

nodes:

analysis:
environment:
php:
version: 8.1
version: 8.2

project_setup:
override:
Expand Down
2 changes: 1 addition & 1 deletion _define.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
'Full member card as PDF', //Short description
'Johan Cwiklinski', //Author
'2.1.0', //Version
'1.1.0', //Galette compatible version
'1.2.0', //Galette compatible version
'fullcard', //routing name
'2024-06-08', //Release date
[] //Permissions needed
Expand Down