Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
125 lines (125 loc) · 4.68 KB
/
Copy pathcomposer.json
File metadata and controls
125 lines (125 loc) · 4.68 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "php-forge/diff",
"type": "library",
"description": "Git-compatible line diff for PHP: a port of Git's xdiff Myers pipeline with the indent heuristic and a unified diff renderer.",
"homepage": "https://github.com/php-forge/diff",
"keywords": [
"diff",
"git",
"line-diff",
"myers",
"php-forge",
"unified-diff",
"xdiff"
],
"license": "BSD-3-Clause",
"support": {
"issues": "https://github.com/php-forge/diff/issues",
"source": "https://github.com/php-forge/diff"
},
"authors": [
{
"name": "Wilmer Arambula",
"email": "terabytesoftw@gmail.com",
"homepage": "https://github.com/terabytesoftw",
"role": "Developer"
}
],
"minimum-stability": "stable",
"prefer-stable": true,
"require": {
"php": ">=8.3"
},
"require-dev": {
"infection/infection": "^0.35",
"maglnet/composer-require-checker": "^4.1",
"php-forge/coding-standard": "^0.3",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.2",
"phpstan/phpstan-strict-rules": "^2.0.3",
"testo/bridge-infection": "^0.1.9",
"testo/testo": "^0.10.56"
},
"autoload": {
"psr-4": {
"PHPForge\\Diff\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"PHPForge\\Diff\\Tests\\": "tests"
}
},
"extra": {
"skills": {
"source": "skills"
},
"branch-alias": {
"dev-main": "0.2.x-dev"
}
},
"config": {
"sort-packages": true,
"allow-plugins": {
"infection/extension-installer": true,
"phpstan/extension-installer": true
}
},
"scripts": {
"actionlint": "actionlint",
"bench": "testo --type=bench",
"check-dependencies": "composer-require-checker check",
"codespell": "codespell --config .github/linters/.codespellrc",
"ecs": "ecs check --fix",
"ecs-check": "ecs check --ansi",
"editorconfig-checker": "editorconfig-checker -config .github/linters/.editorconfig-checker.json",
"gitleaks": "gitleaks git --config .github/linters/.gitleaks.toml --redact",
"markdownlint": "markdownlint-cli2 --config .github/linters/.markdown-lint.yml '**/*.md'",
"mutation": [
"Composer\\Config::disableProcessTimeout",
"@php -d memory_limit=-1 vendor/bin/infection"
],
"mutation-static": "@mutation --static-analysis-tool=phpstan",
"prettier": "prettier --check --config .prettierrc.json --ignore-path .prettierignore '**/*.md' '**/*.{yml,yaml}'",
"quality": [
"@actionlint",
"@codespell",
"@editorconfig-checker",
"@markdownlint",
"@prettier",
"@yamllint"
],
"rector": "rector process",
"rector-check": "rector process --dry-run",
"security": [
"@zizmor",
"@gitleaks"
],
"static": "phpstan --memory-limit=-1",
"tests": "testo --type=!bench",
"yamllint": "yamllint -c .github/linters/.yamllint.yml .github",
"zizmor": "zizmor --persona=pedantic .github"
},
"scripts-descriptions": {
"actionlint": "Lints GitHub Actions workflows with actionlint.",
"bench": "Runs the Testo benchmarks.",
"check-dependencies": "Verifies that used symbols are declared as Composer dependencies.",
"codespell": "Checks spelling with codespell.",
"ecs": "Applies coding standard fixes with ECS.",
"ecs-check": "Checks coding standards with ECS without modifying files.",
"editorconfig-checker": "Checks files against the EditorConfig rules.",
"gitleaks": "Scans Git history for secrets with Gitleaks.",
"markdownlint": "Lints Markdown files with markdownlint-cli2.",
"mutation": "Runs mutation testing with Infection.",
"mutation-static": "Runs mutation testing with Infection and PHPStan static analysis.",
"prettier": "Checks Markdown and YAML formatting with Prettier.",
"quality": "Runs all repository quality checks.",
"rector": "Applies automated refactoring with Rector.",
"rector-check": "Previews Rector refactoring without modifying files.",
"security": "Runs the workflow security and secret scanning checks.",
"static": "Runs static analysis with PHPStan.",
"tests": "Runs the Testo test suites without the benchmarks.",
"yamllint": "Lints YAML files with yamllint.",
"zizmor": "Audits GitHub Actions workflows with zizmor."
}
}