Skip to content

Commit 4b17ed5

Browse files
authored
Merge pull request #3 from preprocess/feature/update-plugin
Update plugin
2 parents 0c82021 + 71e7032 commit 4b17ed5

38 files changed

+2431
-2398
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.pre linguist-language=PHP

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
/vendor
2+
/coverage

composer.json

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,31 @@
11
{
22
"name": "pre/phpx",
33
"type": "pre-compiler",
4+
"license": "MIT",
45
"require": {
5-
"pre/plugin": "^0.7.7"
6+
"pre/plugin": "^0.11.0",
7+
"nikic/php-parser": "^4.0",
8+
"gajus/dindent": "^2.0"
9+
},
10+
"require-dev": {
11+
"phpunit/phpunit": "^5.0|^6.0"
612
},
713
"autoload": {
814
"files": [
9-
"src/parser.php",
10-
"src/renderers.php"
15+
"source/functions.php"
16+
],
17+
"psr-4": {
18+
"Pre\\Phpx\\": "source"
19+
}
20+
},
21+
"autoload-dev": {
22+
"files": [
23+
"tests/TestCase.php"
1124
]
1225
},
1326
"extra": {
1427
"compilers": [
15-
"Pre\\Phpx\\compile"
28+
"\\Pre\\Phpx\\compile"
1629
]
1730
}
1831
}

0 commit comments

Comments
 (0)