Skip to content

Commit 4ca0384

Browse files
committed
Rewrite to hide dependencies
1 parent f71a5ad commit 4ca0384

32 files changed

+3901
-843
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
coverage
12
vendor
23
composer.lock

composer.json

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,22 @@
66
"composer-plugin-api": "^1.1"
77
},
88
"autoload": {
9-
"files": [
10-
"src/autoload.php",
11-
"src/functions.php",
12-
"src/expanders.php",
13-
"src/bootstrap.php"
14-
],
159
"psr-4": {
16-
"Pre\\Plugin\\": "src"
17-
}
10+
"Pre\\Plugin\\": "source"
11+
},
12+
"files": [
13+
"source/environment.php",
14+
"source/expanders.php",
15+
"source/functions.php",
16+
"source/autoload.php",
17+
"source/macros.php"
18+
]
1819
},
1920
"require-dev": {
2021
"composer/composer": "^1.3",
21-
"phpunit/phpunit": "^5.0|^6.0",
22-
"friendsofphp/php-cs-fixer": "^2.0",
23-
"yay/yay": "^0.2",
24-
"tuupola/base62": "^0.8"
25-
},
26-
"autoload-dev": {
27-
"psr-4": {
28-
"Pre\\Plugin\\": "tests"
29-
}
22+
"phpunit/phpunit": "^5.0|^6.0"
3023
},
3124
"extra": {
32-
"class": ["Pre\\Plugin\\Integration\\Plugin"]
25+
"class": ["Pre\\Plugin\\Composer\\Plugin"]
3326
}
3427
}

0 commit comments

Comments
 (0)