Skip to content

Commit

Permalink
some clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
imanghafoori1 committed Aug 9, 2019
1 parent edc0bb7 commit 9e77b1a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 48 deletions.
12 changes: 4 additions & 8 deletions .scrutinizer.yml
@@ -1,15 +1,11 @@
filter:
excluded_paths:
- 'src/MiddlewarizeServiceProvider.php'
- 'tests/*'

build:
tests:
override:
-
command: 'vendor/bin/phpunit --coverage-clover=some-file'
coverage:
file: 'some-file'
format: 'clover'
tools:
external_code_coverage: true

checks:
php:
code_rating: true
Expand Down
5 changes: 4 additions & 1 deletion phpunit.xml
Expand Up @@ -8,7 +8,6 @@
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
>
<testsuites>
<testsuite name="Package Test Suite">
Expand All @@ -28,6 +27,10 @@
<log type="testdox-html" target="./log/testdox.html" />
</logging>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
</whitelist>

<blacklist>
<directory>./src/vendor</directory>
</blacklist>
Expand Down
38 changes: 0 additions & 38 deletions src/DTO.php

This file was deleted.

2 changes: 1 addition & 1 deletion tests/MiddlewarizeTests.php
Expand Up @@ -30,7 +30,7 @@ public function testHello2()
class MyClass
{
use Middlewarable;

public function find($id)
{
return $id;
Expand Down

0 comments on commit 9e77b1a

Please sign in to comment.