Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9c5d7a1

Browse files
committed
Setup Composer lint job
1 parent 2d14883 commit 9c5d7a1

2 files changed

Lines changed: 31 additions & 4 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: "Composer Lint"
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- "*.x"
7+
paths:
8+
- ".github/workflows/composer-lint.yml"
9+
- "composer.json"
10+
push:
11+
branches:
12+
- "*.x"
13+
paths:
14+
- ".github/workflows/composer-lint.yml"
15+
- "composer.json"
16+
17+
jobs:
18+
composer-lint:
19+
name: "Composer Lint"
20+
uses: "doctrine/.github/.github/workflows/[email protected]"

composer.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
{
22
"name": "doctrine/rst-parser",
33
"description": "PHP library to parse reStructuredText documents and generate HTML or LaTeX documents.",
4-
"keywords": ["rst", "markup", "parser", "restructuredtext", "html", "latex"],
5-
"homepage": "https://github.com/doctrine/rst-parser",
64
"license": "MIT",
5+
"keywords": [
6+
"rst",
7+
"markup",
8+
"parser",
9+
"restructuredtext",
10+
"html",
11+
"latex"
12+
],
713
"authors": [
814
{
915
"name": "Grégoire Passault",
@@ -16,6 +22,7 @@
1622
"homepage": "https://jwage.com"
1723
}
1824
],
25+
"homepage": "https://github.com/doctrine/rst-parser",
1926
"require": {
2027
"php": "^7.2 || ^8.0",
2128
"doctrine/event-manager": "^1.0",
@@ -48,9 +55,9 @@
4855
}
4956
},
5057
"config": {
51-
"sort-packages": true,
5258
"allow-plugins": {
5359
"dealerdirect/phpcodesniffer-composer-installer": true
54-
}
60+
},
61+
"sort-packages": true
5562
}
5663
}

0 commit comments

Comments
 (0)