-
-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
808 additions
and
808 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
guard :phpunit, :all_on_start => false, :tests_path => 'tests/', :cli => '--colors -c build/phpunit.xml' do | ||
# Run any test in app/tests upon save. | ||
watch(%r{^.+Test\.php$}) | ||
# Run any test in app/tests upon save. | ||
watch(%r{^.+Test\.php$}) | ||
|
||
# When a file is edited, try to run its associated test. | ||
watch(%r{^src/(.+)/(.+)\.php$}) { |m| "tests/#{m[2]}Test.php"} | ||
# When a file is edited, try to run its associated test. | ||
watch(%r{^src/(.+)/(.+)\.php$}) { |m| "tests/#{m[2]}Test.php"} | ||
end |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<ruleset name="name-of-your-coding-standard"> | ||
<description>PSR2 Compliant</description> | ||
<rule ref="PSR2"/> | ||
<rule ref="Generic.PHP.DisallowShortOpenTag"/> | ||
<description>PSR2 Compliant</description> | ||
<rule ref="PSR2"/> | ||
<rule ref="Generic.PHP.DisallowShortOpenTag"/> | ||
</ruleset> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
<ruleset name="standard" | ||
xmlns="http://pmd.sf.net/ruleset/1.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 | ||
http://pmd.sf.net/ruleset_xml_schema.xsd" | ||
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd"> | ||
<description>Description of your coding standard</description> | ||
xmlns="http://pmd.sf.net/ruleset/1.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 | ||
http://pmd.sf.net/ruleset_xml_schema.xsd" | ||
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd"> | ||
<description>Description of your coding standard</description> | ||
|
||
<rule ref="rulesets/codesize.xml" /> | ||
<rule ref="rulesets/unusedcode.xml" /> | ||
<rule ref="rulesets/codesize.xml" /> | ||
<rule ref="rulesets/unusedcode.xml" /> | ||
|
||
<rule ref="rulesets/design.xml/CouplingBetweenObjects" /> | ||
<rule ref="rulesets/design.xml/EvalExpression" /> | ||
<rule ref="rulesets/design.xml/ExitExpression" /> | ||
<rule ref="rulesets/design.xml/GotoStatement" /> | ||
<rule ref="rulesets/design.xml/CouplingBetweenObjects" /> | ||
<rule ref="rulesets/design.xml/EvalExpression" /> | ||
<rule ref="rulesets/design.xml/ExitExpression" /> | ||
<rule ref="rulesets/design.xml/GotoStatement" /> | ||
|
||
<rule ref="rulesets/naming.xml/ConstantNamingConventions" /> | ||
<!-- | ||
<rule ref="rulesets/naming.xml/BooleanGetMethodName" /> | ||
<rule ref="rulesets/naming.xml/ConstructorWithNameAsEnclosingClass" /> | ||
--> | ||
<rule ref="rulesets/naming.xml/ConstantNamingConventions" /> | ||
<!-- | ||
<rule ref="rulesets/naming.xml/BooleanGetMethodName" /> | ||
<rule ref="rulesets/naming.xml/ConstructorWithNameAsEnclosingClass" /> | ||
--> | ||
</ruleset> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
{ | ||
"name": "orchestra/testbench", | ||
"description": "Laravel 4 Package Unit Testing Helper", | ||
"keywords": ["laravel"], | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Mior Muhammad Zaki", | ||
"email": "crynobone@gmail.com", | ||
"homepage": "https://github.com/crynobone" | ||
} | ||
], | ||
"autoload": { | ||
"psr-0": { | ||
"Orchestra\\Testbench" : "src/" | ||
} | ||
}, | ||
"require": { | ||
"php": ">=5.3.3", | ||
"laravel/framework": "4.1.*" | ||
}, | ||
"extra": { | ||
"branch-alias": { | ||
"dev-master": "2.1-dev" | ||
} | ||
}, | ||
"minimum-stability": "dev" | ||
"name": "orchestra/testbench", | ||
"description": "Laravel 4 Package Unit Testing Helper", | ||
"keywords": ["laravel"], | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Mior Muhammad Zaki", | ||
"email": "crynobone@gmail.com", | ||
"homepage": "https://github.com/crynobone" | ||
} | ||
], | ||
"autoload": { | ||
"psr-0": { | ||
"Orchestra\\Testbench" : "src/" | ||
} | ||
}, | ||
"require": { | ||
"php": ">=5.3.3", | ||
"laravel/framework": "4.1.*" | ||
}, | ||
"extra": { | ||
"branch-alias": { | ||
"dev-master": "2.1-dev" | ||
} | ||
}, | ||
"minimum-stability": "dev" | ||
} |
This file contains 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
This file contains 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
Oops, something went wrong.