Skip to content

Commit 8f65481

Browse files
committed
1.3.2
1 parent 3696225 commit 8f65481

7 files changed

+17
-10
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
language: php
2+
23
dist: trusty
4+
35
php:
46
- '5.6'
57
- '7.0'

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ FROM php:7-alpine
33
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
44

55
RUN export COMPOSER_DISABLE_XDEBUG_WARN=1
6+
7+
CMD ["php", "-a"]

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2015, Vasilij Belosludcev
1+
Copyright (c) 2015, Vasily Belosloodcev
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
xml-constructor
2-
---------------
2+
===
33

44
[![Latest Stable Version](https://poser.pugx.org/bupy7/xml-constructor/v/stable)](https://packagist.org/packages/bupy7/xml-constructor)
55
[![Total Downloads](https://poser.pugx.org/bupy7/xml-constructor/downloads)](https://packagist.org/packages/bupy7/xml-constructor)
@@ -10,7 +10,8 @@ xml-constructor
1010

1111
The XML of document structure constructor.
1212

13-
### Install
13+
Install
14+
---
1415

1516
Add the following to `require` section of your `composer.json`:
1617

@@ -20,7 +21,8 @@ Add the following to `require` section of your `composer.json`:
2021

2122
Then do `composer install`.
2223

23-
### Usage
24+
Usage
25+
---
2426

2527
```php
2628
$xml = new XmlConstructor();
@@ -65,6 +67,7 @@ if you send data to browser raw, use header for content type:
6567
header('Content-Type: application/xml; charset=utf-8');
6668
```
6769

68-
### License
70+
License
71+
---
6972

7073
**xml-constructor** is released under the BSD 3-Clause License. See the bundled `LICENSE.md` for details.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"require-dev": {
2626
"phpunit/phpunit": ">=5.7.27",
27-
"satooshi/php-coveralls": "^1.0.1 || ^2.0"
27+
"php-coveralls/php-coveralls": "^2.2"
2828
},
2929
"autoload": {
3030
"psr-4": {

docker-compose.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ services:
88
php:
99
build: .
1010
working_dir: /var/www
11-
environment:
12-
docker: "true"
11+
tty: true
1312
volumes:
1413
- .:/var/www
1514
- logs:/var/www/logs

phpunit.xml.dist

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd"
53
bootstrap="./tests/bootstrap.php"
64
verbose="true"
75
colors="true">
6+
87
<testsuites>
98
<testsuite name="Main Tests">
109
<directory>./tests</directory>
1110
</testsuite>
1211
</testsuites>
12+
1313
<filter>
1414
<whitelist>
1515
<directory suffix=".php">./src</directory>
1616
</whitelist>
1717
</filter>
18+
1819
<logging>
1920
<log type="coverage-html" target="build/coverage"/>
2021
<log type="coverage-clover" target="build/logs/clover.xml"/>

0 commit comments

Comments
 (0)