Skip to content

Commit c81738c

Browse files
shyimflavioheleno
authored andcommitted
feat: add editor config
1 parent abe1c9a commit c81738c

File tree

2 files changed

+103
-87
lines changed

2 files changed

+103
-87
lines changed

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
end_of_line = lf
9+
insert_final_newline = true
10+
charset = utf-8
11+
trim_trailing_whitespace = true
12+
13+
# JSON files
14+
[*.json]
15+
indent_style = space
16+
indent_size = 4

composer.json

Lines changed: 87 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1,91 +1,91 @@
11
{
2-
"name": "beluga-php/docker-php",
3-
"description": "A Docker PHP client",
4-
"license": "MIT",
5-
"type": "library",
6-
"funding": [
7-
{
8-
"type": "github",
9-
"url": "https://github.com/flavioheleno"
10-
}
11-
],
12-
"require": {
13-
"php": ">=8.1",
14-
"beluga-php/docker-php-api": "7.1.45.*",
15-
"nyholm/psr7": "^1.8",
16-
"php-http/client-common": "^2.7",
17-
"php-http/discovery": "^1.19",
18-
"php-http/socket-client": "^2.3",
19-
"psr/http-message": "^2.0",
20-
"symfony/filesystem": "^6.3 || ^7.0",
21-
"symfony/process": "^6.3 || ^7.0",
22-
"symfony/serializer": "^6.3 || ^7.0"
23-
},
24-
"require-dev": {
25-
"ergebnis/composer-normalize": "^2.42",
26-
"friendsofphp/php-cs-fixer": "^3.8",
27-
"php-parallel-lint/php-parallel-lint": "^1.2",
28-
"phpstan/phpstan": "^1.10",
29-
"phpunit/phpunit": "^10.5.46",
30-
"psy/psysh": "^0.12.8",
31-
"roave/security-advisories": "dev-latest"
32-
},
33-
"conflict": {
34-
"docker-php/docker-php": "*",
35-
"nikic/php-parser": "<4.13",
36-
"php-http/message": "<1.15"
37-
},
38-
"minimum-stability": "dev",
39-
"prefer-stable": true,
40-
"autoload": {
41-
"psr-4": {
42-
"Docker\\": "src/"
43-
}
44-
},
45-
"autoload-dev": {
46-
"psr-4": {
47-
"Docker\\Tests\\": "tests/"
48-
}
49-
},
50-
"config": {
51-
"allow-plugins": {
52-
"ergebnis/composer-normalize": true,
53-
"php-http/discovery": false
2+
"name": "beluga-php/docker-php",
3+
"description": "A Docker PHP client",
4+
"license": "MIT",
5+
"type": "library",
6+
"funding": [
7+
{
8+
"type": "github",
9+
"url": "https://github.com/flavioheleno"
10+
}
11+
],
12+
"require": {
13+
"php": ">=8.1",
14+
"beluga-php/docker-php-api": "7.1.45.*",
15+
"nyholm/psr7": "^1.8",
16+
"php-http/client-common": "^2.7",
17+
"php-http/discovery": "^1.19",
18+
"php-http/socket-client": "^2.3",
19+
"psr/http-message": "^2.0",
20+
"symfony/filesystem": "^6.3 || ^7.0",
21+
"symfony/process": "^6.3 || ^7.0",
22+
"symfony/serializer": "^6.3 || ^7.0"
23+
},
24+
"require-dev": {
25+
"ergebnis/composer-normalize": "^2.42",
26+
"friendsofphp/php-cs-fixer": "^3.8",
27+
"php-parallel-lint/php-parallel-lint": "^1.2",
28+
"phpstan/phpstan": "^1.10",
29+
"phpunit/phpunit": "^10.5.46",
30+
"psy/psysh": "^0.12.8",
31+
"roave/security-advisories": "dev-latest"
32+
},
33+
"conflict": {
34+
"docker-php/docker-php": "*",
35+
"nikic/php-parser": "<4.13",
36+
"php-http/message": "<1.15"
5437
},
55-
"optimize-autoloader": true,
56-
"preferred-install": "dist",
57-
"sort-packages": true
58-
},
59-
"extra": {
60-
"branch-alias": {
61-
"1.41": "1.41.x-dev",
62-
"1.42": "1.42.x-dev",
63-
"1.43": "1.43.x-dev",
64-
"1.44": "1.44.x-dev",
65-
"1.45": "1.45.x-dev",
66-
"dev-master": "1.46.x-dev"
38+
"minimum-stability": "dev",
39+
"prefer-stable": true,
40+
"autoload": {
41+
"psr-4": {
42+
"Docker\\": "src/"
43+
}
44+
},
45+
"autoload-dev": {
46+
"psr-4": {
47+
"Docker\\Tests\\": "tests/"
48+
}
49+
},
50+
"config": {
51+
"allow-plugins": {
52+
"ergebnis/composer-normalize": true,
53+
"php-http/discovery": false
54+
},
55+
"optimize-autoloader": true,
56+
"preferred-install": "dist",
57+
"sort-packages": true
58+
},
59+
"extra": {
60+
"branch-alias": {
61+
"1.41": "1.41.x-dev",
62+
"1.42": "1.42.x-dev",
63+
"1.43": "1.43.x-dev",
64+
"1.44": "1.44.x-dev",
65+
"1.45": "1.45.x-dev",
66+
"dev-master": "1.46.x-dev"
67+
}
68+
},
69+
"scripts": {
70+
"console": "vendor/bin/psysh",
71+
"lint": "vendor/bin/parallel-lint --exclude vendor .",
72+
"php-cs-fixer": "vendor/bin/php-cs-fixer fix --dry-run --verbose --diff",
73+
"php-cs-fixer-fix": "vendor/bin/php-cs-fixer fix --verbose",
74+
"phpstan": "vendor/bin/phpstan analyse --level 2 src",
75+
"phpunit": "vendor/bin/phpunit ./tests/ --coverage-html=./report/coverage/ --whitelist=./src/ --testdox-html=./report/testdox.html --disallow-test-output --process-isolation",
76+
"test": [
77+
"@lint",
78+
"@phpunit"
79+
],
80+
"test-ci": "vendor/bin/phpunit ./tests/ --disallow-test-output --process-isolation",
81+
"test-coverage": "vendor/bin/phpunit ./tests/ --whitelist=./src/ --coverage-clover=clover.xml"
82+
},
83+
"scripts-descriptions": {
84+
"console": "Runs PsySH Console",
85+
"lint": "Runs complete codebase lint testing",
86+
"phpunit": "Runs library test suite",
87+
"test": "Runs all tests",
88+
"test-ci": "Runs library test suite (for continuous integration)",
89+
"test-coverage": "Runs test-coverage analysis"
6790
}
68-
},
69-
"scripts": {
70-
"console": "vendor/bin/psysh",
71-
"lint": "vendor/bin/parallel-lint --exclude vendor .",
72-
"php-cs-fixer": "vendor/bin/php-cs-fixer fix --dry-run --verbose --diff",
73-
"php-cs-fixer-fix": "vendor/bin/php-cs-fixer fix --verbose",
74-
"phpstan": "vendor/bin/phpstan analyse --level 2 src",
75-
"phpunit": "vendor/bin/phpunit ./tests/ --coverage-html=./report/coverage/ --whitelist=./src/ --testdox-html=./report/testdox.html --disallow-test-output --process-isolation",
76-
"test": [
77-
"@lint",
78-
"@phpunit"
79-
],
80-
"test-ci": "vendor/bin/phpunit ./tests/ --disallow-test-output --process-isolation",
81-
"test-coverage": "vendor/bin/phpunit ./tests/ --whitelist=./src/ --coverage-clover=clover.xml"
82-
},
83-
"scripts-descriptions": {
84-
"console": "Runs PsySH Console",
85-
"lint": "Runs complete codebase lint testing",
86-
"phpunit": "Runs library test suite",
87-
"test": "Runs all tests",
88-
"test-ci": "Runs library test suite (for continuous integration)",
89-
"test-coverage": "Runs test-coverage analysis"
90-
}
9191
}

0 commit comments

Comments
 (0)