mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-11 19:58:41 +00:00
update phpstan and phpcs for php7.4
This commit is contained in:
parent
7608536e84
commit
4e67f24989
|
|
@ -3,6 +3,7 @@
|
|||
<description></description>
|
||||
<exclude-pattern>*.tpl.php</exclude-pattern>
|
||||
<exclude-pattern>*.css</exclude-pattern>
|
||||
<exclude-pattern>*Markdown.php</exclude-pattern>
|
||||
<exclude-pattern>*Routes.php</exclude-pattern>
|
||||
<exclude-pattern>*Hooks.php</exclude-pattern>
|
||||
<exclude-pattern>*ObjLoader.js</exclude-pattern>
|
||||
|
|
@ -81,6 +82,7 @@
|
|||
<property name="absoluteNestingLevel" value="11"/>
|
||||
</properties>
|
||||
</rule>
|
||||
<rule ref="Generic.PHP.RequireStrictTypes"/>
|
||||
<rule ref="Generic.NamingConventions.ConstructorName"/>
|
||||
<rule ref="Generic.NamingConventions.UpperCaseConstantName"/>
|
||||
<rule ref="Generic.NamingConventions.CamelCapsFunctionName">
|
||||
|
|
@ -144,6 +146,9 @@
|
|||
<rule ref="PSR2.Methods.MethodDeclaration"/>
|
||||
<rule ref="PSR2.Namespaces.NamespaceDeclaration"/>
|
||||
<rule ref="PSR2.Namespaces.UseDeclaration"/>
|
||||
<rule ref="PSR12.Files.OpenTag"/>
|
||||
<rule ref="PSR12.Properties.ConstantVisibility"/>
|
||||
<!--<rule ref="PSR12.Functions.ReturnTypeDeclaration"/>-->
|
||||
<rule ref="MySource.Objects.AssignThis"/>
|
||||
<rule ref="MySource.PHP.EvalObjectFactory"/>
|
||||
<rule ref="MySource.PHP.GetRequestData">
|
||||
|
|
|
|||
4
setup.sh
4
setup.sh
|
|
@ -100,14 +100,14 @@ echo "Setup tools"
|
|||
wget --tries=2 -nc https://getcomposer.org/composer.phar
|
||||
wget --tries=2 -nc https://phar.phpunit.de/phploc.phar
|
||||
wget --tries=2 -nc https://phar.phpunit.de/phpunit.phar
|
||||
wget --tries=2 -nc https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.2.2/phpcs.phar
|
||||
wget --tries=2 -nc https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.5.0/phpcs.phar
|
||||
#wget --tries=2 -nc http://static.phpmd.org/php/latest/phpmd.phar no longer available
|
||||
wget --tries=2 -nc https://github.com/Halleck45/PhpMetrics/raw/master/build/phpmetrics.phar
|
||||
#wget --tries=2 -nc http://static.pdepend.org/php/latest/pdepend.phar
|
||||
wget --tries=2 -nc http://dl.google.com/closure-compiler/compiler-latest.tar.gz
|
||||
wget --tries=2 -nc https://github.com/Orange-Management/Documentor/releases/download/v1.1.1/documentor.phar
|
||||
wget --tries=2 -nc https://github.com/Orange-Management/TestReportGenerator/releases/download/1.1.0-rc1/testreportgenerator.phar
|
||||
wget --tries=2 -nc https://github.com/phpstan/phpstan/releases/download/0.11.15/phpstan.phar
|
||||
wget --tries=2 -nc https://github.com/phpstan/phpstan/releases/download/0.11.16/phpstan.phar
|
||||
wget --tries=2 -nc https://github.com/phan/phan/releases/download/0.12.5/phan.phar
|
||||
wget --tries=2 -nc https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.13.1/php-cs-fixer.phar
|
||||
wget --tries=2 -nc https://github.com/jasmine/jasmine/releases/download/v3.1.0/jasmine-standalone-3.1.0.zip
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user