Skip to content

Commit 1884296

Browse files
committed
Tweak composer settings for use in a library
1 parent 8871ab2 commit 1884296

File tree

4 files changed

+8
-17
lines changed

4 files changed

+8
-17
lines changed

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22
"name": "tysonandre/php-parser-to-php-ast",
33
"description": "A php-parser to php-ast converter written in php. Can be used to test out projects using php-ast without compiling php-ast.",
44
"prefer-stable": true,
5-
"minimum-stability": "dev",
65
"require": {
76
"php": ">=7.1",
87
"nikic/PHP-Parser": "~3.1.1"
98
},
109
"require-dev": {
1110
"phpunit/phpunit": "^5.7",
12-
"etsy/phan": "0.9.4"
11+
"etsy/phan": "~0.9.4"
1312
},
1413
"suggest": {
1514
"ext-ast": "~0.1.5"

composer.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpunit.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
<phpunit bootstrap="tests/Bootstrap.php">
1+
<phpunit
2+
convertErrorsToExceptions="true"
3+
convertNoticesToExceptions="true"
4+
convertWarningsToExceptions="true"
5+
>
26
<testsuites>
37
<testsuite name="ConverterTests">
48
<directory>tests</directory>

tests/Bootstrap.php

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

0 commit comments

Comments
 (0)