Skip to content

Commit

Permalink
Add IDE inspections to master (#7)
Browse files Browse the repository at this point in the history
* Added IDE inspections

* Added the workflow

* Updated gitignore

* Updated include paths

* Minor fixes

* Minor fixes

* Minor fixes

* Minor fixes

* Remove redundant composer auth

* Remove redundant composer auth

* Minor fixes

* Minor fixes

* Minor fixes

* Minor fixes

* Add MSI, Nostotagging and CMP modules to project deps step (#4)

* Update copyright header

* Remove unused HttpResponse from Action observer

* Suppress false-positive unused constructor warning

* Updated Workflow

* Disable XML IDE inspection

* Remove vendor/bin folder prior to run IDE inspections

* Bump min PHP version to 7.1

* Suppress unused constructor false-positive

* Suppress missing entrypoint

* PHPCS: Fix lack of empty line between imports and class declaration

* Updated the inpection scope paths

* Updated the project configuration.

* Added a script to do the di:compile for local usage.

* Updated the project configuration.

* Test commit for trigger CI

* Bumped the process-timeout to allow running inspections

* Added some helper composer commands to run inspections locally

* Added some helper composer commands to run compilation locally

Co-authored-by: Mridang Agarwalla <[email protected]>
Co-authored-by: Hannu Pölönen <[email protected]>
Co-authored-by: Cid Lopes <[email protected]>
  • Loading branch information
4 people authored Nov 17, 2021
1 parent 44f3b89 commit 3f5a11f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
"exclude": ["Jenkinsfile", "Dockerfile", ".DS_STORE", ".idea", ".phan", ".docker", "ruleset.xml", "phan.*", ".gitignore", "build.xml", ".github", "supervisord.conf", "entrypoint.sh", "/magento"]
},
"config": {
"process-timeout":0
"process-timeout":3600
},
"scripts": {
"di:compile": "./compile.sh",
"ci:inspect": "./inspect.sh"
}
}
3 changes: 3 additions & 0 deletions inspect.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

docker run --env IDEA_PROPERTIES=/app/idea.properties --env GITHUB_WORKSPACE=/app --volume=/Users/mridang/Junk/inspect/:/out --volume=$(pwd)/.:/app docker.pkg.github.com/mridang/action-phpstorm/stormy:latest /app /app/.idea/inspectionProfiles/CI.xml /tmp v2 Inspection

0 comments on commit 3f5a11f

Please sign in to comment.