This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git build.xml build.xml | |
| index 0342c23..2608ddf 100644 | |
| --- build.xml | |
| +++ build.xml | |
| @@ -26,7 +26,7 @@ | |
| </target> | |
| <target name="parallelTasks" | |
| - description="Run the pdepend, phpmd, phpcpd, phpcs, phpdoc and phploc tasks in parallel using a maximum of 2 threads."> | |
| + description="Run the pdepend, phpmd, phpcpd, phpcs, docblox and phploc tasks in parallel using a maximum of 2 threads."> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| require_once 'Zend/Service/Abstract.php'; | |
| /** | |
| * | |
| * | |
| * @author zircote@zircote.com | |
| * | |
| * <code> | |
| * <?php | |
| * $metadata = new Zircote_Service_Ec2_Metadata; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| global-ignores = \.settings \.buildpath \.project |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * | |
| * The Application Bootstrap | |
| * @author zircote | |
| * @package ZendDb | |
| * | |
| */ | |
| class Bootstrap extends Zend_Application_Bootstrap_Bootstrap | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # If you use Zend Studio or Eclipse PDT create a new | |
| # `PHP Project` named ZfBugs in your workspace | |
| # workspace could easily be in /usr/local/zend/apache2/htdocs | |
| # if you utilize Zend Server the location is up to you | |
| cd ~/${Workspace} | |
| zf create project ZendDb | |
| # create the build structure, build.xml and build container | |
| touch ZendDb/build.xml | |
| # edit the build.xml | |
| mkdir ZendDb/build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env php | |
| <?php | |
| /** | |
| * | |
| * Result string for parsing | |
| * @var string | |
| */ | |
| $string = null; | |
| /** | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env php | |
| <?php | |
| /** | |
| * | |
| * Result string for parsing | |
| * @var string | |
| */ | |
| $string = null; | |
| /** | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| phpcs --standard=tests/build/phpcs.xml --report=summary . | |
| PHP CODE SNIFFER REPORT SUMMARY | |
| -------------------------------------------------------------------------------- | |
| FILE ERRORS WARNINGS | |
| -------------------------------------------------------------------------------- | |
| /usr/local/zend/apache2/htdocs/project/application/Bootstrap.php 1 4 | |
| ...2/htdocs/Project/application/controllers/ActivityController.php 3 1 | |
| ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo pear upgrade pear | |
| sudo pear –all-deps install PHP_CodeSniffer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0"?> | |
| <ruleset name="Zend Standard"> | |
| <description>A custom coding standard</description> | |
| <exclude-pattern>*/tests/*</exclude-pattern> | |
| <exclude-pattern>*/data/*</exclude-pattern> | |
| <exclude-pattern>*/.svn/*</exclude-pattern> | |
| <exclude-pattern>*.js</exclude-pattern> | |
| <exclude-pattern>*.css</exclude-pattern> | |
| <rule ref="Zend" /> | |
| </ruleset> |