GitHub actions, normalization and support for PHP8

This commit is contained in:
Ismo Vuorinen
2022-02-10 16:59:07 +02:00
parent d70c7b63ea
commit 7ba2f6b6af
12 changed files with 174 additions and 76 deletions

16
phpcs.xml Normal file
View File

@@ -0,0 +1,16 @@
<?xml version="1.0"?>
<ruleset name="Basic Project Coding Standards">
<rule ref="PSR2" />
<rule ref="Generic.CodeAnalysis.EmptyStatement" />
<rule ref="Generic.Classes.DuplicateClassName"/>
<rule ref="Generic.CodeAnalysis.EmptyStatement"/>
<rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/>
<rule ref="Generic.CodeAnalysis.UnusedFunctionParameter"/>
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/>
<rule ref="Generic.ControlStructures.InlineControlStructure"/>
<rule ref="Squiz.PHP.NonExecutableCode"/>
<file>./src</file>
<file>./tests</file>
</ruleset>