Skip to content

Commit 35b4f9b

Browse files
authored
chore: migrate PHPUnit configuration and update badges (#352)
1 parent 2e8df20 commit 35b4f9b

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
`schema` is a command line tool part of [the API Platform framework](https://api-platform.com) that instantly generates a set
44
of PHP classes from vocabularies such as (but not limited to) [Schema.org](https://schema.org)
55
or [ActivityStreams](https://www.w3.org/TR/activitystreams-core/).
6-
[![Build Status](https://travis-ci.org/api-platform/schema-generator.svg?branch=master)](https://travis-ci.org/api-platform/schema-generator)
6+
7+
[![GitHub Actions](https://github.com/api-platform/schema-generator/workflows/CI/badge.svg?branch=master)](https://github.com/api-platform/schema-generator/actions?query=workflow%3ACI+branch%3Amaster)
78
[![Coverage Status](https://coveralls.io/repos/github/api-platform/schema-generator/badge.svg?branch=master)](https://coveralls.io/github/api-platform/schema-generator?branch=master)
8-
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/87ec89e6-57cd-4ac0-9ab1-d4549c5425c5/mini.png)](https://insight.sensiolabs.com/projects/87ec89e6-57cd-4ac0-9ab1-d4549c5425c5)
99

1010
## Documentation
1111

phpunit.xml.dist

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
3-
<!-- http://phpunit.de/manual/4.1/en/appendixes.configuration.html -->
42
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/4.6/phpunit.xsd"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
64
bootstrap="vendor/autoload.php"
75
backupGlobals="false"
86
colors="true">
@@ -12,15 +10,15 @@
1210
<server name="SYMFONY_DEPRECATIONS_HELPER" value="max[direct]=0" />
1311
</php>
1412

15-
<testsuites>
13+
<coverage>
14+
<include>
15+
<directory>src</directory>
16+
</include>
17+
</coverage>
18+
19+
<testsuites>
1620
<testsuite name="Project Test Suite">
1721
<directory>tests</directory>
1822
</testsuite>
1923
</testsuites>
20-
21-
<filter>
22-
<whitelist>
23-
<directory>src</directory>
24-
</whitelist>
25-
</filter>
2624
</phpunit>

0 commit comments

Comments
 (0)