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
#!/bin/sh | |
DIR="`pwd`" | |
while [ ! -e "${DIR}/vagrant/Vagrantfile" ] && [ "" != "${DIR}" ] && [ "/" != "${DIR}" ] | |
do | |
#echo "${DIR}" | |
DIR=`dirname "${DIR}"` | |
done |
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
Host * | |
ForwardAgent yes | |
Compression yes |
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
manu@Samweis PHP_PMD-git $ src/bin/phpmd --version | |
PHPMD 2.2.0 | |
manu@Samweis PHP_PMD-git $ src/bin/phpmd /tmp/short.php text /tmp/naming.xml | |
manu@Samweis PHP_PMD-git $ |
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
#!/bin/bash | |
progName="ZoneMinder environment" | |
start() { | |
echo "Starting ${progName}" | |
sudo /etc/init.d/zoneminder start | |
sudo /etc/init.d/apache2 start | |
} |
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 | |
interface ImmutableObject { | |
public function getMandatory(); | |
public function getOptional(); | |
} | |
interface ImmutableObjectBuilder { | |
public function setOptional($optional); |
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" ?> | |
<project name="sindelfingen" default="test"> | |
<!-- Set default if not specified on cli --> | |
<property name="sindelfingen.env" value="default" /> | |
<property file="${sindelfingen.env}.properties" /> | |
<import file="setup/src/main/xml/base.xml" /> | |
</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 | |
class My_Custom_Symfony2BarRule extends My_Custom_Symfony2BaseRule | |
{ | |
protected function doApply($class) {} | |
} |
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 | |
class My_Custom_Symfony2Rule extends PHP_PMD_Rule implements PHP_PMD_Rule_IClassAware | |
{ | |
public function apply($class) | |
{ | |
// Skip here | |
if (false === $this->isController($class)) { | |
return; | |
} |
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
Index: tests/environment.php | |
=================================================================== | |
--- tests/environment.php (Revision 26) | |
+++ tests/environment.php (Arbeitskopie) | |
@@ -1,6 +1,6 @@ | |
<?php | |
-function __autoload( $classname ) | |
+spl_autoload_register( function( $classname ) | |
{ |
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"?> | |
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns="http://pdepend.org/schema/configuration" | |
xsi:schemaLocation="http://pdepend.org/schema/configuration http://pdepend.org/schema/1.0/configuration.xsd"> | |
<parser> | |
<nesting>423</nesting> | |
</parser> | |
</configuration> |
NewerOlder