Skip to content

Commit ce4c111

Browse files
Cu ccck4c support for yearweek function mark horninger (#96)
* WIP! Sort-of working * WiP * WiP * Added support for Week and Yearweek functions with tests * Delete launch.json * Applied Patch Co-authored-by: Mark Horninger <[email protected]> Co-authored-by: Mark Horninger <[email protected]>
1 parent df09a24 commit ce4c111

File tree

4 files changed

+4739
-25
lines changed

4 files changed

+4739
-25
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# These are supported funding model platforms
22

3-
github: # Add in my username once it is approved. [spam-n-eggs]
3+
github: [spam-n-eggs]
44
patreon: # Replace with a single Patreon username
55
open_collective: # Replace with a single Open Collective username
66
ko_fi: # Replace with a single Ko-fi username

phpunit.xml

Lines changed: 16 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,19 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit backupGlobals="false"
3-
backupStaticAttributes="false"
4-
bootstrap="test/bootstrap.php"
5-
colors="true"
6-
processIsolation="false"
7-
convertErrorsToExceptions="true"
8-
convertNoticesToExceptions="true"
9-
convertWarningsToExceptions="true"
10-
stopOnFailure="false"
11-
printerClass="Codedungeon\PHPUnitPrettyResultPrinter\Printer">
12-
<logging>
13-
<log type="coverage-clover" target="./test/_reports/cov.xml"/>
14-
</logging>
15-
<testsuites>
16-
<testsuite name="Unit">
17-
<directory suffix="Test.php">./test/</directory>
18-
</testsuite>
19-
</testsuites>
20-
<filter>
21-
<whitelist processUncoveredFilesFromWhitelist="true">
22-
<directory suffix=".php">./src</directory>
23-
</whitelist>
24-
</filter>
25-
<php>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" bootstrap="test/bootstrap.php" colors="true" processIsolation="false" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" stopOnFailure="false" printerClass="Codedungeon\PHPUnitPrettyResultPrinter\Printer" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3+
<coverage processUncoveredFiles="true">
4+
<include>
5+
<directory suffix=".php">./src</directory>
6+
</include>
7+
<report>
8+
<clover outputFile="./test/_reports/cov.xml"/>
9+
</report>
10+
</coverage>
11+
<logging/>
12+
<testsuites>
13+
<testsuite name="Unit">
14+
<directory suffix="Test.php">./test/</directory>
15+
</testsuite>
16+
</testsuites>
17+
<php>
2618
</php>
2719
</phpunit>

0 commit comments

Comments
 (0)