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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
php-version: ['8.2', '8.3', '8.4']
include:
- php-version: 8.2
phing_tasks: "phpunitfast phpcs-console php-cs-fixer-dryrun phpstan-console rector-console"
phing_tasks: "qa-console"
- php-version: 8.3
phing_tasks: "phpunitfast"
- php-version: 8.4
Expand Down
16 changes: 16 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,22 @@
<phingcall target="rector-console"/>
</target>

<!-- Quality Assurance PHP Tasks -->
<target name="qa-console" description="quality assurance php tasks">
<phingcall target="phpunitfast"/>
<phingcall target="phpcs-console"/>
<phingcall target="php-cs-fixer-dryrun"/>
<phingcall target="phpstan-console"/>
<phingcall target="rector-console"/>
</target>

<!-- Fix PHP Tasks -->
<target name="fix-php" description="quality assurance php tasks">
<phingcall target="rector"/>
<phingcall target="php-cs-fixer"/>
<phingcall target="phpcbf"/>
</target>

<!-- Report rule violations with PHPMD (mess detector) -->
<target name="phpmd">
<exec executable="${srcdir}/vendor/bin/phpmd">
Expand Down