mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-22 20:36:12 +01:00

[TASK] Move PHP code sniffing to GitHub actions (#30)

Resolves: #13
This commit is contained in:
Andreas Wolf 2019-12-07 16:37:17 +01:00 committed by Oliver Klee
parent 42cd42cb00
commit f5cd65ec94
3 changed files with 17 additions and 6 deletions

View file

@ -23,3 +23,18 @@ jobs:
- name: Run PHP lint - name: Run PHP lint
run: composer ci:php:lint run: composer ci:php:lint
php-code-sniffer:
name: PHP Code Sniffer
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install Composer dependencies
run: composer install --no-progress
- name: Run PHP Code Sniffer
run: composer ci:php:sniff

View file

@ -47,11 +47,6 @@ script:
echo "Running the functional tests"; echo "Running the functional tests";
composer ci:tests:functional; composer ci:tests:functional;
- >
echo;
echo "Running PHP_CodeSniffer";
composer ci:php:sniff;
jobs: jobs:
include: include:
- stage: test - stage: test

View file

@ -16,7 +16,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).
- Composer script for PHP linting - Composer script for PHP linting
### Changed ### Changed
- Moved PHP linting to GitHub actions (#12) - Move PHP code sniffing to GitHub actions (#13)
- Move PHP linting to GitHub actions (#12)
- Use `.typoscript` as file extension for TS files (#19) - Use `.typoscript` as file extension for TS files (#19)
- Convert the PHP namespaces to "TTN" (#8) - Convert the PHP namespaces to "TTN" (#8)
- Update the contact email in the CoC document (#6) - Update the contact email in the CoC document (#6)