Skip to content

Commit 9908d5f

Browse files
committedApr 3, 2017
version 0.0.1
1 parent 26e5e1d commit 9908d5f

File tree

6 files changed

+70
-1
lines changed

6 files changed

+70
-1
lines changed
 

‎.codeclimate.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
ratings:
2+
paths:
3+
- src/**
4+
exclude_paths:
5+
- tests/**
6+
engines:
7+
duplication:
8+
enabled: false
9+
fixme:
10+
enabled: true
11+
phpcodesniffer:
12+
enabled: true
13+
config:
14+
file_extensions: "php"
15+
standard: "PSR1,PSR2"
16+
ignore_warnings: false
17+
phpmd:
18+
enabled: true
19+
config:
20+
file_extensions: "php"
21+
rulesets: "unusedcode,codesize,naming"

‎.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.trash
1+
trash

‎.travis.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
language: php
3+
4+
php:
5+
- '5.6'
6+
7+
addons:
8+
mariadb: '10.0'
9+
10+
before_script:
11+
- mkdir -p build/logs
12+
- composer install --no-interaction
13+
14+
script:
15+
- vendor/bin/phpunit
16+
--configuration phpunit.xml
17+
--bootstrap ./vendor/autoload.php
18+
--coverage-clover build/logs/clover.xml
19+
20+
after_success:
21+
- ./vendor/bin/test-reporter
22+
23+
notifications:
24+
email: "bianco@javanile.org"

‎LICENSE.txt ‎LICENSE

File renamed without changes.

‎phpunit.xml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit colors="true">
3+
<testsuites>
4+
<testsuite name="Application Test Suite">
5+
<directory>./tests/</directory>
6+
</testsuite>
7+
</testsuites>
8+
<filter>
9+
<whitelist>
10+
<directory>./src</directory>
11+
</whitelist>
12+
</filter>
13+
</phpunit>

‎tests/DatabaseTest.php

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
3+
use PHPUnit\Framework\TestCase;
4+
5+
final class DatabaseTest extends TestCase
6+
{
7+
public function testDatabaseConnect()
8+
{
9+
10+
}
11+
}

0 commit comments

Comments
 (0)
Please sign in to comment.