Page MenuHomeDevCentral

D3530.id9070.diff
No OneTemporary

D3530.id9070.diff

diff --git a/_templates/phpcs.xml.in b/_templates/phpcs.xml.in
--- a/_templates/phpcs.xml.in
+++ b/_templates/phpcs.xml.in
@@ -28,8 +28,16 @@
<rule ref="Generic.NamingConventions.CamelCapsFunctionName.NotCamelCaps">
<exclude-pattern>*/_register_to_global_space.php</exclude-pattern>
</rule>
- {% for package in packages %}
+
+ <!--
+ Database exception
+ Allow unused parameters
+ -->
+ <rule ref="Generic.CodeAnalysis.UnusedFunctionParameter">
+ <exclude-pattern>database/src/*</exclude-pattern>
+ </rule>
+{% for package in packages %}
<file>{{ package }}/src</file>
<file>{{ package }}/tests</file>
- {% endfor %}
+{% endfor %}
</ruleset>
diff --git a/phpcs.xml b/phpcs.xml
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -34,19 +34,22 @@
Allow unused parameters
-->
<rule ref="Generic.CodeAnalysis.UnusedFunctionParameter">
- <exclude-pattern>database/src/*</exclude-pattern>
+ <exclude-pattern>database/src/*</exclude-pattern>
</rule>
+ <file>cache/src</file>
+ <file>cache/tests</file>
+
<file>commands/src</file>
<file>commands/tests</file>
-
+
<file>database/src</file>
<file>database/tests</file>
-
+
<file>omnitools/src</file>
<file>omnitools/tests</file>
-
+
<file>report/src</file>
<file>report/tests</file>
-
+
</ruleset>
diff --git a/phpunit.xml b/phpunit.xml
--- a/phpunit.xml
+++ b/phpunit.xml
@@ -29,6 +29,9 @@
<ini name="error_reporting" value="On" />
</php>
<testsuites>
+ <testsuite name="Unit tests for keruald/cache">
+ <directory suffix="Test.php">./cache/tests</directory>
+ </testsuite>
<testsuite name="Unit tests for keruald/commands">
<directory suffix="Test.php">./commands/tests</directory>
</testsuite>

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 03:58 (13 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2256991
Default Alt Text
D3530.id9070.diff (1 KB)

Event Timeline