Skip to content

Commit afe8cb7

Browse files
committed
Fix CI
1 parent 373fdeb commit afe8cb7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/php.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ jobs:
3232
- name: Install dependencies
3333
run: composer install --prefer-dist --no-progress
3434

35-
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
36-
# Docs: https://getcomposer.org/doc/articles/scripts.md
35+
- name: Install php-cs-fixer
36+
run: composer install --working-dir=tools/php-cs-fixer
37+
3738
- name: Check coding standards
3839
run: composer run-script lint:fix
3940

.php_cs.dist.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
PhpCsFixerCustomFixers\Fixer\DeclareAfterOpeningTagFixer::name() => true,
3030
PhpCsFixerCustomFixers\Fixer\NoDoctrineMigrationsGeneratedCommentFixer::name() => true,
3131
PhpCsFixerCustomFixers\Fixer\NoImportFromGlobalNamespaceFixer::name() => true,
32-
PhpCsFixerCustomFixers\Fixer\PromotedConstructorPropertyFixer::name() => true,
32+
//PhpCsFixerCustomFixers\Fixer\PromotedConstructorPropertyFixer::name() => true,
3333
PhpCsFixerCustomFixers\Fixer\ConstructorEmptyBracesFixer::name() => true,
3434
PhpCsFixerCustomFixers\Fixer\MultilinePromotedPropertiesFixer::name() => true,
3535
PhpCsFixerCustomFixers\Fixer\NoUselessDoctrineRepositoryCommentFixer::name() => true,

0 commit comments

Comments
 (0)