Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coding standards v3 #70

Merged
merged 18 commits into from
Jul 10, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix tests
  • Loading branch information
danepowell committed Jul 2, 2024
commit 5e243bc83fe11f168c7f347cecdb7bc53ddc9cb5
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
Loading