Skip to content

Commit

Permalink
Switch VALIDATE_ALL_CODEBASE Code Scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
aljawaid committed May 12, 2023
1 parent 02e4199 commit 2092846
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
# https://github.com/marketplace/actions/super-linter#environment-variables
env:
# Change to 'true' to scan all files, 'false' for new or edited files
VALIDATE_ALL_CODEBASE: true
VALIDATE_ALL_CODEBASE: false
# Change to 'master' if your main branch differs
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 1 addition & 2 deletions Template/plugin/show.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
// phpcs:disable PSR1.Files.SideEffects.FoundWithSymbols
<?php // phpcs:disable PSR1.Files.SideEffects.FoundWithSymbols
function sortPlugins(&$arr)
{
uasort($arr, fn($a, $b) => strtolower($a->getPluginName()) <=> strtolower($b->getPluginName()));
Expand Down

0 comments on commit 2092846

Please sign in to comment.