diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4483026..1105f82 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,6 +29,7 @@ jobs: with: php-version: ${{ matrix.php }} coverage: xdebug + ini-file: development - run: composer install - run: vendor/bin/phpunit --coverage-text if: ${{ matrix.php >= 7.3 }} diff --git a/composer.json b/composer.json index 5b7de5b..b198b6c 100644 --- a/composer.json +++ b/composer.json @@ -17,6 +17,16 @@ "email": "christian@clue.engineering" } ], + "require": { + "php": ">=5.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.5 || ^5.7 || ^4.8.35" + }, + "suggest": { + "graphp/graphviz": "GraphViz graph drawing / DOT output", + "graphp/algorithms": "Common graph algorithms, such as Dijkstra and Moore-Bellman-Ford (shortest path), minimum spanning tree (MST), Kruskal, Prim and many more.." + }, "autoload": { "psr-4": { "Graphp\\Graph\\": "src/" @@ -26,15 +36,5 @@ "psr-4": { "Graphp\\Graph\\Tests\\": "tests/" } - }, - "require": { - "php": ">=5.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3 || ^5.7 || ^4.8.35" - }, - "suggest": { - "graphp/graphviz": "GraphViz graph drawing / DOT output", - "graphp/algorithms": "Common graph algorithms, such as Dijkstra and Moore-Bellman-Ford (shortest path), minimum spanning tree (MST), Kruskal, Prim and many more.." } } diff --git a/phpunit.xml.dist b/phpunit.xml.dist index e462441..407f871 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,8 +1,8 @@ - - + + + + + + diff --git a/phpunit.xml.legacy b/phpunit.xml.legacy index 44030e2..bf31c92 100644 --- a/phpunit.xml.legacy +++ b/phpunit.xml.legacy @@ -15,4 +15,12 @@ ./src/ + + + + + + + +