Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@
/.release-please-manifest.json export-ignore
/skills-lock.json export-ignore
/.trunkignore export-ignore
/tests/ export-ignore
/phpunit.xml.dist export-ignore
/infection.json5 export-ignore
/.gitignore export-ignore
/.gitattributes export-ignore
6 changes: 4 additions & 2 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,11 @@ jobs:
composer update --with-dependencies
bin/magento setup:upgrade

# phpstan.neon is export-ignored, so the copied path repository omits
# it; place it next to the analysed source for the phpstan job.
# phpstan.neon and tests/ are export-ignored, so the copied path
# repository omits them; place them next to the analysed source so the
# phpstan job can analyse both `src` and `tests` (per phpstan.neon).
cp ../mageforge/phpstan.neon vendor/openforgeproject/mageforge/phpstan.neon
cp -r ../mageforge/tests vendor/openforgeproject/mageforge/tests

- name: Pack Magento install
run: |
Expand Down
Loading