Skip to content
This repository was archived by the owner on Nov 13, 2018. It is now read-only.

Commit 8d7bfb6

Browse files
committed
Allow tests folder to be downloaded
1 parent 8a398d1 commit 8d7bfb6

File tree

6 files changed

+16
-25
lines changed

6 files changed

+16
-25
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323

2424
# Export ignores
25-
tests export-ignore
25+
#tests export-ignore
2626

2727
# https://github.com/github/linguist#using-gitattributes
2828
node_modules/ linguist-vendored=false

readme.md renamed to README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![Dependency Status](https://www.versioneye.com/user/projects/57ad5bab89a9740034ca1916/badge.svg?style=flat-square)](https://www.versioneye.com/user/projects/57ad5bab89a9740034ca1916)
77

88
### Prerequisites
9-
* php 5.3.2+
9+
* php v5.6.26+
1010
* [phpunit](https://github.com/sebastianbergmann/phpunit/) v5.4.6
1111
* [php-coveralls](https://github.com/satooshi/php-coveralls) v1.0.1
1212
* php Xdebug extension
@@ -17,7 +17,7 @@ cd path/to/this-project
1717
phpunit
1818
```
1919

20-
#### Reference Links
20+
#### Resources
2121
* https://docs.travis-ci.com/
2222
* https://github.com/satooshi/php-coveralls
2323
* http://code.tutsplus.com/tutorials/travis-ci-what-why-how--net-34771

app/Classes/Calculator.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,19 @@
22

33
namespace Projects\Ankur;
44

5+
/**
6+
* Class Calculator
7+
* @package Projects\Ankur
8+
*/
59
class Calculator
610
{
711

812

13+
public function __construct()
14+
{
15+
// do something
16+
}
17+
918
/**
1019
* Add two numbers
1120
* @param $x

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
}
99
],
1010
"require": {
11-
"php": ">=5.3.2"
1211
},
1312
"require-dev": {
1413
},

composer.lock

Lines changed: 0 additions & 20 deletions
This file was deleted.

tests/CalculatorTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44

55
use Projects\Ankur as App;
66

7-
7+
/**
8+
* Class CalculatorTest
9+
* @package Tests
10+
*/
811
class CalculatorTest extends \PHPUnit_Framework_TestCase
912
{
1013

0 commit comments

Comments
 (0)