-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
181 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,6 @@ | ||
# Dependencies | ||
/vendor/ | ||
|
||
# PHP development | ||
/phpdoc/ | ||
.DS_Store | ||
/.cache/ | ||
/coverage/ | ||
*.cache | ||
/db.sqlite | ||
/external/ | ||
/.nova/* | ||
!/.nova/Artwork | ||
!/.nova/Configuration.json | ||
|
||
# Runtime | ||
/logs/* | ||
/var/* | ||
!README.md | ||
|
||
# Environment | ||
.env | ||
.env.* | ||
!.env.example | ||
/docs/ | ||
/tools/ | ||
/vendor/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"actions" : { | ||
"run" : { | ||
"enabled" : true, | ||
"script" : "composer run-script docs" | ||
} | ||
}, | ||
"openLogOnRun" : "start" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"actions" : { | ||
"run" : { | ||
"enabled" : true, | ||
"script" : "composer run-script test" | ||
} | ||
}, | ||
"openLogOnRun" : "start" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require("@battis/prettier-config"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phive xmlns="https://phar.io/phive"> | ||
<phar name="phpunit" version="^10.0.16" installed="10.0.16" location="./tools/phpunit" copy="false"/> | ||
<phar name="psalm" version="^5.8.0" installed="5.8.0" location="./tools/psalm" copy="false"/> | ||
<phar name="php-cs-fixer" version="^3.15.1" installed="3.15.1" location="./tools/php-cs-fixer" copy="false"/> | ||
<phar name="phpdocumentor" version="^3.3.1" installed="3.3.1" location="./tools/phpdocumentor" copy="false"/> | ||
</phive> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpdoc> | ||
<parser> | ||
<default-package-name>Battis\UserSession</default-package-name> | ||
<target>var/phpdoc</target> | ||
</parser> | ||
<transformer> | ||
<target>doc/api</target> | ||
</transformer> | ||
<files> | ||
<directory>src</directory> | ||
</files> | ||
<transformations> | ||
<template name="clean"/> | ||
</transformations> | ||
</phpdoc> | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<phpdocumentor | ||
configVersion="3" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="https://www.phpdoc.org" | ||
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/phpDocumentor/phpDocumentor/master/data/xsd/phpdoc.xsd" | ||
> | ||
<paths> | ||
<output>docs</output> | ||
<cache>.cache/phpdoc</cache> | ||
</paths> | ||
<version number="latest"> | ||
<api> | ||
<source dsn="."> | ||
<path>src</path> | ||
</source> | ||
</api> | ||
</version> | ||
</phpdocumentor> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
<?xml version="1.0"?> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="tests/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> | ||
<coverage processUncoveredFiles="true"> | ||
<include> | ||
<directory suffix=".php">src</directory> | ||
</include> | ||
</coverage> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" cacheDirectory=".cache/phpunit" displayDetailsOnTestsThatTriggerWarnings="true" displayDetailsOnTestsThatTriggerNotices="true"> | ||
<testsuites> | ||
<testsuite name="Battis\UserSession"> | ||
<testsuite name="Battis\DataUtilities"> | ||
<directory>tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
<extensions> | ||
<extension class="Battis\PHPUnit\Sessions\Extension" /> | ||
</extensions> | ||
<coverage includeUncoveredFiles="true"> | ||
<include> | ||
<directory suffix=".php">src</directory> | ||
</include> | ||
<report> | ||
<clover outputFile="coverage/clover.xml" /> | ||
</report> | ||
</coverage> | ||
</phpunit> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0"?> | ||
<psalm> | ||
<projectFiles> | ||
<directory name="src" /> | ||
<directory name="tests" /> | ||
</projectFiles> | ||
</psalm> |