FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
sumup-php/justfile at main · sumup/sumup-php · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
sumup
/
sumup-php
Public
Notifications
You must be signed in to change notification settings
Fork
2
Star
8
Code
Issues
0
Pull requests
1
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
sumup-php
/
justfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
52 lines (40 loc) · 1.29 KB
Breadcrumbs
sumup-php
/
justfile
Copy path
File metadata and controls
52 lines (40 loc) · 1.29 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
set
shell
:=
[
"
bash"
,
"
-eu"
,
"
-o"
,
"
pipefail"
,
"
-c"
]
# List available recipes. This is the default target.
default
:
help
# Display all documented targets.
help
:
@
just --list
# Backward-compatible alias for installing project dependencies.
vendor
:
install
# Install all project dependencies.
install
:
composer install
# Update the Composer lockfile.
lock
:
composer update --with-all-dependencies
# Format code using php-cs-fixer.
fmt
:
install
vendor
/
bin
/
php-cs-fixer fix -v --using-cache=no
# Check code formatting.
fmtcheck
:
install
vendor
/
bin
/
php-cs-fixer fix -v --using-cache=no --dry-run
# Generate API reference using phpDocumentor.
docs
:
install
docker run --rm -v
"
$PWD:/data"
"
phpdoc/phpdoc:3"
# Run PHPUnit test suite.
test
:
install
composer test
# Run static analysis using PHPStan.
analyse
:
install
PHPSTAN_DISABLE_PARALLEL=
1
vendor
/
bin
/
phpstan analyse --configuration=phpstan.neon --no-progress --memory-limit=
1
G --debug
# Generate SDK from the local OpenAPI specs.
generate
:
go -C codegen run . generate \
..
/
openapi.json \
..
/
src
# Generate a versioned JSON catalog of PHP code samples.
generate-codesamples
output
=
"
code-samples.json"
:
go -C codegen run . samples \
-
-sdk-version-file ..
/
composer.json \
-
-out
"
{{
absolute_path
(output)
}}
"
\
..
/
openapi.json
Back
|
FazBrowse Home
|
New Git URL