This repository was archived by the owner on Nov 13, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +18
-6
lines changed Expand file tree Collapse file tree 4 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 1
1
The MIT License (MIT)
2
2
3
- Copyright (c) 2016 Ankur
3
+ Copyright (c) 2017 Ankur
4
4
5
5
Permission is hereby granted, free of charge, to any person obtaining
6
6
a copy of this software and associated documentation files (the
Original file line number Diff line number Diff line change 3
3
4
4
[ ![ Build Status] ( https://travis-ci.org/ankurk91/phpunit-travis-ci-coveralls-example.svg?branch=master )] ( https://travis-ci.org/ankurk91/phpunit-travis-ci-coveralls-example )
5
5
[ ![ Coverage Status] ( https://coveralls.io/repos/github/ankurk91/phpunit-travis-ci-coveralls-example/badge.svg?branch=master )] ( https://coveralls.io/github/ankurk91/phpunit-travis-ci-coveralls-example?branch=master )
6
- [ ![ Dependency Status ] ( https://www.versioneye.com/user/projects/57ad5bab89a9740034ca1916/badge.svg?style=flat-square )] ( https://www.versioneye.com/user/projects/57ad5bab89a9740034ca1916 )
6
+
7
7
8
8
### Prerequisites
9
- * php v5.6.26+
9
+ * php v5.6.26+ || v7.0+
10
10
* [ phpunit] ( https://github.com/sebastianbergmann/phpunit/ ) v5.4.6
11
11
* [ php-coveralls] ( https://github.com/satooshi/php-coveralls ) v1.0.1
12
- * php Xdebug extension
12
+ * php [ Xdebug] ( https://xdebug.org/ ) extension
13
13
14
14
### Test on localhost
15
15
```
@@ -32,7 +32,7 @@ phpunit
32
32
* [ https://phpunit.de/ ] ( https://phpunit.de/ )
33
33
* [ https://travis-ci.org/ ] ( https://travis-ci.org/ )
34
34
* [ https://coveralls.io/ ] ( https://coveralls.io/ )
35
- * [ https://www.versioneye.com ] ( https://www.versioneye.com )
35
+
36
36
37
37
#### License
38
38
[ MIT] ( LICENSE.txt ) License
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ public function __construct()
17
17
18
18
/**
19
19
* Add two numbers
20
+ *
20
21
* @param $x
21
22
* @param $y
22
23
* @return mixed
@@ -28,6 +29,7 @@ public function addTwo($x, $y)
28
29
29
30
/**
30
31
* Multiply two numbers
32
+ *
31
33
* @param $x
32
34
* @param $y
33
35
* @return mixed
@@ -40,6 +42,7 @@ public function multiplyTwo($x, $y)
40
42
41
43
/**
42
44
* Subtract two numbers
45
+ *
43
46
* @param $x
44
47
* @param $y
45
48
* @return mixed
@@ -53,6 +56,7 @@ public function subtractTwo($x, $y)
53
56
/**
54
57
* Divide two numbers
55
58
* //TODO Handle divide by zero
59
+ *
56
60
* @param $x
57
61
* @param $y
58
62
* @return float
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Sample page</title>
5
+ <meta charset="utf-8">
6
+ </head>
7
+ <body>
1
8
<?php
2
9
3
10
require ('../vendor/autoload.php ' );
12
19
13
20
?>
14
21
This is just a sample page.
15
-
22
+ </body>
23
+ </html>
You can’t perform that action at this time.
0 commit comments