mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-11 11:48:40 +00:00
many fixes and expands and module expansions
This commit is contained in:
parent
a6f0e058b7
commit
558d69c316
|
|
@ -35,7 +35,7 @@
|
|||
<arg value="q"/>
|
||||
<arg name="colors"/>
|
||||
<arg name="tab-width" value="4"/>
|
||||
<rule ref="Generic.Classes.DuplicateClassName"/>
|
||||
<!-- <rule ref="Generic.Classes.DuplicateClassName"/> @todo: disabled until bug is fixed. currently namespace is ignored which creates a lot of false positives e.g. Installer, Updater, Controller, etc. -->
|
||||
<rule ref="Generic.CodeAnalysis.EmptyStatement"/>
|
||||
<rule ref="Generic.CodeAnalysis.ForLoopWithTestFunctionCall">
|
||||
<exclude-pattern>*Sort.php</exclude-pattern>
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ parameters:
|
|||
- '#^Offset .* does not exist on array.*#'
|
||||
- '#.*unserialize\(\) has parameter .* with no typehint specified#'
|
||||
- '#.*refClass with generic class ReflectionClass but does not specify its types.*#'
|
||||
- '#.*class Mpdf\\.*#'
|
||||
-
|
||||
message: '#.*has parameter \$con with no typehint specified#'
|
||||
path: *Ftp/File.php
|
||||
|
|
|
|||
|
|
@ -12,4 +12,4 @@ php phpcs.phar ./ --standard="Build/Config/phpcs.xml" -s --report-junit=Build/te
|
|||
sed -i '/^$/d' Build/test/phpstan.json
|
||||
sed -i '/^Warning: /d' Build/test/phpstan.json
|
||||
|
||||
php ../TestReportGenerator/src/index.php -b /home/spl1nes/Orange-Management -l /home/spl1nes/Orange-Management/Build/Config/reportLang.php -c /home/spl1nes/Orange-Management/tests/coverage.xml -s /home/spl1nes/Orange-Management/Build/test/junit_phpcs.xml -a /home/spl1nes/Orange-Management/Build/test/phpstan.json -u /home/spl1nes/Orange-Management/Build/test/junit_php.xml -d /home/spl1nes/Orange-Management/Build/test/ReportExternal --version 1.0.0
|
||||
#php ../TestReportGenerator/src/index.php -b /home/spl1nes/Orange-Management -l /home/spl1nes/Orange-Management/Build/Config/reportLang.php -c /home/spl1nes/Orange-Management/tests/coverage.xml -s /home/spl1nes/Orange-Management/Build/test/junit_phpcs.xml -a /home/spl1nes/Orange-Management/Build/test/phpstan.json -u /home/spl1nes/Orange-Management/Build/test/junit_php.xml -d /home/spl1nes/Orange-Management/Build/test/ReportExternal --version 1.0.0
|
||||
14
Tools/versionHash.sh
Normal file
14
Tools/versionHash.sh
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
find ./phpOMS -type f -name "*.php" -exec md5sum {} \; > hashs.txt
|
||||
find ./cssOMS -type f -name "*.css" -exec md5sum {} \; >> hashs.txt
|
||||
find ./cssOMS -type f -name "*.scss" -exec md5sum {} \; >> hashs.txt
|
||||
find ./jsOMS -type f -name "*.js" -exec md5sum {} \; >> hashs.txt
|
||||
find ./Modules -type f -name "*.php" -exec md5sum {} \; >> hashs.txt
|
||||
find ./Modules -type f -name "*.js" -exec md5sum {} \; >> hashs.txt
|
||||
find ./Model -type f -name "*.php" -exec md5sum {} \; >> hashs.txt
|
||||
find ./Model -type f -name "*.js" -exec md5sum {} \; >> hashs.txt
|
||||
find ./Web -type f -name "*.php" -exec md5sum {} \; >> hashs.txt
|
||||
find ./Web -type f -name "*.js" -exec md5sum {} \; >> hashs.txt
|
||||
find ./Developer-Guide -type f -name "*.md" -exec md5sum {} \; >> hashs.txt
|
||||
find ./Documentation -type f -name "*.md" -exec md5sum {} \; >> hashs.txt
|
||||
Loading…
Reference in New Issue
Block a user