Skip to content

Commit 52cecf3

Browse files
committed
Adding autoload declaration and commit declaration
1 parent 074f24a commit 52cecf3

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

composer.json

+11-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,15 @@
1414
"email": "[email protected]"
1515
}
1616
],
17-
"minimum-stability": "dev"
17+
"minimum-stability": "dev",
18+
"autoload": {
19+
"psr-4": {
20+
"PHPComposter\\PHPComposter_PHPCS_WPCS\\": "src/"
21+
}
22+
},
23+
"extra": {
24+
"php-composter-hooks": {
25+
"10.pre-commit": "PHPComposter\\PHPComposter_PHPCS_WPCS\\Sniffer::preCommit"
26+
}
27+
}
1828
}

0 commit comments

Comments
 (0)