File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed
Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ function wpephpcompat_load_files() {
99 require_once dirname ( __FILE__ ) . '/src/wpephpcompat.php ' ;
1010
1111 if ( version_compare ( phpversion (), '5.3 ' , '< ' ) ) {
12- $ autoload_file = dirname ( __FILE__ ) . '/php52/vendor/autoload .php ' ;
12+ $ autoload_file = dirname ( __FILE__ ) . '/php52/vendor/autoload_52 .php ' ;
1313 } else {
1414 $ autoload_file = dirname ( __FILE__ ) . '/vendor/autoload.php ' ;
1515 }
Original file line number Diff line number Diff line change 11{
22 "require" : {
33 "squizlabs/php_codesniffer" : " 2.9.*" ,
4- "wimg/php-compatibility" : " 7.1.5"
4+ "wimg/php-compatibility" : " 7.1.5" ,
5+ "xrstf/composer-php52" : " 1.*"
56 },
67 "scripts" : {
7- "post-update-cmd" : " vendor/bin/phpcs --config-delete installed_paths; rm -rf vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PHPCompatibility; cp -rp vendor/wimg/php-compatibility vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PHPCompatibility" ,
8- "post-install-cmd" : " vendor/bin/phpcs --config-delete installed_paths; rm -rf vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PHPCompatibility; cp -rp vendor/wimg/php-compatibility vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PHPCompatibility"
8+ "post-update-cmd" : [
9+ " xrstf\\ Composer52\\ Generator::onPostInstallCmd" ,
10+ " vendor/bin/phpcs --config-delete installed_paths; rm -rf vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PHPCompatibility; cp -rp vendor/wimg/php-compatibility vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PHPCompatibility"
11+ ],
12+ "post-install-cmd" : [
13+ " xrstf\\ Composer52\\ Generator::onPostInstallCmd" ,
14+ " vendor/bin/phpcs --config-delete installed_paths; rm -rf vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PHPCompatibility; cp -rp vendor/wimg/php-compatibility vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PHPCompatibility"
15+ ],
16+ "post-autoload-dump" : [
17+ " xrstf\\ Composer52\\ Generator::onPostInstallCmd"
18+ ]
919 }
1020}
You can’t perform that action at this time.
0 commit comments