Add a Laravel 5.5 skeleton
This commit is contained in:
parent
8e132c1633
commit
325f09ec29
7 changed files with 424 additions and 2 deletions
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0"?>
|
||||
<ruleset name="PSR2">
|
||||
<description>The PSR2 coding standard.</description>
|
||||
<rule ref="PSR2"/>
|
||||
<file>../app/</file>
|
||||
<exclude-pattern>vendor</exclude-pattern>
|
||||
<exclude-pattern>resources</exclude-pattern>
|
||||
<exclude-pattern>database/</exclude-pattern>
|
||||
<exclude-pattern>storage/</exclude-pattern>
|
||||
<exclude-pattern>node_modules/</exclude-pattern>
|
||||
</ruleset>
|
|
@ -0,0 +1,13 @@
|
|||
<phpdox xmlns="http://xml.phpdox.net/config">
|
||||
<project name="webcollek" source="../app" workdir="phpdox">
|
||||
<collector publiconly="false">
|
||||
<include mask="*.php" />
|
||||
</collector>
|
||||
|
||||
<generator output="build">
|
||||
<build engine="html" enabled="true" output="../api">
|
||||
<file extension="html" />
|
||||
</build>
|
||||
</generator>
|
||||
</project>
|
||||
</phpdox>
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0"?>
|
||||
<ruleset name="My first PHPMD rule set"
|
||||
xmlns="http://pmd.sf.net/ruleset/1.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0
|
||||
http://pmd.sf.net/ruleset_xml_schema.xsd"
|
||||
xsi:noNamespaceSchemaLocation="
|
||||
http://pmd.sf.net/ruleset_xml_schema.xsd">
|
||||
<description>
|
||||
My custom rule set that checks my code...
|
||||
</description>
|
||||
|
||||
<!-- Import the entire unused code rule set -->
|
||||
<rule ref="rulesets/unusedcode.xml" />
|
||||
|
||||
<!-- Import the entire cyclomatic complexity rule -->
|
||||
<rule ref="rulesets/codesize.xml/CyclomaticComplexity" />
|
||||
</ruleset>
|
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit backupGlobals="false"
|
||||
backupStaticAttributes="false"
|
||||
bootstrap="../vendor/autoload.php"
|
||||
colors="true"
|
||||
convertErrorsToExceptions="true"
|
||||
convertNoticesToExceptions="true"
|
||||
convertWarningsToExceptions="true"
|
||||
processIsolation="false"
|
||||
stopOnFailure="false">
|
||||
<testsuites>
|
||||
<testsuite name="Feature">
|
||||
<directory suffix="Test.php">../tests/Feature</directory>
|
||||
</testsuite>
|
||||
|
||||
<testsuite name="Unit">
|
||||
<directory suffix="Test.php">../tests/Unit</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
<filter>
|
||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||
<directory suffix=".php">../app</directory>
|
||||
</whitelist>
|
||||
</filter>
|
||||
<php>
|
||||
<env name="APP_ENV" value="testing"/>
|
||||
<env name="CACHE_DRIVER" value="array"/>
|
||||
<env name="SESSION_DRIVER" value="array"/>
|
||||
<env name="QUEUE_DRIVER" value="sync"/>
|
||||
</php>
|
||||
<logging>
|
||||
<log type="coverage-html" target="./coverage"/>
|
||||
<log type="coverage-clover" target="./logs/clover.xml"/>
|
||||
<log type="coverage-crap4j" target="./logs/crap4j.xml"/>
|
||||
<log type="junit" target="./logs/junit.xml" logIncompleteSkipped="false"/>
|
||||
</logging>
|
||||
</phpunit>
|
Reference in a new issue