Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .env

This file was deleted.

4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Database Configuration
NEO4J_ADDRESS=add your address here
NEO4J_USERNAME=add your username here
NEO4J_PASSWORD=add your password here
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ test

coverage
xml-coverage
composer.lock
composer.lock

.env
18 changes: 0 additions & 18 deletions .php-cs-fixer.php

This file was deleted.

529 changes: 0 additions & 529 deletions clover.xml

This file was deleted.

1,169 changes: 0 additions & 1,169 deletions cobertura.xml

This file was deleted.

Binary file removed coverage.php
Binary file not shown.
906 changes: 0 additions & 906 deletions crap4j.xml

This file was deleted.

5 changes: 3 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ services:
volumes:
- .:/var/www
environment:
- FAIL_ON_DEPRECATION=1
- FAIL_ON_PHPUNIT_DEPRECATION=1
- NEO4J_ADDRESS=${NEO4J_ADDRESS-http://localhost:7474}
- NEO4J_USERNAME=${NEO4J_USERNAME-neo4j}
- NEO4J_PASSWORD=${NEO4J_PASSWORD-}
networks:
- mynetwork

Expand Down
22 changes: 0 additions & 22 deletions phpunit.xml.bak

This file was deleted.

25 changes: 7 additions & 18 deletions phpunitCoverage.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@
<directory>tests</directory>
</testsuite>
</testsuites>

<!-- Coverage configuration -->
<php>
<!-- Define environment variables here -->
<env name="NEO4J_ADDRESS" value="***REMOVED***"/>
<env name="NEO4J_USERNAME" value="neo4j"/>
<env name="NEO4J_PASSWORD" value="***REMOVED***"/>
</php>
<source>
<include>
<directory suffix=".php">src</directory>
Expand All @@ -26,16 +18,13 @@
<directory>src</directory>
</include>
<report>
<clover outputFile="clover.xml"/>
<cobertura outputFile="cobertura.xml"/>
<crap4j outputFile="crap4j.xml" threshold="50"/>
<html outputDirectory="coverage" lowUpperBound="35" highLowerBound="70"/>
<php outputFile="coverage.php"/>
<text outputFile="coverage.txt" showUncoveredFiles="false" showOnlySummary="true"/>
<xml outputDirectory="xml-coverage"/>
<!-- Generates an HTML report in the "coverage" folder -->
<!-- Also output a text summary in the console -->
<text/>
<clover outputFile="./coverage/clover.xml"/>
<cobertura outputFile="./coverage/cobertura.xml"/>
<crap4j outputFile="./coverage/crap4j.xml" threshold="50"/>
<html outputDirectory="./coverage/html" lowUpperBound="35" highLowerBound="70"/>
<php outputFile="./coverage/coverage.php"/>
<text outputFile="./coverage/coverage.txt" showUncoveredFiles="false" showOnlySummary="true"/>
<xml outputDirectory="./coverage/xml"/>
</report>
</coverage>
</phpunit>