⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.45
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
shopware
/
vendor
/
meyfa
/
php-svg
/
Edit File: phpcs.xml
<?xml version="1.0"?> <ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer" xsi:noNamespaceSchemaLocation="phpcs.xsd"> <description>The coding standard for meyfa/php-svg</description> <config name="php_version" value="50303" /> <file>autoloader.php</file> <file>src</file> <file>tests</file> <!-- Don't hide tokenizer exceptions --> <rule ref="Internal.Tokenizer.Exception"> <type>error</type> </rule> <!-- Include the whole PSR-12 standard --> <rule ref="PSR12"> <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> </rule> <!-- include some more sniffs specific to this project --> <rule ref="Generic.Arrays.DisallowShortArraySyntax" /> <rule ref="Generic.PHP.BacktickOperator" /> <rule ref="Generic.PHP.DeprecatedFunctions" /> <rule ref="Generic.PHP.DisallowShortOpenTag" /> <rule ref="Generic.PHP.DiscourageGoto" /> <!-- allow test methods like test__toString --> <rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps"> <exclude-pattern>*/tests/*</exclude-pattern> </rule> <!-- allow mock classes in same file --> <rule ref="PSR1.Classes.ClassDeclaration.MultipleClasses"> <exclude-pattern>*/tests/*</exclude-pattern> </rule> <!-- Ban some functions --> <rule ref="Generic.PHP.ForbiddenFunctions"> <properties> <property name="forbiddenFunctions" type="array"> <element key="sizeof" value="count"/> <element key="delete" value="unset"/> <element key="print" value="echo"/> <element key="is_null" value="null"/> <element key="create_function" value="null"/> </property> </properties> </rule> </ruleset>
Simpan