Skip to content

Commit

Permalink
Merge branch 'release/1.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Marco Sartori committed Apr 4, 2016
2 parents 9e808fc + 09d81af commit 20948c6
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,19 @@ checks:
fix_doc_comments: true

tools:
php_sim: true
php_pdepend: true
php_analyzer: true
external_code_coverage:
timeout: 600
timeout: 300
runs: 3
php_analyzer: true
php_code_coverage: false
php_code_sniffer:
config:
standard: PSR2
filter:
paths: ['src']
php_loc:
enabled: true
excluded_dirs: [vendor, tests]
php_cpd:
enabled: true
excluded_dirs: [vendor, tests]
10 changes: 10 additions & 0 deletions src/Ciao.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,14 @@

class Ciao
{
/**
* The most complicated method in the world.
*
* @author Andrea Marco Sartori
* @return string
*/
public function greet()
{
return 'ciao';
}
}
11 changes: 11 additions & 0 deletions tests/spec/CiaoSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,15 @@ public function it_is_initializable()
{
$this->shouldHaveType('Cerbero\SkeletonTest\Ciao');
}

/**
* @testdox It says ciao.
*
* @author Andrea Marco Sartori
* @return void
*/
public function it_says_ciao()
{
$this->greet()->shouldReturn('ciao');
}
}

0 comments on commit 20948c6

Please sign in to comment.