Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Commit

Permalink
Fixed standalone package mode init script
Browse files Browse the repository at this point in the history
  • Loading branch information
aprokopenko committed Jan 26, 2018
1 parent 1a1c435 commit 2735268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/phpcsx-init
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if ( false !== strpos($package, '/extensions/phpcodesniffer') ) {
$vendors = substr($package, 0, strpos($package, '/justcoded/phpcodesniffer'));
} else {
// standalone package mode
$vendors = $package;
$vendors = $package . '/vendor';
}

require_once $vendors . '/squizlabs/php_codesniffer/autoload.php';
Expand Down

0 comments on commit 2735268

Please sign in to comment.