Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell committed Jul 2, 2024
1 parent 63b4b46 commit 5e243bc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ cd ~/fixture || exit 1
INSTALLED=$(./vendor/bin/phpcs -i)
EXPECTED=(
AcquiaDrupalStrict
AcquiaDrupalTransitional
AcquiaDrupal
AcquiaPHPStrict
AcquiaPHP
Drupal
DrupalPractice
Expand All @@ -54,12 +55,13 @@ if [[ "$FAILURES" ]]; then
fi

# Place a good test file.
printf "<?php\n\n/**\n * @file\n * Good test file.\n */\n" > good.php
printf "<?php\n\n/**\n * @file\n * Good test file.\n */\n\ndeclare(strict_types=1);\n" > good.php

# Test that the SUT's standards can be run.
EXPECTED=(
AcquiaDrupalStrict
AcquiaDrupalTransitional
AcquiaDrupal
AcquiaPHPStrict
AcquiaPHP
)
for STANDARD in "${EXPECTED[@]}"; do
Expand Down

0 comments on commit 5e243bc

Please sign in to comment.