Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added empty CodeSniffer.conf to enable config settings for Composer i…

…nstalls. This file is not installed by PEAR.
  • Loading branch information...
commit c55c754c321d7e0fd88cdc639438c383ebcdcebe 1 parent 51325e9
@gsherwood gsherwood authored
Showing with 5 additions and 7 deletions.
  1. +4 −0 CodeSniffer.conf
  2. +0 −6 CodeSniffer.sample.conf
  3. +1 −1  package.xml
View
4 CodeSniffer.conf
@@ -0,0 +1,4 @@
+<?php
+ $phpCodeSnifferConfig = array (
+)
+?>
View
6 CodeSniffer.sample.conf
@@ -1,6 +0,0 @@
-<?php
- $phpCodeSnifferConfig = array (
- 'zend_ca_path' => '/path/to/ZendStudio/bin/ZendCodeAnalyzer',
- 'default_standard' => 'Zend',
-)
-?>
View
2  package.xml
@@ -27,6 +27,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
<license uri="https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt">BSD 3-Clause License</license>
<notes>
- Added support for the PHP 5.5 T_FINALLY token to detect try/catch/finally statements
+ - Added empty CodeSniffer.conf to enable config settings for Composer installs
- Added Generic EndFileNoNewlineSniff to ensure there is no newline at the end of a file
- Squiz NonExecutableCodeSniff no longer throws error for multi-line RETURNs inside CASE statements
-- Thanks to Marc Ypes for the patch
@@ -38,7 +39,6 @@ http://pear.php.net/dtd/package-2.0.xsd">
<tasks:replace from="@package_version@" to="version" type="package-info" />
<tasks:replace from="@data_dir@" to="data_dir" type="pear-config" />
</file>
- <file baseinstalldir="PHP" name="CodeSniffer.sample.conf" role="data" />
<dir name="scripts">
<file baseinstalldir="" name="phpcs" role="script">
<tasks:replace from="/usr/bin/env php" to="php_bin" type="pear-config" />
Please sign in to comment.
Something went wrong with that request. Please try again.