Skip to content

Commit e76b784

Browse files
committed
Test documentation with test-flight
See also: https://test-flight.cundd.net/
1 parent 8e71fe1 commit e76b784

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,11 @@ matrix:
2222
- php: hhvm
2323

2424
install:
25-
- composer require mockery/mockery:${MOCKERY_VERSION}
26-
- composer require squizlabs/php_codesniffer
27-
- composer require phpmd/phpmd
25+
- composer require mockery/mockery:${MOCKERY_VERSION} squizlabs/php_codesniffer phpmd/phpmd cundd/test-flight
2826

2927
script:
3028
- vendor/bin/phpunit
29+
- vendor/bin/test-flight README.md
30+
- vendor/bin/test-flight classes/
3131
- vendor/bin/phpcs --standard=PSR2 classes/ tests/
3232
- vendor/bin/phpmd classes/ text cleancode,codesize,controversial,design,naming,unusedcode
33-

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ function mocks by calling `Mockery::close()`.
2121
## Example
2222

2323
```php
24-
<?php
25-
2624
namespace foo;
2725

2826
use phpmock\mockery\PHPMockery;

classes/PHPMockery.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
* Mock built-in PHP functions with Mockery.
1212
*
1313
* <code>
14-
* <?php
15-
*
1614
* namespace foo;
1715
*
1816
* use phpmock\mockery\PHPMockery;

0 commit comments

Comments
 (0)