friendica-github/.woodpecker/.phpmd_check.yml
2025-01-23 14:42:51 +00:00

22 lines
499 B
YAML

# SPDX-FileCopyrightText: 2010 - 2024 the Friendica project
#
# SPDX-License-Identifier: CC0-1.0
# The phpmd check is just triggered for PRs and pushes to non-stable branches of Friendica
when:
branch:
exclude: [ stable ]
event: [ pull_request, push ]
steps:
composer_install:
image: composer
commands:
- mkdir addon
- export COMPOSER_HOME=.composer
- ./bin/composer.phar install
phpmd:
image: php:8.3
commands:
- ./bin/composer.phar run phpmd