Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
meteor-ec authored Dec 23, 2024
2 parents 037ac10 + e35b43c commit 740defc
Show file tree
Hide file tree
Showing 5 changed files with 398 additions and 744 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Psalm PHP Code Security Scan
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
jobs:
analyze:
runs-on: [ubuntu-latest]
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Psalm
uses: docker://ghcr.io/psalm/psalm-github-actions
with:
security_analysis: true
report_file: results.sarif
- name: Upload Security Analysis results to GitHub
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
.phpunit.result.cache
.travis.yml
bin/
composer.json
composer.lock
phpunit.xml.dist
tests/
Expand Down
9 changes: 9 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"require": {
"wp-cli/wp-cli-bundle": "^2.9"
},
"require-dev": {
"phpunit/phpunit": "^8",
"yoast/phpunit-polyfills": "^2.0"
}
}
2 changes: 1 addition & 1 deletion ecwid-shopping-cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -3074,4 +3074,4 @@ function ecwid_get_shortcode_regex() {
// phpcs:enable
}

?>
?>
Loading

0 comments on commit 740defc

Please sign in to comment.