FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
coding-sdk-php/.git-pre-commit at main · coding/coding-sdk-php · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
coding
/
coding-sdk-php
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Issues
10
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
coding-sdk-php
/
.git-pre-commit
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
9 lines (8 loc) · 325 Bytes
Breadcrumbs
coding-sdk-php
/
.git-pre-commit
Copy path
File metadata and controls
executable file
·
9 lines (8 loc) · 325 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
#!
/bin/sh
set
-e
FILES=
$(
git diff --diff-filter=d --name-only HEAD
|
{ grep
'
.php$
'
||
true
;
}
)
for
file
in
$FILES
;
do
./vendor/bin/phpcs --extensions=php --standard=PSR12
"
$file
"
./vendor/bin/phpmd
"
$file
"
text phpmd.xml
done
XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-text --coverage-filter=src/ tests/Unit/
Back
|
FazBrowse Home
|
New Git URL