Permalink
Browse files

Main phpcs script now has a default path (will be needed for composer…

… support) and the PEAR replace list has been updated to reflect this. Licence also corrected to BSD 3-clause although I think PEAR will not support this in the web interface.
  • Loading branch information...
1 parent 1a765f3 commit e0beeefdf90c4b8c693af8bc7000e15cf0c24ca6 @gsherwood gsherwood committed Nov 6, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 package.xml
  2. +1 −1 scripts/phpcs
View
4 package.xml
@@ -24,7 +24,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
<release>stable</release>
<api>stable</api>
</stability>
- <license uri="http://matrix.squiz.net/developer/tools/php_cs/licence">BSD License</license>
+ <license uri="https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt">BSD 3-Clause License</license>
<notes>
- Squiz BlockCommentSniff and InlineCommentSniff no longer report errors for trait block comments
- Squiz SelfMemberReferenceSniff now supports namespaces
@@ -39,7 +39,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
<file baseinstalldir="PHP" name="CodeSniffer.sample.conf" role="data" />
<dir name="scripts">
<file baseinstalldir="" name="phpcs" role="script">
- <tasks:replace from="@php_bin@" to="php_bin" type="pear-config" />
+ <tasks:replace from="/usr/bin/env php" to="php_bin" type="pear-config" />
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="" name="phpcs-svn-pre-commit" role="script">
View
2 scripts/phpcs
@@ -1,4 +1,4 @@
-#!@php_bin@
+#!/usr/bin/env php
<?php
/**
* PHP_CodeSniffer tokenises PHP code and detects violations of a

0 comments on commit e0beeef

Please sign in to comment.