FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=17351&edit=1

ID: 17351
Updated by: gsherwood@squiz.net
Reported By: azazel dot private at gmail dot com
Summary: Spacing error in define
-Status: Open
+Status: Duplicate
Type: Bug
Package: PHP_CodeSniffer
Operating System: Linux
Package Version: 1.2.2
PHP Version: 5.2.9
-Assigned To:
+Assigned To: squiz
Roadmap Versions:
New Comment:

-Status: Open
+Status: Duplicate
-Assigned To:
+Assigned To: squiz
Duplicate of bug #17054

Fixed in SVN and will be in the next release.


Previous Comments:
------------------------------------------------------------------------

[2010-04-28 09:58:47] azproduction

Description:
------------
Expected 1 space after comma in function call; 20
found(PEAR.Functions.FunctionCallArgumentSpacing)

Test script:
---------------
<?php
// Block of code from PEAR Auth

/**
* Returned if session exceeds idle time
*/
define('AUTH_IDLED', -1);
/**
* Returned if session has expired
*/
define('AUTH_EXPIRED', -2);
?>

Expected result:
----------------
No error, define values is correctly aligened

Actual result:
--------------
Expected 1 space after comma in function call; 20
found(PEAR.Functions.FunctionCallArgumentSpacing)

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedMay 3, '10 at 4:22a
activeMay 3, '10 at 4:22a
posts1
users1
websitepear.php.net

1 user in discussion

Gsherwood: 1 post

People

Translate

site design / logo © 2022 Grokbase