package and depencies
This commit is contained in:
124
.idea/community.iml
generated
124
.idea/community.iml
generated
@@ -5,32 +5,23 @@
|
||||
<sourceFolder url="file://$MODULE_DIR$/app" isTestSource="false" packagePrefix="App\" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/spec" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="false" packagePrefix="Tests\" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/http-factory" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/log" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/event-dispatcher" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/http-client" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/http-message" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/simple-cache" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/container" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/aws/aws-sdk-php" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/aws/aws-crt-php" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/composer" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/davejamesmiller/laravel-breadcrumbs" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/graham-campbell/result-type" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/laravelcollective/html" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/phpdocumentor/type-resolver" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/propaganistas/laravel-phone" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/phpdocumentor/reflection-docblock" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/davejamesmiller/laravel-breadcrumbs" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/phpdocumentor/reflection-common" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/nicolaslopezj/searchable" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/phpdocumentor/type-resolver" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/php-webdriver/webdriver" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/tijsverkoyen/css-to-inline-styles" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/phpdocumentor/reflection-docblock" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/dragonmantank/cron-expression" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/thomaswelton/laravel-gravatar" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/thomaswelton/gravatarlib" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/swiftmailer/swiftmailer" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/nicolaslopezj/searchable" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/intervention/image" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/nunomaduro/collision" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/tijsverkoyen/css-to-inline-styles" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/maatwebsite/excel" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/masterminds/html5" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/nunomaduro/termwind" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/nunomaduro/collision" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/guzzlehttp/psr7" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/guzzlehttp/promises" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/webmozart/assert" />
|
||||
@@ -57,15 +48,16 @@
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/phpoffice/phpspreadsheet" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/markbaker/complex" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/markbaker/matrix" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/fruitcake/laravel-cors" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/fruitcake/php-cors" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/maennchen/zipstream-php" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/vsmoraes/laravel-pdf" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/neitanod/forceutf8" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/unisharp/laravel-filemanager" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/hamcrest/hamcrest-php" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/vsmoraes/laravel-pdf" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/maximebf/debugbar" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/neitanod/forceutf8" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/lcobucci/clock" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/lcobucci/jwt" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/fakerphp/faker" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/gitonomy/gitlib" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/hamcrest/hamcrest-php" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/deprecations" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/inflector" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/cache" />
|
||||
@@ -73,20 +65,22 @@
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/lexer" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/event-manager" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/instantiator" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/dom-crawler" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/theseer/tokenizer" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/barryvdh/laravel-debugbar" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/mailer" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/dom-crawler" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-intl-grapheme" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-intl-idn" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/console" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/translation-contracts" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/routing" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/translation" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-php81" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/uid" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/http-kernel" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/css-selector" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-iconv" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/finder" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-mbstring" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/css-selector" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/finder" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-uuid" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/string" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-intl-normalizer" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-ctype" />
|
||||
@@ -101,69 +95,79 @@
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/var-dumper" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/yaml" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/process" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-php80" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-php73" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-file-iterator" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-text-template" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-timer" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-php80" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/phpunit" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-code-coverage" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-file-iterator" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-invoker" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/phpspec/php-diff" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-timer" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/phpspec/phpspec" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/phar-io/manifest" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-code-coverage" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/phpspec/prophecy" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/myclabs/php-enum" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/phpspec/php-diff" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/phar-io/version" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/monolog/monolog" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/phar-io/manifest" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/myclabs/deep-copy" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/laravel/dusk" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/myclabs/php-enum" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/mockery/mockery" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/laravel/framework" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/monolog/monolog" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/laravel/ui" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/laravel/socialite" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/laravel/dusk" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/laravel/tinker" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/laravel/framework" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/laravel/serializable-closure" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/laravel/socialite" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/giggsey/locale" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/giggsey/libphonenumber-for-php" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/bugsnag/bugsnag-psr-logger" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/dflydev/dot-access-data" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/egulias/email-validator" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/bugsnag/bugsnag" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/bugsnag/bugsnag-laravel" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/torann/geoip" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/bugsnag/bugsnag-psr-logger" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/vlucas/phpdotenv" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/ramsey/uuid" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/bugsnag/bugsnag" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/tedivm/fetch" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/predis/predis" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/torann/geoip" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/spatie/ignition" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/spatie/backtrace" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/spatie/flare-client-php" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/spatie/laravel-ignition" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/ramsey/collection" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/namshi/jose" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/ramsey/uuid" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/nesbot/carbon" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/predis/predis" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/league/config" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/namshi/jose" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/league/commonmark" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/league/flysystem" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/league/oauth1-client" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/league/iso3166" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/league/flysystem-aws-s3-v3" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/league/mime-type-detection" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/facade/ignition-contracts" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/flowjs/flow-php-server" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/facade/flare-client-php" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/facade/ignition" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/dompdf/dompdf" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/ezyang/htmlpurifier" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/yajra/laravel-datatables-oracle" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/codacy/coverage" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/phenx/php-font-lib" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/tymon/jwt-auth" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/mremi/url-shortener" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/yajra/laravel-datatables-oracle" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/nikic/php-parser" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/asm89/stack-cors" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/phenx/php-font-lib" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/nette/utils" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/nette/schema" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/brick/math" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/opis/closure" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/voku/portable-ascii" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/psy/psysh" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/mremi/url-shortener" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/filp/whoops" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/laravel/serializable-closure" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/graham-campbell/result-type" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/maximebf/debugbar" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/barryvdh/laravel-debugbar" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/voku/portable-ascii" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/log" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/psy/psysh" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/http-client" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/http-factory" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/simple-cache" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/event-dispatcher" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/clock" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/http-message" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/container" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/aws/aws-crt-php" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/aws/aws-sdk-php" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
|
124
.idea/php.xml
generated
124
.idea/php.xml
generated
@@ -2,32 +2,23 @@
|
||||
<project version="4">
|
||||
<component name="PhpIncludePathManager">
|
||||
<include_path>
|
||||
<path value="$PROJECT_DIR$/vendor/psr/http-factory" />
|
||||
<path value="$PROJECT_DIR$/vendor/psr/log" />
|
||||
<path value="$PROJECT_DIR$/vendor/psr/event-dispatcher" />
|
||||
<path value="$PROJECT_DIR$/vendor/psr/http-client" />
|
||||
<path value="$PROJECT_DIR$/vendor/psr/http-message" />
|
||||
<path value="$PROJECT_DIR$/vendor/psr/simple-cache" />
|
||||
<path value="$PROJECT_DIR$/vendor/psr/container" />
|
||||
<path value="$PROJECT_DIR$/vendor/aws/aws-sdk-php" />
|
||||
<path value="$PROJECT_DIR$/vendor/aws/aws-crt-php" />
|
||||
<path value="$PROJECT_DIR$/vendor/composer" />
|
||||
<path value="$PROJECT_DIR$/vendor/davejamesmiller/laravel-breadcrumbs" />
|
||||
<path value="$PROJECT_DIR$/vendor/graham-campbell/result-type" />
|
||||
<path value="$PROJECT_DIR$/vendor/laravelcollective/html" />
|
||||
<path value="$PROJECT_DIR$/vendor/phpdocumentor/type-resolver" />
|
||||
<path value="$PROJECT_DIR$/vendor/propaganistas/laravel-phone" />
|
||||
<path value="$PROJECT_DIR$/vendor/phpdocumentor/reflection-docblock" />
|
||||
<path value="$PROJECT_DIR$/vendor/davejamesmiller/laravel-breadcrumbs" />
|
||||
<path value="$PROJECT_DIR$/vendor/phpdocumentor/reflection-common" />
|
||||
<path value="$PROJECT_DIR$/vendor/nicolaslopezj/searchable" />
|
||||
<path value="$PROJECT_DIR$/vendor/phpdocumentor/type-resolver" />
|
||||
<path value="$PROJECT_DIR$/vendor/php-webdriver/webdriver" />
|
||||
<path value="$PROJECT_DIR$/vendor/tijsverkoyen/css-to-inline-styles" />
|
||||
<path value="$PROJECT_DIR$/vendor/phpdocumentor/reflection-docblock" />
|
||||
<path value="$PROJECT_DIR$/vendor/dragonmantank/cron-expression" />
|
||||
<path value="$PROJECT_DIR$/vendor/thomaswelton/laravel-gravatar" />
|
||||
<path value="$PROJECT_DIR$/vendor/thomaswelton/gravatarlib" />
|
||||
<path value="$PROJECT_DIR$/vendor/swiftmailer/swiftmailer" />
|
||||
<path value="$PROJECT_DIR$/vendor/nicolaslopezj/searchable" />
|
||||
<path value="$PROJECT_DIR$/vendor/intervention/image" />
|
||||
<path value="$PROJECT_DIR$/vendor/nunomaduro/collision" />
|
||||
<path value="$PROJECT_DIR$/vendor/tijsverkoyen/css-to-inline-styles" />
|
||||
<path value="$PROJECT_DIR$/vendor/maatwebsite/excel" />
|
||||
<path value="$PROJECT_DIR$/vendor/masterminds/html5" />
|
||||
<path value="$PROJECT_DIR$/vendor/nunomaduro/termwind" />
|
||||
<path value="$PROJECT_DIR$/vendor/nunomaduro/collision" />
|
||||
<path value="$PROJECT_DIR$/vendor/guzzlehttp/psr7" />
|
||||
<path value="$PROJECT_DIR$/vendor/guzzlehttp/promises" />
|
||||
<path value="$PROJECT_DIR$/vendor/webmozart/assert" />
|
||||
@@ -54,15 +45,16 @@
|
||||
<path value="$PROJECT_DIR$/vendor/phpoffice/phpspreadsheet" />
|
||||
<path value="$PROJECT_DIR$/vendor/markbaker/complex" />
|
||||
<path value="$PROJECT_DIR$/vendor/markbaker/matrix" />
|
||||
<path value="$PROJECT_DIR$/vendor/fruitcake/laravel-cors" />
|
||||
<path value="$PROJECT_DIR$/vendor/fruitcake/php-cors" />
|
||||
<path value="$PROJECT_DIR$/vendor/maennchen/zipstream-php" />
|
||||
<path value="$PROJECT_DIR$/vendor/vsmoraes/laravel-pdf" />
|
||||
<path value="$PROJECT_DIR$/vendor/neitanod/forceutf8" />
|
||||
<path value="$PROJECT_DIR$/vendor/unisharp/laravel-filemanager" />
|
||||
<path value="$PROJECT_DIR$/vendor/hamcrest/hamcrest-php" />
|
||||
<path value="$PROJECT_DIR$/vendor/vsmoraes/laravel-pdf" />
|
||||
<path value="$PROJECT_DIR$/vendor/maximebf/debugbar" />
|
||||
<path value="$PROJECT_DIR$/vendor/neitanod/forceutf8" />
|
||||
<path value="$PROJECT_DIR$/vendor/lcobucci/clock" />
|
||||
<path value="$PROJECT_DIR$/vendor/lcobucci/jwt" />
|
||||
<path value="$PROJECT_DIR$/vendor/fakerphp/faker" />
|
||||
<path value="$PROJECT_DIR$/vendor/gitonomy/gitlib" />
|
||||
<path value="$PROJECT_DIR$/vendor/hamcrest/hamcrest-php" />
|
||||
<path value="$PROJECT_DIR$/vendor/doctrine/deprecations" />
|
||||
<path value="$PROJECT_DIR$/vendor/doctrine/inflector" />
|
||||
<path value="$PROJECT_DIR$/vendor/doctrine/cache" />
|
||||
@@ -70,20 +62,22 @@
|
||||
<path value="$PROJECT_DIR$/vendor/doctrine/lexer" />
|
||||
<path value="$PROJECT_DIR$/vendor/doctrine/event-manager" />
|
||||
<path value="$PROJECT_DIR$/vendor/doctrine/instantiator" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/dom-crawler" />
|
||||
<path value="$PROJECT_DIR$/vendor/theseer/tokenizer" />
|
||||
<path value="$PROJECT_DIR$/vendor/barryvdh/laravel-debugbar" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/mailer" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/dom-crawler" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-intl-grapheme" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-intl-idn" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/console" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/translation-contracts" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/routing" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/translation" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-php81" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/uid" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/http-kernel" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/css-selector" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-iconv" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/finder" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-mbstring" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/css-selector" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/finder" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-uuid" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/string" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-intl-normalizer" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-ctype" />
|
||||
@@ -98,69 +92,79 @@
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/var-dumper" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/yaml" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/process" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-php80" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-php73" />
|
||||
<path value="$PROJECT_DIR$/vendor/phpunit/php-file-iterator" />
|
||||
<path value="$PROJECT_DIR$/vendor/phpunit/php-text-template" />
|
||||
<path value="$PROJECT_DIR$/vendor/phpunit/php-timer" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-php80" />
|
||||
<path value="$PROJECT_DIR$/vendor/phpunit/phpunit" />
|
||||
<path value="$PROJECT_DIR$/vendor/phpunit/php-code-coverage" />
|
||||
<path value="$PROJECT_DIR$/vendor/phpunit/php-file-iterator" />
|
||||
<path value="$PROJECT_DIR$/vendor/phpunit/php-invoker" />
|
||||
<path value="$PROJECT_DIR$/vendor/phpspec/php-diff" />
|
||||
<path value="$PROJECT_DIR$/vendor/phpunit/php-timer" />
|
||||
<path value="$PROJECT_DIR$/vendor/phpspec/phpspec" />
|
||||
<path value="$PROJECT_DIR$/vendor/phar-io/manifest" />
|
||||
<path value="$PROJECT_DIR$/vendor/phpunit/php-code-coverage" />
|
||||
<path value="$PROJECT_DIR$/vendor/phpspec/prophecy" />
|
||||
<path value="$PROJECT_DIR$/vendor/myclabs/php-enum" />
|
||||
<path value="$PROJECT_DIR$/vendor/phpspec/php-diff" />
|
||||
<path value="$PROJECT_DIR$/vendor/phar-io/version" />
|
||||
<path value="$PROJECT_DIR$/vendor/monolog/monolog" />
|
||||
<path value="$PROJECT_DIR$/vendor/phar-io/manifest" />
|
||||
<path value="$PROJECT_DIR$/vendor/myclabs/deep-copy" />
|
||||
<path value="$PROJECT_DIR$/vendor/laravel/dusk" />
|
||||
<path value="$PROJECT_DIR$/vendor/myclabs/php-enum" />
|
||||
<path value="$PROJECT_DIR$/vendor/mockery/mockery" />
|
||||
<path value="$PROJECT_DIR$/vendor/laravel/framework" />
|
||||
<path value="$PROJECT_DIR$/vendor/monolog/monolog" />
|
||||
<path value="$PROJECT_DIR$/vendor/laravel/ui" />
|
||||
<path value="$PROJECT_DIR$/vendor/laravel/socialite" />
|
||||
<path value="$PROJECT_DIR$/vendor/laravel/dusk" />
|
||||
<path value="$PROJECT_DIR$/vendor/laravel/tinker" />
|
||||
<path value="$PROJECT_DIR$/vendor/laravel/framework" />
|
||||
<path value="$PROJECT_DIR$/vendor/laravel/serializable-closure" />
|
||||
<path value="$PROJECT_DIR$/vendor/laravel/socialite" />
|
||||
<path value="$PROJECT_DIR$/vendor/giggsey/locale" />
|
||||
<path value="$PROJECT_DIR$/vendor/giggsey/libphonenumber-for-php" />
|
||||
<path value="$PROJECT_DIR$/vendor/bugsnag/bugsnag-psr-logger" />
|
||||
<path value="$PROJECT_DIR$/vendor/dflydev/dot-access-data" />
|
||||
<path value="$PROJECT_DIR$/vendor/egulias/email-validator" />
|
||||
<path value="$PROJECT_DIR$/vendor/bugsnag/bugsnag" />
|
||||
<path value="$PROJECT_DIR$/vendor/bugsnag/bugsnag-laravel" />
|
||||
<path value="$PROJECT_DIR$/vendor/torann/geoip" />
|
||||
<path value="$PROJECT_DIR$/vendor/bugsnag/bugsnag-psr-logger" />
|
||||
<path value="$PROJECT_DIR$/vendor/vlucas/phpdotenv" />
|
||||
<path value="$PROJECT_DIR$/vendor/ramsey/uuid" />
|
||||
<path value="$PROJECT_DIR$/vendor/bugsnag/bugsnag" />
|
||||
<path value="$PROJECT_DIR$/vendor/tedivm/fetch" />
|
||||
<path value="$PROJECT_DIR$/vendor/predis/predis" />
|
||||
<path value="$PROJECT_DIR$/vendor/torann/geoip" />
|
||||
<path value="$PROJECT_DIR$/vendor/spatie/ignition" />
|
||||
<path value="$PROJECT_DIR$/vendor/spatie/backtrace" />
|
||||
<path value="$PROJECT_DIR$/vendor/spatie/flare-client-php" />
|
||||
<path value="$PROJECT_DIR$/vendor/spatie/laravel-ignition" />
|
||||
<path value="$PROJECT_DIR$/vendor/ramsey/collection" />
|
||||
<path value="$PROJECT_DIR$/vendor/namshi/jose" />
|
||||
<path value="$PROJECT_DIR$/vendor/ramsey/uuid" />
|
||||
<path value="$PROJECT_DIR$/vendor/nesbot/carbon" />
|
||||
<path value="$PROJECT_DIR$/vendor/predis/predis" />
|
||||
<path value="$PROJECT_DIR$/vendor/league/config" />
|
||||
<path value="$PROJECT_DIR$/vendor/namshi/jose" />
|
||||
<path value="$PROJECT_DIR$/vendor/league/commonmark" />
|
||||
<path value="$PROJECT_DIR$/vendor/league/flysystem" />
|
||||
<path value="$PROJECT_DIR$/vendor/league/oauth1-client" />
|
||||
<path value="$PROJECT_DIR$/vendor/league/iso3166" />
|
||||
<path value="$PROJECT_DIR$/vendor/league/flysystem-aws-s3-v3" />
|
||||
<path value="$PROJECT_DIR$/vendor/league/mime-type-detection" />
|
||||
<path value="$PROJECT_DIR$/vendor/facade/ignition-contracts" />
|
||||
<path value="$PROJECT_DIR$/vendor/flowjs/flow-php-server" />
|
||||
<path value="$PROJECT_DIR$/vendor/facade/flare-client-php" />
|
||||
<path value="$PROJECT_DIR$/vendor/facade/ignition" />
|
||||
<path value="$PROJECT_DIR$/vendor/dompdf/dompdf" />
|
||||
<path value="$PROJECT_DIR$/vendor/ezyang/htmlpurifier" />
|
||||
<path value="$PROJECT_DIR$/vendor/yajra/laravel-datatables-oracle" />
|
||||
<path value="$PROJECT_DIR$/vendor/codacy/coverage" />
|
||||
<path value="$PROJECT_DIR$/vendor/phenx/php-font-lib" />
|
||||
<path value="$PROJECT_DIR$/vendor/tymon/jwt-auth" />
|
||||
<path value="$PROJECT_DIR$/vendor/mremi/url-shortener" />
|
||||
<path value="$PROJECT_DIR$/vendor/yajra/laravel-datatables-oracle" />
|
||||
<path value="$PROJECT_DIR$/vendor/nikic/php-parser" />
|
||||
<path value="$PROJECT_DIR$/vendor/asm89/stack-cors" />
|
||||
<path value="$PROJECT_DIR$/vendor/phenx/php-font-lib" />
|
||||
<path value="$PROJECT_DIR$/vendor/nette/utils" />
|
||||
<path value="$PROJECT_DIR$/vendor/nette/schema" />
|
||||
<path value="$PROJECT_DIR$/vendor/brick/math" />
|
||||
<path value="$PROJECT_DIR$/vendor/opis/closure" />
|
||||
<path value="$PROJECT_DIR$/vendor/voku/portable-ascii" />
|
||||
<path value="$PROJECT_DIR$/vendor/psy/psysh" />
|
||||
<path value="$PROJECT_DIR$/vendor/mremi/url-shortener" />
|
||||
<path value="$PROJECT_DIR$/vendor/filp/whoops" />
|
||||
<path value="$PROJECT_DIR$/vendor/laravel/serializable-closure" />
|
||||
<path value="$PROJECT_DIR$/vendor/graham-campbell/result-type" />
|
||||
<path value="$PROJECT_DIR$/vendor/maximebf/debugbar" />
|
||||
<path value="$PROJECT_DIR$/vendor/barryvdh/laravel-debugbar" />
|
||||
<path value="$PROJECT_DIR$/vendor/voku/portable-ascii" />
|
||||
<path value="$PROJECT_DIR$/vendor/psr/log" />
|
||||
<path value="$PROJECT_DIR$/vendor/psy/psysh" />
|
||||
<path value="$PROJECT_DIR$/vendor/psr/http-client" />
|
||||
<path value="$PROJECT_DIR$/vendor/psr/http-factory" />
|
||||
<path value="$PROJECT_DIR$/vendor/psr/simple-cache" />
|
||||
<path value="$PROJECT_DIR$/vendor/psr/event-dispatcher" />
|
||||
<path value="$PROJECT_DIR$/vendor/psr/clock" />
|
||||
<path value="$PROJECT_DIR$/vendor/psr/http-message" />
|
||||
<path value="$PROJECT_DIR$/vendor/psr/container" />
|
||||
<path value="$PROJECT_DIR$/vendor/aws/aws-crt-php" />
|
||||
<path value="$PROJECT_DIR$/vendor/aws/aws-sdk-php" />
|
||||
</include_path>
|
||||
</component>
|
||||
<component name="PhpProjectSharedConfiguration" php_language_level="7.2" />
|
||||
|
@@ -3,9 +3,9 @@
|
||||
namespace App\Console\Commands;
|
||||
|
||||
use App\Model\helpdesk\Settings\System;
|
||||
use Artisan;
|
||||
use Config;
|
||||
use DB;
|
||||
use Illuminate\Support\Facades\Artisan;
|
||||
use Illuminate\Support\Facades\Config;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Console\Command;
|
||||
|
||||
class SetupTestEnv extends Command
|
||||
@@ -42,7 +42,7 @@ class SetupTestEnv extends Command
|
||||
public function handle()
|
||||
{
|
||||
$dbUsername = $this->option('username') ? $this->option('username') : env('DB_USERNAME');
|
||||
$dbPassword = $this->option('password') ? $this->option('password') : (env('DB_PASSWORD')) ? env('DB_PASSWORD') : '';
|
||||
$dbPassword = $this->option('password') ? $this->option('password') : (env('DB_PASSWORD'));
|
||||
$this->setupConfig($dbUsername, $dbPassword);
|
||||
|
||||
echo "\nCreating database...\n";
|
||||
|
@@ -14,7 +14,6 @@
|
||||
"vsmoraes/laravel-pdf": "1.0.1",
|
||||
"propaganistas/laravel-phone": "^4.3",
|
||||
"bugsnag/bugsnag-laravel": "^2.23",
|
||||
"thomaswelton/laravel-gravatar": "^1.3",
|
||||
"neitanod/forceutf8": "dev-master",
|
||||
"nicolaslopezj/searchable": "^1.13",
|
||||
"tymon/jwt-auth": "dev-develop",
|
||||
@@ -22,7 +21,7 @@
|
||||
"aws/aws-sdk-php": "^3.131",
|
||||
"predis/predis": "~1.0",
|
||||
"mremi/url-shortener": "^2.4",
|
||||
"maatwebsite/excel": "4.0.x-dev",
|
||||
"maatwebsite/excel": "3.1.x-dev",
|
||||
"laravel/socialite": "^5.3",
|
||||
"tedivm/fetch": "0.6.*",
|
||||
"unisharp/laravel-filemanager": "^2.4",
|
||||
@@ -41,7 +40,6 @@
|
||||
"symfony/dom-crawler": "^6.0",
|
||||
"symfony/css-selector": "^6.0",
|
||||
"laravel/dusk": "^6.21",
|
||||
"codacy/coverage": "dev-master",
|
||||
"nunomaduro/collision": "^6.3",
|
||||
"mockery/mockery": "^1.4.4",
|
||||
"fakerphp/faker": "^1.9.1",
|
||||
|
3410
composer.lock
generated
3410
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -170,7 +170,6 @@ return [
|
||||
App\Providers\ConfigServiceProvider::class,
|
||||
App\Providers\ComposerServiceProvider::class,
|
||||
'Vsmoraes\Pdf\PdfServiceProvider',
|
||||
'Thomaswelton\LaravelGravatar\LaravelGravatarServiceProvider',
|
||||
Tymon\JWTAuth\Providers\LaravelServiceProvider::class,
|
||||
\Torann\GeoIP\GeoIPServiceProvider::class,
|
||||
Unisharp\Laravelfilemanager\LaravelFilemanagerServiceProvider::class,
|
||||
|
19
vendor/asm89/stack-cors/LICENSE
vendored
19
vendor/asm89/stack-cors/LICENSE
vendored
@@ -1,19 +0,0 @@
|
||||
Copyright (c) 2013-2017 Alexander <iam.asm89@gmail.com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is furnished
|
||||
to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
83
vendor/asm89/stack-cors/README.md
vendored
83
vendor/asm89/stack-cors/README.md
vendored
@@ -1,83 +0,0 @@
|
||||
# Stack/Cors
|
||||
|
||||
Library and middleware enabling cross-origin resource sharing for your
|
||||
http-{foundation,kernel} using application. It attempts to implement the
|
||||
[W3C Recommendation] for cross-origin resource sharing.
|
||||
|
||||
[W3C Recommendation]: http://www.w3.org/TR/cors/
|
||||
|
||||
Build status: 
|
||||
|
||||
## Installation
|
||||
|
||||
Require `asm89/stack-cors` using composer.
|
||||
|
||||
## Usage
|
||||
|
||||
This package can be used as a library or as [stack middleware].
|
||||
|
||||
[stack middleware]: http://stackphp.com/
|
||||
|
||||
### Options
|
||||
|
||||
| Option | Description | Default value |
|
||||
|------------------------|------------------------------------------------------------|---------------|
|
||||
| allowedMethods | Matches the request method. | `[]` |
|
||||
| allowedOrigins | Matches the request origin. | `[]` |
|
||||
| allowedOriginsPatterns | Matches the request origin with `preg_match`. | `[]` |
|
||||
| allowedHeaders | Sets the Access-Control-Allow-Headers response header. | `[]` |
|
||||
| exposedHeaders | Sets the Access-Control-Expose-Headers response header. | `false` |
|
||||
| maxAge | Sets the Access-Control-Max-Age response header. | `false` |
|
||||
| supportsCredentials | Sets the Access-Control-Allow-Credentials header. | `false` |
|
||||
|
||||
The _allowedMethods_ and _allowedHeaders_ options are case-insensitive.
|
||||
|
||||
You don't need to provide both _allowedOrigins_ and _allowedOriginsPatterns_. If one of the strings passed matches, it is considered a valid origin.
|
||||
|
||||
If `['*']` is provided to _allowedMethods_, _allowedOrigins_ or _allowedHeaders_ all methods / origins / headers are allowed.
|
||||
|
||||
### Example: using the library
|
||||
|
||||
```php
|
||||
<?php
|
||||
|
||||
use Asm89\Stack\CorsService;
|
||||
|
||||
$cors = new CorsService([
|
||||
'allowedHeaders' => ['x-allowed-header', 'x-other-allowed-header'],
|
||||
'allowedMethods' => ['DELETE', 'GET', 'POST', 'PUT'],
|
||||
'allowedOrigins' => ['http://localhost'],
|
||||
'allowedOriginsPatterns' => ['/localhost:\d/'],
|
||||
'exposedHeaders' => false,
|
||||
'maxAge' => false,
|
||||
'supportsCredentials' => false,
|
||||
]);
|
||||
|
||||
$cors->addActualRequestHeaders(Response $response, $origin);
|
||||
$cors->handlePreflightRequest(Request $request);
|
||||
$cors->isActualRequestAllowed(Request $request);
|
||||
$cors->isCorsRequest(Request $request);
|
||||
$cors->isPreflightRequest(Request $request);
|
||||
```
|
||||
|
||||
## Example: using the stack middleware
|
||||
|
||||
```php
|
||||
<?php
|
||||
|
||||
use Asm89\Stack\Cors;
|
||||
|
||||
$app = new Cors($app, [
|
||||
// you can use ['*'] to allow any headers
|
||||
'allowedHeaders' => ['x-allowed-header', 'x-other-allowed-header'],
|
||||
// you can use ['*'] to allow any methods
|
||||
'allowedMethods' => ['DELETE', 'GET', 'POST', 'PUT'],
|
||||
// you can use ['*'] to allow requests from any origin
|
||||
'allowedOrigins' => ['localhost'],
|
||||
// you can enter regexes that are matched to the origin request header
|
||||
'allowedOriginsPatterns' => ['/localhost:\d/'],
|
||||
'exposedHeaders' => false,
|
||||
'maxAge' => false,
|
||||
'supportsCredentials' => false,
|
||||
]);
|
||||
```
|
43
vendor/asm89/stack-cors/composer.json
vendored
43
vendor/asm89/stack-cors/composer.json
vendored
@@ -1,43 +0,0 @@
|
||||
{
|
||||
"name": "asm89/stack-cors",
|
||||
"description": "Cross-origin resource sharing library and stack middleware",
|
||||
"keywords": ["stack", "cors"],
|
||||
"homepage": "https://github.com/asm89/stack-cors",
|
||||
"type": "library",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Alexander",
|
||||
"email": "iam.asm89@gmail.com"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": "^7.2|^8.0",
|
||||
"symfony/http-foundation": "^4|^5|^6",
|
||||
"symfony/http-kernel": "^4|^5|^6"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^7|^9",
|
||||
"squizlabs/php_codesniffer": "^3.5"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Asm89\\Stack\\": "src/"
|
||||
}
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"Asm89\\Stack\\Tests\\": "tests/"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"test": "phpunit",
|
||||
"check-style": "phpcs -p --standard=PSR12 --exclude=Generic.Files.LineLength --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src",
|
||||
"fix-style": "phpcbf -p --standard=PSR12 --exclude=Generic.Files.LineLength --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src"
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "2.1-dev"
|
||||
}
|
||||
}
|
||||
}
|
61
vendor/asm89/stack-cors/src/Cors.php
vendored
61
vendor/asm89/stack-cors/src/Cors.php
vendored
@@ -1,61 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of asm89/stack-cors.
|
||||
*
|
||||
* (c) Alexander <iam.asm89@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Asm89\Stack;
|
||||
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
use Symfony\Component\HttpKernel\HttpKernelInterface;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
|
||||
class Cors implements HttpKernelInterface
|
||||
{
|
||||
/**
|
||||
* @var \Symfony\Component\HttpKernel\HttpKernelInterface
|
||||
*/
|
||||
private $app;
|
||||
|
||||
/**
|
||||
* @var \Asm89\Stack\CorsService
|
||||
*/
|
||||
private $cors;
|
||||
|
||||
private $defaultOptions = [
|
||||
'allowedHeaders' => [],
|
||||
'allowedMethods' => [],
|
||||
'allowedOrigins' => [],
|
||||
'allowedOriginsPatterns' => [],
|
||||
'exposedHeaders' => [],
|
||||
'maxAge' => 0,
|
||||
'supportsCredentials' => false,
|
||||
];
|
||||
|
||||
public function __construct(HttpKernelInterface $app, array $options = [])
|
||||
{
|
||||
$this->app = $app;
|
||||
$this->cors = new CorsService(array_merge($this->defaultOptions, $options));
|
||||
}
|
||||
|
||||
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true): Response
|
||||
{
|
||||
if ($this->cors->isPreflightRequest($request)) {
|
||||
$response = $this->cors->handlePreflightRequest($request);
|
||||
return $this->cors->varyHeader($response, 'Access-Control-Request-Method');
|
||||
}
|
||||
|
||||
$response = $this->app->handle($request, $type, $catch);
|
||||
|
||||
if ($request->getMethod() === 'OPTIONS') {
|
||||
$this->cors->varyHeader($response, 'Access-Control-Request-Method');
|
||||
}
|
||||
|
||||
return $this->cors->addActualRequestHeaders($response, $request);
|
||||
}
|
||||
}
|
225
vendor/asm89/stack-cors/src/CorsService.php
vendored
225
vendor/asm89/stack-cors/src/CorsService.php
vendored
@@ -1,225 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of asm89/stack-cors.
|
||||
*
|
||||
* (c) Alexander <iam.asm89@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Asm89\Stack;
|
||||
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
|
||||
class CorsService
|
||||
{
|
||||
private $options;
|
||||
|
||||
public function __construct(array $options = [])
|
||||
{
|
||||
$this->options = $this->normalizeOptions($options);
|
||||
}
|
||||
|
||||
private function normalizeOptions(array $options = []): array
|
||||
{
|
||||
$options += [
|
||||
'allowedOrigins' => [],
|
||||
'allowedOriginsPatterns' => [],
|
||||
'supportsCredentials' => false,
|
||||
'allowedHeaders' => [],
|
||||
'exposedHeaders' => [],
|
||||
'allowedMethods' => [],
|
||||
'maxAge' => 0,
|
||||
];
|
||||
|
||||
// normalize array('*') to true
|
||||
if (in_array('*', $options['allowedOrigins'])) {
|
||||
$options['allowedOrigins'] = true;
|
||||
}
|
||||
if (in_array('*', $options['allowedHeaders'])) {
|
||||
$options['allowedHeaders'] = true;
|
||||
} else {
|
||||
$options['allowedHeaders'] = array_map('strtolower', $options['allowedHeaders']);
|
||||
}
|
||||
|
||||
if (in_array('*', $options['allowedMethods'])) {
|
||||
$options['allowedMethods'] = true;
|
||||
} else {
|
||||
$options['allowedMethods'] = array_map('strtoupper', $options['allowedMethods']);
|
||||
}
|
||||
|
||||
return $options;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated use isOriginAllowed
|
||||
*/
|
||||
public function isActualRequestAllowed(Request $request): bool
|
||||
{
|
||||
return $this->isOriginAllowed($request);
|
||||
}
|
||||
|
||||
public function isCorsRequest(Request $request): bool
|
||||
{
|
||||
return $request->headers->has('Origin');
|
||||
}
|
||||
|
||||
public function isPreflightRequest(Request $request): bool
|
||||
{
|
||||
return $request->getMethod() === 'OPTIONS' && $request->headers->has('Access-Control-Request-Method');
|
||||
}
|
||||
|
||||
public function handlePreflightRequest(Request $request): Response
|
||||
{
|
||||
$response = new Response();
|
||||
|
||||
$response->setStatusCode(204);
|
||||
|
||||
return $this->addPreflightRequestHeaders($response, $request);
|
||||
}
|
||||
|
||||
public function addPreflightRequestHeaders(Response $response, Request $request): Response
|
||||
{
|
||||
$this->configureAllowedOrigin($response, $request);
|
||||
|
||||
if ($response->headers->has('Access-Control-Allow-Origin')) {
|
||||
$this->configureAllowCredentials($response, $request);
|
||||
|
||||
$this->configureAllowedMethods($response, $request);
|
||||
|
||||
$this->configureAllowedHeaders($response, $request);
|
||||
|
||||
$this->configureMaxAge($response, $request);
|
||||
}
|
||||
|
||||
return $response;
|
||||
}
|
||||
|
||||
public function isOriginAllowed(Request $request): bool
|
||||
{
|
||||
if ($this->options['allowedOrigins'] === true) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!$request->headers->has('Origin')) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$origin = $request->headers->get('Origin');
|
||||
|
||||
if (in_array($origin, $this->options['allowedOrigins'])) {
|
||||
return true;
|
||||
}
|
||||
|
||||
foreach ($this->options['allowedOriginsPatterns'] as $pattern) {
|
||||
if (preg_match($pattern, $origin)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public function addActualRequestHeaders(Response $response, Request $request): Response
|
||||
{
|
||||
$this->configureAllowedOrigin($response, $request);
|
||||
|
||||
if ($response->headers->has('Access-Control-Allow-Origin')) {
|
||||
$this->configureAllowCredentials($response, $request);
|
||||
|
||||
$this->configureExposedHeaders($response, $request);
|
||||
}
|
||||
|
||||
return $response;
|
||||
}
|
||||
|
||||
private function configureAllowedOrigin(Response $response, Request $request)
|
||||
{
|
||||
if ($this->options['allowedOrigins'] === true && !$this->options['supportsCredentials']) {
|
||||
// Safe+cacheable, allow everything
|
||||
$response->headers->set('Access-Control-Allow-Origin', '*');
|
||||
} elseif ($this->isSingleOriginAllowed()) {
|
||||
// Single origins can be safely set
|
||||
$response->headers->set('Access-Control-Allow-Origin', array_values($this->options['allowedOrigins'])[0]);
|
||||
} else {
|
||||
// For dynamic headers, set the requested Origin header when set and allowed
|
||||
if ($this->isCorsRequest($request) && $this->isOriginAllowed($request)) {
|
||||
$response->headers->set('Access-Control-Allow-Origin', $request->headers->get('Origin'));
|
||||
}
|
||||
|
||||
$this->varyHeader($response, 'Origin');
|
||||
}
|
||||
}
|
||||
|
||||
private function isSingleOriginAllowed(): bool
|
||||
{
|
||||
if ($this->options['allowedOrigins'] === true || !empty($this->options['allowedOriginsPatterns'])) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return count($this->options['allowedOrigins']) === 1;
|
||||
}
|
||||
|
||||
private function configureAllowedMethods(Response $response, Request $request)
|
||||
{
|
||||
if ($this->options['allowedMethods'] === true) {
|
||||
$allowMethods = strtoupper($request->headers->get('Access-Control-Request-Method'));
|
||||
$this->varyHeader($response, 'Access-Control-Request-Method');
|
||||
} else {
|
||||
$allowMethods = implode(', ', $this->options['allowedMethods']);
|
||||
}
|
||||
|
||||
$response->headers->set('Access-Control-Allow-Methods', $allowMethods);
|
||||
}
|
||||
|
||||
private function configureAllowedHeaders(Response $response, Request $request)
|
||||
{
|
||||
if ($this->options['allowedHeaders'] === true) {
|
||||
$allowHeaders = $request->headers->get('Access-Control-Request-Headers');
|
||||
$this->varyHeader($response, 'Access-Control-Request-Headers');
|
||||
} else {
|
||||
$allowHeaders = implode(', ', $this->options['allowedHeaders']);
|
||||
}
|
||||
$response->headers->set('Access-Control-Allow-Headers', $allowHeaders);
|
||||
}
|
||||
|
||||
private function configureAllowCredentials(Response $response, Request $request)
|
||||
{
|
||||
if ($this->options['supportsCredentials']) {
|
||||
$response->headers->set('Access-Control-Allow-Credentials', 'true');
|
||||
}
|
||||
}
|
||||
|
||||
private function configureExposedHeaders(Response $response, Request $request)
|
||||
{
|
||||
if ($this->options['exposedHeaders']) {
|
||||
$response->headers->set('Access-Control-Expose-Headers', implode(', ', $this->options['exposedHeaders']));
|
||||
}
|
||||
}
|
||||
|
||||
private function configureMaxAge(Response $response, Request $request)
|
||||
{
|
||||
if ($this->options['maxAge'] !== null) {
|
||||
$response->headers->set('Access-Control-Max-Age', (int) $this->options['maxAge']);
|
||||
}
|
||||
}
|
||||
|
||||
public function varyHeader(Response $response, $header): Response
|
||||
{
|
||||
if (!$response->headers->has('Vary')) {
|
||||
$response->headers->set('Vary', $header);
|
||||
} elseif (!in_array($header, explode(', ', $response->headers->get('Vary')))) {
|
||||
$response->headers->set('Vary', $response->headers->get('Vary') . ', ' . $header);
|
||||
}
|
||||
|
||||
return $response;
|
||||
}
|
||||
|
||||
private function isSameHost(Request $request): bool
|
||||
{
|
||||
return $request->headers->get('Origin') === $request->getSchemeAndHttpHost();
|
||||
}
|
||||
}
|
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) {
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInite3a664ccc4def6142d1c80482606ee61::getLoader();
|
||||
return ComposerAutoloaderInit10c1836cea18dd9470bc2e97275d9d56::getLoader();
|
||||
|
117
vendor/bin/codacycoverage
vendored
117
vendor/bin/codacycoverage
vendored
@@ -1,117 +0,0 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Proxy PHP file generated by Composer
|
||||
*
|
||||
* This file includes the referenced bin path (../codacy/coverage/bin/codacycoverage)
|
||||
* using a stream wrapper to prevent the shebang from being output on PHP<8
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
|
||||
namespace Composer;
|
||||
|
||||
$GLOBALS['_composer_bin_dir'] = __DIR__;
|
||||
$GLOBALS['_composer_autoload_path'] = __DIR__ . '/..'.'/autoload.php';
|
||||
|
||||
if (PHP_VERSION_ID < 80000) {
|
||||
if (!class_exists('Composer\BinProxyWrapper')) {
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
final class BinProxyWrapper
|
||||
{
|
||||
private $handle;
|
||||
private $position;
|
||||
private $realpath;
|
||||
|
||||
public function stream_open($path, $mode, $options, &$opened_path)
|
||||
{
|
||||
// get rid of phpvfscomposer:// prefix for __FILE__ & __DIR__ resolution
|
||||
$opened_path = substr($path, 17);
|
||||
$this->realpath = realpath($opened_path) ?: $opened_path;
|
||||
$opened_path = $this->realpath;
|
||||
$this->handle = fopen($this->realpath, $mode);
|
||||
$this->position = 0;
|
||||
|
||||
return (bool) $this->handle;
|
||||
}
|
||||
|
||||
public function stream_read($count)
|
||||
{
|
||||
$data = fread($this->handle, $count);
|
||||
|
||||
if ($this->position === 0) {
|
||||
$data = preg_replace('{^#!.*\r?\n}', '', $data);
|
||||
}
|
||||
|
||||
$this->position += strlen($data);
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
public function stream_cast($castAs)
|
||||
{
|
||||
return $this->handle;
|
||||
}
|
||||
|
||||
public function stream_close()
|
||||
{
|
||||
fclose($this->handle);
|
||||
}
|
||||
|
||||
public function stream_lock($operation)
|
||||
{
|
||||
return $operation ? flock($this->handle, $operation) : true;
|
||||
}
|
||||
|
||||
public function stream_seek($offset, $whence)
|
||||
{
|
||||
if (0 === fseek($this->handle, $offset, $whence)) {
|
||||
$this->position = ftell($this->handle);
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public function stream_tell()
|
||||
{
|
||||
return $this->position;
|
||||
}
|
||||
|
||||
public function stream_eof()
|
||||
{
|
||||
return feof($this->handle);
|
||||
}
|
||||
|
||||
public function stream_stat()
|
||||
{
|
||||
return array();
|
||||
}
|
||||
|
||||
public function stream_set_option($option, $arg1, $arg2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public function url_stat($path, $flags)
|
||||
{
|
||||
$path = substr($path, 17);
|
||||
if (file_exists($path)) {
|
||||
return stat($path);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) {
|
||||
include("phpvfscomposer://" . __DIR__ . '/..'.'/codacy/coverage/bin/codacycoverage');
|
||||
exit(0);
|
||||
}
|
||||
}
|
||||
|
||||
include __DIR__ . '/..'.'/codacy/coverage/bin/codacycoverage';
|
117
vendor/bin/commonmark
vendored
117
vendor/bin/commonmark
vendored
@@ -1,117 +0,0 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Proxy PHP file generated by Composer
|
||||
*
|
||||
* This file includes the referenced bin path (../league/commonmark/bin/commonmark)
|
||||
* using a stream wrapper to prevent the shebang from being output on PHP<8
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
|
||||
namespace Composer;
|
||||
|
||||
$GLOBALS['_composer_bin_dir'] = __DIR__;
|
||||
$GLOBALS['_composer_autoload_path'] = __DIR__ . '/..'.'/autoload.php';
|
||||
|
||||
if (PHP_VERSION_ID < 80000) {
|
||||
if (!class_exists('Composer\BinProxyWrapper')) {
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
final class BinProxyWrapper
|
||||
{
|
||||
private $handle;
|
||||
private $position;
|
||||
private $realpath;
|
||||
|
||||
public function stream_open($path, $mode, $options, &$opened_path)
|
||||
{
|
||||
// get rid of phpvfscomposer:// prefix for __FILE__ & __DIR__ resolution
|
||||
$opened_path = substr($path, 17);
|
||||
$this->realpath = realpath($opened_path) ?: $opened_path;
|
||||
$opened_path = $this->realpath;
|
||||
$this->handle = fopen($this->realpath, $mode);
|
||||
$this->position = 0;
|
||||
|
||||
return (bool) $this->handle;
|
||||
}
|
||||
|
||||
public function stream_read($count)
|
||||
{
|
||||
$data = fread($this->handle, $count);
|
||||
|
||||
if ($this->position === 0) {
|
||||
$data = preg_replace('{^#!.*\r?\n}', '', $data);
|
||||
}
|
||||
|
||||
$this->position += strlen($data);
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
public function stream_cast($castAs)
|
||||
{
|
||||
return $this->handle;
|
||||
}
|
||||
|
||||
public function stream_close()
|
||||
{
|
||||
fclose($this->handle);
|
||||
}
|
||||
|
||||
public function stream_lock($operation)
|
||||
{
|
||||
return $operation ? flock($this->handle, $operation) : true;
|
||||
}
|
||||
|
||||
public function stream_seek($offset, $whence)
|
||||
{
|
||||
if (0 === fseek($this->handle, $offset, $whence)) {
|
||||
$this->position = ftell($this->handle);
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public function stream_tell()
|
||||
{
|
||||
return $this->position;
|
||||
}
|
||||
|
||||
public function stream_eof()
|
||||
{
|
||||
return feof($this->handle);
|
||||
}
|
||||
|
||||
public function stream_stat()
|
||||
{
|
||||
return array();
|
||||
}
|
||||
|
||||
public function stream_set_option($option, $arg1, $arg2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public function url_stat($path, $flags)
|
||||
{
|
||||
$path = substr($path, 17);
|
||||
if (file_exists($path)) {
|
||||
return stat($path);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) {
|
||||
include("phpvfscomposer://" . __DIR__ . '/..'.'/league/commonmark/bin/commonmark');
|
||||
exit(0);
|
||||
}
|
||||
}
|
||||
|
||||
include __DIR__ . '/..'.'/league/commonmark/bin/commonmark';
|
22
vendor/brick/math/CHANGELOG.md
vendored
22
vendor/brick/math/CHANGELOG.md
vendored
@@ -2,11 +2,29 @@
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## [0.10.2](https://github.com/brick/math/releases/tag/0.10.2) - 2022-08-11
|
||||
|
||||
👌 **Improvements**
|
||||
|
||||
- `BigRational::toFloat()` now simplifies the fraction before performing division (#73) thanks to @olsavmic
|
||||
|
||||
## [0.10.1](https://github.com/brick/math/releases/tag/0.10.1) - 2022-08-02
|
||||
|
||||
✨ **New features**
|
||||
|
||||
- `BigInteger::gcdMultiple()` returns the GCD of multiple `BigInteger` numbers
|
||||
|
||||
## [0.10.0](https://github.com/brick/math/releases/tag/0.10.0) - 2022-06-18
|
||||
|
||||
💥 **Breaking changes**
|
||||
|
||||
- Minimum PHP version is now 7.4
|
||||
|
||||
## [0.9.3](https://github.com/brick/math/releases/tag/0.9.3) - 2021-08-15
|
||||
|
||||
🚀 **Compatibility with PHP 8.1**
|
||||
|
||||
- Support for custom object serialization; this removes a warning on PHP 8.1 due to the `Serializable` interface being deprecated (thanks @TRowbotham)
|
||||
- Support for custom object serialization; this removes a warning on PHP 8.1 due to the `Serializable` interface being deprecated (#60) thanks @TRowbotham
|
||||
|
||||
## [0.9.2](https://github.com/brick/math/releases/tag/0.9.2) - 2021-01-20
|
||||
|
||||
@@ -16,7 +34,7 @@ All notable changes to this project will be documented in this file.
|
||||
|
||||
## [0.9.1](https://github.com/brick/math/releases/tag/0.9.1) - 2020-08-19
|
||||
|
||||
✨ New features
|
||||
✨ **New features**
|
||||
|
||||
- `BigInteger::not()` returns the bitwise `NOT` value
|
||||
|
||||
|
17
vendor/brick/math/SECURITY.md
vendored
17
vendor/brick/math/SECURITY.md
vendored
@@ -1,17 +0,0 @@
|
||||
# Security Policy
|
||||
|
||||
## Supported Versions
|
||||
|
||||
Only the last two release streams are supported.
|
||||
|
||||
| Version | Supported |
|
||||
| ------- | ------------------ |
|
||||
| 0.9.x | :white_check_mark: |
|
||||
| 0.8.x | :white_check_mark: |
|
||||
| < 0.8 | :x: |
|
||||
|
||||
## Reporting a Vulnerability
|
||||
|
||||
To report a security vulnerability, please use the
|
||||
[Tidelift security contact](https://tidelift.com/security).
|
||||
Tidelift will coordinate the fix and disclosure.
|
6
vendor/brick/math/composer.json
vendored
6
vendor/brick/math/composer.json
vendored
@@ -14,13 +14,13 @@
|
||||
],
|
||||
"license": "MIT",
|
||||
"require": {
|
||||
"php": "^7.1 || ^8.0",
|
||||
"php": "^7.4 || ^8.0",
|
||||
"ext-json": "*"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.0",
|
||||
"phpunit/phpunit": "^9.0",
|
||||
"php-coveralls/php-coveralls": "^2.2",
|
||||
"vimeo/psalm": "4.9.2"
|
||||
"vimeo/psalm": "4.25.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
8
vendor/brick/math/src/BigDecimal.php
vendored
8
vendor/brick/math/src/BigDecimal.php
vendored
@@ -22,19 +22,15 @@ final class BigDecimal extends BigNumber
|
||||
* This is a string of digits with an optional leading minus sign.
|
||||
* No leading zero must be present.
|
||||
* No leading minus sign must be present if the value is 0.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
private $value;
|
||||
private string $value;
|
||||
|
||||
/**
|
||||
* The scale (number of digits after the decimal point) of this decimal number.
|
||||
*
|
||||
* This must be zero or more.
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
private $scale;
|
||||
private int $scale;
|
||||
|
||||
/**
|
||||
* Protected constructor. Use a factory method to obtain an instance.
|
||||
|
19
vendor/brick/math/src/BigInteger.php
vendored
19
vendor/brick/math/src/BigInteger.php
vendored
@@ -26,10 +26,8 @@ final class BigInteger extends BigNumber
|
||||
*
|
||||
* No leading zeros must be present.
|
||||
* No leading minus sign must be present if the number is zero.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
private $value;
|
||||
private string $value;
|
||||
|
||||
/**
|
||||
* Protected constructor. Use a factory method to obtain an instance.
|
||||
@@ -361,6 +359,21 @@ final class BigInteger extends BigNumber
|
||||
return $ten;
|
||||
}
|
||||
|
||||
public static function gcdMultiple(BigInteger $a, BigInteger ...$n): BigInteger
|
||||
{
|
||||
$result = $a;
|
||||
|
||||
foreach ($n as $next) {
|
||||
$result = $result->gcd($next);
|
||||
|
||||
if ($result->isEqualTo(1)) {
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the sum of this number and the given one.
|
||||
*
|
||||
|
4
vendor/brick/math/src/BigNumber.php
vendored
4
vendor/brick/math/src/BigNumber.php
vendored
@@ -81,9 +81,7 @@ abstract class BigNumber implements \Serializable, \JsonSerializable
|
||||
$throw();
|
||||
}
|
||||
|
||||
$getMatch = static function(string $value) use ($matches) : ?string {
|
||||
return isset($matches[$value]) && $matches[$value] !== '' ? $matches[$value] : null;
|
||||
};
|
||||
$getMatch = static fn(string $value): ?string => (($matches[$value] ?? '') !== '') ? $matches[$value] : null;
|
||||
|
||||
$sign = $getMatch('sign');
|
||||
$numerator = $getMatch('numerator');
|
||||
|
11
vendor/brick/math/src/BigRational.php
vendored
11
vendor/brick/math/src/BigRational.php
vendored
@@ -20,17 +20,13 @@ final class BigRational extends BigNumber
|
||||
{
|
||||
/**
|
||||
* The numerator.
|
||||
*
|
||||
* @var BigInteger
|
||||
*/
|
||||
private $numerator;
|
||||
private BigInteger $numerator;
|
||||
|
||||
/**
|
||||
* The denominator. Always strictly positive.
|
||||
*
|
||||
* @var BigInteger
|
||||
*/
|
||||
private $denominator;
|
||||
private BigInteger $denominator;
|
||||
|
||||
/**
|
||||
* Protected constructor. Use a factory method to obtain an instance.
|
||||
@@ -433,7 +429,8 @@ final class BigRational extends BigNumber
|
||||
*/
|
||||
public function toFloat() : float
|
||||
{
|
||||
return $this->numerator->toFloat() / $this->denominator->toFloat();
|
||||
$simplified = $this->simplified();
|
||||
return $simplified->numerator->toFloat() / $simplified->denominator->toFloat();
|
||||
}
|
||||
|
||||
/**
|
||||
|
35
vendor/brick/math/src/Internal/Calculator.php
vendored
35
vendor/brick/math/src/Internal/Calculator.php
vendored
@@ -34,10 +34,8 @@ abstract class Calculator
|
||||
|
||||
/**
|
||||
* The Calculator instance in use.
|
||||
*
|
||||
* @var Calculator|null
|
||||
*/
|
||||
private static $instance;
|
||||
private static ?Calculator $instance = null;
|
||||
|
||||
/**
|
||||
* Sets the Calculator instance to use.
|
||||
@@ -234,7 +232,7 @@ abstract class Calculator
|
||||
* @param string $a The dividend.
|
||||
* @param string $b The divisor, must not be zero.
|
||||
*
|
||||
* @return string[] An array containing the quotient and remainder.
|
||||
* @return array{string, string} An array containing the quotient and remainder.
|
||||
*/
|
||||
abstract public function divQR(string $a, string $b) : array;
|
||||
|
||||
@@ -283,9 +281,7 @@ abstract class Calculator
|
||||
$modVal = $this->mod($x, $m);
|
||||
}
|
||||
|
||||
$x = '0';
|
||||
$y = '0';
|
||||
$g = $this->gcdExtended($modVal, $m, $x, $y);
|
||||
[$g, $x] = $this->gcdExtended($modVal, $m);
|
||||
|
||||
if ($g !== '1') {
|
||||
return null;
|
||||
@@ -329,24 +325,21 @@ abstract class Calculator
|
||||
return $this->gcd($b, $this->divR($a, $b));
|
||||
}
|
||||
|
||||
private function gcdExtended(string $a, string $b, string &$x, string &$y) : string
|
||||
/**
|
||||
* @return array{string, string, string} GCD, X, Y
|
||||
*/
|
||||
private function gcdExtended(string $a, string $b) : array
|
||||
{
|
||||
if ($a === '0') {
|
||||
$x = '0';
|
||||
$y = '1';
|
||||
|
||||
return $b;
|
||||
return [$b, '0', '1'];
|
||||
}
|
||||
|
||||
$x1 = '0';
|
||||
$y1 = '0';
|
||||
|
||||
$gcd = $this->gcdExtended($this->mod($b, $a), $a, $x1, $y1);
|
||||
[$gcd, $x1, $y1] = $this->gcdExtended($this->mod($b, $a), $a);
|
||||
|
||||
$x = $this->sub($y1, $this->mul($this->divQ($b, $a), $x1));
|
||||
$y = $x1;
|
||||
|
||||
return $gcd;
|
||||
return [$gcd, $x, $y];
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -493,6 +486,8 @@ abstract class Calculator
|
||||
*
|
||||
* @throws \InvalidArgumentException If the rounding mode is invalid.
|
||||
* @throws RoundingNecessaryException If RoundingMode::UNNECESSARY is provided but rounding is necessary.
|
||||
*
|
||||
* @psalm-suppress ImpureFunctionCall
|
||||
*/
|
||||
final public function divRound(string $a, string $b, int $roundingMode) : string
|
||||
{
|
||||
@@ -616,9 +611,9 @@ abstract class Calculator
|
||||
/**
|
||||
* Performs a bitwise operation on a decimal number.
|
||||
*
|
||||
* @param string $operator The operator to use, must be "and", "or" or "xor".
|
||||
* @param string $a The left operand.
|
||||
* @param string $b The right operand.
|
||||
* @param 'and'|'or'|'xor' $operator The operator to use.
|
||||
* @param string $a The left operand.
|
||||
* @param string $b The right operand.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
|
@@ -94,9 +94,6 @@ class BcMathCalculator extends Calculator
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @psalm-suppress InvalidNullableReturnType
|
||||
* @psalm-suppress NullableReturnStatement
|
||||
*/
|
||||
public function modPow(string $base, string $exp, string $mod) : string
|
||||
{
|
||||
@@ -105,9 +102,6 @@ class BcMathCalculator extends Calculator
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*
|
||||
* @psalm-suppress NullableReturnStatement
|
||||
* @psalm-suppress InvalidNullableReturnType
|
||||
*/
|
||||
public function sqrt(string $n) : string
|
||||
{
|
||||
|
@@ -22,10 +22,8 @@ class NativeCalculator extends Calculator
|
||||
* For addition, it is assumed that an extra digit can hold a carry (1) without overflowing.
|
||||
* Example: 32-bit: max number 1,999,999,999 (9 digits + carry)
|
||||
* 64-bit: max number 1,999,999,999,999,999,999 (18 digits + carry)
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
private $maxDigits;
|
||||
private int $maxDigits;
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
|
17
vendor/bugsnag/bugsnag-psr-logger/composer.json
vendored
17
vendor/bugsnag/bugsnag-psr-logger/composer.json
vendored
@@ -11,14 +11,14 @@
|
||||
"homepage": "https://bugsnag.com"
|
||||
}],
|
||||
"require": {
|
||||
"php": ">=5.5",
|
||||
"php": ">=8.0",
|
||||
"bugsnag/bugsnag": "^3.10",
|
||||
"psr/log": "^1.0|^2.0"
|
||||
"psr/log": "^2.0|^3.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"graham-campbell/testbench-core": "^1.1",
|
||||
"mockery/mockery": "^0.9.4|^1.3.1",
|
||||
"phpunit/phpunit": "^4.8.36|^7.5.15|^9.4.3"
|
||||
"mockery/mockery": "^1.3.1",
|
||||
"phpunit/phpunit": "^9.4.3"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4" : {
|
||||
@@ -29,12 +29,5 @@
|
||||
"psr-4" : {
|
||||
"Bugsnag\\PsrLogger\\Tests\\" : "tests/"
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.5-dev"
|
||||
}
|
||||
},
|
||||
"minimum-stability": "dev",
|
||||
"prefer-stable": true
|
||||
}
|
||||
}
|
||||
|
@@ -1,10 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Bugsnag\PsrLogger;
|
||||
|
||||
/**
|
||||
* @deprecated Use \Psr\Log\AbstractLogger instead
|
||||
*/
|
||||
abstract class AbstractLogger extends \Psr\Log\AbstractLogger
|
||||
{
|
||||
}
|
@@ -4,7 +4,7 @@ namespace Bugsnag\PsrLogger;
|
||||
|
||||
use Bugsnag\Client;
|
||||
use Bugsnag\Report;
|
||||
use Exception;
|
||||
use Psr\Log\AbstractLogger;
|
||||
use Psr\Log\LogLevel;
|
||||
use Throwable;
|
||||
|
||||
@@ -15,7 +15,7 @@ class BugsnagLogger extends AbstractLogger
|
||||
*
|
||||
* @var \Bugsnag\Client
|
||||
*/
|
||||
protected $client;
|
||||
protected Client $client;
|
||||
|
||||
/**
|
||||
* The minimum level required to notify bugsnag.
|
||||
@@ -24,7 +24,7 @@ class BugsnagLogger extends AbstractLogger
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $notifyLevel = LogLevel::NOTICE;
|
||||
protected string $notifyLevel = LogLevel::NOTICE;
|
||||
|
||||
/**
|
||||
* Create a new bugsnag logger instance.
|
||||
@@ -45,7 +45,7 @@ class BugsnagLogger extends AbstractLogger
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setNotifyLevel($notifyLevel)
|
||||
public function setNotifyLevel(string $notifyLevel): void
|
||||
{
|
||||
if (!in_array($notifyLevel, $this->getLogLevelOrder())) {
|
||||
syslog(LOG_WARNING, 'Bugsnag Warning: Invalid notify level supplied to Bugsnag Logger');
|
||||
@@ -57,13 +57,13 @@ class BugsnagLogger extends AbstractLogger
|
||||
/**
|
||||
* Log a message to the logs.
|
||||
*
|
||||
* @param string $level
|
||||
* @param mixed $message
|
||||
* @param array $context
|
||||
* @param mixed $level
|
||||
* @param string|\Stringable $message
|
||||
* @param mixed[] $context
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function log($level, $message, array $context = [])
|
||||
public function log(mixed $level, string|\Stringable $message, array $context = []): void
|
||||
{
|
||||
$title = 'Log '.$level;
|
||||
if (isset($context['title'])) {
|
||||
@@ -72,10 +72,10 @@ class BugsnagLogger extends AbstractLogger
|
||||
}
|
||||
|
||||
$exception = null;
|
||||
if (isset($context['exception']) && ($context['exception'] instanceof Exception || $context['exception'] instanceof Throwable)) {
|
||||
if (isset($context['exception']) && $context['exception'] instanceof Throwable) {
|
||||
$exception = $context['exception'];
|
||||
unset($context['exception']);
|
||||
} elseif ($message instanceof Exception || $message instanceof Throwable) {
|
||||
} elseif ($message instanceof Throwable) {
|
||||
$exception = $message;
|
||||
}
|
||||
|
||||
@@ -118,12 +118,12 @@ class BugsnagLogger extends AbstractLogger
|
||||
/**
|
||||
* Checks whether the selected level is above another level.
|
||||
*
|
||||
* @param string $level
|
||||
* @param mixed $level
|
||||
* @param string $base
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
protected function aboveLevel($level, $base)
|
||||
protected function aboveLevel(mixed $level, string $base): bool
|
||||
{
|
||||
$levelOrder = $this->getLogLevelOrder();
|
||||
$baseIndex = array_search($base, $levelOrder);
|
||||
@@ -137,7 +137,7 @@ class BugsnagLogger extends AbstractLogger
|
||||
*
|
||||
* @return string[]
|
||||
*/
|
||||
protected function getLogLevelOrder()
|
||||
protected function getLogLevelOrder(): array
|
||||
{
|
||||
return [
|
||||
LogLevel::DEBUG,
|
||||
@@ -154,11 +154,11 @@ class BugsnagLogger extends AbstractLogger
|
||||
/**
|
||||
* Get the severity for the logger.
|
||||
*
|
||||
* @param string $level
|
||||
* @param mixed $level
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function getSeverity($level)
|
||||
protected function getSeverity(mixed $level): string
|
||||
{
|
||||
if ($this->aboveLevel($level, 'error')) {
|
||||
return 'error';
|
||||
@@ -172,32 +172,16 @@ class BugsnagLogger extends AbstractLogger
|
||||
/**
|
||||
* Format the parameters for the logger.
|
||||
*
|
||||
* @param mixed $message
|
||||
* @param string|\Stringable $message
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function formatMessage($message)
|
||||
protected function formatMessage(string|\Stringable $message): string
|
||||
{
|
||||
if (is_array($message)) {
|
||||
return var_export($message, true);
|
||||
if (is_string($message)) {
|
||||
return $message;
|
||||
}
|
||||
|
||||
return $message;
|
||||
}
|
||||
|
||||
/**
|
||||
* Ensure the given string is less than 100 characters.
|
||||
*
|
||||
* @param string $str
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function limit($str)
|
||||
{
|
||||
if (strlen($str) <= 100) {
|
||||
return $str;
|
||||
}
|
||||
|
||||
return rtrim(substr($str, 0, 97)).'...';
|
||||
return (string) $message;
|
||||
}
|
||||
}
|
||||
|
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace Bugsnag\PsrLogger;
|
||||
|
||||
use Psr\Log\AbstractLogger;
|
||||
|
||||
class MultiLogger extends AbstractLogger
|
||||
{
|
||||
/**
|
||||
@@ -9,7 +11,7 @@ class MultiLogger extends AbstractLogger
|
||||
*
|
||||
* @var \Psr\Log\LoggerInterface[]
|
||||
*/
|
||||
protected $loggers;
|
||||
protected array $loggers;
|
||||
|
||||
/**
|
||||
* Create a new multi logger instance.
|
||||
@@ -26,13 +28,13 @@ class MultiLogger extends AbstractLogger
|
||||
/**
|
||||
* Log a message to the logs.
|
||||
*
|
||||
* @param string $level
|
||||
* @param mixed $message
|
||||
* @param array $context
|
||||
* @param mixed $level
|
||||
* @param string|\Stringable $message
|
||||
* @param mixed[] $context
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function log($level, $message, array $context = [])
|
||||
public function log(mixed $level, string|\Stringable $message, array $context = []): void
|
||||
{
|
||||
foreach ($this->loggers as $logger) {
|
||||
$logger->log($level, $message, $context);
|
||||
|
85
vendor/codacy/coverage/.circleci/config.yml
vendored
85
vendor/codacy/coverage/.circleci/config.yml
vendored
@@ -1,85 +0,0 @@
|
||||
version: 2.1
|
||||
|
||||
orbs:
|
||||
codacy: codacy/base@1.2.1
|
||||
|
||||
references:
|
||||
default_php_job: &default_php_job
|
||||
docker:
|
||||
- image: circleci/php:7.4-node-browsers
|
||||
working_directory: ~/workdir
|
||||
workspace_attach: &workspace_attach
|
||||
attach_workspace:
|
||||
at: ~/
|
||||
workspace_persist: &workspace_persist
|
||||
persist_to_workspace:
|
||||
paths:
|
||||
- workdir/*
|
||||
root: ~/
|
||||
cache_restore: &cache_restore
|
||||
restore_cache:
|
||||
keys:
|
||||
- composer-v1-{{ checksum "composer.lock" }}
|
||||
- composer-v1-
|
||||
cache_save: &cache_save
|
||||
save_cache:
|
||||
key: composer-v1-{{ checksum "composer.lock" }}
|
||||
paths:
|
||||
- vendor
|
||||
|
||||
jobs:
|
||||
test:
|
||||
<<: *default_php_job
|
||||
steps:
|
||||
- *workspace_attach
|
||||
- *cache_restore
|
||||
- run:
|
||||
command: composer install
|
||||
- *cache_save
|
||||
- run:
|
||||
command: composer test
|
||||
- *workspace_persist
|
||||
publish:
|
||||
<<: *default_php_job
|
||||
steps:
|
||||
- *workspace_attach
|
||||
- run:
|
||||
command: |
|
||||
composer codacyCoverage
|
||||
composer build
|
||||
- *workspace_persist
|
||||
publish_circleci_artifacts:
|
||||
machine: true
|
||||
working_directory: ~/workdir
|
||||
steps:
|
||||
- *workspace_attach
|
||||
- store_artifacts:
|
||||
path: ~/workdir/artifacts/
|
||||
|
||||
workflows:
|
||||
version: 2
|
||||
compile_test_deploy:
|
||||
jobs:
|
||||
- codacy/checkout_and_version
|
||||
- test:
|
||||
requires:
|
||||
- codacy/checkout_and_version
|
||||
- publish:
|
||||
requires:
|
||||
- test
|
||||
filters:
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- publish_circleci_artifacts:
|
||||
requires:
|
||||
- publish
|
||||
- codacy/publish_ghr:
|
||||
path: ~/workdir/artifacts/
|
||||
requires:
|
||||
- publish_circleci_artifacts
|
||||
- codacy/tag_version:
|
||||
name: tag_version
|
||||
context: CodacyAWS
|
||||
requires:
|
||||
- codacy/publish_ghr
|
4
vendor/codacy/coverage/.github/CODEOWNERS
vendored
4
vendor/codacy/coverage/.github/CODEOWNERS
vendored
@@ -1,4 +0,0 @@
|
||||
* @lolgab @ljmf00 @andreaTP @rtfpessoa @bmbferreira @DReigada @pedrocodacy
|
||||
|
||||
*.yml @h314to @paulopontesm
|
||||
|
47
vendor/codacy/coverage/.github/ISSUE_TEMPLATE.md
vendored
47
vendor/codacy/coverage/.github/ISSUE_TEMPLATE.md
vendored
@@ -1,47 +0,0 @@
|
||||
### Are you looking for help?
|
||||
|
||||
This is an issue tracker, used to manage and track the development of this [Codacy](https://www.codacy.com/) project.
|
||||
|
||||
It is not a platform support system. If think your problem is related with our platform at https://www.codacy.com/, please contact us through our [contact form](https://www.codacy.com/contact) or our internal chat application, visible after you login on the bottom right corner.
|
||||
|
||||
Keep in mind that this issue tracker is for specific problems of this project.
|
||||
|
||||
### PHP Version
|
||||
|
||||
|
||||
|
||||
### Test framework
|
||||
|
||||
|
||||
|
||||
### Operating System (Ubuntu 15.10 / MacOS 10.10 / Windows 10)
|
||||
|
||||
Use `uname -a` if on Linux.
|
||||
|
||||
### Library Dependencies
|
||||
|
||||
If this is an issue that involves integration with another system, include the exact version and OS of the other system, including any intermediate drivers or APIs i.e. if you connect to a PostgreSQL database, include both the version / OS of PostgreSQL and the JDBC driver version used to connect to the database.
|
||||
|
||||
### Expected Behavior
|
||||
|
||||
Please describe the expected behavior of the issue, starting from the first action.
|
||||
|
||||
1.
|
||||
2.
|
||||
3.
|
||||
|
||||
### Actual Behavior
|
||||
|
||||
Please provide a description of what actually happens, working from the same starting point.
|
||||
|
||||
Be descriptive: "it doesn't work" does not describe what the behavior actually is -- instead, say "when running this sequence of commands (...) it returns an error: (...).." Copy and paste logs, and include any URLs.
|
||||
|
||||
1.
|
||||
2.
|
||||
3.
|
||||
|
||||
### Reproducible Test Case
|
||||
|
||||
Please provide a some information on how to reproduce the bug. A PR with a failing test would be awesome, if possible.
|
||||
|
||||
If the issue is more complex or requires configuration, please provide a link to a project on Github/Codacy that reproduces the issue.
|
10
vendor/codacy/coverage/.gitignore
vendored
10
vendor/codacy/coverage/.gitignore
vendored
@@ -1,10 +0,0 @@
|
||||
.idea
|
||||
*.iml
|
||||
/vendor/
|
||||
/build/
|
||||
composer.phar
|
||||
vendor/
|
||||
|
||||
# Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
|
||||
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
|
||||
composer.lock
|
21
vendor/codacy/coverage/LICENSE
vendored
21
vendor/codacy/coverage/LICENSE
vendored
@@ -1,21 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) <year> <copyright holders>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
174
vendor/codacy/coverage/README.md
vendored
174
vendor/codacy/coverage/README.md
vendored
@@ -1,174 +0,0 @@
|
||||
# Deprecated
|
||||
|
||||
This repository is no longer maintained. As an alternative, check [codacy-coverage-reporter](https://github.com/codacy/codacy-coverage-reporter) to send your test coverage results to your Codacy dashboard.
|
||||
|
||||
[](https://www.codacy.com/app/Codacy/php-codacy-coverage)
|
||||
[](https://www.codacy.com/app/Codacy/php-codacy-coverage)
|
||||
[](https://circleci.com/gh/codacy/php-codacy-coverage)
|
||||
[](https://packagist.org/packages/codacy/coverage)
|
||||
|
||||
# Codacy PHP Coverage Reporter
|
||||
[Codacy](https://codacy.com/) coverage support for PHP. Get coverage reporting and code analysis for PHP from Codacy.
|
||||
|
||||
# Prerequisites
|
||||
|
||||
- PHP 5.3 or later
|
||||
- One of the following coverage report formats
|
||||
- Clover XML (e.g. ```--coverage-clover``` in PHPUnit)
|
||||
- [Only for PHPUnit <4] PHPUnit XML (e.g. ```--coverage-xml``` in PHPUnit)
|
||||
|
||||
# Installation
|
||||
|
||||
Setup codacy-coverage with Composer, just add the following to your composer.json:
|
||||
|
||||
```js
|
||||
// composer.json
|
||||
{
|
||||
"require-dev": {
|
||||
"codacy/coverage": "dev-master"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Download the dependencies by running Composer in the directory of your `composer.json`:
|
||||
|
||||
```sh
|
||||
# install
|
||||
$ php composer.phar install --dev
|
||||
# update
|
||||
$ php composer.phar update codacy/coverage --dev
|
||||
```
|
||||
|
||||
codacy-coverage library is available on [Packagist](https://packagist.org/packages/codacy/coverage).
|
||||
|
||||
Add the autoloader to your php script:
|
||||
|
||||
```php
|
||||
require_once 'vendor/autoload.php';
|
||||
```
|
||||
|
||||
> Note:
|
||||
We have php5-curl dependency, if you have issues related to curl_init() please install it with:
|
||||
```
|
||||
sudo apt-get install php5-curl
|
||||
```
|
||||
|
||||
## Alternative Installation (using phar)
|
||||
|
||||
Setup codacy-coverage as phar, you can simply download a pre-compiled and ready-to-use version as a phar to any directory. Simply download the latest `codacy-coverage.phar` file from our [releases page](https://github.com/codacy/php-codacy-coverage/releases):
|
||||
|
||||
[Latest release](https://github.com/codacy/php-codacy-coverage/releases/latest)
|
||||
|
||||
That's it already.
|
||||
|
||||
## Updating Codacy
|
||||
|
||||
To update Codacy, you will need your project API token. You can find the token in Project -> Settings -> Integrations -> Project API.
|
||||
|
||||
Then set it in your terminal, replacing %Project_Token% with your own token:
|
||||
|
||||
```
|
||||
export CODACY_PROJECT_TOKEN=%Project_Token%
|
||||
```
|
||||
|
||||
> Note: You should keep your API token well **protected**, as it grants owner permissions to your projects.
|
||||
|
||||
> To send coverage in the enterprise version you should:
|
||||
```
|
||||
export CODACY_API_BASE_URL=<Codacy_instance_URL>:16006
|
||||
```
|
||||
|
||||
# Usage
|
||||
|
||||
Run ```vendor/bin/codacycoverage``` to see a list of commands.
|
||||
|
||||
#### Basic usage for Clover format:
|
||||
|
||||
```vendor/bin/codacycoverage clover```
|
||||
|
||||
#### Basic usage for PHPUnit XML format:
|
||||
|
||||
```php vendor/bin/codacycoverage phpunit```
|
||||
|
||||
By default we assume that
|
||||
- your Clover coverage report is saved in ```build/logs/clover.xml```
|
||||
- your PHPUnit XML report is saved in the directory ```build/coverage-xml```
|
||||
|
||||
#### Optional parameters:
|
||||
|
||||
You can specify the path to your report with the second parameter:
|
||||
|
||||
- Clover XML
|
||||
- ```php vendor/bin/codacycoverage clover path/to/a-clover.xml```
|
||||
- PHPUnit XML
|
||||
- ```php vendor/bin/codacycoverage phpunit directory/path/to/phpunitreport```
|
||||
|
||||
Even more control:
|
||||
|
||||
- ```--base-url=<OTHER_URL>``` defaults to http://codacy.com
|
||||
- ```--git-commit=<COMMIT_HASH>``` defaults to the last commit hash
|
||||
|
||||
## Circle CI
|
||||
|
||||
This project sends its own coverage during the build in circleCI.
|
||||
Feel free to check our `circle.yml`, and send your coverage as a step of your build process.
|
||||
|
||||
## Travis CI
|
||||
|
||||
Add codacycoverage to your `.travis.yml`:
|
||||
|
||||
```yml
|
||||
# .travis.yml
|
||||
language: php
|
||||
|
||||
# Do not forget to provide your CODACY_PROJECT_TOKEN as described in https://docs.travis-ci.com/user/environment-variables/#Defining-Variables-in-Repository-Settings
|
||||
|
||||
php:
|
||||
- 5.3
|
||||
- 5.4
|
||||
- 5.5
|
||||
- 5.6
|
||||
- hhvm
|
||||
|
||||
# In case of timeouts and build failures you may want to prepend 'travis_retry' to the following commands:
|
||||
before_script:
|
||||
- curl -s http://getcomposer.org/installer | php
|
||||
- php composer.phar install -n
|
||||
|
||||
script:
|
||||
- php vendor/bin/phpunit --coverage-clover build/coverage/xml
|
||||
|
||||
after_script:
|
||||
- php vendor/bin/codacycoverage clover build/coverage/xml
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
If you have a fatal error regarding curl_init():
|
||||
```
|
||||
PHP Fatal error: Uncaught Error: Call to undefined function Codacy\Coverage\Util\curl_init() in /src/Codacy/Coverage/Util/CodacyApiClient.php:30
|
||||
```
|
||||
Run: ```sudo apt-get install php5-curl```
|
||||
|
||||
## What is Codacy?
|
||||
|
||||
[Codacy](https://www.codacy.com/) is an Automated Code Review Tool that monitors your technical debt, helps you improve your code quality, teaches best practices to your developers, and helps you save time in Code Reviews.
|
||||
|
||||
### Among Codacy’s features:
|
||||
|
||||
- Identify new Static Analysis issues
|
||||
- Commit and Pull Request Analysis with GitHub, BitBucket/Stash, GitLab (and also direct git repositories)
|
||||
- Auto-comments on Commits and Pull Requests
|
||||
- Integrations with Slack, HipChat, Jira, YouTrack
|
||||
- Track issues in Code Style, Security, Error Proneness, Performance, Unused Code and other categories
|
||||
|
||||
Codacy also helps keep track of Code Coverage, Code Duplication, and Code Complexity.
|
||||
|
||||
Codacy supports PHP, Python, Ruby, Java, JavaScript, and Scala, among others.
|
||||
|
||||
### Free for Open Source
|
||||
|
||||
Codacy is free for Open Source projects.
|
||||
|
||||
## License
|
||||
[MIT](LICENSE)
|
29
vendor/codacy/coverage/bin/codacycoverage
vendored
29
vendor/codacy/coverage/bin/codacycoverage
vendored
@@ -1,29 +0,0 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
$files = array(
|
||||
dirname(__DIR__) . "/vendor/autoload.php",
|
||||
__DIR__ . "/../../vendor/autoload.php",
|
||||
__DIR__ . "/../../../autoload.php",
|
||||
"vendor/autoload.php"
|
||||
);
|
||||
|
||||
$found = false;
|
||||
foreach ($files as $file) {
|
||||
if (file_exists($file)) {
|
||||
require_once $file;
|
||||
$found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!$found) {
|
||||
die(
|
||||
"You need to set up the project dependencies using the following commands:" . PHP_EOL .
|
||||
"curl -s http://getcomposer.org/installer | php" . PHP_EOL .
|
||||
"php composer.phar install" . PHP_EOL
|
||||
);
|
||||
}
|
||||
|
||||
$app = new Codacy\Coverage\Application();
|
||||
$app->run();
|
35
vendor/codacy/coverage/composer.json
vendored
35
vendor/codacy/coverage/composer.json
vendored
@@ -1,35 +0,0 @@
|
||||
{
|
||||
"name": "codacy/coverage",
|
||||
"description": "Sends PHP test coverage information to Codacy.",
|
||||
"homepage": "https://github.com/codacy/php-codacy-coverage",
|
||||
"type": "library",
|
||||
"require": {
|
||||
"php": ">=5.3.3",
|
||||
"gitonomy/gitlib": ">=1.0",
|
||||
"symfony/console": "~2.5|~3.0|~4.0|~5.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "~6.5",
|
||||
"clue/phar-composer": "^1.1"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "php vendor/bin/phpunit --coverage-clover build/coverage/xml tests",
|
||||
"codacyCoverage": "php bin/codacycoverage clover build/coverage/xml",
|
||||
"build": "mkdir -p artifacts && php -d phar.readonly=off ./vendor/bin/phar-composer build . artifacts/codacy-coverage.phar"
|
||||
},
|
||||
"bin": [
|
||||
"bin/codacycoverage"
|
||||
],
|
||||
"autoload": {
|
||||
"classmap": [
|
||||
"src/"
|
||||
]
|
||||
},
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Jakob Pupke",
|
||||
"email": "jakob.pupke@gmail.com"
|
||||
}
|
||||
]
|
||||
}
|
34
vendor/codacy/coverage/phpunit.xml.dist
vendored
34
vendor/codacy/coverage/phpunit.xml.dist
vendored
@@ -1,34 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit backupGlobals="false"
|
||||
backupStaticAttributes="false"
|
||||
colors="true"
|
||||
verbose="true"
|
||||
convertErrorsToExceptions="true"
|
||||
convertNoticesToExceptions="true"
|
||||
convertWarningsToExceptions="true"
|
||||
processIsolation="false"
|
||||
stopOnFailure="false"
|
||||
bootstrap="vendor/autoload.php">
|
||||
<testsuites>
|
||||
<testsuite name="Codacy PHP Coverage">
|
||||
<directory>tests</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
<logging>
|
||||
<log type="coverage-html" target="build/coverage-html"/>
|
||||
<log type="coverage-xml" target="build/coverage-xml"/>
|
||||
<log type="coverage-clover" target="build/logs/clover.xml"/>
|
||||
<log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
|
||||
<log type="tap" target="build/report.tap"/>
|
||||
<log type="coverage-text" target="build/coverage.txt"/>
|
||||
</logging>
|
||||
<filter>
|
||||
<whitelist addUncoveredFilesFromWhitelist="true">
|
||||
<directory suffix=".php">src</directory>
|
||||
<exclude>
|
||||
<file>src/Codacy/Coverage/Util/CodacyApiClient.php</file>
|
||||
<file>src/Codacy/Coverage/CodacyPhpCoverage.php</file>
|
||||
</exclude>
|
||||
</whitelist>
|
||||
</filter>
|
||||
</phpunit>
|
@@ -1,23 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Codacy\Coverage;
|
||||
|
||||
use Symfony\Component\Console\Application as ConsoleApplication;
|
||||
|
||||
use Codacy\Coverage\Command\Clover as CloverCommand;
|
||||
use Codacy\Coverage\Command\Phpunit as PhpunitCommand;
|
||||
|
||||
/**
|
||||
* Class Application
|
||||
*
|
||||
*/
|
||||
class Application extends ConsoleApplication
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct("Codacy Coverage API Client");
|
||||
|
||||
$this->add(new CloverCommand());
|
||||
$this->add(new PhpunitCommand());
|
||||
}
|
||||
}
|
@@ -1,153 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Codacy\Coverage\Command;
|
||||
|
||||
use Symfony\Component\Console\Command\Command as ConsoleCommand;
|
||||
|
||||
use Symfony\Component\Console\Input\InputArgument;
|
||||
use Symfony\Component\Console\Input\InputOption;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
use Codacy\Coverage\Parser\CloverParser;
|
||||
use Codacy\Coverage\Util\JsonProducer;
|
||||
use Codacy\Coverage\Util\GitClient;
|
||||
use Codacy\Coverage\Util\CodacyApiClient;
|
||||
|
||||
/**
|
||||
* Class Clover
|
||||
*
|
||||
*/
|
||||
class Clover extends ConsoleCommand
|
||||
{
|
||||
|
||||
protected function configure()
|
||||
{
|
||||
$this
|
||||
->setName("clover")
|
||||
->setDescription("Send coverage results in clover format")
|
||||
->addArgument(
|
||||
"path_to_coverage_results",
|
||||
InputArgument::OPTIONAL,
|
||||
"Path where coverage results are saved: XML file for clover format, directory containing the index.xml for phpunit format"
|
||||
)
|
||||
->addOption(
|
||||
"git-commit",
|
||||
null,
|
||||
InputOption::VALUE_REQUIRED,
|
||||
"Commit hash of results to be send"
|
||||
)
|
||||
->addOption(
|
||||
"base-url",
|
||||
null,
|
||||
InputOption::VALUE_REQUIRED,
|
||||
"Codacy base url"
|
||||
);
|
||||
}
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
$projectToken = $this->getProjectToken();
|
||||
|
||||
$parser = $this->getParser($input->getArgument("path_to_coverage_results"));
|
||||
$jsonProducer = new JsonProducer();
|
||||
$jsonProducer->setParser($parser);
|
||||
|
||||
$commit = $this->getCommitHash($input->getOption("git-commit"));
|
||||
|
||||
$baseUrl = $this->getBaseCodacyUrl($input->getOption("base-url"));
|
||||
|
||||
$data = $jsonProducer->makeJson();
|
||||
|
||||
if ($output->isVerbose()) {
|
||||
$output->writeln("Sending coverage results to " . $baseUrl);
|
||||
$output->writeln("Generated JSON:");
|
||||
$output->writeln($data);
|
||||
}
|
||||
|
||||
$client = new CodacyApiClient($baseUrl, $projectToken);
|
||||
$result = $client->sendCoverage($commit, $data);
|
||||
if ($output->isVerbose()) {
|
||||
$output->writeln($result);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get parser of current format type.
|
||||
*
|
||||
* @param string $path Path to clover.xml
|
||||
*
|
||||
* @return CloverParser
|
||||
*/
|
||||
protected function getParser($path = null)
|
||||
{
|
||||
$path = is_null($path) ?
|
||||
join(DIRECTORY_SEPARATOR, array('build', 'logs', 'clover.xml')) :
|
||||
$path;
|
||||
return new CloverParser($path);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return Codacy Project Token.
|
||||
*
|
||||
* @return string Project token
|
||||
*
|
||||
* @throws \InvalidArgumentException If Token not specified
|
||||
*/
|
||||
protected function getProjectToken()
|
||||
{
|
||||
$projectToken = getenv("CODACY_PROJECT_TOKEN");
|
||||
if ($projectToken == false) {
|
||||
throw new \InvalidArgumentException(
|
||||
"Cannot continue with execution as long as your project token is not set as an environmental variable."
|
||||
. PHP_EOL . "Please type: export CODACY_PROJECT_TOKEN=<YOUR TOKEN>"
|
||||
);
|
||||
}
|
||||
|
||||
return urlencode($projectToken);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Git commit hash of project
|
||||
*
|
||||
* @param string $hash Specified hash
|
||||
*
|
||||
* @return string Git commit hash
|
||||
*
|
||||
* @throws \InvalidArgumentException When bad hash specified, or can't get commit hash
|
||||
*/
|
||||
protected function getCommitHash($hash = null)
|
||||
{
|
||||
if (!$hash) {
|
||||
$gClient = new GitClient(getcwd());
|
||||
return $gClient->getHashOfLatestCommit();
|
||||
}
|
||||
|
||||
if (strlen($hash) != 40) {
|
||||
throw new \InvalidArgumentException(
|
||||
sprintf("Invalid git commit hash %s specified", $hash)
|
||||
);
|
||||
}
|
||||
|
||||
return urlencode($hash);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return base Codacy Project URL
|
||||
*
|
||||
* @param string $url HTTP URL for codacy
|
||||
*
|
||||
* @return string Base Codacy Project URL
|
||||
*/
|
||||
protected function getBaseCodacyUrl($url = null)
|
||||
{
|
||||
if ($url) {
|
||||
return $url;
|
||||
}
|
||||
$url = getenv("CODACY_API_BASE_URL");
|
||||
|
||||
return $url ? $url : "https://api.codacy.com";
|
||||
}
|
||||
}
|
@@ -1,33 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Codacy\Coverage\Command;
|
||||
|
||||
use Codacy\Coverage\Parser\PhpUnitXmlParser;
|
||||
|
||||
/**
|
||||
* Class Phpunit
|
||||
*
|
||||
*/
|
||||
class Phpunit extends Clover {
|
||||
|
||||
protected function configure()
|
||||
{
|
||||
parent::configure();
|
||||
|
||||
$this
|
||||
->setName("phpunit")
|
||||
->setDescription("Send coverage results in phpunit format");
|
||||
}
|
||||
|
||||
protected function getParser($path = null)
|
||||
{
|
||||
$path = is_null($path) ?
|
||||
"build" . DIRECTORY_SEPARATOR . "coverage-xml" :
|
||||
$path;
|
||||
|
||||
$parser = new PhpUnitXmlParser($path . DIRECTORY_SEPARATOR . "index.xml");
|
||||
$parser->setDirOfFileXmls($path);
|
||||
|
||||
return $parser;
|
||||
}
|
||||
}
|
@@ -1,146 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Codacy\Coverage\Parser;
|
||||
|
||||
use Codacy\Coverage\Report\CoverageReport;
|
||||
use Codacy\Coverage\Report\FileReport;
|
||||
|
||||
/**
|
||||
* Parses Clover XML file and produces a CoverageReport object.
|
||||
* Inherits constructor from abstract class Parser and implements
|
||||
* the IParser interface.
|
||||
* @author Jakob Pupke <jakob.pupke@gmail.com>
|
||||
*/
|
||||
class CloverParser extends XMLParser implements IParser
|
||||
{
|
||||
|
||||
/**
|
||||
* Extracts basic information about coverage report and delegates
|
||||
* more detailed extraction work to _makeFileReports() method.
|
||||
* @return CoverageReport $report The CoverageReport object
|
||||
*/
|
||||
public function makeReport()
|
||||
{
|
||||
$project = $this->element->project;
|
||||
$projectMetrics = $project->metrics;
|
||||
$coveredStatements = intval($projectMetrics['coveredstatements']);
|
||||
$statementsTotal = intval($projectMetrics['statements']);
|
||||
$reportTotal = round($this->safeDivision($coveredStatements, $statementsTotal) * 100);
|
||||
$fileReports = $this->makeFileReports($project);
|
||||
$report = new CoverageReport($reportTotal, $fileReports);
|
||||
return $report;
|
||||
}
|
||||
|
||||
/**
|
||||
* Takes the root \SimpleXMLElement object of the parsed file
|
||||
* and decides on how to iterate it to extract information of all
|
||||
* <file...>..</file> nodes.
|
||||
* @param \SimpleXMLElement $node the root XML node.
|
||||
* @return array holding FileReport objects
|
||||
*/
|
||||
private function makeFileReports(\SimpleXMLElement $node)
|
||||
{
|
||||
$fileReports = array();
|
||||
/*
|
||||
* Most clover reports will have project/package/file/line xPath.
|
||||
* But there could be files that are not part of any package, i.e files that
|
||||
* that do not declare namespace.
|
||||
*/
|
||||
if ($node->file->count() > 0) {
|
||||
// so there is a file without package
|
||||
$fileReports = $this->makeFileReportsFromFiles($node->file, $fileReports);
|
||||
}
|
||||
if ($node->package->count() > 0) {
|
||||
$fileReports = $this->makeFileReportsFromPackages($node->package, $fileReports);
|
||||
}
|
||||
return $fileReports;
|
||||
}
|
||||
|
||||
/**
|
||||
* Iterates all over all <file...>..</file> nodes.
|
||||
* @param \SimpleXMLElement $node The XML node holding the file nodes.
|
||||
* @param array $fileReports array of FileReport objects
|
||||
* @return array holding FileReport objects
|
||||
*/
|
||||
private function makeFileReportsFromFiles(\SimpleXMLElement $node, $fileReports)
|
||||
{
|
||||
foreach ($node as $file) {
|
||||
// iterate files in the package
|
||||
$countStatement = intval($file->metrics['statements']);
|
||||
$countCoveredStatements = intval($file->metrics['coveredstatements']);
|
||||
if ($countStatement == 0) {
|
||||
$fileTotal = 0;
|
||||
} else {
|
||||
$fileTotal = round($this->safeDivision($countCoveredStatements, $countStatement) * 100);
|
||||
}
|
||||
$fileName = $this->getRelativePath($file['name']);
|
||||
$lineCoverage = $this->getLineCoverage($file);
|
||||
$fileReport = new FileReport($fileTotal, $fileName, $lineCoverage);
|
||||
array_push($fileReports, $fileReport);
|
||||
}
|
||||
return $fileReports;
|
||||
}
|
||||
|
||||
/**
|
||||
* Iterates over all <package..>...</package> nodes and calls _makeFileReportsFromFiles on them
|
||||
* @param \SimpleXMLElement $node The XML node holding all <package..>...</package> nodes
|
||||
* @param array $fileReports array of FileReport objects
|
||||
* @return array holding FileReport objects
|
||||
*/
|
||||
private function makeFileReportsFromPackages(\SimpleXMLElement $node, $fileReports)
|
||||
{
|
||||
// iterate all packages
|
||||
foreach ($node as $package) {
|
||||
$fileReports = $this->makeFileReportsFromFiles($package->file, $fileReports);
|
||||
}
|
||||
return $fileReports;
|
||||
}
|
||||
|
||||
/**
|
||||
* Iterates all <line></line> nodes and produces an array holding line coverage information.
|
||||
* Only adds lines of type "stmt" and with count greater than 0.
|
||||
* @param \SimpleXMLElement $node The XML node holding the <line></line> nodes
|
||||
* @return array: (lineNumber -> hits)
|
||||
*/
|
||||
private function getLineCoverage(\SimpleXMLElement $node)
|
||||
{
|
||||
$lineCoverage = (object)array();
|
||||
foreach ($node as $line) {
|
||||
$count = intval($line['count']);
|
||||
// iterate all lines in that file
|
||||
if ($line['type'] == 'stmt') {
|
||||
$lineNr = (string)$line['num'];
|
||||
$hit = $count;
|
||||
$lineCoverage->$lineNr = $hit;
|
||||
}
|
||||
}
|
||||
return $lineCoverage;
|
||||
}
|
||||
|
||||
/**
|
||||
* Cuts the file name so we have relative path to projectRoot.
|
||||
* In a clover file file names are saved from / on.
|
||||
* We are only interested in relative filename
|
||||
* @param \SimpleXMLElement $fileName The filename attribute
|
||||
* @return string The relative path of that file
|
||||
*/
|
||||
private function getRelativePath(\SimpleXMLElement $fileName)
|
||||
{
|
||||
$prefix = $this->rootDir . DIRECTORY_SEPARATOR;
|
||||
$str = (string)$fileName;
|
||||
|
||||
if (substr($str, 0, strlen($prefix)) == $prefix) {
|
||||
$str = substr($str, strlen($prefix));
|
||||
}
|
||||
|
||||
return $str;
|
||||
}
|
||||
|
||||
private function safeDivision($a, $b)
|
||||
{
|
||||
if ($b === 0) {
|
||||
return 0;
|
||||
}
|
||||
return $a / $b;
|
||||
}
|
||||
}
|
@@ -1,57 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Codacy\Coverage\Parser;
|
||||
|
||||
/**
|
||||
* Interface IParser
|
||||
* All parsers need to implement this interface. This allows the JsonProducer
|
||||
* to be composed of different parsers via JsonProducer::setParser($parser).
|
||||
* @author Jakob Pupke <jakob.pupke@gmail.com>
|
||||
*/
|
||||
interface IParser
|
||||
{
|
||||
public function makeReport();
|
||||
}
|
||||
|
||||
/**
|
||||
* Class XMLParser
|
||||
* The superclass of all parsers that parse XML files.
|
||||
* @author Jakob Pupke <jakob.pupke@gmail.com>
|
||||
*/
|
||||
abstract class XMLParser
|
||||
{
|
||||
/**
|
||||
* @var \SimpleXMLElement
|
||||
*/
|
||||
protected $element;
|
||||
|
||||
/**
|
||||
* @var null|string The root directory. Can be other than current working directory
|
||||
* in order to make tests pass against the static reports in tests/res directory.
|
||||
*/
|
||||
protected $rootDir;
|
||||
|
||||
/**
|
||||
* Construct PhpUnitXmlParser and set the XML object as member field.
|
||||
* All XML parser classes inherit this constructor.
|
||||
* @param string $rootDir Is only for making tests pass.
|
||||
* @param string $path Path to XML file
|
||||
*/
|
||||
public function __construct($path, $rootDir = null)
|
||||
{
|
||||
if (file_exists($path)) {
|
||||
if ($rootDir == null) {
|
||||
$this->rootDir = getcwd();
|
||||
} else {
|
||||
$this->rootDir = $rootDir;
|
||||
}
|
||||
$this->element = simplexml_load_file($path);
|
||||
} else {
|
||||
throw new \InvalidArgumentException(
|
||||
"Unable to load the xml file. Make sure path is properly set. " .
|
||||
"Using: \"$path\"", E_USER_ERROR
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -1,121 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Codacy\Coverage\Parser;
|
||||
|
||||
use Codacy\Coverage\Report\CoverageReport;
|
||||
use Codacy\Coverage\Report\FileReport;
|
||||
|
||||
/**
|
||||
* Parses XML file, result of phpunit --coverage-xml, and produces
|
||||
* a CoverageReport object. The challenging problem here is that
|
||||
* the report is scattered over different files. Basic information
|
||||
* can be parsed from the index.xml file. But the relevant information
|
||||
* for each file is stored in individual files.
|
||||
* @author Jakob Pupke <jakob.pupke@gmail.com>
|
||||
*/
|
||||
class PhpUnitXmlParser extends XMLParser implements IParser
|
||||
{
|
||||
|
||||
protected $dirOfFileXmls;
|
||||
/**
|
||||
* Extracts basic information about coverage report
|
||||
* from the root xml file (index.xml).
|
||||
* For line coverage information about the files it has
|
||||
* to parse each individual file. This is handled by
|
||||
* _getLineCoverage() private method.
|
||||
* @return CoverageReport $report The CoverageReport object
|
||||
*/
|
||||
|
||||
/**
|
||||
* @param $dir string The path to where the single file xmls reside
|
||||
*/
|
||||
public function setDirOfFileXmls($dir)
|
||||
{
|
||||
$this->dirOfFileXmls = $dir;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string The path to where the single file xmls reside
|
||||
*/
|
||||
public function getDirOfFileXmls()
|
||||
{
|
||||
return $this->dirOfFileXmls;
|
||||
}
|
||||
|
||||
public function makeReport()
|
||||
{
|
||||
//we can get the report total from the first directory summary.
|
||||
$reportTotal = $this->getTotalFromPercent($this->element->project->directory->totals->lines["percent"]);
|
||||
|
||||
$fileReports = array();
|
||||
foreach ($this->element->project->directory->file as $file) {
|
||||
$fileName = $this->getRelativePath($file["href"]);
|
||||
$fileTotal = $this->getTotalFromPercent($file->totals->lines["percent"]);
|
||||
|
||||
$xmlFileHref = (string)$file["href"];
|
||||
$base = $this->getDirOfFileXmls();
|
||||
// get the corresponding xml file to get lineCoverage information.
|
||||
if (file_exists($base . DIRECTORY_SEPARATOR . $xmlFileHref)) {
|
||||
$fileXml = simplexml_load_file($base . DIRECTORY_SEPARATOR . $xmlFileHref);
|
||||
} else {
|
||||
throw new \InvalidArgumentException(
|
||||
"Error: Cannot read XML file. Using: " . $base . DIRECTORY_SEPARATOR . $xmlFileHref . "\n\r"
|
||||
);
|
||||
}
|
||||
|
||||
$lineCoverage = $this->getLineCoverage($fileXml);
|
||||
$fileReport = new FileReport($fileTotal, $fileName, $lineCoverage);
|
||||
array_push($fileReports, $fileReport);
|
||||
}
|
||||
$report = new CoverageReport($reportTotal, $fileReports);
|
||||
return $report;
|
||||
}
|
||||
|
||||
/**
|
||||
* Iterates all <line></line> nodes and produces an array holding line coverage information.
|
||||
* @param \SimpleXMLElement $node The XML node holding the <line></line> nodes
|
||||
* @return array: (lineNumber -> hits)
|
||||
*/
|
||||
private function getLineCoverage(\SimpleXMLElement $node)
|
||||
{
|
||||
$lineCoverage = (object)array();
|
||||
if ($node->file->coverage) {
|
||||
foreach ($node->file->coverage->line as $line) {
|
||||
$count = $line->covered->count();
|
||||
$nr = (string)$line["nr"];
|
||||
$lineCoverage->$nr = $count;
|
||||
}
|
||||
}
|
||||
return $lineCoverage;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets Integer from percent. Example: 95.00% -> 95
|
||||
* @param \SimpleXMLElement $percent The percent attribute of the node
|
||||
* @return integer The according integer value
|
||||
*/
|
||||
private function getTotalFromPercent(\SimpleXMLElement $percent)
|
||||
{
|
||||
$percent = (string)$percent;
|
||||
$percent = substr($percent, 0, -1);
|
||||
return round($percent);
|
||||
}
|
||||
|
||||
/**
|
||||
* The PhpUnit XML Coverage format does not save the full path of the filename
|
||||
* We can get the filename by combining the path of the first directory with
|
||||
* the href attribute of each file.
|
||||
* @param \SimpleXMLElement $fileName The href attribute of the <file></file> node.
|
||||
* @return string The relative path of the file, that is, relative to project root.
|
||||
*/
|
||||
private function getRelativePath(\SimpleXMLElement $fileName)
|
||||
{
|
||||
$dirOfSrcFiles = $this->element->project->directory["name"];
|
||||
$projectRoot = $this->rootDir;
|
||||
// Need to cut off everything lower than projectRoot
|
||||
$dirFromProjectRoot = substr($dirOfSrcFiles, strlen($projectRoot) + 1);
|
||||
// remove .xml and convert to string
|
||||
$relativeFilePath = substr((string)$fileName, 0, -4);
|
||||
return join(DIRECTORY_SEPARATOR, array($dirFromProjectRoot, $relativeFilePath));
|
||||
}
|
||||
}
|
@@ -1,48 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Codacy\Coverage\Report;
|
||||
|
||||
/**
|
||||
* Class CoverageReport
|
||||
* Holds the coverage report total result and a list (array)
|
||||
* of FileReports
|
||||
* @author Jakob Pupke <jakob.pupke@gmail.com>
|
||||
*/
|
||||
class CoverageReport
|
||||
{
|
||||
/**
|
||||
* @var integer
|
||||
*/
|
||||
private $_total;
|
||||
|
||||
/**
|
||||
* @var array (of type FileReport)
|
||||
*/
|
||||
private $_fileReports;
|
||||
|
||||
/**
|
||||
* @param $total string
|
||||
* @param $fileReports array (of type FileReport)
|
||||
*/
|
||||
public function __construct($total, $fileReports)
|
||||
{
|
||||
$this->_total = $total;
|
||||
$this->_fileReports = $fileReports;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return integer
|
||||
*/
|
||||
public function getTotal()
|
||||
{
|
||||
return $this->_total;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array (of type FileReport)
|
||||
*/
|
||||
public function getFileReports()
|
||||
{
|
||||
return $this->_fileReports;
|
||||
}
|
||||
}
|
@@ -1,63 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Codacy\Coverage\Report;
|
||||
|
||||
/**
|
||||
* Class FileReport
|
||||
* Holds the file report total result, the filename and a list (associative array)
|
||||
* mapping line numbers to hits [lineNr => hits]
|
||||
* @author Jakob Pupke <jakob.pupke@gmail.com>
|
||||
*/
|
||||
class FileReport
|
||||
{
|
||||
/**
|
||||
* @var integer
|
||||
*/
|
||||
private $_total;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
private $_fileName;
|
||||
|
||||
/**
|
||||
* @var array (line -> hits) of type [string -> int]
|
||||
*/
|
||||
private $_lineCoverage;
|
||||
|
||||
/**
|
||||
* @param $total string
|
||||
* @param $fileName string
|
||||
* @param $lineCoverage array
|
||||
*/
|
||||
public function __construct($total, $fileName, $lineCoverage)
|
||||
{
|
||||
$this->_total = $total;
|
||||
$this->_fileName = $fileName;
|
||||
$this->_lineCoverage = $lineCoverage;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return integer
|
||||
*/
|
||||
public function getTotal()
|
||||
{
|
||||
return $this->_total;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getFileName()
|
||||
{
|
||||
return $this->_fileName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getLineCoverage()
|
||||
{
|
||||
return $this->_lineCoverage;
|
||||
}
|
||||
}
|
@@ -1,85 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Codacy\Coverage\Util;
|
||||
|
||||
/**
|
||||
* Class ApiClient
|
||||
* @author Jakob Pupke <jakob.pupke@gmail.com>
|
||||
*/
|
||||
class CodacyApiClient
|
||||
{
|
||||
|
||||
function __construct($baseUrl, $projectToken)
|
||||
{
|
||||
$this->baseUrl = $baseUrl;
|
||||
$this->projectToken = $projectToken;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $commit commit uuid
|
||||
* @param string $data the JSON data
|
||||
*
|
||||
* @return string success message
|
||||
*
|
||||
* @throws \Exception when remote server response
|
||||
*/
|
||||
public function sendCoverage($commit, $data)
|
||||
{
|
||||
$tempCertFile = $this->dumpCertificateBundle();
|
||||
|
||||
$url = $this->baseUrl . "/2.0/coverage/" . $commit . "/php";
|
||||
|
||||
$curl = curl_init($url);
|
||||
|
||||
curl_setopt($curl, CURLOPT_HEADER, false);
|
||||
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
|
||||
curl_setopt(
|
||||
$curl, CURLOPT_HTTPHEADER,
|
||||
array(
|
||||
"Content-type: application/json",
|
||||
"project_token: " . $this->projectToken
|
||||
)
|
||||
);
|
||||
curl_setopt($curl, CURLOPT_CAINFO, $tempCertFile);
|
||||
curl_setopt($curl, CURLOPT_POST, true);
|
||||
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
|
||||
|
||||
$json_response = curl_exec($curl);
|
||||
|
||||
unlink($tempCertFile);
|
||||
|
||||
$status = curl_getinfo($curl, CURLINFO_HTTP_CODE);
|
||||
|
||||
if ($status < 200 || $status > 201) {
|
||||
throw new \Exception(
|
||||
sprintf("Error: call to URL %s failed with status %s, response %s, curl_error %u",
|
||||
$url, $status, $json_response, curl_error($curl), curl_errno($curl)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
curl_close($curl);
|
||||
|
||||
$json = json_decode($json_response, true);
|
||||
|
||||
if (isset($json['success']) || array_key_exists('success', $json)) {
|
||||
return $json['success'];
|
||||
} else {
|
||||
return $json['error'];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Store certificate bundle to temporary file to be available when used within phar context
|
||||
*
|
||||
* @return string Full qualified path to temporary file
|
||||
*/
|
||||
protected function dumpCertificateBundle()
|
||||
{
|
||||
$tempCertFile = tempnam(sys_get_temp_dir(), 'cacert');
|
||||
|
||||
copy(dirname(__FILE__) . '/cacert.pem', $tempCertFile);
|
||||
|
||||
return $tempCertFile;
|
||||
}
|
||||
}
|
@@ -1,45 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Codacy\Coverage\Util;
|
||||
|
||||
use Gitonomy\Git\Repository;
|
||||
use Codacy\Coverage\Util\Config;
|
||||
|
||||
/**
|
||||
* Class GitClient
|
||||
* @author Jakob Pupke <jakob.pupke@gmail.com>
|
||||
*/
|
||||
class GitClient
|
||||
{
|
||||
/**
|
||||
* @var Repository
|
||||
*/
|
||||
private $_repository;
|
||||
|
||||
/**
|
||||
* Instantiates a GitClient object. Reads conf.ini to get the path to the repository.
|
||||
* Throws InvalidArgumentException is projectRoot is not properly set in ini file.
|
||||
*/
|
||||
public function __construct($path)
|
||||
{
|
||||
if (is_dir(getcwd())) {
|
||||
$this->_repository = new Repository($path);
|
||||
} else {
|
||||
throw new \InvalidArgumentException(
|
||||
"Could not instantiate GitClient. Using: "
|
||||
. getcwd()
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string The Hash of the latest Commit.
|
||||
*/
|
||||
public function getHashOfLatestCommit()
|
||||
{
|
||||
$head = $this->_repository->getHeadCommit();
|
||||
return $head->getHash();
|
||||
}
|
||||
}
|
||||
|
@@ -1,87 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Codacy\Coverage\Util;
|
||||
|
||||
use Codacy\Coverage\Parser\IParser;
|
||||
|
||||
/**
|
||||
* Class JsonProducer
|
||||
* Is composed of a parser that implements the IParser interface.
|
||||
* @author Jakob Pupke <jakob.pupke@gmail.com>
|
||||
*/
|
||||
class JsonProducer
|
||||
{
|
||||
/**
|
||||
* @var Parser that implements IParser interface
|
||||
*/
|
||||
private $_parser;
|
||||
|
||||
/**
|
||||
* Sets the JsonParser's member field
|
||||
* @param $parser IParser Any parser class that implements the IParser interface
|
||||
*/
|
||||
public function setParser(IParser $parser)
|
||||
{
|
||||
$this->_parser = $parser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Delegates the job to the parser's makeReport() method
|
||||
* @return CoverageReport The CoverageReport object
|
||||
*/
|
||||
public function makeReport()
|
||||
{
|
||||
return $this->_parser->makeReport();
|
||||
}
|
||||
|
||||
/**
|
||||
* Takes a CoverageReport object, the result of makeReport(), and outputs JSON.
|
||||
* Example JSON format:
|
||||
* {
|
||||
* "total": 67,
|
||||
* "fileReports": [
|
||||
* {
|
||||
* "filename": "src/Codacy/Coverage/Api/Api.php",
|
||||
* "total": 3,
|
||||
* "coverage": {
|
||||
* "12": 3,
|
||||
* "13": 5,
|
||||
* .........
|
||||
* .........
|
||||
* }
|
||||
* },
|
||||
* .........
|
||||
* .......
|
||||
* ]
|
||||
* }
|
||||
*
|
||||
* @return string the JSON string
|
||||
*/
|
||||
public function makeJson()
|
||||
{
|
||||
$report = $this->makeReport();
|
||||
$array = array();
|
||||
$array['total'] = $report->getTotal();
|
||||
|
||||
$fileReportsArray = array();
|
||||
$fileReports = $report->getFileReports();
|
||||
|
||||
foreach ($fileReports as $fr) {
|
||||
$fileArray = array();
|
||||
$fileArray['filename'] = $fr->getFileName();
|
||||
$fileArray['total'] = $fr->getTotal();
|
||||
$fileArray['coverage'] = $fr->getLineCoverage();
|
||||
|
||||
array_push($fileReportsArray, $fileArray);
|
||||
}
|
||||
|
||||
$array['fileReports'] = $fileReportsArray;
|
||||
|
||||
if (version_compare(PHP_VERSION, '5.4.0', '>=')) {
|
||||
return json_encode($array, JSON_UNESCAPED_SLASHES);
|
||||
} else {
|
||||
return str_replace('\/', '/', json_encode($array));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@@ -1,63 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Codacy\Coverage\Parser\CloverParser;
|
||||
|
||||
class CloverParserTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
|
||||
public function testThrowsExceptionOnWrongPath()
|
||||
{
|
||||
$this->expectException('InvalidArgumentException');
|
||||
$this->expectExceptionMessage('Unable to load the xml file. Make sure path is properly set. Using: "/home/foo/bar/baz/m.xml"');
|
||||
new CloverParser("/home/foo/bar/baz/m.xml");
|
||||
}
|
||||
|
||||
/**
|
||||
* Testing against the clover coverage report 'tests/res/clover/clover.xml'
|
||||
*/
|
||||
public function testCanParseCloverXmlWithoutProject()
|
||||
{
|
||||
$this->_canParseClover('tests/res/clover/clover.xml', "/home/jacke/Desktop/codacy-php");
|
||||
}
|
||||
|
||||
/**
|
||||
* Testing against the clover coverage report 'tests/res/clover/clover.xml'
|
||||
* The test had been made in /home/jacke/Desktop/codacy-php so we need to pass this
|
||||
* as 2nd (optional) parameter. Otherwise the filename will not be correct and test
|
||||
* would fail on other machines or in other directories.
|
||||
*/
|
||||
public function testCanParseCloverXmlWithProject()
|
||||
{
|
||||
$this->_canParseClover('tests/res/clover/clover_without_packages.xml', "/home/jacke/Desktop/codacy-php");
|
||||
}
|
||||
|
||||
private function _canParseClover($path, $rootDir)
|
||||
{
|
||||
$parser = new CloverParser($path, $rootDir);
|
||||
$report = $parser->makeReport();
|
||||
$this->assertEquals(38, $report->getTotal());
|
||||
$this->assertEquals(5, sizeof($report->getFileReports()));
|
||||
|
||||
$parserFileReports = $report->getFileReports();
|
||||
|
||||
$parserFileReport = $parserFileReports[0];
|
||||
$coverageReportFileReport = $parserFileReports[1];
|
||||
|
||||
$this->assertEquals(33, $parserFileReport->getTotal());
|
||||
$this->assertEquals(33, $coverageReportFileReport->getTotal());
|
||||
|
||||
$parserFileName = $parserFileReport->getFileName();
|
||||
|
||||
$reportFileName = $coverageReportFileReport->getFileName();
|
||||
|
||||
$fileReports = $report->getFileReports();
|
||||
$fileReport = $fileReports[1];
|
||||
|
||||
$expLineCoverage = (object)array(11 => 1, 12 => 1, 13 => 1, 16 => 1,
|
||||
19 => 0, 30 => 0, 31 => 0, 32 => 0, 33 => 0, 36 => 0, 39 => 0, 42 => 0);
|
||||
$this->assertEquals($fileReport->getLineCoverage(), $expLineCoverage);
|
||||
|
||||
$this->assertEquals("src/Codacy/Coverage/Parser/Parser.php", $parserFileName);
|
||||
$this->assertEquals("src/Codacy/Coverage/Report/CoverageReport.php", $reportFileName);
|
||||
}
|
||||
}
|
@@ -1,44 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Codacy\Coverage\Parser;
|
||||
|
||||
|
||||
use Codacy\Coverage\Util\JsonProducer;
|
||||
|
||||
class ParserTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* Running against tests/res/phpunit-clover
|
||||
*/
|
||||
public function testParsersProduceSameResult()
|
||||
{
|
||||
$cloverParser = new CloverParser('tests/res/phpunit-clover/clover.xml', '/home/jacke/Desktop/codacy-php');
|
||||
$xunitParser = new PhpUnitXmlParser('tests/res/phpunit-clover/index.xml', '/home/jacke/Desktop/codacy-php');
|
||||
$xunitParser->setDirOfFileXmls('tests/res/phpunit-clover');
|
||||
$expectedJson = file_get_contents('tests/res/expected.json', true);
|
||||
|
||||
$jsonProducer = new JsonProducer();
|
||||
|
||||
$jsonProducer->setParser($cloverParser);
|
||||
|
||||
$cloverJson = $jsonProducer->makeJson();
|
||||
|
||||
$jsonProducer->setParser($xunitParser);
|
||||
|
||||
$xunitJson = $jsonProducer->makeJson();
|
||||
|
||||
$this->assertJsonStringEqualsJsonString($expectedJson, $cloverJson);
|
||||
|
||||
$this->assertJsonStringEqualsJsonString($expectedJson, $xunitJson);
|
||||
}
|
||||
|
||||
public function testConstructorOnNullRootDir()
|
||||
{
|
||||
$parser = new PhpUnitXmlParser('tests/res/phpunitxml/index.xml');
|
||||
$parser->setDirOfFileXmls("tests/res/phpunitxml");
|
||||
$report = $parser->makeReport();
|
||||
|
||||
$this->assertEquals(69, $report->getTotal());
|
||||
$this->assertEquals(10, sizeof($report->getFileReports()));
|
||||
}
|
||||
}
|
@@ -1,59 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Codacy\Coverage\Parser\PhpUnitXmlParser;
|
||||
|
||||
class PhpUnitXmlParserTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
|
||||
|
||||
public function testThrowsExceptionOnWrongPath()
|
||||
{
|
||||
$this->expectException('InvalidArgumentException');
|
||||
new PhpUnitXmlParser("/home/foo/bar/baz/fake.xml");
|
||||
}
|
||||
|
||||
public function testMakeReportThrowsExceptionOnWrndPath()
|
||||
{
|
||||
$parser = new PhpUnitXmlParser('tests/res/phpunitxml/index.xml', '/home/jacke/Desktop/codacy-php');
|
||||
|
||||
$this->expectException('InvalidArgumentException');
|
||||
$parser->makeReport();
|
||||
}
|
||||
|
||||
/**
|
||||
* Testing against the clover coverage report 'tests/res/clover/clover.xml'
|
||||
* The test had been made in /home/jacke/Desktop/codacy-php so we need to pass this
|
||||
* as 2nd (optional) parameter. Otherwise the filename will not be correct and test
|
||||
* would fail on other machines or in other directories.
|
||||
*/
|
||||
public function testCanParsePhpUnitXmlReport()
|
||||
{
|
||||
|
||||
$parser = new PhpUnitXmlParser('tests/res/phpunitxml/index.xml', '/home/jacke/Desktop/codacy-php');
|
||||
$parser->setDirOfFileXmls("tests/res/phpunitxml");
|
||||
$report = $parser->makeReport();
|
||||
|
||||
$this->assertEquals(69, $report->getTotal());
|
||||
$this->assertEquals(10, sizeof($report->getFileReports()));
|
||||
|
||||
$fileReports = $report->getFileReports();
|
||||
|
||||
$configFileReport = $fileReports[2];
|
||||
$cloverParserFileReport = $fileReports[4];
|
||||
|
||||
$this->assertEquals(86, $configFileReport->getTotal());
|
||||
$this->assertEquals(95, $cloverParserFileReport->getTotal());
|
||||
|
||||
$lineCoverage = $configFileReport->getLineCoverage();
|
||||
$expLineCoverage = (object)array(24 => 4, 25 => 4, 26 => 4, 27 => 4, 28 => 4, 29 => 4);
|
||||
$this->assertEquals($lineCoverage, $expLineCoverage);
|
||||
|
||||
$configFileName = $configFileReport->getFileName();
|
||||
|
||||
$cloverParserFileName = $cloverParserFileReport->getFileName();
|
||||
|
||||
$this->assertEquals("src/Codacy/Coverage/Config.php", $configFileName);
|
||||
$this->assertEquals("src/Codacy/Coverage/Parser/CloverParser.php", $cloverParserFileName);
|
||||
}
|
||||
|
||||
}
|
@@ -1,13 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Codacy\Coverage\Util\GitClient;
|
||||
|
||||
class GitClientTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
public function testGetHashOfLastCommit()
|
||||
{
|
||||
$gitClient = new GitClient(getcwd());
|
||||
$hash = $gitClient->getHashOfLatestCommit();
|
||||
$this->assertEquals(40, strlen($hash));
|
||||
}
|
||||
}
|
365
vendor/codacy/coverage/tests/res/clover/clover.xml
vendored
365
vendor/codacy/coverage/tests/res/clover/clover.xml
vendored
@@ -1,365 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<coverage generated="1424652641">
|
||||
<project timestamp="1424652641">
|
||||
<package name="Codacy\Coverage\Parser">
|
||||
<file name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage/Parser/Parser.php">
|
||||
<class name="Parser" namespace="Codacy\Coverage\Parser">
|
||||
<metrics methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="0" elements="15" coveredelements="0"/>
|
||||
</class>
|
||||
<class name="CloverParser" namespace="Codacy\Coverage\Parser">
|
||||
<metrics methods="4" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="32" coveredstatements="15" elements="36" coveredelements="17"/>
|
||||
</class>
|
||||
<line num="16" type="method" name="makeJson" crap="6" count="0"/>
|
||||
<line num="17" type="stmt" count="0"/>
|
||||
<line num="18" type="stmt" count="0"/>
|
||||
<line num="20" type="stmt" count="0"/>
|
||||
<line num="21" type="stmt" count="0"/>
|
||||
<line num="23" type="stmt" count="0"/>
|
||||
<line num="24" type="stmt" count="0"/>
|
||||
<line num="25" type="stmt" count="0"/>
|
||||
<line num="26" type="stmt" count="0"/>
|
||||
<line num="27" type="stmt" count="0"/>
|
||||
<line num="29" type="stmt" count="0"/>
|
||||
<line num="30" type="stmt" count="0"/>
|
||||
<line num="31" type="stmt" count="0"/>
|
||||
<line num="32" type="stmt" count="0"/>
|
||||
<line num="33" type="stmt" count="0"/>
|
||||
<line num="43" type="method" name="__construct" crap="2" count="1"/>
|
||||
<line num="44" type="stmt" count="1"/>
|
||||
<line num="45" type="stmt" count="1"/>
|
||||
<line num="47" type="method" name="makeJson" crap="2" count="0"/>
|
||||
<line num="48" type="stmt" count="0"/>
|
||||
<line num="49" type="stmt" count="0"/>
|
||||
<line num="52" type="method" name="makeReport" crap="1" count="1"/>
|
||||
<line num="53" type="stmt" count="1"/>
|
||||
<line num="54" type="stmt" count="1"/>
|
||||
<line num="55" type="stmt" count="1"/>
|
||||
<line num="56" type="stmt" count="1"/>
|
||||
<line num="57" type="stmt" count="1"/>
|
||||
<line num="58" type="stmt" count="1"/>
|
||||
<line num="59" type="stmt" count="1"/>
|
||||
<line num="60" type="stmt" count="1"/>
|
||||
<line num="61" type="stmt" count="1"/>
|
||||
<line num="65" type="method" name="makeFileReports" crap="17.30" count="1"/>
|
||||
<line num="66" type="stmt" count="1"/>
|
||||
<line num="67" type="stmt" count="1"/>
|
||||
<line num="68" type="stmt" count="0"/>
|
||||
<line num="69" type="stmt" count="0"/>
|
||||
<line num="70" type="stmt" count="0"/>
|
||||
<line num="71" type="stmt" count="0"/>
|
||||
<line num="72" type="stmt" count="0"/>
|
||||
<line num="73" type="stmt" count="0"/>
|
||||
<line num="74" type="stmt" count="0"/>
|
||||
<line num="75" type="stmt" count="0"/>
|
||||
<line num="76" type="stmt" count="0"/>
|
||||
<line num="77" type="stmt" count="0"/>
|
||||
<line num="78" type="stmt" count="0"/>
|
||||
<line num="79" type="stmt" count="0"/>
|
||||
<line num="80" type="stmt" count="0"/>
|
||||
<line num="81" type="stmt" count="0"/>
|
||||
<line num="82" type="stmt" count="0"/>
|
||||
<line num="83" type="stmt" count="1"/>
|
||||
<line num="84" type="stmt" count="1"/>
|
||||
<metrics loc="86" ncloc="66" classes="2" methods="5" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="46" coveredstatements="15" elements="51" coveredelements="17"/>
|
||||
</file>
|
||||
</package>
|
||||
<package name="Codacy\Coverage\Report">
|
||||
<file name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage/Report/CoverageReport.php">
|
||||
<class name="CoverageReport" namespace="Codacy\Coverage\Report">
|
||||
<metrics methods="3" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="4" elements="8" coveredelements="6"/>
|
||||
</class>
|
||||
<class name="FileReport" namespace="Codacy\Coverage\Report">
|
||||
<metrics methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="11" coveredelements="0"/>
|
||||
</class>
|
||||
<line num="10" type="method" name="__construct" crap="1" count="1"/>
|
||||
<line num="11" type="stmt" count="1"/>
|
||||
<line num="12" type="stmt" count="1"/>
|
||||
<line num="13" type="stmt" count="1"/>
|
||||
<line num="15" type="method" name="getTotal" crap="1" count="1"/>
|
||||
<line num="16" type="stmt" count="1"/>
|
||||
<line num="18" type="method" name="getFileReports" crap="2" count="0"/>
|
||||
<line num="19" type="stmt" count="0"/>
|
||||
<line num="29" type="method" name="__construct" crap="2" count="0"/>
|
||||
<line num="30" type="stmt" count="0"/>
|
||||
<line num="31" type="stmt" count="0"/>
|
||||
<line num="32" type="stmt" count="0"/>
|
||||
<line num="33" type="stmt" count="0"/>
|
||||
<line num="35" type="method" name="getTotal" crap="2" count="0"/>
|
||||
<line num="36" type="stmt" count="0"/>
|
||||
<line num="38" type="method" name="getFileName" crap="2" count="0"/>
|
||||
<line num="39" type="stmt" count="0"/>
|
||||
<line num="41" type="method" name="getLineCoverage" crap="2" count="0"/>
|
||||
<line num="42" type="stmt" count="0"/>
|
||||
<metrics loc="43" ncloc="39" classes="2" methods="7" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="12" coveredstatements="4" elements="19" coveredelements="6"/>
|
||||
</file>
|
||||
</package>
|
||||
<package name="SebastianBergmann\GlobalState">
|
||||
<file name="/home/jacke/Desktop/codacy-php/vendor/sebastian/global-state/src/Blacklist.php">
|
||||
<class name="Blacklist" namespace="SebastianBergmann\GlobalState">
|
||||
<metrics methods="8" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="34" coveredstatements="1" elements="42" coveredelements="2"/>
|
||||
</class>
|
||||
<line num="90" type="method" name="addGlobalVariable" crap="2" count="0"/>
|
||||
<line num="92" type="stmt" count="0"/>
|
||||
<line num="93" type="stmt" count="0"/>
|
||||
<line num="98" type="method" name="addClass" crap="2" count="0"/>
|
||||
<line num="100" type="stmt" count="0"/>
|
||||
<line num="101" type="stmt" count="0"/>
|
||||
<line num="106" type="method" name="addSubclassesOf" crap="2" count="0"/>
|
||||
<line num="108" type="stmt" count="0"/>
|
||||
<line num="109" type="stmt" count="0"/>
|
||||
<line num="114" type="method" name="addImplementorsOf" crap="2" count="0"/>
|
||||
<line num="116" type="stmt" count="0"/>
|
||||
<line num="117" type="stmt" count="0"/>
|
||||
<line num="122" type="method" name="addClassNamePrefix" crap="2" count="0"/>
|
||||
<line num="124" type="stmt" count="0"/>
|
||||
<line num="125" type="stmt" count="0"/>
|
||||
<line num="131" type="method" name="addStaticAttribute" crap="6" count="0"/>
|
||||
<line num="133" type="stmt" count="0"/>
|
||||
<line num="134" type="stmt" count="0"/>
|
||||
<line num="135" type="stmt" count="0"/>
|
||||
<line num="137" type="stmt" count="0"/>
|
||||
<line num="138" type="stmt" count="0"/>
|
||||
<line num="144" type="method" name="isGlobalVariableBlacklisted" crap="1" count="1"/>
|
||||
<line num="146" type="stmt" count="1"/>
|
||||
<line num="154" type="method" name="isStaticAttributeBlacklisted" crap="90" count="0"/>
|
||||
<line num="156" type="stmt" count="0"/>
|
||||
<line num="157" type="stmt" count="0"/>
|
||||
<line num="160" type="stmt" count="0"/>
|
||||
<line num="161" type="stmt" count="0"/>
|
||||
<line num="162" type="stmt" count="0"/>
|
||||
<line num="164" type="stmt" count="0"/>
|
||||
<line num="166" type="stmt" count="0"/>
|
||||
<line num="168" type="stmt" count="0"/>
|
||||
<line num="169" type="stmt" count="0"/>
|
||||
<line num="170" type="stmt" count="0"/>
|
||||
<line num="172" type="stmt" count="0"/>
|
||||
<line num="174" type="stmt" count="0"/>
|
||||
<line num="175" type="stmt" count="0"/>
|
||||
<line num="176" type="stmt" count="0"/>
|
||||
<line num="178" type="stmt" count="0"/>
|
||||
<line num="180" type="stmt" count="0"/>
|
||||
<line num="181" type="stmt" count="0"/>
|
||||
<line num="184" type="stmt" count="0"/>
|
||||
<metrics loc="186" ncloc="92" classes="1" methods="8" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="34" coveredstatements="1" elements="42" coveredelements="2"/>
|
||||
</file>
|
||||
<file name="/home/jacke/Desktop/codacy-php/vendor/sebastian/global-state/src/Restorer.php">
|
||||
<class name="Restorer" namespace="SebastianBergmann\GlobalState">
|
||||
<metrics methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="49" coveredstatements="32" elements="53" coveredelements="32"/>
|
||||
</class>
|
||||
<line num="64" type="method" name="restoreFunctions" crap="12" count="0"/>
|
||||
<line num="66" type="stmt" count="0"/>
|
||||
<line num="67" type="stmt" count="0"/>
|
||||
<line num="70" type="stmt" count="0"/>
|
||||
<line num="72" type="stmt" count="0"/>
|
||||
<line num="73" type="stmt" count="0"/>
|
||||
<line num="74" type="stmt" count="0"/>
|
||||
<line num="75" type="stmt" count="0"/>
|
||||
<line num="82" type="method" name="restoreGlobalVariables" crap="7.01" count="1"/>
|
||||
<line num="84" type="stmt" count="1"/>
|
||||
<line num="86" type="stmt" count="1"/>
|
||||
<line num="87" type="stmt" count="1"/>
|
||||
<line num="88" type="stmt" count="1"/>
|
||||
<line num="90" type="stmt" count="1"/>
|
||||
<line num="92" type="stmt" count="1"/>
|
||||
<line num="93" type="stmt" count="1"/>
|
||||
<line num="94" type="stmt" count="1"/>
|
||||
<line num="95" type="stmt" count="1"/>
|
||||
<line num="96" type="stmt" count="1"/>
|
||||
<line num="97" type="stmt" count="1"/>
|
||||
<line num="98" type="stmt" count="1"/>
|
||||
<line num="99" type="stmt" count="0"/>
|
||||
<line num="101" type="stmt" count="1"/>
|
||||
<line num="102" type="stmt" count="1"/>
|
||||
<line num="103" type="stmt" count="1"/>
|
||||
<line num="110" type="method" name="restoreStaticAttributes" crap="12" count="0"/>
|
||||
<line num="112" type="stmt" count="0"/>
|
||||
<line num="113" type="stmt" count="0"/>
|
||||
<line num="114" type="stmt" count="0"/>
|
||||
<line num="115" type="stmt" count="0"/>
|
||||
<line num="116" type="stmt" count="0"/>
|
||||
<line num="117" type="stmt" count="0"/>
|
||||
<line num="118" type="stmt" count="0"/>
|
||||
<line num="119" type="stmt" count="0"/>
|
||||
<line num="127" type="method" name="restoreSuperGlobalArray" crap="6.01" count="1"/>
|
||||
<line num="129" type="stmt" count="1"/>
|
||||
<line num="131" type="stmt" count="1"/>
|
||||
<line num="132" type="stmt" count="1"/>
|
||||
<line num="133" type="stmt" count="1"/>
|
||||
<line num="134" type="stmt" count="1"/>
|
||||
<line num="135" type="stmt" count="1"/>
|
||||
<line num="136" type="stmt" count="1"/>
|
||||
<line num="137" type="stmt" count="1"/>
|
||||
<line num="138" type="stmt" count="1"/>
|
||||
<line num="139" type="stmt" count="1"/>
|
||||
<line num="141" type="stmt" count="1"/>
|
||||
<line num="142" type="stmt" count="1"/>
|
||||
<line num="143" type="stmt" count="1"/>
|
||||
<line num="144" type="stmt" count="1"/>
|
||||
<line num="145" type="stmt" count="0"/>
|
||||
<line num="147" type="stmt" count="1"/>
|
||||
<line num="148" type="stmt" count="1"/>
|
||||
<line num="149" type="stmt" count="1"/>
|
||||
<metrics loc="150" ncloc="79" classes="1" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="49" coveredstatements="32" elements="53" coveredelements="32"/>
|
||||
</file>
|
||||
<file name="/home/jacke/Desktop/codacy-php/vendor/sebastian/global-state/src/Snapshot.php">
|
||||
<class name="Snapshot" namespace="SebastianBergmann\GlobalState">
|
||||
<metrics methods="22" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="130" coveredstatements="52" elements="152" coveredelements="59"/>
|
||||
</class>
|
||||
<line num="132" type="method" name="__construct" crap="28.41" count="1"/>
|
||||
<line num="134" type="stmt" count="1"/>
|
||||
<line num="135" type="stmt" count="0"/>
|
||||
<line num="136" type="stmt" count="0"/>
|
||||
<line num="138" type="stmt" count="1"/>
|
||||
<line num="140" type="stmt" count="1"/>
|
||||
<line num="141" type="stmt" count="0"/>
|
||||
<line num="142" type="stmt" count="0"/>
|
||||
<line num="144" type="stmt" count="1"/>
|
||||
<line num="145" type="stmt" count="0"/>
|
||||
<line num="146" type="stmt" count="0"/>
|
||||
<line num="148" type="stmt" count="1"/>
|
||||
<line num="149" type="stmt" count="0"/>
|
||||
<line num="150" type="stmt" count="0"/>
|
||||
<line num="152" type="stmt" count="1"/>
|
||||
<line num="153" type="stmt" count="0"/>
|
||||
<line num="154" type="stmt" count="0"/>
|
||||
<line num="156" type="stmt" count="1"/>
|
||||
<line num="157" type="stmt" count="1"/>
|
||||
<line num="158" type="stmt" count="1"/>
|
||||
<line num="159" type="stmt" count="1"/>
|
||||
<line num="161" type="stmt" count="1"/>
|
||||
<line num="162" type="stmt" count="0"/>
|
||||
<line num="163" type="stmt" count="0"/>
|
||||
<line num="165" type="stmt" count="1"/>
|
||||
<line num="166" type="stmt" count="0"/>
|
||||
<line num="167" type="stmt" count="0"/>
|
||||
<line num="169" type="stmt" count="1"/>
|
||||
<line num="170" type="stmt" count="0"/>
|
||||
<line num="171" type="stmt" count="0"/>
|
||||
<line num="173" type="stmt" count="1"/>
|
||||
<line num="174" type="stmt" count="1"/>
|
||||
<line num="175" type="stmt" count="1"/>
|
||||
<line num="176" type="stmt" count="1"/>
|
||||
<line num="181" type="method" name="blacklist" crap="1" count="1"/>
|
||||
<line num="183" type="stmt" count="1"/>
|
||||
<line num="189" type="method" name="globalVariables" crap="1" count="1"/>
|
||||
<line num="191" type="stmt" count="1"/>
|
||||
<line num="197" type="method" name="superGlobalVariables" crap="1" count="1"/>
|
||||
<line num="199" type="stmt" count="1"/>
|
||||
<line num="207" type="method" name="superGlobalArrays" crap="1" count="1"/>
|
||||
<line num="209" type="stmt" count="1"/>
|
||||
<line num="215" type="method" name="staticAttributes" crap="2" count="0"/>
|
||||
<line num="217" type="stmt" count="0"/>
|
||||
<line num="223" type="method" name="iniSettings" crap="2" count="0"/>
|
||||
<line num="225" type="stmt" count="0"/>
|
||||
<line num="231" type="method" name="includedFiles" crap="2" count="0"/>
|
||||
<line num="233" type="stmt" count="0"/>
|
||||
<line num="239" type="method" name="constants" crap="2" count="0"/>
|
||||
<line num="241" type="stmt" count="0"/>
|
||||
<line num="247" type="method" name="functions" crap="2" count="0"/>
|
||||
<line num="249" type="stmt" count="0"/>
|
||||
<line num="255" type="method" name="interfaces" crap="2" count="0"/>
|
||||
<line num="257" type="stmt" count="0"/>
|
||||
<line num="263" type="method" name="classes" crap="2" count="0"/>
|
||||
<line num="265" type="stmt" count="0"/>
|
||||
<line num="271" type="method" name="traits" crap="2" count="0"/>
|
||||
<line num="273" type="stmt" count="0"/>
|
||||
<line num="279" type="method" name="snapshotConstants" crap="6" count="0"/>
|
||||
<line num="281" type="stmt" count="0"/>
|
||||
<line num="283" type="stmt" count="0"/>
|
||||
<line num="284" type="stmt" count="0"/>
|
||||
<line num="285" type="stmt" count="0"/>
|
||||
<line num="286" type="stmt" count="0"/>
|
||||
<line num="291" type="method" name="snapshotFunctions" crap="2" count="0"/>
|
||||
<line num="293" type="stmt" count="0"/>
|
||||
<line num="295" type="stmt" count="0"/>
|
||||
<line num="296" type="stmt" count="0"/>
|
||||
<line num="301" type="method" name="snapshotClasses" crap="12" count="0"/>
|
||||
<line num="303" type="stmt" count="0"/>
|
||||
<line num="304" type="stmt" count="0"/>
|
||||
<line num="306" type="stmt" count="0"/>
|
||||
<line num="307" type="stmt" count="0"/>
|
||||
<line num="310" type="stmt" count="0"/>
|
||||
<line num="311" type="stmt" count="0"/>
|
||||
<line num="313" type="stmt" count="0"/>
|
||||
<line num="314" type="stmt" count="0"/>
|
||||
<line num="319" type="method" name="snapshotInterfaces" crap="12" count="0"/>
|
||||
<line num="321" type="stmt" count="0"/>
|
||||
<line num="322" type="stmt" count="0"/>
|
||||
<line num="324" type="stmt" count="0"/>
|
||||
<line num="325" type="stmt" count="0"/>
|
||||
<line num="328" type="stmt" count="0"/>
|
||||
<line num="329" type="stmt" count="0"/>
|
||||
<line num="331" type="stmt" count="0"/>
|
||||
<line num="332" type="stmt" count="0"/>
|
||||
<line num="337" type="method" name="snapshotGlobals" crap="7" count="1"/>
|
||||
<line num="339" type="stmt" count="1"/>
|
||||
<line num="341" type="stmt" count="1"/>
|
||||
<line num="342" type="stmt" count="1"/>
|
||||
<line num="343" type="stmt" count="1"/>
|
||||
<line num="345" type="stmt" count="1"/>
|
||||
<line num="346" type="stmt" count="1"/>
|
||||
<line num="347" type="stmt" count="1"/>
|
||||
<line num="348" type="stmt" count="1"/>
|
||||
<line num="349" type="stmt" count="1"/>
|
||||
<line num="350" type="stmt" count="1"/>
|
||||
<line num="351" type="stmt" count="1"/>
|
||||
<line num="352" type="stmt" count="1"/>
|
||||
<line num="353" type="stmt" count="1"/>
|
||||
<line num="360" type="method" name="snapshotSuperGlobalArray" crap="4" count="1"/>
|
||||
<line num="362" type="stmt" count="1"/>
|
||||
<line num="364" type="stmt" count="1"/>
|
||||
<line num="365" type="stmt" count="1"/>
|
||||
<line num="366" type="stmt" count="1"/>
|
||||
<line num="367" type="stmt" count="1"/>
|
||||
<line num="368" type="stmt" count="1"/>
|
||||
<line num="369" type="stmt" count="1"/>
|
||||
<line num="374" type="method" name="snapshotStaticAttributes" crap="56" count="0"/>
|
||||
<line num="376" type="stmt" count="0"/>
|
||||
<line num="377" type="stmt" count="0"/>
|
||||
<line num="378" type="stmt" count="0"/>
|
||||
<line num="380" type="stmt" count="0"/>
|
||||
<line num="381" type="stmt" count="0"/>
|
||||
<line num="382" type="stmt" count="0"/>
|
||||
<line num="384" type="stmt" count="0"/>
|
||||
<line num="385" type="stmt" count="0"/>
|
||||
<line num="388" type="stmt" count="0"/>
|
||||
<line num="389" type="stmt" count="0"/>
|
||||
<line num="391" type="stmt" count="0"/>
|
||||
<line num="392" type="stmt" count="0"/>
|
||||
<line num="393" type="stmt" count="0"/>
|
||||
<line num="394" type="stmt" count="0"/>
|
||||
<line num="395" type="stmt" count="0"/>
|
||||
<line num="397" type="stmt" count="0"/>
|
||||
<line num="398" type="stmt" count="0"/>
|
||||
<line num="399" type="stmt" count="0"/>
|
||||
<line num="400" type="stmt" count="0"/>
|
||||
<line num="401" type="stmt" count="0"/>
|
||||
<line num="408" type="method" name="setupSuperGlobalArrays" crap="2.50" count="1"/>
|
||||
<line num="410" type="stmt" count="1"/>
|
||||
<line num="411" type="stmt" count="1"/>
|
||||
<line num="412" type="stmt" count="1"/>
|
||||
<line num="413" type="stmt" count="1"/>
|
||||
<line num="414" type="stmt" count="1"/>
|
||||
<line num="415" type="stmt" count="1"/>
|
||||
<line num="416" type="stmt" count="1"/>
|
||||
<line num="418" type="stmt" count="1"/>
|
||||
<line num="420" type="stmt" count="1"/>
|
||||
<line num="421" type="stmt" count="0"/>
|
||||
<line num="422" type="stmt" count="0"/>
|
||||
<line num="424" type="stmt" count="0"/>
|
||||
<line num="425" type="stmt" count="0"/>
|
||||
<line num="426" type="stmt" count="0"/>
|
||||
<line num="427" type="stmt" count="0"/>
|
||||
<line num="428" type="stmt" count="0"/>
|
||||
<line num="430" type="stmt" count="0"/>
|
||||
<line num="431" type="stmt" count="0"/>
|
||||
<line num="432" type="stmt" count="0"/>
|
||||
<line num="433" type="stmt" count="1"/>
|
||||
<line num="440" type="method" name="canBeSerialized" crap="1" count="1"/>
|
||||
<line num="441" type="stmt" count="1"/>
|
||||
<metrics loc="443" ncloc="274" classes="1" methods="22" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="130" coveredstatements="52" elements="152" coveredelements="59"/>
|
||||
</file>
|
||||
</package>
|
||||
<metrics files="5" loc="908" ncloc="550" classes="7" methods="46" coveredmethods="12" conditionals="0" coveredconditionals="0" statements="271" coveredstatements="104" elements="317" coveredelements="116"/>
|
||||
</project>
|
||||
</coverage>
|
@@ -1,359 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<coverage generated="1424652641">
|
||||
<project timestamp="1424652641">
|
||||
<file name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage/Parser/Parser.php">
|
||||
<class name="Parser" namespace="Codacy\Coverage\Parser">
|
||||
<metrics methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="0" elements="15" coveredelements="0"/>
|
||||
</class>
|
||||
<class name="CloverParser" namespace="Codacy\Coverage\Parser">
|
||||
<metrics methods="4" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="32" coveredstatements="15" elements="36" coveredelements="17"/>
|
||||
</class>
|
||||
<line num="16" type="method" name="makeJson" crap="6" count="0"/>
|
||||
<line num="17" type="stmt" count="0"/>
|
||||
<line num="18" type="stmt" count="0"/>
|
||||
<line num="20" type="stmt" count="0"/>
|
||||
<line num="21" type="stmt" count="0"/>
|
||||
<line num="23" type="stmt" count="0"/>
|
||||
<line num="24" type="stmt" count="0"/>
|
||||
<line num="25" type="stmt" count="0"/>
|
||||
<line num="26" type="stmt" count="0"/>
|
||||
<line num="27" type="stmt" count="0"/>
|
||||
<line num="29" type="stmt" count="0"/>
|
||||
<line num="30" type="stmt" count="0"/>
|
||||
<line num="31" type="stmt" count="0"/>
|
||||
<line num="32" type="stmt" count="0"/>
|
||||
<line num="33" type="stmt" count="0"/>
|
||||
<line num="43" type="method" name="__construct" crap="2" count="1"/>
|
||||
<line num="44" type="stmt" count="1"/>
|
||||
<line num="45" type="stmt" count="1"/>
|
||||
<line num="47" type="method" name="makeJson" crap="2" count="0"/>
|
||||
<line num="48" type="stmt" count="0"/>
|
||||
<line num="49" type="stmt" count="0"/>
|
||||
<line num="52" type="method" name="makeReport" crap="1" count="1"/>
|
||||
<line num="53" type="stmt" count="1"/>
|
||||
<line num="54" type="stmt" count="1"/>
|
||||
<line num="55" type="stmt" count="1"/>
|
||||
<line num="56" type="stmt" count="1"/>
|
||||
<line num="57" type="stmt" count="1"/>
|
||||
<line num="58" type="stmt" count="1"/>
|
||||
<line num="59" type="stmt" count="1"/>
|
||||
<line num="60" type="stmt" count="1"/>
|
||||
<line num="61" type="stmt" count="1"/>
|
||||
<line num="65" type="method" name="makeFileReports" crap="17.30" count="1"/>
|
||||
<line num="66" type="stmt" count="1"/>
|
||||
<line num="67" type="stmt" count="1"/>
|
||||
<line num="68" type="stmt" count="0"/>
|
||||
<line num="69" type="stmt" count="0"/>
|
||||
<line num="70" type="stmt" count="0"/>
|
||||
<line num="71" type="stmt" count="0"/>
|
||||
<line num="72" type="stmt" count="0"/>
|
||||
<line num="73" type="stmt" count="0"/>
|
||||
<line num="74" type="stmt" count="0"/>
|
||||
<line num="75" type="stmt" count="0"/>
|
||||
<line num="76" type="stmt" count="0"/>
|
||||
<line num="77" type="stmt" count="0"/>
|
||||
<line num="78" type="stmt" count="0"/>
|
||||
<line num="79" type="stmt" count="0"/>
|
||||
<line num="80" type="stmt" count="0"/>
|
||||
<line num="81" type="stmt" count="0"/>
|
||||
<line num="82" type="stmt" count="0"/>
|
||||
<line num="83" type="stmt" count="1"/>
|
||||
<line num="84" type="stmt" count="1"/>
|
||||
<metrics loc="86" ncloc="66" classes="2" methods="5" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="46" coveredstatements="15" elements="51" coveredelements="17"/>
|
||||
</file>
|
||||
<file name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage/Report/CoverageReport.php">
|
||||
<class name="CoverageReport" namespace="Codacy\Coverage\Report">
|
||||
<metrics methods="3" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="4" elements="8" coveredelements="6"/>
|
||||
</class>
|
||||
<class name="FileReport" namespace="Codacy\Coverage\Report">
|
||||
<metrics methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="11" coveredelements="0"/>
|
||||
</class>
|
||||
<line num="10" type="method" name="__construct" crap="1" count="1"/>
|
||||
<line num="11" type="stmt" count="1"/>
|
||||
<line num="12" type="stmt" count="1"/>
|
||||
<line num="13" type="stmt" count="1"/>
|
||||
<line num="15" type="method" name="getTotal" crap="1" count="1"/>
|
||||
<line num="16" type="stmt" count="1"/>
|
||||
<line num="18" type="method" name="getFileReports" crap="2" count="0"/>
|
||||
<line num="19" type="stmt" count="0"/>
|
||||
<line num="29" type="method" name="__construct" crap="2" count="0"/>
|
||||
<line num="30" type="stmt" count="0"/>
|
||||
<line num="31" type="stmt" count="0"/>
|
||||
<line num="32" type="stmt" count="0"/>
|
||||
<line num="33" type="stmt" count="0"/>
|
||||
<line num="35" type="method" name="getTotal" crap="2" count="0"/>
|
||||
<line num="36" type="stmt" count="0"/>
|
||||
<line num="38" type="method" name="getFileName" crap="2" count="0"/>
|
||||
<line num="39" type="stmt" count="0"/>
|
||||
<line num="41" type="method" name="getLineCoverage" crap="2" count="0"/>
|
||||
<line num="42" type="stmt" count="0"/>
|
||||
<metrics loc="43" ncloc="39" classes="2" methods="7" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="12" coveredstatements="4" elements="19" coveredelements="6"/>
|
||||
</file>
|
||||
<file name="/home/jacke/Desktop/codacy-php/vendor/sebastian/global-state/src/Blacklist.php">
|
||||
<class name="Blacklist" namespace="SebastianBergmann\GlobalState">
|
||||
<metrics methods="8" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="34" coveredstatements="1" elements="42" coveredelements="2"/>
|
||||
</class>
|
||||
<line num="90" type="method" name="addGlobalVariable" crap="2" count="0"/>
|
||||
<line num="92" type="stmt" count="0"/>
|
||||
<line num="93" type="stmt" count="0"/>
|
||||
<line num="98" type="method" name="addClass" crap="2" count="0"/>
|
||||
<line num="100" type="stmt" count="0"/>
|
||||
<line num="101" type="stmt" count="0"/>
|
||||
<line num="106" type="method" name="addSubclassesOf" crap="2" count="0"/>
|
||||
<line num="108" type="stmt" count="0"/>
|
||||
<line num="109" type="stmt" count="0"/>
|
||||
<line num="114" type="method" name="addImplementorsOf" crap="2" count="0"/>
|
||||
<line num="116" type="stmt" count="0"/>
|
||||
<line num="117" type="stmt" count="0"/>
|
||||
<line num="122" type="method" name="addClassNamePrefix" crap="2" count="0"/>
|
||||
<line num="124" type="stmt" count="0"/>
|
||||
<line num="125" type="stmt" count="0"/>
|
||||
<line num="131" type="method" name="addStaticAttribute" crap="6" count="0"/>
|
||||
<line num="133" type="stmt" count="0"/>
|
||||
<line num="134" type="stmt" count="0"/>
|
||||
<line num="135" type="stmt" count="0"/>
|
||||
<line num="137" type="stmt" count="0"/>
|
||||
<line num="138" type="stmt" count="0"/>
|
||||
<line num="144" type="method" name="isGlobalVariableBlacklisted" crap="1" count="1"/>
|
||||
<line num="146" type="stmt" count="1"/>
|
||||
<line num="154" type="method" name="isStaticAttributeBlacklisted" crap="90" count="0"/>
|
||||
<line num="156" type="stmt" count="0"/>
|
||||
<line num="157" type="stmt" count="0"/>
|
||||
<line num="160" type="stmt" count="0"/>
|
||||
<line num="161" type="stmt" count="0"/>
|
||||
<line num="162" type="stmt" count="0"/>
|
||||
<line num="164" type="stmt" count="0"/>
|
||||
<line num="166" type="stmt" count="0"/>
|
||||
<line num="168" type="stmt" count="0"/>
|
||||
<line num="169" type="stmt" count="0"/>
|
||||
<line num="170" type="stmt" count="0"/>
|
||||
<line num="172" type="stmt" count="0"/>
|
||||
<line num="174" type="stmt" count="0"/>
|
||||
<line num="175" type="stmt" count="0"/>
|
||||
<line num="176" type="stmt" count="0"/>
|
||||
<line num="178" type="stmt" count="0"/>
|
||||
<line num="180" type="stmt" count="0"/>
|
||||
<line num="181" type="stmt" count="0"/>
|
||||
<line num="184" type="stmt" count="0"/>
|
||||
<metrics loc="186" ncloc="92" classes="1" methods="8" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="34" coveredstatements="1" elements="42" coveredelements="2"/>
|
||||
</file>
|
||||
<file name="/home/jacke/Desktop/codacy-php/vendor/sebastian/global-state/src/Restorer.php">
|
||||
<class name="Restorer" namespace="SebastianBergmann\GlobalState">
|
||||
<metrics methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="49" coveredstatements="32" elements="53" coveredelements="32"/>
|
||||
</class>
|
||||
<line num="64" type="method" name="restoreFunctions" crap="12" count="0"/>
|
||||
<line num="66" type="stmt" count="0"/>
|
||||
<line num="67" type="stmt" count="0"/>
|
||||
<line num="70" type="stmt" count="0"/>
|
||||
<line num="72" type="stmt" count="0"/>
|
||||
<line num="73" type="stmt" count="0"/>
|
||||
<line num="74" type="stmt" count="0"/>
|
||||
<line num="75" type="stmt" count="0"/>
|
||||
<line num="82" type="method" name="restoreGlobalVariables" crap="7.01" count="1"/>
|
||||
<line num="84" type="stmt" count="1"/>
|
||||
<line num="86" type="stmt" count="1"/>
|
||||
<line num="87" type="stmt" count="1"/>
|
||||
<line num="88" type="stmt" count="1"/>
|
||||
<line num="90" type="stmt" count="1"/>
|
||||
<line num="92" type="stmt" count="1"/>
|
||||
<line num="93" type="stmt" count="1"/>
|
||||
<line num="94" type="stmt" count="1"/>
|
||||
<line num="95" type="stmt" count="1"/>
|
||||
<line num="96" type="stmt" count="1"/>
|
||||
<line num="97" type="stmt" count="1"/>
|
||||
<line num="98" type="stmt" count="1"/>
|
||||
<line num="99" type="stmt" count="0"/>
|
||||
<line num="101" type="stmt" count="1"/>
|
||||
<line num="102" type="stmt" count="1"/>
|
||||
<line num="103" type="stmt" count="1"/>
|
||||
<line num="110" type="method" name="restoreStaticAttributes" crap="12" count="0"/>
|
||||
<line num="112" type="stmt" count="0"/>
|
||||
<line num="113" type="stmt" count="0"/>
|
||||
<line num="114" type="stmt" count="0"/>
|
||||
<line num="115" type="stmt" count="0"/>
|
||||
<line num="116" type="stmt" count="0"/>
|
||||
<line num="117" type="stmt" count="0"/>
|
||||
<line num="118" type="stmt" count="0"/>
|
||||
<line num="119" type="stmt" count="0"/>
|
||||
<line num="127" type="method" name="restoreSuperGlobalArray" crap="6.01" count="1"/>
|
||||
<line num="129" type="stmt" count="1"/>
|
||||
<line num="131" type="stmt" count="1"/>
|
||||
<line num="132" type="stmt" count="1"/>
|
||||
<line num="133" type="stmt" count="1"/>
|
||||
<line num="134" type="stmt" count="1"/>
|
||||
<line num="135" type="stmt" count="1"/>
|
||||
<line num="136" type="stmt" count="1"/>
|
||||
<line num="137" type="stmt" count="1"/>
|
||||
<line num="138" type="stmt" count="1"/>
|
||||
<line num="139" type="stmt" count="1"/>
|
||||
<line num="141" type="stmt" count="1"/>
|
||||
<line num="142" type="stmt" count="1"/>
|
||||
<line num="143" type="stmt" count="1"/>
|
||||
<line num="144" type="stmt" count="1"/>
|
||||
<line num="145" type="stmt" count="0"/>
|
||||
<line num="147" type="stmt" count="1"/>
|
||||
<line num="148" type="stmt" count="1"/>
|
||||
<line num="149" type="stmt" count="1"/>
|
||||
<metrics loc="150" ncloc="79" classes="1" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="49" coveredstatements="32" elements="53" coveredelements="32"/>
|
||||
</file>
|
||||
<file name="/home/jacke/Desktop/codacy-php/vendor/sebastian/global-state/src/Snapshot.php">
|
||||
<class name="Snapshot" namespace="SebastianBergmann\GlobalState">
|
||||
<metrics methods="22" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="130" coveredstatements="52" elements="152" coveredelements="59"/>
|
||||
</class>
|
||||
<line num="132" type="method" name="__construct" crap="28.41" count="1"/>
|
||||
<line num="134" type="stmt" count="1"/>
|
||||
<line num="135" type="stmt" count="0"/>
|
||||
<line num="136" type="stmt" count="0"/>
|
||||
<line num="138" type="stmt" count="1"/>
|
||||
<line num="140" type="stmt" count="1"/>
|
||||
<line num="141" type="stmt" count="0"/>
|
||||
<line num="142" type="stmt" count="0"/>
|
||||
<line num="144" type="stmt" count="1"/>
|
||||
<line num="145" type="stmt" count="0"/>
|
||||
<line num="146" type="stmt" count="0"/>
|
||||
<line num="148" type="stmt" count="1"/>
|
||||
<line num="149" type="stmt" count="0"/>
|
||||
<line num="150" type="stmt" count="0"/>
|
||||
<line num="152" type="stmt" count="1"/>
|
||||
<line num="153" type="stmt" count="0"/>
|
||||
<line num="154" type="stmt" count="0"/>
|
||||
<line num="156" type="stmt" count="1"/>
|
||||
<line num="157" type="stmt" count="1"/>
|
||||
<line num="158" type="stmt" count="1"/>
|
||||
<line num="159" type="stmt" count="1"/>
|
||||
<line num="161" type="stmt" count="1"/>
|
||||
<line num="162" type="stmt" count="0"/>
|
||||
<line num="163" type="stmt" count="0"/>
|
||||
<line num="165" type="stmt" count="1"/>
|
||||
<line num="166" type="stmt" count="0"/>
|
||||
<line num="167" type="stmt" count="0"/>
|
||||
<line num="169" type="stmt" count="1"/>
|
||||
<line num="170" type="stmt" count="0"/>
|
||||
<line num="171" type="stmt" count="0"/>
|
||||
<line num="173" type="stmt" count="1"/>
|
||||
<line num="174" type="stmt" count="1"/>
|
||||
<line num="175" type="stmt" count="1"/>
|
||||
<line num="176" type="stmt" count="1"/>
|
||||
<line num="181" type="method" name="blacklist" crap="1" count="1"/>
|
||||
<line num="183" type="stmt" count="1"/>
|
||||
<line num="189" type="method" name="globalVariables" crap="1" count="1"/>
|
||||
<line num="191" type="stmt" count="1"/>
|
||||
<line num="197" type="method" name="superGlobalVariables" crap="1" count="1"/>
|
||||
<line num="199" type="stmt" count="1"/>
|
||||
<line num="207" type="method" name="superGlobalArrays" crap="1" count="1"/>
|
||||
<line num="209" type="stmt" count="1"/>
|
||||
<line num="215" type="method" name="staticAttributes" crap="2" count="0"/>
|
||||
<line num="217" type="stmt" count="0"/>
|
||||
<line num="223" type="method" name="iniSettings" crap="2" count="0"/>
|
||||
<line num="225" type="stmt" count="0"/>
|
||||
<line num="231" type="method" name="includedFiles" crap="2" count="0"/>
|
||||
<line num="233" type="stmt" count="0"/>
|
||||
<line num="239" type="method" name="constants" crap="2" count="0"/>
|
||||
<line num="241" type="stmt" count="0"/>
|
||||
<line num="247" type="method" name="functions" crap="2" count="0"/>
|
||||
<line num="249" type="stmt" count="0"/>
|
||||
<line num="255" type="method" name="interfaces" crap="2" count="0"/>
|
||||
<line num="257" type="stmt" count="0"/>
|
||||
<line num="263" type="method" name="classes" crap="2" count="0"/>
|
||||
<line num="265" type="stmt" count="0"/>
|
||||
<line num="271" type="method" name="traits" crap="2" count="0"/>
|
||||
<line num="273" type="stmt" count="0"/>
|
||||
<line num="279" type="method" name="snapshotConstants" crap="6" count="0"/>
|
||||
<line num="281" type="stmt" count="0"/>
|
||||
<line num="283" type="stmt" count="0"/>
|
||||
<line num="284" type="stmt" count="0"/>
|
||||
<line num="285" type="stmt" count="0"/>
|
||||
<line num="286" type="stmt" count="0"/>
|
||||
<line num="291" type="method" name="snapshotFunctions" crap="2" count="0"/>
|
||||
<line num="293" type="stmt" count="0"/>
|
||||
<line num="295" type="stmt" count="0"/>
|
||||
<line num="296" type="stmt" count="0"/>
|
||||
<line num="301" type="method" name="snapshotClasses" crap="12" count="0"/>
|
||||
<line num="303" type="stmt" count="0"/>
|
||||
<line num="304" type="stmt" count="0"/>
|
||||
<line num="306" type="stmt" count="0"/>
|
||||
<line num="307" type="stmt" count="0"/>
|
||||
<line num="310" type="stmt" count="0"/>
|
||||
<line num="311" type="stmt" count="0"/>
|
||||
<line num="313" type="stmt" count="0"/>
|
||||
<line num="314" type="stmt" count="0"/>
|
||||
<line num="319" type="method" name="snapshotInterfaces" crap="12" count="0"/>
|
||||
<line num="321" type="stmt" count="0"/>
|
||||
<line num="322" type="stmt" count="0"/>
|
||||
<line num="324" type="stmt" count="0"/>
|
||||
<line num="325" type="stmt" count="0"/>
|
||||
<line num="328" type="stmt" count="0"/>
|
||||
<line num="329" type="stmt" count="0"/>
|
||||
<line num="331" type="stmt" count="0"/>
|
||||
<line num="332" type="stmt" count="0"/>
|
||||
<line num="337" type="method" name="snapshotGlobals" crap="7" count="1"/>
|
||||
<line num="339" type="stmt" count="1"/>
|
||||
<line num="341" type="stmt" count="1"/>
|
||||
<line num="342" type="stmt" count="1"/>
|
||||
<line num="343" type="stmt" count="1"/>
|
||||
<line num="345" type="stmt" count="1"/>
|
||||
<line num="346" type="stmt" count="1"/>
|
||||
<line num="347" type="stmt" count="1"/>
|
||||
<line num="348" type="stmt" count="1"/>
|
||||
<line num="349" type="stmt" count="1"/>
|
||||
<line num="350" type="stmt" count="1"/>
|
||||
<line num="351" type="stmt" count="1"/>
|
||||
<line num="352" type="stmt" count="1"/>
|
||||
<line num="353" type="stmt" count="1"/>
|
||||
<line num="360" type="method" name="snapshotSuperGlobalArray" crap="4" count="1"/>
|
||||
<line num="362" type="stmt" count="1"/>
|
||||
<line num="364" type="stmt" count="1"/>
|
||||
<line num="365" type="stmt" count="1"/>
|
||||
<line num="366" type="stmt" count="1"/>
|
||||
<line num="367" type="stmt" count="1"/>
|
||||
<line num="368" type="stmt" count="1"/>
|
||||
<line num="369" type="stmt" count="1"/>
|
||||
<line num="374" type="method" name="snapshotStaticAttributes" crap="56" count="0"/>
|
||||
<line num="376" type="stmt" count="0"/>
|
||||
<line num="377" type="stmt" count="0"/>
|
||||
<line num="378" type="stmt" count="0"/>
|
||||
<line num="380" type="stmt" count="0"/>
|
||||
<line num="381" type="stmt" count="0"/>
|
||||
<line num="382" type="stmt" count="0"/>
|
||||
<line num="384" type="stmt" count="0"/>
|
||||
<line num="385" type="stmt" count="0"/>
|
||||
<line num="388" type="stmt" count="0"/>
|
||||
<line num="389" type="stmt" count="0"/>
|
||||
<line num="391" type="stmt" count="0"/>
|
||||
<line num="392" type="stmt" count="0"/>
|
||||
<line num="393" type="stmt" count="0"/>
|
||||
<line num="394" type="stmt" count="0"/>
|
||||
<line num="395" type="stmt" count="0"/>
|
||||
<line num="397" type="stmt" count="0"/>
|
||||
<line num="398" type="stmt" count="0"/>
|
||||
<line num="399" type="stmt" count="0"/>
|
||||
<line num="400" type="stmt" count="0"/>
|
||||
<line num="401" type="stmt" count="0"/>
|
||||
<line num="408" type="method" name="setupSuperGlobalArrays" crap="2.50" count="1"/>
|
||||
<line num="410" type="stmt" count="1"/>
|
||||
<line num="411" type="stmt" count="1"/>
|
||||
<line num="412" type="stmt" count="1"/>
|
||||
<line num="413" type="stmt" count="1"/>
|
||||
<line num="414" type="stmt" count="1"/>
|
||||
<line num="415" type="stmt" count="1"/>
|
||||
<line num="416" type="stmt" count="1"/>
|
||||
<line num="418" type="stmt" count="1"/>
|
||||
<line num="420" type="stmt" count="1"/>
|
||||
<line num="421" type="stmt" count="0"/>
|
||||
<line num="422" type="stmt" count="0"/>
|
||||
<line num="424" type="stmt" count="0"/>
|
||||
<line num="425" type="stmt" count="0"/>
|
||||
<line num="426" type="stmt" count="0"/>
|
||||
<line num="427" type="stmt" count="0"/>
|
||||
<line num="428" type="stmt" count="0"/>
|
||||
<line num="430" type="stmt" count="0"/>
|
||||
<line num="431" type="stmt" count="0"/>
|
||||
<line num="432" type="stmt" count="0"/>
|
||||
<line num="433" type="stmt" count="1"/>
|
||||
<line num="440" type="method" name="canBeSerialized" crap="1" count="1"/>
|
||||
<line num="441" type="stmt" count="1"/>
|
||||
<metrics loc="443" ncloc="274" classes="1" methods="22" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="130" coveredstatements="52" elements="152" coveredelements="59"/>
|
||||
</file>
|
||||
<metrics files="5" loc="908" ncloc="550" classes="7" methods="46" coveredmethods="12" conditionals="0" coveredconditionals="0" statements="271" coveredstatements="104" elements="317" coveredelements="116"/>
|
||||
</project>
|
||||
</coverage>
|
187
vendor/codacy/coverage/tests/res/expected.json
vendored
187
vendor/codacy/coverage/tests/res/expected.json
vendored
@@ -1,187 +0,0 @@
|
||||
{
|
||||
"total": 94,
|
||||
"fileReports": [
|
||||
{
|
||||
"filename": "src/Codacy/Coverage/Parser/CloverParser.php",
|
||||
"total": 96,
|
||||
"coverage": {
|
||||
"24": 3,
|
||||
"25": 3,
|
||||
"26": 3,
|
||||
"27": 3,
|
||||
"28": 3,
|
||||
"29": 3,
|
||||
"30": 3,
|
||||
"31": 3,
|
||||
"43": 3,
|
||||
"49": 3,
|
||||
"51": 1,
|
||||
"52": 1,
|
||||
"53": 3,
|
||||
"54": 2,
|
||||
"55": 2,
|
||||
"56": 3,
|
||||
"67": 3,
|
||||
"69": 3,
|
||||
"70": 3,
|
||||
"71": 3,
|
||||
"72": 0,
|
||||
"73": 0,
|
||||
"74": 3,
|
||||
"76": 3,
|
||||
"77": 3,
|
||||
"78": 3,
|
||||
"79": 3,
|
||||
"80": 3,
|
||||
"81": 3,
|
||||
"93": 2,
|
||||
"94": 2,
|
||||
"95": 2,
|
||||
"96": 2,
|
||||
"107": 3,
|
||||
"108": 3,
|
||||
"109": 3,
|
||||
"111": 3,
|
||||
"112": 3,
|
||||
"113": 3,
|
||||
"114": 3,
|
||||
"115": 3,
|
||||
"116": 3,
|
||||
"117": 3,
|
||||
"129": 3,
|
||||
"130": 3
|
||||
}
|
||||
},
|
||||
{
|
||||
"filename": "src/Codacy/Coverage/Parser/Parser.php",
|
||||
"total": 100,
|
||||
"coverage": {
|
||||
"42": 6,
|
||||
"43": 4,
|
||||
"44": 1,
|
||||
"45": 1,
|
||||
"46": 3,
|
||||
"48": 4,
|
||||
"49": 4,
|
||||
"50": 2,
|
||||
"52": 2,
|
||||
"53": 2,
|
||||
"55": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"filename": "src/Codacy/Coverage/Parser/PhpUnitXmlParser.php",
|
||||
"total": 93,
|
||||
"coverage": {
|
||||
"33": 2,
|
||||
"34": 2,
|
||||
"40": 2,
|
||||
"46": 2,
|
||||
"48": 2,
|
||||
"49": 2,
|
||||
"50": 2,
|
||||
"51": 2,
|
||||
"53": 2,
|
||||
"54": 2,
|
||||
"56": 2,
|
||||
"57": 2,
|
||||
"58": 2,
|
||||
"59": 0,
|
||||
"60": 0,
|
||||
"61": 0,
|
||||
"64": 2,
|
||||
"65": 2,
|
||||
"66": 2,
|
||||
"67": 2,
|
||||
"68": 2,
|
||||
"69": 2,
|
||||
"79": 2,
|
||||
"80": 2,
|
||||
"81": 2,
|
||||
"82": 2,
|
||||
"83": 2,
|
||||
"84": 2,
|
||||
"85": 2,
|
||||
"86": 2,
|
||||
"87": 2,
|
||||
"88": 2,
|
||||
"90": 2,
|
||||
"100": 2,
|
||||
"101": 2,
|
||||
"102": 2,
|
||||
"115": 2,
|
||||
"116": 2,
|
||||
"118": 2,
|
||||
"120": 2,
|
||||
"121": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"filename": "src/Codacy/Coverage/Report/CoverageReport.php",
|
||||
"total": 100,
|
||||
"coverage": {
|
||||
"29": 4,
|
||||
"30": 4,
|
||||
"31": 4,
|
||||
"38": 4,
|
||||
"46": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"filename": "src/Codacy/Coverage/Report/FileReport.php",
|
||||
"total": 100,
|
||||
"coverage": {
|
||||
"35": 4,
|
||||
"36": 4,
|
||||
"37": 4,
|
||||
"38": 4,
|
||||
"45": 4,
|
||||
"53": 4,
|
||||
"61": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"filename": "src/Codacy/Coverage/Util/GitClient.php",
|
||||
"total": 67,
|
||||
"coverage": {
|
||||
"25": 1,
|
||||
"26": 1,
|
||||
"27": 1,
|
||||
"28": 0,
|
||||
"30": 0,
|
||||
"31": 0,
|
||||
"34": 1,
|
||||
"41": 1,
|
||||
"42": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"filename": "src/Codacy/Coverage/Util/JsonProducer.php",
|
||||
"total": 100,
|
||||
"coverage": {
|
||||
"25": 1,
|
||||
"26": 1,
|
||||
"34": 1,
|
||||
"62": 1,
|
||||
"63": 1,
|
||||
"64": 1,
|
||||
"66": 1,
|
||||
"67": 1,
|
||||
"69": 1,
|
||||
"70": 1,
|
||||
"71": 1,
|
||||
"72": 1,
|
||||
"73": 1,
|
||||
"75": 1,
|
||||
"76": 1,
|
||||
"78": 1,
|
||||
"81": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"filename": "src/Codacy/Coverage/Util/EmptyFile.php",
|
||||
"total": 0,
|
||||
"coverage": {}
|
||||
}
|
||||
]
|
||||
}
|
@@ -1,231 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="CloverParser.php">
|
||||
<totals>
|
||||
<lines total="131" comments="56" code="75" executable="45" executed="43" percent="95.56%"/>
|
||||
<methods count="6" tested="5" percent="83.33%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="CloverParser" start="14" executable="45" executed="43" crap="14">
|
||||
<package full="" name="" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Parser"/>
|
||||
<method name="makeReport" signature="makeReport()" start="22" end="32" crap="1" executable="8" executed="8" coverage="100"/>
|
||||
<method name="makeFileReports" signature="makeFileReports(\SimpleXMLElement $node)" start="41" end="57" crap="3" executable="8" executed="8" coverage="100"/>
|
||||
<method name="makeFileReportsFromFiles" signature="makeFileReportsFromFiles(\SimpleXMLElement $node, $fileReports)" start="65" end="82" crap="3.03" executable="13" executed="11" coverage="84.615384615385"/>
|
||||
<method name="makeFileReportsFromPackages" signature="makeFileReportsFromPackages(\SimpleXMLElement $node, $fileReports)" start="90" end="97" crap="2" executable="4" executed="4" coverage="100"/>
|
||||
<method name="getLineCoverage" signature="getLineCoverage(\SimpleXMLElement $node)" start="105" end="118" crap="4" executable="10" executed="10" coverage="100"/>
|
||||
<method name="getRelativePath" signature="getRelativePath(\SimpleXMLElement $fileName)" start="127" end="131" crap="1" executable="2" executed="2" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="24">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="25">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="26">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="27">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="28">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="29">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="30">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="31">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="43">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="49">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="51">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
</line>
|
||||
<line nr="52">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
</line>
|
||||
<line nr="53">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="54">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="55">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="56">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="67">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="69">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="70">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="71">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="72" />
|
||||
<line nr="73" />
|
||||
<line nr="74">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="76">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="77">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="78">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="79">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="80">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="81">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="93">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="94">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="95">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="96">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="107">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="108">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="109">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="111">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="112">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="113">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="114">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="115">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="116">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="117">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="129">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="130">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
@@ -1,74 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="Parser.php">
|
||||
<totals>
|
||||
<lines total="57" comments="24" code="33" executable="11" executed="11" percent="100.00%"/>
|
||||
<methods count="1" tested="1" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="XMLParser" start="21" executable="11" executed="11" crap="3">
|
||||
<package full="" name="" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Parser"/>
|
||||
<method name="__construct" signature="__construct($path, $rootDir = null)" start="40" end="55" crap="3" executable="11" executed="11" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="42">
|
||||
<covered by="CloverParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="43">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="44">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="45">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="46">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="48">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="49">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="50">
|
||||
<covered by="CloverParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
<covered by="PhpUnitXmlParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
</line>
|
||||
<line nr="52">
|
||||
<covered by="CloverParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
<covered by="PhpUnitXmlParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
</line>
|
||||
<line nr="53">
|
||||
<covered by="CloverParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
<covered by="PhpUnitXmlParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
</line>
|
||||
<line nr="55">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
@@ -1,179 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="PhpUnitXmlParser.php">
|
||||
<totals>
|
||||
<lines total="122" comments="49" code="73" executable="41" executed="38" percent="92.68%"/>
|
||||
<methods count="6" tested="5" percent="83.33%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="PhpUnitXmlParser" start="16" executable="41" executed="38" crap="11.05">
|
||||
<package full="" name="" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Parser"/>
|
||||
<method name="setDirOfFileXmls" signature="setDirOfFileXmls($dir)" start="32" end="34" crap="1" executable="2" executed="2" coverage="100"/>
|
||||
<method name="getDirOfFileXmls" signature="getDirOfFileXmls()" start="39" end="41" crap="1" executable="1" executed="1" coverage="100"/>
|
||||
<method name="makeReport" signature="makeReport()" start="43" end="70" crap="3.04" executable="19" executed="16" coverage="84.210526315789"/>
|
||||
<method name="getLineCoverage" signature="getLineCoverage(\SimpleXMLElement $node)" start="77" end="91" crap="4" executable="11" executed="11" coverage="100"/>
|
||||
<method name="getTotalFromPercent" signature="getTotalFromPercent(\SimpleXMLElement $percent)" start="98" end="103" crap="1" executable="3" executed="3" coverage="100"/>
|
||||
<method name="getRelativePath" signature="getRelativePath(\SimpleXMLElement $fileName)" start="112" end="122" crap="1" executable="5" executed="5" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="33">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="34">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="40">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="46">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="48">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="49">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="50">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="51">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="53">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="54">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="56">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="57">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="58">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="59"/>
|
||||
<line nr="60"/>
|
||||
<line nr="61"/>
|
||||
<line nr="64">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="65">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="66">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="67">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="68">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="69">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="79">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="80">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="81">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="82">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="83">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="84">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="85">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="86">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="87">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="88">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="90">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="100">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="101">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="102">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="115">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="116">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="118">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="120">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="121">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
@@ -1,51 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="CoverageReport.php">
|
||||
<totals>
|
||||
<lines total="47" comments="22" code="25" executable="5" executed="5" percent="100.00%"/>
|
||||
<methods count="3" tested="3" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="CoverageReport" start="11" executable="5" executed="5" crap="3">
|
||||
<package full="" name="" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Report"/>
|
||||
<method name="__construct" signature="__construct($total, $fileReports)" start="27" end="31" crap="1" executable="3" executed="3" coverage="100"/>
|
||||
<method name="getTotal" signature="getTotal()" start="36" end="39" crap="1" executable="1" executed="1" coverage="100"/>
|
||||
<method name="getFileReports" signature="getFileReports()" start="44" end="47" crap="1" executable="1" executed="1" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="29">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="30">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="31">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="38">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="46">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
@@ -1,64 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="FileReport.php">
|
||||
<totals>
|
||||
<lines total="62" comments="29" code="33" executable="7" executed="7" percent="100.00%"/>
|
||||
<methods count="4" tested="4" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="FileReport" start="11" executable="7" executed="7" crap="4">
|
||||
<package full="" name="" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Report"/>
|
||||
<method name="__construct" signature="__construct($total, $fileName, $lineCoverage)" start="33" end="38" crap="1" executable="4" executed="4" coverage="100"/>
|
||||
<method name="getTotal" signature="getTotal()" start="43" end="46" crap="1" executable="1" executed="1" coverage="100"/>
|
||||
<method name="getFileName" signature="getFileName()" start="51" end="54" crap="1" executable="1" executed="1" coverage="100"/>
|
||||
<method name="getLineCoverage" signature="getLineCoverage()" start="59" end="62" crap="1" executable="1" executed="1" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="35">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="36">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="37">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="38">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="45">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="53">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="61">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
@@ -1,18 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="EmptyFile.php">
|
||||
<totals>
|
||||
<lines total="45" comments="14" code="31" executable="9" executed="0" percent=""/>
|
||||
<methods count="2" tested="0" percent=""/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent=""/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="EmptyFile" start="12" executable="9" executed="0" crap="3.33">
|
||||
<package full="" name="" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Util"/>
|
||||
</class>
|
||||
<coverage>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
@@ -1,41 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="GitClient.php">
|
||||
<totals>
|
||||
<lines total="45" comments="14" code="31" executable="9" executed="6" percent="66.67%"/>
|
||||
<methods count="2" tested="1" percent="50.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="GitClient" start="12" executable="9" executed="6" crap="3.33">
|
||||
<package full="" name="" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Util"/>
|
||||
<method name="__construct" signature="__construct($path)" start="23" end="34" crap="2.31" executable="7" executed="4" coverage="57.142857142857"/>
|
||||
<method name="getHashOfLatestCommit" signature="getHashOfLatestCommit()" start="39" end="43" crap="1" executable="2" executed="2" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="25">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
</line>
|
||||
<line nr="26">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
</line>
|
||||
<line nr="27">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
</line>
|
||||
<line nr="28"/>
|
||||
<line nr="30"/>
|
||||
<line nr="31"/>
|
||||
<line nr="34">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
</line>
|
||||
<line nr="41">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
</line>
|
||||
<line nr="42">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
@@ -1,72 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="JsonProducer.php">
|
||||
<totals>
|
||||
<lines total="82" comments="41" code="41" executable="17" executed="17" percent="100.00%"/>
|
||||
<methods count="3" tested="3" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="JsonProducer" start="12" executable="17" executed="17" crap="4">
|
||||
<package full="" name="" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Util"/>
|
||||
<method name="setParser" signature="setParser(IParser $parser)" start="23" end="26" crap="1" executable="2" executed="2" coverage="100"/>
|
||||
<method name="makeReport" signature="makeReport()" start="32" end="35" crap="1" executable="1" executed="1" coverage="100"/>
|
||||
<method name="makeJson" signature="makeJson()" start="60" end="82" crap="2" executable="14" executed="14" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="25">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="26">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="34">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="62">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="63">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="64">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="66">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="67">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="69">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="70">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="71">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="72">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="73">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="75">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="76">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="78">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="81">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
@@ -1,244 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<coverage generated="1425059542">
|
||||
<project timestamp="1425059542">
|
||||
<package name="Codacy\Coverage\Parser">
|
||||
<file name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage/Parser/CloverParser.php">
|
||||
<class name="CloverParser" namespace="Codacy\Coverage\Parser">
|
||||
<metrics methods="6" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="45"
|
||||
coveredstatements="43" elements="51" coveredelements="48"/>
|
||||
</class>
|
||||
<line num="22" type="method" name="makeReport" crap="1" count="3"/>
|
||||
<line num="24" type="stmt" count="3"/>
|
||||
<line num="25" type="stmt" count="3"/>
|
||||
<line num="26" type="stmt" count="3"/>
|
||||
<line num="27" type="stmt" count="3"/>
|
||||
<line num="28" type="stmt" count="3"/>
|
||||
<line num="29" type="stmt" count="3"/>
|
||||
<line num="30" type="stmt" count="3"/>
|
||||
<line num="31" type="stmt" count="3"/>
|
||||
<line num="41" type="method" name="makeFileReports" crap="3" count="3"/>
|
||||
<line num="43" type="stmt" count="3"/>
|
||||
<line num="49" type="stmt" count="3"/>
|
||||
<line num="51" type="stmt" count="1"/>
|
||||
<line num="52" type="stmt" count="1"/>
|
||||
<line num="53" type="stmt" count="3"/>
|
||||
<line num="54" type="stmt" count="2"/>
|
||||
<line num="55" type="stmt" count="2"/>
|
||||
<line num="56" type="stmt" count="3"/>
|
||||
<line num="65" type="method" name="makeFileReportsFromFiles" crap="3.03" count="3"/>
|
||||
<line num="67" type="stmt" count="3"/>
|
||||
<line num="69" type="stmt" count="3"/>
|
||||
<line num="70" type="stmt" count="3"/>
|
||||
<line num="71" type="stmt" count="3"/>
|
||||
<line num="72" type="stmt" count="0"/>
|
||||
<line num="73" type="stmt" count="0"/>
|
||||
<line num="74" type="stmt" count="3"/>
|
||||
<line num="76" type="stmt" count="3"/>
|
||||
<line num="77" type="stmt" count="3"/>
|
||||
<line num="78" type="stmt" count="3"/>
|
||||
<line num="79" type="stmt" count="3"/>
|
||||
<line num="80" type="stmt" count="3"/>
|
||||
<line num="81" type="stmt" count="3"/>
|
||||
<line num="90" type="method" name="makeFileReportsFromPackages" crap="2" count="2"/>
|
||||
<line num="93" type="stmt" count="2"/>
|
||||
<line num="94" type="stmt" count="2"/>
|
||||
<line num="95" type="stmt" count="2"/>
|
||||
<line num="96" type="stmt" count="2"/>
|
||||
<line num="105" type="method" name="getLineCoverage" crap="4" count="3"/>
|
||||
<line num="107" type="stmt" count="3"/>
|
||||
<line num="108" type="stmt" count="3"/>
|
||||
<line num="109" type="stmt" count="3"/>
|
||||
<line num="111" type="stmt" count="3"/>
|
||||
<line num="112" type="stmt" count="3"/>
|
||||
<line num="113" type="stmt" count="3"/>
|
||||
<line num="114" type="stmt" count="3"/>
|
||||
<line num="115" type="stmt" count="3"/>
|
||||
<line num="116" type="stmt" count="3"/>
|
||||
<line num="117" type="stmt" count="3"/>
|
||||
<line num="127" type="method" name="getRelativePath" crap="1" count="3"/>
|
||||
<line num="129" type="stmt" count="3"/>
|
||||
<line num="130" type="stmt" count="3"/>
|
||||
<metrics loc="131" ncloc="75" classes="1" methods="6" coveredmethods="5" conditionals="0"
|
||||
coveredconditionals="0" statements="45" coveredstatements="43" elements="51"
|
||||
coveredelements="48"/>
|
||||
</file>
|
||||
<file name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage/Parser/Parser.php">
|
||||
<class name="XMLParser" namespace="Codacy\Coverage\Parser">
|
||||
<metrics methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="11"
|
||||
coveredstatements="11" elements="12" coveredelements="12"/>
|
||||
</class>
|
||||
<line num="40" type="method" name="__construct" crap="3" count="6"/>
|
||||
<line num="42" type="stmt" count="6"/>
|
||||
<line num="43" type="stmt" count="4"/>
|
||||
<line num="44" type="stmt" count="1"/>
|
||||
<line num="45" type="stmt" count="1"/>
|
||||
<line num="46" type="stmt" count="3"/>
|
||||
<line num="48" type="stmt" count="4"/>
|
||||
<line num="49" type="stmt" count="4"/>
|
||||
<line num="50" type="stmt" count="2"/>
|
||||
<line num="52" type="stmt" count="2"/>
|
||||
<line num="53" type="stmt" count="2"/>
|
||||
<line num="55" type="stmt" count="4"/>
|
||||
<metrics loc="57" ncloc="33" classes="1" methods="1" coveredmethods="1" conditionals="0"
|
||||
coveredconditionals="0" statements="11" coveredstatements="11" elements="12"
|
||||
coveredelements="12"/>
|
||||
</file>
|
||||
<file name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage/Parser/PhpUnitXmlParser.php">
|
||||
<class name="PhpUnitXmlParser" namespace="Codacy\Coverage\Parser">
|
||||
<metrics methods="6" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="41"
|
||||
coveredstatements="38" elements="47" coveredelements="43"/>
|
||||
</class>
|
||||
<line num="32" type="method" name="setDirOfFileXmls" crap="1" count="2"/>
|
||||
<line num="33" type="stmt" count="2"/>
|
||||
<line num="34" type="stmt" count="2"/>
|
||||
<line num="39" type="method" name="getDirOfFileXmls" crap="1" count="2"/>
|
||||
<line num="40" type="stmt" count="2"/>
|
||||
<line num="43" type="method" name="makeReport" crap="3.04" count="2"/>
|
||||
<line num="46" type="stmt" count="2"/>
|
||||
<line num="48" type="stmt" count="2"/>
|
||||
<line num="49" type="stmt" count="2"/>
|
||||
<line num="50" type="stmt" count="2"/>
|
||||
<line num="51" type="stmt" count="2"/>
|
||||
<line num="53" type="stmt" count="2"/>
|
||||
<line num="54" type="stmt" count="2"/>
|
||||
<line num="56" type="stmt" count="2"/>
|
||||
<line num="57" type="stmt" count="2"/>
|
||||
<line num="58" type="stmt" count="2"/>
|
||||
<line num="59" type="stmt" count="0"/>
|
||||
<line num="60" type="stmt" count="0"/>
|
||||
<line num="61" type="stmt" count="0"/>
|
||||
<line num="64" type="stmt" count="2"/>
|
||||
<line num="65" type="stmt" count="2"/>
|
||||
<line num="66" type="stmt" count="2"/>
|
||||
<line num="67" type="stmt" count="2"/>
|
||||
<line num="68" type="stmt" count="2"/>
|
||||
<line num="69" type="stmt" count="2"/>
|
||||
<line num="77" type="method" name="getLineCoverage" crap="4" count="2"/>
|
||||
<line num="79" type="stmt" count="2"/>
|
||||
<line num="80" type="stmt" count="2"/>
|
||||
<line num="81" type="stmt" count="2"/>
|
||||
<line num="82" type="stmt" count="2"/>
|
||||
<line num="83" type="stmt" count="2"/>
|
||||
<line num="84" type="stmt" count="2"/>
|
||||
<line num="85" type="stmt" count="2"/>
|
||||
<line num="86" type="stmt" count="2"/>
|
||||
<line num="87" type="stmt" count="2"/>
|
||||
<line num="88" type="stmt" count="2"/>
|
||||
<line num="90" type="stmt" count="2"/>
|
||||
<line num="98" type="method" name="getTotalFromPercent" crap="1" count="2"/>
|
||||
<line num="100" type="stmt" count="2"/>
|
||||
<line num="101" type="stmt" count="2"/>
|
||||
<line num="102" type="stmt" count="2"/>
|
||||
<line num="112" type="method" name="getRelativePath" crap="1" count="2"/>
|
||||
<line num="115" type="stmt" count="2"/>
|
||||
<line num="116" type="stmt" count="2"/>
|
||||
<line num="118" type="stmt" count="2"/>
|
||||
<line num="120" type="stmt" count="2"/>
|
||||
<line num="121" type="stmt" count="2"/>
|
||||
<metrics loc="122" ncloc="73" classes="1" methods="6" coveredmethods="5" conditionals="0"
|
||||
coveredconditionals="0" statements="41" coveredstatements="38" elements="47"
|
||||
coveredelements="43"/>
|
||||
</file>
|
||||
</package>
|
||||
<package name="Codacy\Coverage\Report">
|
||||
<file name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage/Report/CoverageReport.php">
|
||||
<class name="CoverageReport" namespace="Codacy\Coverage\Report">
|
||||
<metrics methods="3" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="5"
|
||||
coveredstatements="5" elements="8" coveredelements="8"/>
|
||||
</class>
|
||||
<line num="27" type="method" name="__construct" crap="1" count="4"/>
|
||||
<line num="29" type="stmt" count="4"/>
|
||||
<line num="30" type="stmt" count="4"/>
|
||||
<line num="31" type="stmt" count="4"/>
|
||||
<line num="36" type="method" name="getTotal" crap="1" count="4"/>
|
||||
<line num="38" type="stmt" count="4"/>
|
||||
<line num="44" type="method" name="getFileReports" crap="1" count="4"/>
|
||||
<line num="46" type="stmt" count="4"/>
|
||||
<metrics loc="47" ncloc="25" classes="1" methods="3" coveredmethods="3" conditionals="0"
|
||||
coveredconditionals="0" statements="5" coveredstatements="5" elements="8" coveredelements="8"/>
|
||||
</file>
|
||||
<file name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage/Report/FileReport.php">
|
||||
<class name="FileReport" namespace="Codacy\Coverage\Report">
|
||||
<metrics methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="7"
|
||||
coveredstatements="7" elements="11" coveredelements="11"/>
|
||||
</class>
|
||||
<line num="33" type="method" name="__construct" crap="1" count="4"/>
|
||||
<line num="35" type="stmt" count="4"/>
|
||||
<line num="36" type="stmt" count="4"/>
|
||||
<line num="37" type="stmt" count="4"/>
|
||||
<line num="38" type="stmt" count="4"/>
|
||||
<line num="43" type="method" name="getTotal" crap="1" count="4"/>
|
||||
<line num="45" type="stmt" count="4"/>
|
||||
<line num="51" type="method" name="getFileName" crap="1" count="4"/>
|
||||
<line num="53" type="stmt" count="4"/>
|
||||
<line num="59" type="method" name="getLineCoverage" crap="1" count="4"/>
|
||||
<line num="61" type="stmt" count="4"/>
|
||||
<metrics loc="62" ncloc="33" classes="1" methods="4" coveredmethods="4" conditionals="0"
|
||||
coveredconditionals="0" statements="7" coveredstatements="7" elements="11"
|
||||
coveredelements="11"/>
|
||||
</file>
|
||||
</package>
|
||||
<package name="Codacy\Coverage\Util">
|
||||
<file name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage/Util/GitClient.php">
|
||||
<class name="GitClient" namespace="Codacy\Coverage\Util">
|
||||
<metrics methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="9"
|
||||
coveredstatements="6" elements="11" coveredelements="7"/>
|
||||
</class>
|
||||
<line num="23" type="method" name="__construct" crap="2.31" count="1"/>
|
||||
<line num="25" type="stmt" count="1"/>
|
||||
<line num="26" type="stmt" count="1"/>
|
||||
<line num="27" type="stmt" count="1"/>
|
||||
<line num="28" type="stmt" count="0"/>
|
||||
<line num="30" type="stmt" count="0"/>
|
||||
<line num="31" type="stmt" count="0"/>
|
||||
<line num="34" type="stmt" count="1"/>
|
||||
<line num="39" type="method" name="getHashOfLatestCommit" crap="1" count="1"/>
|
||||
<line num="41" type="stmt" count="1"/>
|
||||
<line num="42" type="stmt" count="1"/>
|
||||
<metrics loc="45" ncloc="31" classes="1" methods="2" coveredmethods="1" conditionals="0"
|
||||
coveredconditionals="0" statements="9" coveredstatements="6" elements="11"
|
||||
coveredelements="7"/>
|
||||
</file>
|
||||
<file name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage/Util/JsonProducer.php">
|
||||
<class name="JsonProducer" namespace="Codacy\Coverage\Util">
|
||||
<metrics methods="3" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="17"
|
||||
coveredstatements="17" elements="20" coveredelements="20"/>
|
||||
</class>
|
||||
<line num="23" type="method" name="setParser" crap="1" count="1"/>
|
||||
<line num="25" type="stmt" count="1"/>
|
||||
<line num="26" type="stmt" count="1"/>
|
||||
<line num="32" type="method" name="makeReport" crap="1" count="1"/>
|
||||
<line num="34" type="stmt" count="1"/>
|
||||
<line num="60" type="method" name="makeJson" crap="2" count="1"/>
|
||||
<line num="62" type="stmt" count="1"/>
|
||||
<line num="63" type="stmt" count="1"/>
|
||||
<line num="64" type="stmt" count="1"/>
|
||||
<line num="66" type="stmt" count="1"/>
|
||||
<line num="67" type="stmt" count="1"/>
|
||||
<line num="69" type="stmt" count="1"/>
|
||||
<line num="70" type="stmt" count="1"/>
|
||||
<line num="71" type="stmt" count="1"/>
|
||||
<line num="72" type="stmt" count="1"/>
|
||||
<line num="73" type="stmt" count="1"/>
|
||||
<line num="75" type="stmt" count="1"/>
|
||||
<line num="76" type="stmt" count="1"/>
|
||||
<line num="78" type="stmt" count="1"/>
|
||||
<line num="81" type="stmt" count="1"/>
|
||||
<metrics loc="82" ncloc="41" classes="1" methods="3" coveredmethods="3" conditionals="0"
|
||||
coveredconditionals="0" statements="17" coveredstatements="17" elements="20"
|
||||
coveredelements="20"/>
|
||||
</file>
|
||||
<file name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage/Util/EmptyFile.php">
|
||||
<class name="EmptyFile" namespace="Codacy\Coverage\Util">
|
||||
<metrics methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="17"
|
||||
coveredstatements="0" elements="20" coveredelements="0"/>
|
||||
</class>
|
||||
<metrics loc="82" ncloc="41" classes="1" methods="3" coveredmethods="0" conditionals="0"
|
||||
coveredconditionals="0" statements="17" coveredstatements="0" elements="20"
|
||||
coveredelements="0"/>
|
||||
</file>
|
||||
</package>
|
||||
<metrics files="7" loc="546" ncloc="311" classes="7" methods="25" coveredmethods="22" conditionals="0"
|
||||
coveredconditionals="0" statements="135" coveredstatements="127" elements="160" coveredelements="149"/>
|
||||
</project>
|
||||
</coverage>
|
@@ -1,185 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<project name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage">
|
||||
<tests>
|
||||
<test name="CloverParserTest::testThrowsExceptionOnWrongPath" result="0" status="PASSED"/>
|
||||
<test name="CloverParserTest::testCanParseCloverXmlWithoutProject" result="0" status="PASSED"/>
|
||||
<test name="CloverParserTest::testCanParseCloverXmlWithProject" result="0" status="PASSED"/>
|
||||
<test name="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult" result="0" status="PASSED"/>
|
||||
<test name="PhpUnitXmlParserTest::testThrowsExceptionOnWrongPath" result="0" status="PASSED"/>
|
||||
<test name="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport" result="0" status="PASSED"/>
|
||||
<test name="GitClientTest::testGetHashOfLastCommit" result="0" status="PASSED"/>
|
||||
</tests>
|
||||
<directory name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage">
|
||||
<totals>
|
||||
<lines total="546" comments="235" code="311" executable="135" executed="127" percent="94.07%"/>
|
||||
<methods count="25" tested="22" percent="88.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="7" tested="4" percent="57.14%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<directory name="Parser">
|
||||
<totals>
|
||||
<lines total="310" comments="129" code="181" executable="97" executed="92" percent="94.85%"/>
|
||||
<methods count="13" tested="11" percent="84.62%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="3" tested="1" percent="33.33%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<file name="CloverParser.php" href="Parser/CloverParser.php.xml">
|
||||
<totals>
|
||||
<lines total="131" comments="56" code="75" executable="45" executed="43" percent="95.56%"/>
|
||||
<methods count="6" tested="5" percent="83.33%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="Parser.php" href="Parser/Parser.php.xml">
|
||||
<totals>
|
||||
<lines total="57" comments="24" code="33" executable="11" executed="11" percent="100.00%"/>
|
||||
<methods count="1" tested="1" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="PhpUnitXmlParser.php" href="Parser/PhpUnitXmlParser.php.xml">
|
||||
<totals>
|
||||
<lines total="122" comments="49" code="73" executable="41" executed="38" percent="92.68%"/>
|
||||
<methods count="6" tested="5" percent="83.33%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
</directory>
|
||||
<file name="CloverParser.php" href="Parser/CloverParser.php.xml">
|
||||
<totals>
|
||||
<lines total="131" comments="56" code="75" executable="45" executed="43" percent="95.56%"/>
|
||||
<methods count="6" tested="5" percent="83.33%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="Parser.php" href="Parser/Parser.php.xml">
|
||||
<totals>
|
||||
<lines total="57" comments="24" code="33" executable="11" executed="11" percent="100.00%"/>
|
||||
<methods count="1" tested="1" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="PhpUnitXmlParser.php" href="Parser/PhpUnitXmlParser.php.xml">
|
||||
<totals>
|
||||
<lines total="122" comments="49" code="73" executable="41" executed="38" percent="92.68%"/>
|
||||
<methods count="6" tested="5" percent="83.33%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<directory name="Report">
|
||||
<totals>
|
||||
<lines total="109" comments="51" code="58" executable="12" executed="12" percent="100.00%"/>
|
||||
<methods count="7" tested="7" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="2" tested="2" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<file name="CoverageReport.php" href="Report/CoverageReport.php.xml">
|
||||
<totals>
|
||||
<lines total="47" comments="22" code="25" executable="5" executed="5" percent="100.00%"/>
|
||||
<methods count="3" tested="3" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="FileReport.php" href="Report/FileReport.php.xml">
|
||||
<totals>
|
||||
<lines total="62" comments="29" code="33" executable="7" executed="7" percent="100.00%"/>
|
||||
<methods count="4" tested="4" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
</directory>
|
||||
<file name="CoverageReport.php" href="Report/CoverageReport.php.xml">
|
||||
<totals>
|
||||
<lines total="47" comments="22" code="25" executable="5" executed="5" percent="100.00%"/>
|
||||
<methods count="3" tested="3" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="FileReport.php" href="Report/FileReport.php.xml">
|
||||
<totals>
|
||||
<lines total="62" comments="29" code="33" executable="7" executed="7" percent="100.00%"/>
|
||||
<methods count="4" tested="4" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<directory name="Util">
|
||||
<totals>
|
||||
<lines total="127" comments="55" code="72" executable="26" executed="23" percent="88.46%"/>
|
||||
<methods count="5" tested="4" percent="80.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="2" tested="1" percent="50.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<file name="GitClient.php" href="Util/GitClient.php.xml">
|
||||
<totals>
|
||||
<lines total="45" comments="14" code="31" executable="9" executed="6" percent="66.67%"/>
|
||||
<methods count="2" tested="1" percent="50.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="JsonProducer.php" href="Util/JsonProducer.php.xml">
|
||||
<totals>
|
||||
<lines total="82" comments="41" code="41" executable="17" executed="17" percent="100.00%"/>
|
||||
<methods count="3" tested="3" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
</directory>
|
||||
<file name="GitClient.php" href="Util/GitClient.php.xml">
|
||||
<totals>
|
||||
<lines total="45" comments="14" code="31" executable="9" executed="6" percent="66.67%"/>
|
||||
<methods count="2" tested="1" percent="50.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="JsonProducer.php" href="Util/JsonProducer.php.xml">
|
||||
<totals>
|
||||
<lines total="82" comments="41" code="41" executable="17" executed="17" percent="100.00%"/>
|
||||
<methods count="3" tested="3" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="EmptyFile.php" href="Util/EmptyFile.php.xml">
|
||||
<totals>
|
||||
<lines total="82" comments="41" code="41" executable="17" executed="0" percent=""/>
|
||||
<methods count="3" tested="0" percent=""/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent=""/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
</directory>
|
||||
</project>
|
||||
</phpunit>
|
@@ -1,17 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="Api.php">
|
||||
<totals>
|
||||
<lines total="46" comments="11" code="35" executable="22" executed="0" percent="0.00%"/>
|
||||
<methods count="1" tested="0" percent="0.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="ApiClient" start="9" executable="22" executed="0" crap="12">
|
||||
<package full="Codacy" name="Codacy" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Api"/>
|
||||
<method name="postData" signature="postData($url, $data)" start="18" end="46" crap="12" executable="22" executed="0" coverage="0"/>
|
||||
</class>
|
||||
</file>
|
||||
</phpunit>
|
@@ -1,17 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="CodacyPhpCoverage.php">
|
||||
<totals>
|
||||
<lines total="68" comments="16" code="52" executable="26" executed="0" percent="0.00%"/>
|
||||
<methods count="1" tested="0" percent="0.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="CodacyPhpCoverage" start="13" executable="25" executed="0" crap="12">
|
||||
<package full="" name="" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage"/>
|
||||
<method name="doIt" signature="doIt()" start="16" end="66" crap="12" executable="25" executed="0" coverage="0"/>
|
||||
</class>
|
||||
</file>
|
||||
</phpunit>
|
@@ -1,56 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="Config.php">
|
||||
<totals>
|
||||
<lines total="34" comments="11" code="23" executable="7" executed="6" percent="85.71%"/>
|
||||
<methods count="2" tested="1" percent="50.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="Config" start="10" executable="7" executed="6" crap="2.01">
|
||||
<package full="Codacy" name="Codacy" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage"/>
|
||||
<method name="loadConfig" signature="loadConfig()" start="22" end="29" crap="1" executable="6" executed="6" coverage="100"/>
|
||||
<method name="__construct" signature="__construct()" start="31" end="34" crap="2" executable="1" executed="0" coverage="0"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="24">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="25">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="26">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="27">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="28">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="29">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
@@ -1,38 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="GitClient.php">
|
||||
<totals>
|
||||
<lines total="46" comments="15" code="31" executable="8" executed="6" percent="75.00%"/>
|
||||
<methods count="2" tested="1" percent="50.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="GitClient" start="13" executable="8" executed="6" crap="3.14">
|
||||
<package full="Codacy" name="Codacy" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Git"/>
|
||||
<method name="__construct" signature="__construct($path)" start="24" end="35" crap="2.15" executable="6" executed="4" coverage="66.666666666667"/>
|
||||
<method name="getHashOfLatestCommit" signature="getHashOfLatestCommit()" start="40" end="44" crap="1" executable="2" executed="2" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="26">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
</line>
|
||||
<line nr="27">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
</line>
|
||||
<line nr="28">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
</line>
|
||||
<line nr="35">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
</line>
|
||||
<line nr="42">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
</line>
|
||||
<line nr="43">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
@@ -1,224 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="CloverParser.php">
|
||||
<totals>
|
||||
<lines total="134" comments="60" code="74" executable="44" executed="42" percent="95.45%"/>
|
||||
<methods count="6" tested="5" percent="83.33%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="CloverParser" start="16" executable="44" executed="42" crap="14">
|
||||
<package full="Codacy" name="Codacy" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Parser"/>
|
||||
<method name="makeReport" signature="makeReport()" start="25" end="35" crap="1" executable="8" executed="8" coverage="100"/>
|
||||
<method name="_makeFileReports" signature="_makeFileReports(\SimpleXMLElement $node)" start="44" end="60" crap="3" executable="8" executed="8" coverage="100"/>
|
||||
<method name="_makeFileReportsFromFiles" signature="_makeFileReportsFromFiles(\SimpleXMLElement $node, $fileReports)" start="68" end="85" crap="3.03" executable="13" executed="11" coverage="84.615384615385"/>
|
||||
<method name="_makeFileReportsFromPackages" signature="_makeFileReportsFromPackages(\SimpleXMLElement $node, $fileReports)" start="93" end="100" crap="2" executable="4" executed="4" coverage="100"/>
|
||||
<method name="_getLineCoverage" signature="_getLineCoverage(\SimpleXMLElement $node)" start="108" end="121" crap="4" executable="9" executed="9" coverage="100"/>
|
||||
<method name="_getRelativePath" signature="_getRelativePath(\SimpleXMLElement $fileName)" start="130" end="134" crap="1" executable="2" executed="2" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="27">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="28">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="29">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="30">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="31">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="32">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="33">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="34">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="46">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="52">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="54">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
</line>
|
||||
<line nr="55">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
</line>
|
||||
<line nr="56">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="57">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="58">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="59">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="70">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="72">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="73">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="74">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="77">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="79">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="80">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="81">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="82">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="83">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="84">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="96">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="97">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="98">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="99">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="110">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="111">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="113">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="115">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="116">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="117">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="118">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="119">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="120">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="132">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="133">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
@@ -1,57 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="Parser.php">
|
||||
<totals>
|
||||
<lines total="46" comments="20" code="26" executable="7" executed="7" percent="100.00%"/>
|
||||
<methods count="1" tested="1" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="XMLParser" start="22" executable="7" executed="7" crap="2">
|
||||
<package full="Codacy" name="Codacy" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Parser"/>
|
||||
<method name="__construct" signature="__construct($path)" start="34" end="44" crap="2" executable="7" executed="7" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="36">
|
||||
<covered by="CloverParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="37">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="38">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="39">
|
||||
<covered by="CloverParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
<covered by="PhpUnitXmlParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
</line>
|
||||
<line nr="41">
|
||||
<covered by="CloverParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
<covered by="PhpUnitXmlParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
</line>
|
||||
<line nr="42">
|
||||
<covered by="CloverParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
<covered by="PhpUnitXmlParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
</line>
|
||||
<line nr="44">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
@@ -1,118 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="PhpUnitXmlParser.php">
|
||||
<totals>
|
||||
<lines total="104" comments="42" code="62" executable="34" executed="32" percent="94.12%"/>
|
||||
<methods count="4" tested="3" percent="75.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="PhpUnitXmlParser" start="18" executable="34" executed="32" crap="8.01">
|
||||
<package full="Codacy" name="Codacy" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Parser"/>
|
||||
<method name="makeReport" signature="makeReport()" start="30" end="58" crap="3.01" executable="18" executed="16" coverage="88.888888888889"/>
|
||||
<method name="_getLineCoverage" signature="_getLineCoverage(\SimpleXMLElement $node)" start="65" end="77" crap="3" executable="9" executed="9" coverage="100"/>
|
||||
<method name="_getTotalFromPercent" signature="_getTotalFromPercent(\SimpleXMLElement $percent)" start="84" end="89" crap="1" executable="3" executed="3" coverage="100"/>
|
||||
<method name="_getRelativePath" signature="_getRelativePath(\SimpleXMLElement $fileName)" start="97" end="104" crap="1" executable="4" executed="4" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="33">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="34">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="35">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="36">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="38">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="39">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="42">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="43">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="44">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="51">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="52">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="53">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="54">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="55">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="56">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="57">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="67">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="68">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="70">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="71">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="72">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="73">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="74">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="75">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="76">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="86">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="87">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="88">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="99">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="100">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="102">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="103">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
@@ -1,51 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="CoverageReport.php">
|
||||
<totals>
|
||||
<lines total="48" comments="23" code="25" executable="5" executed="5" percent="100.00%"/>
|
||||
<methods count="3" tested="3" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="CoverageReport" start="12" executable="5" executed="5" crap="3">
|
||||
<package full="Codacy" name="Codacy" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Report"/>
|
||||
<method name="__construct" signature="__construct($total, $fileReports)" start="28" end="32" crap="1" executable="3" executed="3" coverage="100"/>
|
||||
<method name="getTotal" signature="getTotal()" start="37" end="40" crap="1" executable="1" executed="1" coverage="100"/>
|
||||
<method name="getFileReports" signature="getFileReports()" start="45" end="48" crap="1" executable="1" executed="1" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="30">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="31">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="32">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="39">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="47">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
@@ -1,64 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="FileReport.php">
|
||||
<totals>
|
||||
<lines total="63" comments="30" code="33" executable="7" executed="7" percent="100.00%"/>
|
||||
<methods count="4" tested="4" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="FileReport" start="12" executable="7" executed="7" crap="4">
|
||||
<package full="Codacy" name="Codacy" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Report"/>
|
||||
<method name="__construct" signature="__construct($total, $fileName, $lineCoverage)" start="34" end="39" crap="1" executable="4" executed="4" coverage="100"/>
|
||||
<method name="getTotal" signature="getTotal()" start="44" end="47" crap="1" executable="1" executed="1" coverage="100"/>
|
||||
<method name="getFileName" signature="getFileName()" start="52" end="55" crap="1" executable="1" executed="1" coverage="100"/>
|
||||
<method name="getLineCoverage" signature="getLineCoverage()" start="60" end="63" crap="1" executable="1" executed="1" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="36">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="37">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="38">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="39">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="46">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="54">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="62">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
@@ -1,72 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="JsonProducer.php">
|
||||
<totals>
|
||||
<lines total="61" comments="21" code="40" executable="17" executed="17" percent="100.00%"/>
|
||||
<methods count="3" tested="3" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="JsonProducer" start="13" executable="17" executed="17" crap="4">
|
||||
<package full="Codacy" name="Codacy" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Report"/>
|
||||
<method name="setParser" signature="setParser(IParser $parser)" start="24" end="27" crap="1" executable="2" executed="2" coverage="100"/>
|
||||
<method name="makeReport" signature="makeReport()" start="33" end="36" crap="1" executable="1" executed="1" coverage="100"/>
|
||||
<method name="makeJson" signature="makeJson()" start="42" end="61" crap="2" executable="14" executed="14" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="26">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="27">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="35">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="44">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="45">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="46">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="48">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="49">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="51">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="52">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="53">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="54">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="55">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="57">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="58">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="59">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="60">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
@@ -1,221 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<project name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage">
|
||||
<tests>
|
||||
<test name="GitClientTest::testGetHashOfLastCommit" result="0" status="PASSED"/>
|
||||
<test name="CloverParserTest::testThrowsExceptionOnWrongPath" result="0" status="PASSED"/>
|
||||
<test name="CloverParserTest::testCanParseCloverXmlWithoutProject" result="0" status="PASSED"/>
|
||||
<test name="CloverParserTest::testCanParseCloverXmlWithProject" result="0" status="PASSED"/>
|
||||
<test name="PhpUnitXmlParserTest::testThrowsExceptionOnWrongPath" result="0" status="PASSED"/>
|
||||
<test name="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport" result="0" status="PASSED"/>
|
||||
<test name="JsonProducerTest::testCanProduceCorrectJson" result="0" status="PASSED"/>
|
||||
</tests>
|
||||
<directory name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage">
|
||||
<totals>
|
||||
<lines total="650" comments="249" code="401" executable="177" executed="122" percent="68.93%"/>
|
||||
<methods count="27" tested="21" percent="77.78%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="10" tested="4" percent="40.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<directory name="Api">
|
||||
<totals>
|
||||
<lines total="46" comments="11" code="35" executable="22" executed="0" percent="0.00%"/>
|
||||
<methods count="1" tested="0" percent="0.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<file name="Api.php" href="Api/Api.php.xml">
|
||||
<totals>
|
||||
<lines total="46" comments="11" code="35" executable="22" executed="0" percent="0.00%"/>
|
||||
<methods count="1" tested="0" percent="0.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
</directory>
|
||||
<file name="Api.php" href="Api/Api.php.xml">
|
||||
<totals>
|
||||
<lines total="46" comments="11" code="35" executable="22" executed="0" percent="0.00%"/>
|
||||
<methods count="1" tested="0" percent="0.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="CodacyPhpCoverage.php" href="CodacyPhpCoverage.php.xml">
|
||||
<totals>
|
||||
<lines total="68" comments="16" code="52" executable="26" executed="0" percent="0.00%"/>
|
||||
<methods count="1" tested="0" percent="0.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="Config.php" href="Config.php.xml">
|
||||
<totals>
|
||||
<lines total="34" comments="11" code="23" executable="7" executed="6" percent="85.71%"/>
|
||||
<methods count="2" tested="1" percent="50.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<directory name="Git">
|
||||
<totals>
|
||||
<lines total="46" comments="15" code="31" executable="8" executed="6" percent="75.00%"/>
|
||||
<methods count="2" tested="1" percent="50.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<file name="GitClient.php" href="Git/GitClient.php.xml">
|
||||
<totals>
|
||||
<lines total="46" comments="15" code="31" executable="8" executed="6" percent="75.00%"/>
|
||||
<methods count="2" tested="1" percent="50.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
</directory>
|
||||
<file name="GitClient.php" href="Git/GitClient.php.xml">
|
||||
<totals>
|
||||
<lines total="46" comments="15" code="31" executable="8" executed="6" percent="75.00%"/>
|
||||
<methods count="2" tested="1" percent="50.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<directory name="Parser">
|
||||
<totals>
|
||||
<lines total="284" comments="122" code="162" executable="85" executed="81" percent="95.29%"/>
|
||||
<methods count="11" tested="9" percent="81.82%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="3" tested="1" percent="33.33%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<file name="CloverParser.php" href="Parser/CloverParser.php.xml">
|
||||
<totals>
|
||||
<lines total="134" comments="60" code="74" executable="44" executed="42" percent="95.45%"/>
|
||||
<methods count="6" tested="5" percent="83.33%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="Parser.php" href="Parser/Parser.php.xml">
|
||||
<totals>
|
||||
<lines total="46" comments="20" code="26" executable="7" executed="7" percent="100.00%"/>
|
||||
<methods count="1" tested="1" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="PhpUnitXmlParser.php" href="Parser/PhpUnitXmlParser.php.xml">
|
||||
<totals>
|
||||
<lines total="104" comments="42" code="62" executable="34" executed="32" percent="94.12%"/>
|
||||
<methods count="4" tested="3" percent="75.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
</directory>
|
||||
<file name="CloverParser.php" href="Parser/CloverParser.php.xml">
|
||||
<totals>
|
||||
<lines total="134" comments="60" code="74" executable="44" executed="42" percent="95.45%"/>
|
||||
<methods count="6" tested="5" percent="83.33%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="Parser.php" href="Parser/Parser.php.xml">
|
||||
<totals>
|
||||
<lines total="46" comments="20" code="26" executable="7" executed="7" percent="100.00%"/>
|
||||
<methods count="1" tested="1" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="PhpUnitXmlParser.php" href="Parser/PhpUnitXmlParser.php.xml">
|
||||
<totals>
|
||||
<lines total="104" comments="42" code="62" executable="34" executed="32" percent="94.12%"/>
|
||||
<methods count="4" tested="3" percent="75.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<directory name="Report">
|
||||
<totals>
|
||||
<lines total="172" comments="74" code="98" executable="29" executed="29" percent="100.00%"/>
|
||||
<methods count="10" tested="10" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="3" tested="3" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<file name="CoverageReport.php" href="Report/CoverageReport.php.xml">
|
||||
<totals>
|
||||
<lines total="48" comments="23" code="25" executable="5" executed="5" percent="100.00%"/>
|
||||
<methods count="3" tested="3" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="FileReport.php" href="Report/FileReport.php.xml">
|
||||
<totals>
|
||||
<lines total="63" comments="30" code="33" executable="7" executed="7" percent="100.00%"/>
|
||||
<methods count="4" tested="4" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="JsonProducer.php" href="Report/JsonProducer.php.xml">
|
||||
<totals>
|
||||
<lines total="61" comments="21" code="40" executable="17" executed="17" percent="100.00%"/>
|
||||
<methods count="3" tested="3" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
</directory>
|
||||
<file name="CoverageReport.php" href="Report/CoverageReport.php.xml">
|
||||
<totals>
|
||||
<lines total="48" comments="23" code="25" executable="5" executed="5" percent="100.00%"/>
|
||||
<methods count="3" tested="3" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="FileReport.php" href="Report/FileReport.php.xml">
|
||||
<totals>
|
||||
<lines total="63" comments="30" code="33" executable="7" executed="7" percent="100.00%"/>
|
||||
<methods count="4" tested="4" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="JsonProducer.php" href="Report/JsonProducer.php.xml">
|
||||
<totals>
|
||||
<lines total="61" comments="21" code="40" executable="17" executed="17" percent="100.00%"/>
|
||||
<methods count="3" tested="3" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
</directory>
|
||||
</project>
|
||||
</phpunit>
|
170
vendor/composer/autoload_classmap.php
vendored
170
vendor/composer/autoload_classmap.php
vendored
@@ -31,29 +31,7 @@ return array(
|
||||
'AWS\\CRT\\Options' => $vendorDir . '/aws/aws-crt-php/src/AWS/CRT/Options.php',
|
||||
'Absolute_Positioner' => $vendorDir . '/dompdf/dompdf/include/absolute_positioner.cls.php',
|
||||
'Abstract_Renderer' => $vendorDir . '/dompdf/dompdf/include/abstract_renderer.cls.php',
|
||||
'AddForeignKeysToCannedResponseTable' => $baseDir . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_canned_response_table.php',
|
||||
'AddForeignKeysToDepartmentTable' => $baseDir . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_department_table.php',
|
||||
'AddForeignKeysToEmailsTable' => $baseDir . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_emails_table.php',
|
||||
'AddForeignKeysToGroupAssignDepartmentTable' => $baseDir . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_group_assign_department_table.php',
|
||||
'AddForeignKeysToHelpTopicTable' => $baseDir . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_help_topic_table.php',
|
||||
'AddForeignKeysToKbArticleRelationshipTable' => $baseDir . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_kb_article_relationship_table.php',
|
||||
'AddForeignKeysToKbCommentTable' => $baseDir . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_kb_comment_table.php',
|
||||
'AddForeignKeysToOrganizationTable' => $baseDir . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_organization_table.php',
|
||||
'AddForeignKeysToSettingsSystemTable' => $baseDir . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_settings_system_table.php',
|
||||
'AddForeignKeysToTeamAssignAgentTable' => $baseDir . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_team_assign_agent_table.php',
|
||||
'AddForeignKeysToTeamsTable' => $baseDir . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_teams_table.php',
|
||||
'AddForeignKeysToTicketAttachmentTable' => $baseDir . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_ticket_attachment_table.php',
|
||||
'AddForeignKeysToTicketCollaboratorTable' => $baseDir . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_ticket_collaborator_table.php',
|
||||
'AddForeignKeysToTicketFormDataTable' => $baseDir . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_ticket_form_data_table.php',
|
||||
'AddForeignKeysToTicketThreadTable' => $baseDir . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_ticket_thread_table.php',
|
||||
'AddForeignKeysToTicketsTable' => $baseDir . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_tickets_table.php',
|
||||
'AddForeignKeysToUserAssignOrganizationTable' => $baseDir . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_user_assign_organization_table.php',
|
||||
'AddForeignKeysToUsersTable' => $baseDir . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_users_table.php',
|
||||
'AddUuidToFailedJobsTable' => $baseDir . '/database/migrations/2023_01_07_000000_add_uuid_to_failed_jobs_table.php',
|
||||
'Adobe_Font_Metrics' => $vendorDir . '/phenx/php-font-lib/classes/Adobe_Font_Metrics.php',
|
||||
'AlterEmailsTableMakeUsernameColumnNullable' => $baseDir . '/database/migrations/2018_08_13_075015_alter_emails_table_make_username_column_nullable.php',
|
||||
'AlterTicketSourceTable' => $baseDir . '/database/migrations/2016_08_16_104539_alter_ticket_source_table.php',
|
||||
'AlterUsersTableAddUserLanguageColumn' => $baseDir . '/database/migrations/2018_08_08_094653_alter_users_table_add_user_language_column.php',
|
||||
'Attribute' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/Attribute.php',
|
||||
'Attribute_Translator' => $vendorDir . '/dompdf/dompdf/include/attribute_translator.cls.php',
|
||||
'Block_Frame_Decorator' => $vendorDir . '/dompdf/dompdf/include/block_frame_decorator.cls.php',
|
||||
@@ -66,96 +44,7 @@ return array(
|
||||
'Canvas' => $vendorDir . '/dompdf/dompdf/include/canvas.cls.php',
|
||||
'Canvas_Factory' => $vendorDir . '/dompdf/dompdf/include/canvas_factory.cls.php',
|
||||
'Cellmap' => $vendorDir . '/dompdf/dompdf/include/cellmap.cls.php',
|
||||
'Codacy\\Coverage\\Application' => $vendorDir . '/codacy/coverage/src/Codacy/Coverage/Application.php',
|
||||
'Codacy\\Coverage\\Command\\Clover' => $vendorDir . '/codacy/coverage/src/Codacy/Coverage/Command/Clover.php',
|
||||
'Codacy\\Coverage\\Command\\Phpunit' => $vendorDir . '/codacy/coverage/src/Codacy/Coverage/Command/Phpunit.php',
|
||||
'Codacy\\Coverage\\Parser\\CloverParser' => $vendorDir . '/codacy/coverage/src/Codacy/Coverage/Parser/CloverParser.php',
|
||||
'Codacy\\Coverage\\Parser\\IParser' => $vendorDir . '/codacy/coverage/src/Codacy/Coverage/Parser/Parser.php',
|
||||
'Codacy\\Coverage\\Parser\\PhpUnitXmlParser' => $vendorDir . '/codacy/coverage/src/Codacy/Coverage/Parser/PhpUnitXmlParser.php',
|
||||
'Codacy\\Coverage\\Parser\\XMLParser' => $vendorDir . '/codacy/coverage/src/Codacy/Coverage/Parser/Parser.php',
|
||||
'Codacy\\Coverage\\Report\\CoverageReport' => $vendorDir . '/codacy/coverage/src/Codacy/Coverage/Report/CoverageReport.php',
|
||||
'Codacy\\Coverage\\Report\\FileReport' => $vendorDir . '/codacy/coverage/src/Codacy/Coverage/Report/FileReport.php',
|
||||
'Codacy\\Coverage\\Util\\CodacyApiClient' => $vendorDir . '/codacy/coverage/src/Codacy/Coverage/Util/CodacyApiClient.php',
|
||||
'Codacy\\Coverage\\Util\\GitClient' => $vendorDir . '/codacy/coverage/src/Codacy/Coverage/Util/GitClient.php',
|
||||
'Codacy\\Coverage\\Util\\JsonProducer' => $vendorDir . '/codacy/coverage/src/Codacy/Coverage/Util/JsonProducer.php',
|
||||
'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
|
||||
'CreateApiSettingsTable' => $baseDir . '/database/migrations/2016_05_11_105244_create_api_settings_table.php',
|
||||
'CreateBanlistTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_banlist_table.php',
|
||||
'CreateBarNotificationsTable' => $baseDir . '/database/migrations/2016_05_10_102604_create_bar_notifications_table.php',
|
||||
'CreateCannedResponseTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_canned_response_table.php',
|
||||
'CreateCommonSettingsTable' => $baseDir . '/database/migrations/2016_06_02_072210_create_common_settings_table.php',
|
||||
'CreateConditionsTable' => $baseDir . '/database/migrations/2016_07_29_113012_create_conditions_table.php',
|
||||
'CreateCountryCodeTable' => $baseDir . '/database/migrations/2016_05_10_102423_create_country_code_table.php',
|
||||
'CreateCustomFormFieldsTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_custom_form_fields_table.php',
|
||||
'CreateCustomFormsTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_custom_forms_table.php',
|
||||
'CreateDateFormatTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_date_format_table.php',
|
||||
'CreateDateTimeFormatTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_date_time_format_table.php',
|
||||
'CreateDepartmentTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_department_table.php',
|
||||
'CreateEmailsTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_emails_table.php',
|
||||
'CreateFailedJobsTable' => $baseDir . '/database/migrations/2016_07_02_051439_create_failed_jobs_table.php',
|
||||
'CreateFaveoMailsTable' => $baseDir . '/database/migrations/2016_07_26_084458_create_faveo_mails_table.php',
|
||||
'CreateFaveoQueuesTable' => $baseDir . '/database/migrations/2016_07_26_090201_create_faveo_queues_table.php',
|
||||
'CreateFieldValuesTable' => $baseDir . '/database/migrations/2016_07_19_071910_create_field_values_table.php',
|
||||
'CreateGroupAssignDepartmentTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_group_assign_department_table.php',
|
||||
'CreateGroupsTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_groups_table.php',
|
||||
'CreateHelpTopicTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_help_topic_table.php',
|
||||
'CreateJobsTable' => $baseDir . '/database/migrations/2016_07_02_051247_create_jobs_table.php',
|
||||
'CreateKbArticleRelationshipTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_kb_article_relationship_table.php',
|
||||
'CreateKbArticleTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_kb_article_table.php',
|
||||
'CreateKbCategoryTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_kb_category_table.php',
|
||||
'CreateKbCommentTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_kb_comment_table.php',
|
||||
'CreateKbPagesTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_kb_pages_table.php',
|
||||
'CreateKbSettingsTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_kb_settings_table.php',
|
||||
'CreateLanguagesTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_languages_table.php',
|
||||
'CreateLogNotificationTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_log_notification_table.php',
|
||||
'CreateLoginAttemptsTable' => $baseDir . '/database/migrations/2016_06_02_074913_create_login_attempts_table.php',
|
||||
'CreateMailServicesTable' => $baseDir . '/database/migrations/2016_07_26_094753_create_mail_services_table.php',
|
||||
'CreateMailboxProtocolTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_mailbox_protocol_table.php',
|
||||
'CreateNotificationTypesTable' => $baseDir . '/database/migrations/2016_03_31_061534_create_notification_types_table.php',
|
||||
'CreateNotificationsTable' => $baseDir . '/database/migrations/2016_03_31_061239_create_notifications_table.php',
|
||||
'CreateOrganizationTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_organization_table.php',
|
||||
'CreatePasswordResetsTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_password_resets_table.php',
|
||||
'CreatePluginsTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_plugins_table.php',
|
||||
'CreateQueueServicesTable' => $baseDir . '/database/migrations/2016_07_26_095020_create_queue_services_table.php',
|
||||
'CreateRatingRefTable' => $baseDir . '/database/migrations/2016_06_02_081020_create_rating_ref_table.php',
|
||||
'CreateRatingsTable' => $baseDir . '/database/migrations/2016_06_02_080005_create_ratings_table.php',
|
||||
'CreateSettingsAlertNoticeTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_settings_alert_notice_table.php',
|
||||
'CreateSettingsAutoResponseTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_settings_auto_response_table.php',
|
||||
'CreateSettingsCompanyTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_settings_company_table.php',
|
||||
'CreateSettingsEmailTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_settings_email_table.php',
|
||||
'CreateSettingsRatingsTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_settings_ratings_table.php',
|
||||
'CreateSettingsSecurityTable' => $baseDir . '/database/migrations/2016_06_02_090225_create_settings_security_table.php',
|
||||
'CreateSettingsSystemTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_settings_system_table.php',
|
||||
'CreateSettingsTicketTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_settings_ticket_table.php',
|
||||
'CreateSlaPlanTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_sla_plan_table.php',
|
||||
'CreateSocialMediaTable' => $baseDir . '/database/migrations/2016_08_08_095744_create_social_media_table.php',
|
||||
'CreateTeamAssignAgentTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_team_assign_agent_table.php',
|
||||
'CreateTeamsTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_teams_table.php',
|
||||
'CreateTemplateSetsTable' => $baseDir . '/database/migrations/2016_06_02_094409_create_template_sets_table.php',
|
||||
'CreateTemplateTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_template_table.php',
|
||||
'CreateTemplateTypesTable' => $baseDir . '/database/migrations/2016_06_02_094420_create_template_types_table.php',
|
||||
'CreateTemplatesTable' => $baseDir . '/database/migrations/2016_06_02_090628_create_templates_table.php',
|
||||
'CreateTicketAttachmentTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_ticket_attachment_table.php',
|
||||
'CreateTicketCollaboratorTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_ticket_collaborator_table.php',
|
||||
'CreateTicketFormDataTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_ticket_form_data_table.php',
|
||||
'CreateTicketPriorityTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_ticket_priority_table.php',
|
||||
'CreateTicketSourceTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_ticket_source_table.php',
|
||||
'CreateTicketStatusTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_ticket_status_table.php',
|
||||
'CreateTicketThreadTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_ticket_thread_table.php',
|
||||
'CreateTicketTokenTable' => $baseDir . '/database/migrations/2016_06_02_095357_create_ticket_token_table.php',
|
||||
'CreateTicketsTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_tickets_table.php',
|
||||
'CreateTimeFormatTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_time_format_table.php',
|
||||
'CreateTimezoneTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_timezone_table.php',
|
||||
'CreateUserAdditionalInfosTable' => $baseDir . '/database/migrations/2016_08_12_104410_create_user_additional_infos_table.php',
|
||||
'CreateUserAssignOrganizationTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_user_assign_organization_table.php',
|
||||
'CreateUserNotificationTable' => $baseDir . '/database/migrations/2016_03_31_061740_create_user_notification_table.php',
|
||||
'CreateUsersTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_users_table.php',
|
||||
'CreateVersionCheckTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_version_check_table.php',
|
||||
'CreateWidgetsTable' => $baseDir . '/database/migrations/2016_02_16_140450_create_widgets_table.php',
|
||||
'CreateWorkflowActionTable' => $baseDir . '/database/migrations/2016_04_18_115908_create_workflow_action_table.php',
|
||||
'CreateWorkflowCloseTable' => $baseDir . '/database/migrations/2016_05_19_055008_create_workflow_close_table.php',
|
||||
'CreateWorkflowNameTable' => $baseDir . '/database/migrations/2016_04_18_115852_create_workflow_name_table.php',
|
||||
'CreateWorkflowRuleTable' => $baseDir . '/database/migrations/2016_04_18_115900_create_workflow_rule_table.php',
|
||||
'DOMPDF' => $vendorDir . '/dompdf/dompdf/include/dompdf.cls.php',
|
||||
'DOMPDF_Exception' => $vendorDir . '/dompdf/dompdf/include/dompdf_exception.cls.php',
|
||||
'DOMPDF_Image_Exception' => $vendorDir . '/dompdf/dompdf/include/dompdf_image_exception.cls.php',
|
||||
@@ -285,13 +174,68 @@ return array(
|
||||
'Inline_Positioner' => $vendorDir . '/dompdf/dompdf/include/inline_positioner.cls.php',
|
||||
'Inline_Renderer' => $vendorDir . '/dompdf/dompdf/include/inline_renderer.cls.php',
|
||||
'Javascript_Embedder' => $vendorDir . '/dompdf/dompdf/include/javascript_embedder.cls.php',
|
||||
'JsonException' => $vendorDir . '/symfony/polyfill-php73/Resources/stubs/JsonException.php',
|
||||
'Line_Box' => $vendorDir . '/dompdf/dompdf/include/line_box.cls.php',
|
||||
'List_Bullet_Frame_Decorator' => $vendorDir . '/dompdf/dompdf/include/list_bullet_frame_decorator.cls.php',
|
||||
'List_Bullet_Frame_Reflower' => $vendorDir . '/dompdf/dompdf/include/list_bullet_frame_reflower.cls.php',
|
||||
'List_Bullet_Image_Frame_Decorator' => $vendorDir . '/dompdf/dompdf/include/list_bullet_image_frame_decorator.cls.php',
|
||||
'List_Bullet_Positioner' => $vendorDir . '/dompdf/dompdf/include/list_bullet_positioner.cls.php',
|
||||
'List_Bullet_Renderer' => $vendorDir . '/dompdf/dompdf/include/list_bullet_renderer.cls.php',
|
||||
'Nette\\ArgumentOutOfRangeException' => $vendorDir . '/nette/utils/src/exceptions.php',
|
||||
'Nette\\DeprecatedException' => $vendorDir . '/nette/utils/src/exceptions.php',
|
||||
'Nette\\DirectoryNotFoundException' => $vendorDir . '/nette/utils/src/exceptions.php',
|
||||
'Nette\\FileNotFoundException' => $vendorDir . '/nette/utils/src/exceptions.php',
|
||||
'Nette\\HtmlStringable' => $vendorDir . '/nette/utils/src/HtmlStringable.php',
|
||||
'Nette\\IOException' => $vendorDir . '/nette/utils/src/exceptions.php',
|
||||
'Nette\\InvalidArgumentException' => $vendorDir . '/nette/utils/src/exceptions.php',
|
||||
'Nette\\InvalidStateException' => $vendorDir . '/nette/utils/src/exceptions.php',
|
||||
'Nette\\Iterators\\CachingIterator' => $vendorDir . '/nette/utils/src/Iterators/CachingIterator.php',
|
||||
'Nette\\Iterators\\Mapper' => $vendorDir . '/nette/utils/src/Iterators/Mapper.php',
|
||||
'Nette\\Localization\\ITranslator' => $vendorDir . '/nette/utils/src/compatibility.php',
|
||||
'Nette\\Localization\\Translator' => $vendorDir . '/nette/utils/src/Translator.php',
|
||||
'Nette\\MemberAccessException' => $vendorDir . '/nette/utils/src/exceptions.php',
|
||||
'Nette\\NotImplementedException' => $vendorDir . '/nette/utils/src/exceptions.php',
|
||||
'Nette\\NotSupportedException' => $vendorDir . '/nette/utils/src/exceptions.php',
|
||||
'Nette\\OutOfRangeException' => $vendorDir . '/nette/utils/src/exceptions.php',
|
||||
'Nette\\Schema\\Context' => $vendorDir . '/nette/schema/src/Schema/Context.php',
|
||||
'Nette\\Schema\\DynamicParameter' => $vendorDir . '/nette/schema/src/Schema/DynamicParameter.php',
|
||||
'Nette\\Schema\\Elements\\AnyOf' => $vendorDir . '/nette/schema/src/Schema/Elements/AnyOf.php',
|
||||
'Nette\\Schema\\Elements\\Base' => $vendorDir . '/nette/schema/src/Schema/Elements/Base.php',
|
||||
'Nette\\Schema\\Elements\\Structure' => $vendorDir . '/nette/schema/src/Schema/Elements/Structure.php',
|
||||
'Nette\\Schema\\Elements\\Type' => $vendorDir . '/nette/schema/src/Schema/Elements/Type.php',
|
||||
'Nette\\Schema\\Expect' => $vendorDir . '/nette/schema/src/Schema/Expect.php',
|
||||
'Nette\\Schema\\Helpers' => $vendorDir . '/nette/schema/src/Schema/Helpers.php',
|
||||
'Nette\\Schema\\Message' => $vendorDir . '/nette/schema/src/Schema/Message.php',
|
||||
'Nette\\Schema\\Processor' => $vendorDir . '/nette/schema/src/Schema/Processor.php',
|
||||
'Nette\\Schema\\Schema' => $vendorDir . '/nette/schema/src/Schema/Schema.php',
|
||||
'Nette\\Schema\\ValidationException' => $vendorDir . '/nette/schema/src/Schema/ValidationException.php',
|
||||
'Nette\\SmartObject' => $vendorDir . '/nette/utils/src/SmartObject.php',
|
||||
'Nette\\StaticClass' => $vendorDir . '/nette/utils/src/StaticClass.php',
|
||||
'Nette\\UnexpectedValueException' => $vendorDir . '/nette/utils/src/exceptions.php',
|
||||
'Nette\\Utils\\ArrayHash' => $vendorDir . '/nette/utils/src/Utils/ArrayHash.php',
|
||||
'Nette\\Utils\\ArrayList' => $vendorDir . '/nette/utils/src/Utils/ArrayList.php',
|
||||
'Nette\\Utils\\Arrays' => $vendorDir . '/nette/utils/src/Utils/Arrays.php',
|
||||
'Nette\\Utils\\AssertionException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php',
|
||||
'Nette\\Utils\\Callback' => $vendorDir . '/nette/utils/src/Utils/Callback.php',
|
||||
'Nette\\Utils\\DateTime' => $vendorDir . '/nette/utils/src/Utils/DateTime.php',
|
||||
'Nette\\Utils\\FileSystem' => $vendorDir . '/nette/utils/src/Utils/FileSystem.php',
|
||||
'Nette\\Utils\\Floats' => $vendorDir . '/nette/utils/src/Utils/Floats.php',
|
||||
'Nette\\Utils\\Helpers' => $vendorDir . '/nette/utils/src/Utils/Helpers.php',
|
||||
'Nette\\Utils\\Html' => $vendorDir . '/nette/utils/src/Utils/Html.php',
|
||||
'Nette\\Utils\\IHtmlString' => $vendorDir . '/nette/utils/src/compatibility.php',
|
||||
'Nette\\Utils\\Image' => $vendorDir . '/nette/utils/src/Utils/Image.php',
|
||||
'Nette\\Utils\\ImageException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php',
|
||||
'Nette\\Utils\\Json' => $vendorDir . '/nette/utils/src/Utils/Json.php',
|
||||
'Nette\\Utils\\JsonException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php',
|
||||
'Nette\\Utils\\ObjectHelpers' => $vendorDir . '/nette/utils/src/Utils/ObjectHelpers.php',
|
||||
'Nette\\Utils\\ObjectMixin' => $vendorDir . '/nette/utils/src/Utils/ObjectMixin.php',
|
||||
'Nette\\Utils\\Paginator' => $vendorDir . '/nette/utils/src/Utils/Paginator.php',
|
||||
'Nette\\Utils\\Random' => $vendorDir . '/nette/utils/src/Utils/Random.php',
|
||||
'Nette\\Utils\\Reflection' => $vendorDir . '/nette/utils/src/Utils/Reflection.php',
|
||||
'Nette\\Utils\\RegexpException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php',
|
||||
'Nette\\Utils\\Strings' => $vendorDir . '/nette/utils/src/Utils/Strings.php',
|
||||
'Nette\\Utils\\Type' => $vendorDir . '/nette/utils/src/Utils/Type.php',
|
||||
'Nette\\Utils\\UnknownImageFileException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php',
|
||||
'Nette\\Utils\\Validators' => $vendorDir . '/nette/utils/src/Utils/Validators.php',
|
||||
'Normalizer' => $vendorDir . '/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php',
|
||||
'Null_Frame_Decorator' => $vendorDir . '/dompdf/dompdf/include/null_frame_decorator.cls.php',
|
||||
'Null_Frame_Reflower' => $vendorDir . '/dompdf/dompdf/include/null_frame_reflower.cls.php',
|
||||
@@ -723,7 +667,6 @@ return array(
|
||||
'PhpToken' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/PhpToken.php',
|
||||
'Positioner' => $vendorDir . '/dompdf/dompdf/include/positioner.cls.php',
|
||||
'Renderer' => $vendorDir . '/dompdf/dompdf/include/renderer.cls.php',
|
||||
'ReturnTypeWillChange' => $vendorDir . '/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php',
|
||||
'SebastianBergmann\\CliParser\\AmbiguousOptionException' => $vendorDir . '/sebastian/cli-parser/src/exceptions/AmbiguousOptionException.php',
|
||||
'SebastianBergmann\\CliParser\\Exception' => $vendorDir . '/sebastian/cli-parser/src/exceptions/Exception.php',
|
||||
'SebastianBergmann\\CliParser\\OptionDoesNotAllowArgumentException' => $vendorDir . '/sebastian/cli-parser/src/exceptions/OptionDoesNotAllowArgumentException.php',
|
||||
@@ -954,5 +897,4 @@ return array(
|
||||
'TheSeer\\Tokenizer\\XMLSerializer' => $vendorDir . '/theseer/tokenizer/src/XMLSerializer.php',
|
||||
'UnhandledMatchError' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php',
|
||||
'ValueError' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/ValueError.php',
|
||||
'Version1079table' => $baseDir . '/database/migrations/2016_06_28_141613_version1079table.php',
|
||||
);
|
||||
|
79
vendor/composer/autoload_files.php
vendored
79
vendor/composer/autoload_files.php
vendored
@@ -6,93 +6,31 @@ $vendorDir = dirname(__DIR__);
|
||||
$baseDir = dirname($vendorDir);
|
||||
|
||||
return array(
|
||||
'a4a119a56e50fbb293281d9a48007e0e' => $vendorDir . '/symfony/polyfill-php80/bootstrap.php',
|
||||
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php',
|
||||
'6e3fae29631ef280660b3cdad06f25a8' => $vendorDir . '/symfony/deprecation-contracts/function.php',
|
||||
'320cde22f66dd4f5d3fd621d3e88b98f' => $vendorDir . '/symfony/polyfill-ctype/bootstrap.php',
|
||||
'e69f7f6ee287b969198c3c9d6777bd38' => $vendorDir . '/symfony/polyfill-intl-normalizer/bootstrap.php',
|
||||
'320cde22f66dd4f5d3fd621d3e88b98f' => $vendorDir . '/symfony/polyfill-ctype/bootstrap.php',
|
||||
'7b11c4dc42b3b3023073cb14e519683c' => $vendorDir . '/ralouphie/getallheaders/src/getallheaders.php',
|
||||
'667aeda72477189d0494fecd327c3641' => $vendorDir . '/symfony/var-dumper/Resources/functions/dump.php',
|
||||
'0d59ee240a4cd96ddbb4ff164fccea4d' => $vendorDir . '/symfony/polyfill-php73/bootstrap.php',
|
||||
'c964ee0ededf28c96ebd9db5099ef910' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php',
|
||||
'8825ede83f2f289127722d4e842cf7e8' => $vendorDir . '/symfony/polyfill-intl-grapheme/bootstrap.php',
|
||||
'c964ee0ededf28c96ebd9db5099ef910' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php',
|
||||
'25072dd6e2470089de65ae7bf11d3109' => $vendorDir . '/symfony/polyfill-php72/bootstrap.php',
|
||||
'f598d06aa772fa33d905e87be6398fb1' => $vendorDir . '/symfony/polyfill-intl-idn/bootstrap.php',
|
||||
'b6b991a57620e2fb6b2f66f03fe9ddc2' => $vendorDir . '/symfony/string/Resources/functions.php',
|
||||
'f598d06aa772fa33d905e87be6398fb1' => $vendorDir . '/symfony/polyfill-intl-idn/bootstrap.php',
|
||||
'37a3dc5111fe8f707ab4c132ef1dbc62' => $vendorDir . '/guzzlehttp/guzzle/src/functions_include.php',
|
||||
'a4a119a56e50fbb293281d9a48007e0e' => $vendorDir . '/symfony/polyfill-php80/bootstrap.php',
|
||||
'a1105708a18b76903365ca1c4aa61b02' => $vendorDir . '/symfony/translation/Resources/functions.php',
|
||||
'23c18046f52bef3eea034657bafda50f' => $vendorDir . '/symfony/polyfill-php81/bootstrap.php',
|
||||
'3bd81c9b8fcc150b69d8b63b4d2ccf23' => $vendorDir . '/spatie/flare-client-php/src/helpers.php',
|
||||
'2cffec82183ee1cea088009cef9a6fc3' => $vendorDir . '/ezyang/htmlpurifier/library/HTMLPurifier.composer.php',
|
||||
'abede361264e2ae69ec1eee813a101af' => $vendorDir . '/markbaker/complex/classes/src/functions/abs.php',
|
||||
'21a5860fbef5be28db5ddfbc3cca67c4' => $vendorDir . '/markbaker/complex/classes/src/functions/acos.php',
|
||||
'1546e3f9d127f2a9bb2d1b6c31c26ef1' => $vendorDir . '/markbaker/complex/classes/src/functions/acosh.php',
|
||||
'd2516f7f4fba5ea5905f494b4a8262e0' => $vendorDir . '/markbaker/complex/classes/src/functions/acot.php',
|
||||
'4511163d560956219b96882c0980b65e' => $vendorDir . '/markbaker/complex/classes/src/functions/acoth.php',
|
||||
'c361f5616dc2a8da4fa3e137077cd4ea' => $vendorDir . '/markbaker/complex/classes/src/functions/acsc.php',
|
||||
'02d68920fc98da71991ce569c91df0f6' => $vendorDir . '/markbaker/complex/classes/src/functions/acsch.php',
|
||||
'88e19525eae308b4a6aa3419364875d3' => $vendorDir . '/markbaker/complex/classes/src/functions/argument.php',
|
||||
'60e8e2d0827b58bfc904f13957e51849' => $vendorDir . '/markbaker/complex/classes/src/functions/asec.php',
|
||||
'13d2f040713999eab66c359b4d79871d' => $vendorDir . '/markbaker/complex/classes/src/functions/asech.php',
|
||||
'838ab38beb32c68a79d3cd2c007d5a04' => $vendorDir . '/markbaker/complex/classes/src/functions/asin.php',
|
||||
'bb28eccd0f8f008333a1b3c163d604ac' => $vendorDir . '/markbaker/complex/classes/src/functions/asinh.php',
|
||||
'9e483de83558c98f7d3feaa402c78cb3' => $vendorDir . '/markbaker/complex/classes/src/functions/atan.php',
|
||||
'36b74b5b765ded91ee58c8ee3c0e85e3' => $vendorDir . '/markbaker/complex/classes/src/functions/atanh.php',
|
||||
'05c15ee9510da7fd6bf6136f436500c0' => $vendorDir . '/markbaker/complex/classes/src/functions/conjugate.php',
|
||||
'd3208dfbce2505e370788f9f22f6785f' => $vendorDir . '/markbaker/complex/classes/src/functions/cos.php',
|
||||
'141cf1fb3a3046f8b64534b0ebab33ca' => $vendorDir . '/markbaker/complex/classes/src/functions/cosh.php',
|
||||
'be660df75fd0dbe7fa7c03b7434b3294' => $vendorDir . '/markbaker/complex/classes/src/functions/cot.php',
|
||||
'01e31ea298a51bc9e91517e3ce6b9e76' => $vendorDir . '/markbaker/complex/classes/src/functions/coth.php',
|
||||
'803ddd97f7b1da68982a7b087c3476f6' => $vendorDir . '/markbaker/complex/classes/src/functions/csc.php',
|
||||
'3001cdfd101ec3c32da34ee43c2e149b' => $vendorDir . '/markbaker/complex/classes/src/functions/csch.php',
|
||||
'77b2d7629ef2a93fabb8c56754a91051' => $vendorDir . '/markbaker/complex/classes/src/functions/exp.php',
|
||||
'4a4471296dec796c21d4f4b6552396a9' => $vendorDir . '/markbaker/complex/classes/src/functions/inverse.php',
|
||||
'c3e9897e1744b88deb56fcdc39d34d85' => $vendorDir . '/markbaker/complex/classes/src/functions/ln.php',
|
||||
'a83cacf2de942cff288de15a83afd26d' => $vendorDir . '/markbaker/complex/classes/src/functions/log2.php',
|
||||
'6a861dacc9ee2f3061241d4c7772fa21' => $vendorDir . '/markbaker/complex/classes/src/functions/log10.php',
|
||||
'4d2522d968c8ba78d6c13548a1b4200e' => $vendorDir . '/markbaker/complex/classes/src/functions/negative.php',
|
||||
'fd587ca933fc0447fa5ab4843bdd97f7' => $vendorDir . '/markbaker/complex/classes/src/functions/pow.php',
|
||||
'383ef01c62028fc78cd4388082fce3c2' => $vendorDir . '/markbaker/complex/classes/src/functions/rho.php',
|
||||
'150fbd1b95029dc47292da97ecab9375' => $vendorDir . '/markbaker/complex/classes/src/functions/sec.php',
|
||||
'549abd9bae174286d660bdaa07407c68' => $vendorDir . '/markbaker/complex/classes/src/functions/sech.php',
|
||||
'6bfbf5eaea6b17a0ed85cb21ba80370c' => $vendorDir . '/markbaker/complex/classes/src/functions/sin.php',
|
||||
'22efe13f1a497b8e199540ae2d9dc59c' => $vendorDir . '/markbaker/complex/classes/src/functions/sinh.php',
|
||||
'e90135ab8e787795a509ed7147de207d' => $vendorDir . '/markbaker/complex/classes/src/functions/sqrt.php',
|
||||
'bb0a7923ffc6a90919cd64ec54ff06bc' => $vendorDir . '/markbaker/complex/classes/src/functions/tan.php',
|
||||
'2d302f32ce0fd4e433dd91c5bb404a28' => $vendorDir . '/markbaker/complex/classes/src/functions/tanh.php',
|
||||
'24dd4658a952171a4ee79218c4f9fd06' => $vendorDir . '/markbaker/complex/classes/src/functions/theta.php',
|
||||
'e49b7876281d6f5bc39536dde96d1f4a' => $vendorDir . '/markbaker/complex/classes/src/operations/add.php',
|
||||
'47596e02b43cd6da7700134fd08f88cf' => $vendorDir . '/markbaker/complex/classes/src/operations/subtract.php',
|
||||
'883af48563631547925fa4c3b48ead07' => $vendorDir . '/markbaker/complex/classes/src/operations/multiply.php',
|
||||
'f190e3308e6ca23234a2875edc985c03' => $vendorDir . '/markbaker/complex/classes/src/operations/divideby.php',
|
||||
'ac9e33ce6841aa5bf5d16d465a2f03a7' => $vendorDir . '/markbaker/complex/classes/src/operations/divideinto.php',
|
||||
'3af723442581d6c310bf44543f9f5c60' => $vendorDir . '/markbaker/matrix/classes/src/Functions/adjoint.php',
|
||||
'd803221834c8b57fec95debb5406a797' => $vendorDir . '/markbaker/matrix/classes/src/Functions/antidiagonal.php',
|
||||
'4714cafbd3be4c72c274a25eae9396bb' => $vendorDir . '/markbaker/matrix/classes/src/Functions/cofactors.php',
|
||||
'89719dc7c77436609d1c1c31f0797b8f' => $vendorDir . '/markbaker/matrix/classes/src/Functions/determinant.php',
|
||||
'c28af79ec7730859d83f2d4310b8dd0b' => $vendorDir . '/markbaker/matrix/classes/src/Functions/diagonal.php',
|
||||
'c5d82bf1ac485e445f911e55789ab4e6' => $vendorDir . '/markbaker/matrix/classes/src/Functions/identity.php',
|
||||
'0d2d594de24a247f7a33499e933aa21e' => $vendorDir . '/markbaker/matrix/classes/src/Functions/inverse.php',
|
||||
'f37c25880804a014ef40c8bffbab1b10' => $vendorDir . '/markbaker/matrix/classes/src/Functions/minors.php',
|
||||
'd6e4e42171df0dbea253b3067fefda38' => $vendorDir . '/markbaker/matrix/classes/src/Functions/trace.php',
|
||||
'2c9b19fa954fd3e6fcc7e7a1383caddd' => $vendorDir . '/markbaker/matrix/classes/src/Functions/transpose.php',
|
||||
'0a538fc9b897450ec362480ebbebe94f' => $vendorDir . '/markbaker/matrix/classes/src/Operations/add.php',
|
||||
'f0843f7f4089ec2343c7445544356385' => $vendorDir . '/markbaker/matrix/classes/src/Operations/directsum.php',
|
||||
'ad3e8c29aa16d134661a414265677b61' => $vendorDir . '/markbaker/matrix/classes/src/Operations/subtract.php',
|
||||
'8d37dad4703fab45bfec9dd0bbf3278e' => $vendorDir . '/markbaker/matrix/classes/src/Operations/multiply.php',
|
||||
'4888a6f58c08148ebe17682f9ce9b2a8' => $vendorDir . '/markbaker/matrix/classes/src/Operations/divideby.php',
|
||||
'eef6fa3879d3efa347cd24d5eb348f85' => $vendorDir . '/markbaker/matrix/classes/src/Operations/divideinto.php',
|
||||
'def43f6c87e4f8dfd0c9e1b1bab14fe8' => $vendorDir . '/symfony/polyfill-iconv/bootstrap.php',
|
||||
'9cdd7b9056abc3081735233ba9dd9c7f' => $vendorDir . '/facade/flare-client-php/src/helpers.php',
|
||||
'b067bc7112e384b61c701452d53a14a8' => $vendorDir . '/mtdowling/jmespath.php/src/JmesPath.php',
|
||||
'09f6b20656683369174dd6fa83b7e5fb' => $vendorDir . '/symfony/polyfill-uuid/bootstrap.php',
|
||||
'8a9dc1de0ca7e01f3e08231539562f61' => $vendorDir . '/aws/aws-sdk-php/src/functions.php',
|
||||
'6124b4c8570aa390c21fafd04a26c69f' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
|
||||
'538ca81a9a966a6716601ecf48f4eaef' => $vendorDir . '/opis/closure/functions.php',
|
||||
'35a6ad97d21e794e7e22a17d806652e4' => $vendorDir . '/nunomaduro/termwind/src/Functions.php',
|
||||
'2a3c2110e8e0295330dc3d11a4cbc4cb' => $vendorDir . '/php-webdriver/webdriver/lib/Exception/TimeoutException.php',
|
||||
'801c31d8ed748cfa537fa45402288c95' => $vendorDir . '/psy/psysh/src/functions.php',
|
||||
'e39a8b23c42d4e1452234d762b03835a' => $vendorDir . '/ramsey/uuid/src/functions.php',
|
||||
'2c102faa651ef8ea5874edb585946bce' => $vendorDir . '/swiftmailer/swiftmailer/lib/swift_required.php',
|
||||
'8a9dc1de0ca7e01f3e08231539562f61' => $vendorDir . '/aws/aws-sdk-php/src/functions.php',
|
||||
'4a1f389d6ce373bda9e57857d3b61c84' => $vendorDir . '/barryvdh/laravel-debugbar/src/helpers.php',
|
||||
'ed962a97bd972bc82007176b647d4e36' => $vendorDir . '/facade/ignition/src/helpers.php',
|
||||
'265b4faa2b3a9766332744949e83bf97' => $vendorDir . '/laravel/framework/src/Illuminate/Collections/helpers.php',
|
||||
'c7a3c339e7e14b60e06a2d7fcce9476b' => $vendorDir . '/laravel/framework/src/Illuminate/Events/functions.php',
|
||||
'f0906e6318348a765ffb6eb24e0d0938' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/helpers.php',
|
||||
@@ -100,6 +38,7 @@ return array(
|
||||
'f18cc91337d49233e5754e93f3ed9ec3' => $vendorDir . '/laravelcollective/html/src/helpers.php',
|
||||
'ec07570ca5a812141189b1fa81503674' => $vendorDir . '/phpunit/phpunit/src/Framework/Assert/Functions.php',
|
||||
'017b24472353920ed42bb364f7653c43' => $vendorDir . '/propaganistas/laravel-phone/src/helpers.php',
|
||||
'320163ac6b93aebe3dc25b60a0533d56' => $vendorDir . '/spatie/laravel-ignition/src/helpers.php',
|
||||
'1e298922c3e2134d42dcdb03e6d5f55a' => $vendorDir . '/torann/geoip/src/helpers.php',
|
||||
'0b47d6d4a00ca9112ba3953b49e7c9a4' => $vendorDir . '/yajra/laravel-datatables-oracle/src/helper.php',
|
||||
);
|
||||
|
1
vendor/composer/autoload_namespaces.php
vendored
1
vendor/composer/autoload_namespaces.php
vendored
@@ -6,7 +6,6 @@ $vendorDir = dirname(__DIR__);
|
||||
$baseDir = dirname($vendorDir);
|
||||
|
||||
return array(
|
||||
'thomaswelton\\GravatarLib\\' => array($vendorDir . '/thomaswelton/gravatarlib'),
|
||||
'PhpSpec' => array($vendorDir . '/phpspec/phpspec/src'),
|
||||
'Mockery' => array($vendorDir . '/mockery/mockery/library'),
|
||||
'HTMLPurifier' => array($vendorDir . '/ezyang/htmlpurifier/library'),
|
||||
|
33
vendor/composer/autoload_psr4.php
vendored
33
vendor/composer/autoload_psr4.php
vendored
@@ -18,29 +18,28 @@ return array(
|
||||
'Tymon\\JWTAuth\\' => array($vendorDir . '/tymon/jwt-auth/src'),
|
||||
'Torann\\GeoIP\\' => array($vendorDir . '/torann/geoip/src'),
|
||||
'TijsVerkoyen\\CssToInlineStyles\\' => array($vendorDir . '/tijsverkoyen/css-to-inline-styles/src'),
|
||||
'Thomaswelton\\Tests\\LaravelGravatar\\' => array($vendorDir . '/thomaswelton/laravel-gravatar/tests'),
|
||||
'Thomaswelton\\LaravelGravatar\\' => array($vendorDir . '/thomaswelton/laravel-gravatar/src'),
|
||||
'Tests\\' => array($baseDir . '/tests'),
|
||||
'Symfony\\Polyfill\\Php81\\' => array($vendorDir . '/symfony/polyfill-php81'),
|
||||
'Termwind\\' => array($vendorDir . '/nunomaduro/termwind/src'),
|
||||
'Symfony\\Polyfill\\Uuid\\' => array($vendorDir . '/symfony/polyfill-uuid'),
|
||||
'Symfony\\Polyfill\\Php80\\' => array($vendorDir . '/symfony/polyfill-php80'),
|
||||
'Symfony\\Polyfill\\Php73\\' => array($vendorDir . '/symfony/polyfill-php73'),
|
||||
'Symfony\\Polyfill\\Php72\\' => array($vendorDir . '/symfony/polyfill-php72'),
|
||||
'Symfony\\Polyfill\\Mbstring\\' => array($vendorDir . '/symfony/polyfill-mbstring'),
|
||||
'Symfony\\Polyfill\\Intl\\Normalizer\\' => array($vendorDir . '/symfony/polyfill-intl-normalizer'),
|
||||
'Symfony\\Polyfill\\Intl\\Idn\\' => array($vendorDir . '/symfony/polyfill-intl-idn'),
|
||||
'Symfony\\Polyfill\\Intl\\Grapheme\\' => array($vendorDir . '/symfony/polyfill-intl-grapheme'),
|
||||
'Symfony\\Polyfill\\Iconv\\' => array($vendorDir . '/symfony/polyfill-iconv'),
|
||||
'Symfony\\Polyfill\\Ctype\\' => array($vendorDir . '/symfony/polyfill-ctype'),
|
||||
'Symfony\\Contracts\\Translation\\' => array($vendorDir . '/symfony/translation-contracts'),
|
||||
'Symfony\\Contracts\\Service\\' => array($vendorDir . '/symfony/service-contracts'),
|
||||
'Symfony\\Contracts\\EventDispatcher\\' => array($vendorDir . '/symfony/event-dispatcher-contracts'),
|
||||
'Symfony\\Component\\Yaml\\' => array($vendorDir . '/symfony/yaml'),
|
||||
'Symfony\\Component\\VarDumper\\' => array($vendorDir . '/symfony/var-dumper'),
|
||||
'Symfony\\Component\\Uid\\' => array($vendorDir . '/symfony/uid'),
|
||||
'Symfony\\Component\\Translation\\' => array($vendorDir . '/symfony/translation'),
|
||||
'Symfony\\Component\\String\\' => array($vendorDir . '/symfony/string'),
|
||||
'Symfony\\Component\\Routing\\' => array($vendorDir . '/symfony/routing'),
|
||||
'Symfony\\Component\\Process\\' => array($vendorDir . '/symfony/process'),
|
||||
'Symfony\\Component\\Mime\\' => array($vendorDir . '/symfony/mime'),
|
||||
'Symfony\\Component\\Mailer\\' => array($vendorDir . '/symfony/mailer'),
|
||||
'Symfony\\Component\\HttpKernel\\' => array($vendorDir . '/symfony/http-kernel'),
|
||||
'Symfony\\Component\\HttpFoundation\\' => array($vendorDir . '/symfony/http-foundation'),
|
||||
'Symfony\\Component\\Finder\\' => array($vendorDir . '/symfony/finder'),
|
||||
@@ -49,22 +48,26 @@ return array(
|
||||
'Symfony\\Component\\DomCrawler\\' => array($vendorDir . '/symfony/dom-crawler'),
|
||||
'Symfony\\Component\\CssSelector\\' => array($vendorDir . '/symfony/css-selector'),
|
||||
'Symfony\\Component\\Console\\' => array($vendorDir . '/symfony/console'),
|
||||
'Spatie\\LaravelIgnition\\' => array($vendorDir . '/spatie/laravel-ignition/src'),
|
||||
'Spatie\\Ignition\\' => array($vendorDir . '/spatie/ignition/src'),
|
||||
'Spatie\\FlareClient\\' => array($vendorDir . '/spatie/flare-client-php/src'),
|
||||
'Spatie\\Backtrace\\' => array($vendorDir . '/spatie/backtrace/src'),
|
||||
'Ramsey\\Uuid\\' => array($vendorDir . '/ramsey/uuid/src'),
|
||||
'Ramsey\\Collection\\' => array($vendorDir . '/ramsey/collection/src'),
|
||||
'Psy\\' => array($vendorDir . '/psy/psysh/src'),
|
||||
'Psr\\SimpleCache\\' => array($vendorDir . '/psr/simple-cache/src'),
|
||||
'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'),
|
||||
'Psr\\Log\\' => array($vendorDir . '/psr/log/src'),
|
||||
'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src', $vendorDir . '/psr/http-factory/src'),
|
||||
'Psr\\Http\\Client\\' => array($vendorDir . '/psr/http-client/src'),
|
||||
'Psr\\EventDispatcher\\' => array($vendorDir . '/psr/event-dispatcher/src'),
|
||||
'Psr\\Container\\' => array($vendorDir . '/psr/container/src'),
|
||||
'Psr\\Clock\\' => array($vendorDir . '/psr/clock/src'),
|
||||
'Prophecy\\' => array($vendorDir . '/phpspec/prophecy/src/Prophecy'),
|
||||
'Propaganistas\\LaravelPhone\\' => array($vendorDir . '/propaganistas/laravel-phone/src'),
|
||||
'Predis\\' => array($vendorDir . '/predis/predis/src'),
|
||||
'PhpParser\\' => array($vendorDir . '/nikic/php-parser/lib/PhpParser'),
|
||||
'PhpOption\\' => array($vendorDir . '/phpoption/phpoption/src/PhpOption'),
|
||||
'PhpOffice\\PhpSpreadsheet\\' => array($vendorDir . '/phpoffice/phpspreadsheet/src/PhpSpreadsheet'),
|
||||
'Opis\\Closure\\' => array($vendorDir . '/opis/closure/src'),
|
||||
'NunoMaduro\\Collision\\' => array($vendorDir . '/nunomaduro/collision/src'),
|
||||
'Nicolaslopezj\\Searchable\\' => array($vendorDir . '/nicolaslopezj/searchable/src'),
|
||||
'Namshi\\JOSE\\' => array($vendorDir . '/namshi/jose/src/Namshi/JOSE'),
|
||||
@@ -72,13 +75,17 @@ return array(
|
||||
'Mremi\\UrlShortener\\' => array($vendorDir . '/mremi/url-shortener/src/Mremi/UrlShortener'),
|
||||
'Monolog\\' => array($vendorDir . '/monolog/monolog/src/Monolog'),
|
||||
'Matrix\\' => array($vendorDir . '/markbaker/matrix/classes/src'),
|
||||
'Masterminds\\' => array($vendorDir . '/masterminds/html5/src'),
|
||||
'Maatwebsite\\Excel\\' => array($vendorDir . '/maatwebsite/excel/src'),
|
||||
'League\\OAuth1\\Client\\' => array($vendorDir . '/league/oauth1-client/src'),
|
||||
'League\\MimeTypeDetection\\' => array($vendorDir . '/league/mime-type-detection/src'),
|
||||
'League\\ISO3166\\' => array($vendorDir . '/league/iso3166/src'),
|
||||
'League\\Flysystem\\AwsS3V3\\' => array($vendorDir . '/league/flysystem-aws-s3-v3'),
|
||||
'League\\Flysystem\\' => array($vendorDir . '/league/flysystem/src'),
|
||||
'League\\Config\\' => array($vendorDir . '/league/config/src'),
|
||||
'League\\CommonMark\\' => array($vendorDir . '/league/commonmark/src'),
|
||||
'Lcobucci\\JWT\\' => array($vendorDir . '/lcobucci/jwt/src'),
|
||||
'Lcobucci\\Clock\\' => array($vendorDir . '/lcobucci/clock/src'),
|
||||
'Laravel\\Ui\\' => array($vendorDir . '/laravel/ui/src'),
|
||||
'Laravel\\Tinker\\' => array($vendorDir . '/laravel/tinker/src'),
|
||||
'Laravel\\Socialite\\' => array($vendorDir . '/laravel/socialite/src'),
|
||||
@@ -86,36 +93,35 @@ return array(
|
||||
'Laravel\\Dusk\\' => array($vendorDir . '/laravel/dusk/src'),
|
||||
'JmesPath\\' => array($vendorDir . '/mtdowling/jmespath.php/src'),
|
||||
'Intervention\\Image\\' => array($vendorDir . '/intervention/image/src/Intervention/Image'),
|
||||
'Illuminate\\Support\\' => array($vendorDir . '/laravel/framework/src/Illuminate/Macroable', $vendorDir . '/laravel/framework/src/Illuminate/Collections'),
|
||||
'Illuminate\\Support\\' => array($vendorDir . '/laravel/framework/src/Illuminate/Macroable', $vendorDir . '/laravel/framework/src/Illuminate/Collections', $vendorDir . '/laravel/framework/src/Illuminate/Conditionable'),
|
||||
'Illuminate\\Foundation\\Auth\\' => array($vendorDir . '/laravel/ui/auth-backend'),
|
||||
'Illuminate\\' => array($vendorDir . '/laravel/framework/src/Illuminate'),
|
||||
'GuzzleHttp\\Psr7\\' => array($vendorDir . '/guzzlehttp/psr7/src'),
|
||||
'GuzzleHttp\\Promise\\' => array($vendorDir . '/guzzlehttp/promises/src'),
|
||||
'GuzzleHttp\\' => array($vendorDir . '/guzzlehttp/guzzle/src'),
|
||||
'GrahamCampbell\\ResultType\\' => array($vendorDir . '/graham-campbell/result-type/src'),
|
||||
'Gitonomy\\Git\\' => array($vendorDir . '/gitonomy/gitlib/src/Gitonomy/Git'),
|
||||
'Giggsey\\Locale\\' => array($vendorDir . '/giggsey/locale/src'),
|
||||
'Fruitcake\\Cors\\' => array($vendorDir . '/fruitcake/laravel-cors/src'),
|
||||
'Fruitcake\\Cors\\' => array($vendorDir . '/fruitcake/php-cors/src'),
|
||||
'Faker\\' => array($vendorDir . '/fakerphp/faker/src/Faker'),
|
||||
'Facebook\\WebDriver\\' => array($vendorDir . '/php-webdriver/webdriver/lib'),
|
||||
'Facade\\Ignition\\' => array($vendorDir . '/facade/ignition/src'),
|
||||
'Facade\\IgnitionContracts\\' => array($vendorDir . '/facade/ignition-contracts/src'),
|
||||
'Facade\\FlareClient\\' => array($vendorDir . '/facade/flare-client-php/src'),
|
||||
'Egulias\\EmailValidator\\' => array($vendorDir . '/egulias/email-validator/src'),
|
||||
'Dotenv\\' => array($vendorDir . '/vlucas/phpdotenv/src'),
|
||||
'Doctrine\\Instantiator\\' => array($vendorDir . '/doctrine/instantiator/src/Doctrine/Instantiator'),
|
||||
'Doctrine\\Inflector\\' => array($vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector'),
|
||||
'Doctrine\\Deprecations\\' => array($vendorDir . '/doctrine/deprecations/lib/Doctrine/Deprecations'),
|
||||
'Doctrine\\DBAL\\' => array($vendorDir . '/doctrine/dbal/lib/Doctrine/DBAL'),
|
||||
'Doctrine\\Common\\Lexer\\' => array($vendorDir . '/doctrine/lexer/lib/Doctrine/Common/Lexer'),
|
||||
'Doctrine\\Common\\Lexer\\' => array($vendorDir . '/doctrine/lexer/src'),
|
||||
'Doctrine\\Common\\Cache\\' => array($vendorDir . '/doctrine/cache/lib/Doctrine/Common/Cache'),
|
||||
'Doctrine\\Common\\' => array($vendorDir . '/doctrine/event-manager/src'),
|
||||
'Dflydev\\DotAccessData\\' => array($vendorDir . '/dflydev/dot-access-data/src'),
|
||||
'DeepCopy\\' => array($vendorDir . '/myclabs/deep-copy/src/DeepCopy'),
|
||||
'DebugBar\\' => array($vendorDir . '/maximebf/debugbar/src/DebugBar'),
|
||||
'DaveJamesMiller\\Breadcrumbs\\' => array($vendorDir . '/davejamesmiller/laravel-breadcrumbs/src'),
|
||||
'Database\\Seeders\\' => array($baseDir . '/database/seeders'),
|
||||
'Database\\Factories\\' => array($baseDir . '/database/factories'),
|
||||
'Cron\\' => array($vendorDir . '/dragonmantank/cron-expression/src/Cron'),
|
||||
'Composer\\Semver\\' => array($vendorDir . '/composer/semver/src'),
|
||||
'Composer\\CaBundle\\' => array($vendorDir . '/composer/ca-bundle/src'),
|
||||
'Complex\\' => array($vendorDir . '/markbaker/complex/classes/src'),
|
||||
'Collective\\Html\\' => array($vendorDir . '/laravelcollective/html/src'),
|
||||
@@ -126,6 +132,5 @@ return array(
|
||||
'Brick\\Math\\' => array($vendorDir . '/brick/math/src'),
|
||||
'Barryvdh\\Debugbar\\' => array($vendorDir . '/barryvdh/laravel-debugbar/src'),
|
||||
'Aws\\' => array($vendorDir . '/aws/aws-sdk-php/src'),
|
||||
'Asm89\\Stack\\' => array($vendorDir . '/asm89/stack-cors/src'),
|
||||
'App\\' => array($baseDir . '/app'),
|
||||
);
|
||||
|
14
vendor/composer/autoload_real.php
vendored
14
vendor/composer/autoload_real.php
vendored
@@ -2,7 +2,7 @@
|
||||
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInite3a664ccc4def6142d1c80482606ee61
|
||||
class ComposerAutoloaderInit10c1836cea18dd9470bc2e97275d9d56
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@@ -24,18 +24,18 @@ class ComposerAutoloaderInite3a664ccc4def6142d1c80482606ee61
|
||||
|
||||
require __DIR__ . '/platform_check.php';
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInite3a664ccc4def6142d1c80482606ee61', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit10c1836cea18dd9470bc2e97275d9d56', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInite3a664ccc4def6142d1c80482606ee61', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit10c1836cea18dd9470bc2e97275d9d56', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInite3a664ccc4def6142d1c80482606ee61::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit10c1836cea18dd9470bc2e97275d9d56::getInitializer($loader));
|
||||
|
||||
$loader->register(true);
|
||||
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInite3a664ccc4def6142d1c80482606ee61::$files;
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInit10c1836cea18dd9470bc2e97275d9d56::$files;
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequiree3a664ccc4def6142d1c80482606ee61($fileIdentifier, $file);
|
||||
composerRequire10c1836cea18dd9470bc2e97275d9d56($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
@@ -47,7 +47,7 @@ class ComposerAutoloaderInite3a664ccc4def6142d1c80482606ee61
|
||||
* @param string $file
|
||||
* @return void
|
||||
*/
|
||||
function composerRequiree3a664ccc4def6142d1c80482606ee61($fileIdentifier, $file)
|
||||
function composerRequire10c1836cea18dd9470bc2e97275d9d56($fileIdentifier, $file)
|
||||
{
|
||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
||||
|
397
vendor/composer/autoload_static.php
vendored
397
vendor/composer/autoload_static.php
vendored
@@ -4,96 +4,34 @@
|
||||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
class ComposerStaticInit10c1836cea18dd9470bc2e97275d9d56
|
||||
{
|
||||
public static $files = array (
|
||||
'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
|
||||
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
|
||||
'6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php',
|
||||
'320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
|
||||
'e69f7f6ee287b969198c3c9d6777bd38' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/bootstrap.php',
|
||||
'320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
|
||||
'7b11c4dc42b3b3023073cb14e519683c' => __DIR__ . '/..' . '/ralouphie/getallheaders/src/getallheaders.php',
|
||||
'667aeda72477189d0494fecd327c3641' => __DIR__ . '/..' . '/symfony/var-dumper/Resources/functions/dump.php',
|
||||
'0d59ee240a4cd96ddbb4ff164fccea4d' => __DIR__ . '/..' . '/symfony/polyfill-php73/bootstrap.php',
|
||||
'c964ee0ededf28c96ebd9db5099ef910' => __DIR__ . '/..' . '/guzzlehttp/promises/src/functions_include.php',
|
||||
'8825ede83f2f289127722d4e842cf7e8' => __DIR__ . '/..' . '/symfony/polyfill-intl-grapheme/bootstrap.php',
|
||||
'c964ee0ededf28c96ebd9db5099ef910' => __DIR__ . '/..' . '/guzzlehttp/promises/src/functions_include.php',
|
||||
'25072dd6e2470089de65ae7bf11d3109' => __DIR__ . '/..' . '/symfony/polyfill-php72/bootstrap.php',
|
||||
'f598d06aa772fa33d905e87be6398fb1' => __DIR__ . '/..' . '/symfony/polyfill-intl-idn/bootstrap.php',
|
||||
'b6b991a57620e2fb6b2f66f03fe9ddc2' => __DIR__ . '/..' . '/symfony/string/Resources/functions.php',
|
||||
'f598d06aa772fa33d905e87be6398fb1' => __DIR__ . '/..' . '/symfony/polyfill-intl-idn/bootstrap.php',
|
||||
'37a3dc5111fe8f707ab4c132ef1dbc62' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/functions_include.php',
|
||||
'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
|
||||
'a1105708a18b76903365ca1c4aa61b02' => __DIR__ . '/..' . '/symfony/translation/Resources/functions.php',
|
||||
'23c18046f52bef3eea034657bafda50f' => __DIR__ . '/..' . '/symfony/polyfill-php81/bootstrap.php',
|
||||
'3bd81c9b8fcc150b69d8b63b4d2ccf23' => __DIR__ . '/..' . '/spatie/flare-client-php/src/helpers.php',
|
||||
'2cffec82183ee1cea088009cef9a6fc3' => __DIR__ . '/..' . '/ezyang/htmlpurifier/library/HTMLPurifier.composer.php',
|
||||
'abede361264e2ae69ec1eee813a101af' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/abs.php',
|
||||
'21a5860fbef5be28db5ddfbc3cca67c4' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/acos.php',
|
||||
'1546e3f9d127f2a9bb2d1b6c31c26ef1' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/acosh.php',
|
||||
'd2516f7f4fba5ea5905f494b4a8262e0' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/acot.php',
|
||||
'4511163d560956219b96882c0980b65e' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/acoth.php',
|
||||
'c361f5616dc2a8da4fa3e137077cd4ea' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/acsc.php',
|
||||
'02d68920fc98da71991ce569c91df0f6' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/acsch.php',
|
||||
'88e19525eae308b4a6aa3419364875d3' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/argument.php',
|
||||
'60e8e2d0827b58bfc904f13957e51849' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/asec.php',
|
||||
'13d2f040713999eab66c359b4d79871d' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/asech.php',
|
||||
'838ab38beb32c68a79d3cd2c007d5a04' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/asin.php',
|
||||
'bb28eccd0f8f008333a1b3c163d604ac' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/asinh.php',
|
||||
'9e483de83558c98f7d3feaa402c78cb3' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/atan.php',
|
||||
'36b74b5b765ded91ee58c8ee3c0e85e3' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/atanh.php',
|
||||
'05c15ee9510da7fd6bf6136f436500c0' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/conjugate.php',
|
||||
'd3208dfbce2505e370788f9f22f6785f' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/cos.php',
|
||||
'141cf1fb3a3046f8b64534b0ebab33ca' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/cosh.php',
|
||||
'be660df75fd0dbe7fa7c03b7434b3294' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/cot.php',
|
||||
'01e31ea298a51bc9e91517e3ce6b9e76' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/coth.php',
|
||||
'803ddd97f7b1da68982a7b087c3476f6' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/csc.php',
|
||||
'3001cdfd101ec3c32da34ee43c2e149b' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/csch.php',
|
||||
'77b2d7629ef2a93fabb8c56754a91051' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/exp.php',
|
||||
'4a4471296dec796c21d4f4b6552396a9' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/inverse.php',
|
||||
'c3e9897e1744b88deb56fcdc39d34d85' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/ln.php',
|
||||
'a83cacf2de942cff288de15a83afd26d' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/log2.php',
|
||||
'6a861dacc9ee2f3061241d4c7772fa21' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/log10.php',
|
||||
'4d2522d968c8ba78d6c13548a1b4200e' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/negative.php',
|
||||
'fd587ca933fc0447fa5ab4843bdd97f7' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/pow.php',
|
||||
'383ef01c62028fc78cd4388082fce3c2' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/rho.php',
|
||||
'150fbd1b95029dc47292da97ecab9375' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/sec.php',
|
||||
'549abd9bae174286d660bdaa07407c68' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/sech.php',
|
||||
'6bfbf5eaea6b17a0ed85cb21ba80370c' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/sin.php',
|
||||
'22efe13f1a497b8e199540ae2d9dc59c' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/sinh.php',
|
||||
'e90135ab8e787795a509ed7147de207d' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/sqrt.php',
|
||||
'bb0a7923ffc6a90919cd64ec54ff06bc' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/tan.php',
|
||||
'2d302f32ce0fd4e433dd91c5bb404a28' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/tanh.php',
|
||||
'24dd4658a952171a4ee79218c4f9fd06' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/theta.php',
|
||||
'e49b7876281d6f5bc39536dde96d1f4a' => __DIR__ . '/..' . '/markbaker/complex/classes/src/operations/add.php',
|
||||
'47596e02b43cd6da7700134fd08f88cf' => __DIR__ . '/..' . '/markbaker/complex/classes/src/operations/subtract.php',
|
||||
'883af48563631547925fa4c3b48ead07' => __DIR__ . '/..' . '/markbaker/complex/classes/src/operations/multiply.php',
|
||||
'f190e3308e6ca23234a2875edc985c03' => __DIR__ . '/..' . '/markbaker/complex/classes/src/operations/divideby.php',
|
||||
'ac9e33ce6841aa5bf5d16d465a2f03a7' => __DIR__ . '/..' . '/markbaker/complex/classes/src/operations/divideinto.php',
|
||||
'3af723442581d6c310bf44543f9f5c60' => __DIR__ . '/..' . '/markbaker/matrix/classes/src/Functions/adjoint.php',
|
||||
'd803221834c8b57fec95debb5406a797' => __DIR__ . '/..' . '/markbaker/matrix/classes/src/Functions/antidiagonal.php',
|
||||
'4714cafbd3be4c72c274a25eae9396bb' => __DIR__ . '/..' . '/markbaker/matrix/classes/src/Functions/cofactors.php',
|
||||
'89719dc7c77436609d1c1c31f0797b8f' => __DIR__ . '/..' . '/markbaker/matrix/classes/src/Functions/determinant.php',
|
||||
'c28af79ec7730859d83f2d4310b8dd0b' => __DIR__ . '/..' . '/markbaker/matrix/classes/src/Functions/diagonal.php',
|
||||
'c5d82bf1ac485e445f911e55789ab4e6' => __DIR__ . '/..' . '/markbaker/matrix/classes/src/Functions/identity.php',
|
||||
'0d2d594de24a247f7a33499e933aa21e' => __DIR__ . '/..' . '/markbaker/matrix/classes/src/Functions/inverse.php',
|
||||
'f37c25880804a014ef40c8bffbab1b10' => __DIR__ . '/..' . '/markbaker/matrix/classes/src/Functions/minors.php',
|
||||
'd6e4e42171df0dbea253b3067fefda38' => __DIR__ . '/..' . '/markbaker/matrix/classes/src/Functions/trace.php',
|
||||
'2c9b19fa954fd3e6fcc7e7a1383caddd' => __DIR__ . '/..' . '/markbaker/matrix/classes/src/Functions/transpose.php',
|
||||
'0a538fc9b897450ec362480ebbebe94f' => __DIR__ . '/..' . '/markbaker/matrix/classes/src/Operations/add.php',
|
||||
'f0843f7f4089ec2343c7445544356385' => __DIR__ . '/..' . '/markbaker/matrix/classes/src/Operations/directsum.php',
|
||||
'ad3e8c29aa16d134661a414265677b61' => __DIR__ . '/..' . '/markbaker/matrix/classes/src/Operations/subtract.php',
|
||||
'8d37dad4703fab45bfec9dd0bbf3278e' => __DIR__ . '/..' . '/markbaker/matrix/classes/src/Operations/multiply.php',
|
||||
'4888a6f58c08148ebe17682f9ce9b2a8' => __DIR__ . '/..' . '/markbaker/matrix/classes/src/Operations/divideby.php',
|
||||
'eef6fa3879d3efa347cd24d5eb348f85' => __DIR__ . '/..' . '/markbaker/matrix/classes/src/Operations/divideinto.php',
|
||||
'def43f6c87e4f8dfd0c9e1b1bab14fe8' => __DIR__ . '/..' . '/symfony/polyfill-iconv/bootstrap.php',
|
||||
'9cdd7b9056abc3081735233ba9dd9c7f' => __DIR__ . '/..' . '/facade/flare-client-php/src/helpers.php',
|
||||
'b067bc7112e384b61c701452d53a14a8' => __DIR__ . '/..' . '/mtdowling/jmespath.php/src/JmesPath.php',
|
||||
'09f6b20656683369174dd6fa83b7e5fb' => __DIR__ . '/..' . '/symfony/polyfill-uuid/bootstrap.php',
|
||||
'8a9dc1de0ca7e01f3e08231539562f61' => __DIR__ . '/..' . '/aws/aws-sdk-php/src/functions.php',
|
||||
'6124b4c8570aa390c21fafd04a26c69f' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
|
||||
'538ca81a9a966a6716601ecf48f4eaef' => __DIR__ . '/..' . '/opis/closure/functions.php',
|
||||
'35a6ad97d21e794e7e22a17d806652e4' => __DIR__ . '/..' . '/nunomaduro/termwind/src/Functions.php',
|
||||
'2a3c2110e8e0295330dc3d11a4cbc4cb' => __DIR__ . '/..' . '/php-webdriver/webdriver/lib/Exception/TimeoutException.php',
|
||||
'801c31d8ed748cfa537fa45402288c95' => __DIR__ . '/..' . '/psy/psysh/src/functions.php',
|
||||
'e39a8b23c42d4e1452234d762b03835a' => __DIR__ . '/..' . '/ramsey/uuid/src/functions.php',
|
||||
'2c102faa651ef8ea5874edb585946bce' => __DIR__ . '/..' . '/swiftmailer/swiftmailer/lib/swift_required.php',
|
||||
'8a9dc1de0ca7e01f3e08231539562f61' => __DIR__ . '/..' . '/aws/aws-sdk-php/src/functions.php',
|
||||
'4a1f389d6ce373bda9e57857d3b61c84' => __DIR__ . '/..' . '/barryvdh/laravel-debugbar/src/helpers.php',
|
||||
'ed962a97bd972bc82007176b647d4e36' => __DIR__ . '/..' . '/facade/ignition/src/helpers.php',
|
||||
'265b4faa2b3a9766332744949e83bf97' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Collections/helpers.php',
|
||||
'c7a3c339e7e14b60e06a2d7fcce9476b' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Events/functions.php',
|
||||
'f0906e6318348a765ffb6eb24e0d0938' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/helpers.php',
|
||||
@@ -101,6 +39,7 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
'f18cc91337d49233e5754e93f3ed9ec3' => __DIR__ . '/..' . '/laravelcollective/html/src/helpers.php',
|
||||
'ec07570ca5a812141189b1fa81503674' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Assert/Functions.php',
|
||||
'017b24472353920ed42bb364f7653c43' => __DIR__ . '/..' . '/propaganistas/laravel-phone/src/helpers.php',
|
||||
'320163ac6b93aebe3dc25b60a0533d56' => __DIR__ . '/..' . '/spatie/laravel-ignition/src/helpers.php',
|
||||
'1e298922c3e2134d42dcdb03e6d5f55a' => __DIR__ . '/..' . '/torann/geoip/src/helpers.php',
|
||||
'0b47d6d4a00ca9112ba3953b49e7c9a4' => __DIR__ . '/..' . '/yajra/laravel-datatables-oracle/src/helper.php',
|
||||
);
|
||||
@@ -144,32 +83,31 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
'Tymon\\JWTAuth\\' => 14,
|
||||
'Torann\\GeoIP\\' => 13,
|
||||
'TijsVerkoyen\\CssToInlineStyles\\' => 31,
|
||||
'Thomaswelton\\Tests\\LaravelGravatar\\' => 35,
|
||||
'Thomaswelton\\LaravelGravatar\\' => 29,
|
||||
'Tests\\' => 6,
|
||||
'Termwind\\' => 9,
|
||||
),
|
||||
'S' =>
|
||||
array (
|
||||
'Symfony\\Polyfill\\Php81\\' => 23,
|
||||
'Symfony\\Polyfill\\Uuid\\' => 22,
|
||||
'Symfony\\Polyfill\\Php80\\' => 23,
|
||||
'Symfony\\Polyfill\\Php73\\' => 23,
|
||||
'Symfony\\Polyfill\\Php72\\' => 23,
|
||||
'Symfony\\Polyfill\\Mbstring\\' => 26,
|
||||
'Symfony\\Polyfill\\Intl\\Normalizer\\' => 33,
|
||||
'Symfony\\Polyfill\\Intl\\Idn\\' => 26,
|
||||
'Symfony\\Polyfill\\Intl\\Grapheme\\' => 31,
|
||||
'Symfony\\Polyfill\\Iconv\\' => 23,
|
||||
'Symfony\\Polyfill\\Ctype\\' => 23,
|
||||
'Symfony\\Contracts\\Translation\\' => 30,
|
||||
'Symfony\\Contracts\\Service\\' => 26,
|
||||
'Symfony\\Contracts\\EventDispatcher\\' => 34,
|
||||
'Symfony\\Component\\Yaml\\' => 23,
|
||||
'Symfony\\Component\\VarDumper\\' => 28,
|
||||
'Symfony\\Component\\Uid\\' => 22,
|
||||
'Symfony\\Component\\Translation\\' => 30,
|
||||
'Symfony\\Component\\String\\' => 25,
|
||||
'Symfony\\Component\\Routing\\' => 26,
|
||||
'Symfony\\Component\\Process\\' => 26,
|
||||
'Symfony\\Component\\Mime\\' => 23,
|
||||
'Symfony\\Component\\Mailer\\' => 25,
|
||||
'Symfony\\Component\\HttpKernel\\' => 29,
|
||||
'Symfony\\Component\\HttpFoundation\\' => 33,
|
||||
'Symfony\\Component\\Finder\\' => 25,
|
||||
@@ -178,6 +116,10 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
'Symfony\\Component\\DomCrawler\\' => 29,
|
||||
'Symfony\\Component\\CssSelector\\' => 30,
|
||||
'Symfony\\Component\\Console\\' => 26,
|
||||
'Spatie\\LaravelIgnition\\' => 23,
|
||||
'Spatie\\Ignition\\' => 16,
|
||||
'Spatie\\FlareClient\\' => 19,
|
||||
'Spatie\\Backtrace\\' => 17,
|
||||
),
|
||||
'R' =>
|
||||
array (
|
||||
@@ -193,6 +135,7 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
'Psr\\Http\\Client\\' => 16,
|
||||
'Psr\\EventDispatcher\\' => 20,
|
||||
'Psr\\Container\\' => 14,
|
||||
'Psr\\Clock\\' => 10,
|
||||
'Prophecy\\' => 9,
|
||||
'Propaganistas\\LaravelPhone\\' => 27,
|
||||
'Predis\\' => 7,
|
||||
@@ -200,10 +143,6 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
'PhpOption\\' => 10,
|
||||
'PhpOffice\\PhpSpreadsheet\\' => 25,
|
||||
),
|
||||
'O' =>
|
||||
array (
|
||||
'Opis\\Closure\\' => 13,
|
||||
),
|
||||
'N' =>
|
||||
array (
|
||||
'NunoMaduro\\Collision\\' => 21,
|
||||
@@ -216,6 +155,7 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
'Mremi\\UrlShortener\\' => 19,
|
||||
'Monolog\\' => 8,
|
||||
'Matrix\\' => 7,
|
||||
'Masterminds\\' => 12,
|
||||
'Maatwebsite\\Excel\\' => 18,
|
||||
),
|
||||
'L' =>
|
||||
@@ -223,9 +163,12 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
'League\\OAuth1\\Client\\' => 21,
|
||||
'League\\MimeTypeDetection\\' => 25,
|
||||
'League\\ISO3166\\' => 15,
|
||||
'League\\Flysystem\\AwsS3V3\\' => 25,
|
||||
'League\\Flysystem\\' => 17,
|
||||
'League\\Config\\' => 14,
|
||||
'League\\CommonMark\\' => 18,
|
||||
'Lcobucci\\JWT\\' => 13,
|
||||
'Lcobucci\\Clock\\' => 15,
|
||||
'Laravel\\Ui\\' => 11,
|
||||
'Laravel\\Tinker\\' => 15,
|
||||
'Laravel\\Socialite\\' => 18,
|
||||
@@ -249,7 +192,6 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
'GuzzleHttp\\Promise\\' => 19,
|
||||
'GuzzleHttp\\' => 11,
|
||||
'GrahamCampbell\\ResultType\\' => 26,
|
||||
'Gitonomy\\Git\\' => 13,
|
||||
'Giggsey\\Locale\\' => 15,
|
||||
),
|
||||
'F' =>
|
||||
@@ -257,9 +199,7 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
'Fruitcake\\Cors\\' => 15,
|
||||
'Faker\\' => 6,
|
||||
'Facebook\\WebDriver\\' => 19,
|
||||
'Facade\\Ignition\\' => 16,
|
||||
'Facade\\IgnitionContracts\\' => 25,
|
||||
'Facade\\FlareClient\\' => 19,
|
||||
),
|
||||
'E' =>
|
||||
array (
|
||||
@@ -275,6 +215,7 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
'Doctrine\\Common\\Lexer\\' => 22,
|
||||
'Doctrine\\Common\\Cache\\' => 22,
|
||||
'Doctrine\\Common\\' => 16,
|
||||
'Dflydev\\DotAccessData\\' => 22,
|
||||
'DeepCopy\\' => 9,
|
||||
'DebugBar\\' => 9,
|
||||
'DaveJamesMiller\\Breadcrumbs\\' => 28,
|
||||
@@ -284,6 +225,7 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
'C' =>
|
||||
array (
|
||||
'Cron\\' => 5,
|
||||
'Composer\\Semver\\' => 16,
|
||||
'Composer\\CaBundle\\' => 18,
|
||||
'Complex\\' => 8,
|
||||
'Collective\\Html\\' => 16,
|
||||
@@ -300,7 +242,6 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
'A' =>
|
||||
array (
|
||||
'Aws\\' => 4,
|
||||
'Asm89\\Stack\\' => 12,
|
||||
'App\\' => 4,
|
||||
),
|
||||
);
|
||||
@@ -356,30 +297,22 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/tijsverkoyen/css-to-inline-styles/src',
|
||||
),
|
||||
'Thomaswelton\\Tests\\LaravelGravatar\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/thomaswelton/laravel-gravatar/tests',
|
||||
),
|
||||
'Thomaswelton\\LaravelGravatar\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/thomaswelton/laravel-gravatar/src',
|
||||
),
|
||||
'Tests\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/../..' . '/tests',
|
||||
),
|
||||
'Symfony\\Polyfill\\Php81\\' =>
|
||||
'Termwind\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/symfony/polyfill-php81',
|
||||
0 => __DIR__ . '/..' . '/nunomaduro/termwind/src',
|
||||
),
|
||||
'Symfony\\Polyfill\\Uuid\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/symfony/polyfill-uuid',
|
||||
),
|
||||
'Symfony\\Polyfill\\Php80\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/symfony/polyfill-php80',
|
||||
),
|
||||
'Symfony\\Polyfill\\Php73\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/symfony/polyfill-php73',
|
||||
),
|
||||
'Symfony\\Polyfill\\Php72\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/symfony/polyfill-php72',
|
||||
@@ -400,10 +333,6 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/symfony/polyfill-intl-grapheme',
|
||||
),
|
||||
'Symfony\\Polyfill\\Iconv\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/symfony/polyfill-iconv',
|
||||
),
|
||||
'Symfony\\Polyfill\\Ctype\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/symfony/polyfill-ctype',
|
||||
@@ -428,6 +357,10 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/symfony/var-dumper',
|
||||
),
|
||||
'Symfony\\Component\\Uid\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/symfony/uid',
|
||||
),
|
||||
'Symfony\\Component\\Translation\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/symfony/translation',
|
||||
@@ -448,6 +381,10 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/symfony/mime',
|
||||
),
|
||||
'Symfony\\Component\\Mailer\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/symfony/mailer',
|
||||
),
|
||||
'Symfony\\Component\\HttpKernel\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/symfony/http-kernel',
|
||||
@@ -480,6 +417,22 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/symfony/console',
|
||||
),
|
||||
'Spatie\\LaravelIgnition\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/spatie/laravel-ignition/src',
|
||||
),
|
||||
'Spatie\\Ignition\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/spatie/ignition/src',
|
||||
),
|
||||
'Spatie\\FlareClient\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/spatie/flare-client-php/src',
|
||||
),
|
||||
'Spatie\\Backtrace\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/spatie/backtrace/src',
|
||||
),
|
||||
'Ramsey\\Uuid\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/ramsey/uuid/src',
|
||||
@@ -498,7 +451,7 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
),
|
||||
'Psr\\Log\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/psr/log/Psr/Log',
|
||||
0 => __DIR__ . '/..' . '/psr/log/src',
|
||||
),
|
||||
'Psr\\Http\\Message\\' =>
|
||||
array (
|
||||
@@ -517,6 +470,10 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/psr/container/src',
|
||||
),
|
||||
'Psr\\Clock\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/psr/clock/src',
|
||||
),
|
||||
'Prophecy\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy',
|
||||
@@ -541,10 +498,6 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/phpoffice/phpspreadsheet/src/PhpSpreadsheet',
|
||||
),
|
||||
'Opis\\Closure\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/opis/closure/src',
|
||||
),
|
||||
'NunoMaduro\\Collision\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/nunomaduro/collision/src',
|
||||
@@ -573,6 +526,10 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/markbaker/matrix/classes/src',
|
||||
),
|
||||
'Masterminds\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/masterminds/html5/src',
|
||||
),
|
||||
'Maatwebsite\\Excel\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/maatwebsite/excel/src',
|
||||
@@ -589,10 +546,18 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/league/iso3166/src',
|
||||
),
|
||||
'League\\Flysystem\\AwsS3V3\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/league/flysystem-aws-s3-v3',
|
||||
),
|
||||
'League\\Flysystem\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/league/flysystem/src',
|
||||
),
|
||||
'League\\Config\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/league/config/src',
|
||||
),
|
||||
'League\\CommonMark\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/league/commonmark/src',
|
||||
@@ -601,6 +566,10 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/lcobucci/jwt/src',
|
||||
),
|
||||
'Lcobucci\\Clock\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/lcobucci/clock/src',
|
||||
),
|
||||
'Laravel\\Ui\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/laravel/ui/src',
|
||||
@@ -633,6 +602,7 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Macroable',
|
||||
1 => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Collections',
|
||||
2 => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Conditionable',
|
||||
),
|
||||
'Illuminate\\Foundation\\Auth\\' =>
|
||||
array (
|
||||
@@ -658,17 +628,13 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/graham-campbell/result-type/src',
|
||||
),
|
||||
'Gitonomy\\Git\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/gitonomy/gitlib/src/Gitonomy/Git',
|
||||
),
|
||||
'Giggsey\\Locale\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/giggsey/locale/src',
|
||||
),
|
||||
'Fruitcake\\Cors\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/fruitcake/laravel-cors/src',
|
||||
0 => __DIR__ . '/..' . '/fruitcake/php-cors/src',
|
||||
),
|
||||
'Faker\\' =>
|
||||
array (
|
||||
@@ -678,18 +644,10 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/php-webdriver/webdriver/lib',
|
||||
),
|
||||
'Facade\\Ignition\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/facade/ignition/src',
|
||||
),
|
||||
'Facade\\IgnitionContracts\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/facade/ignition-contracts/src',
|
||||
),
|
||||
'Facade\\FlareClient\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/facade/flare-client-php/src',
|
||||
),
|
||||
'Egulias\\EmailValidator\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/egulias/email-validator/src',
|
||||
@@ -716,7 +674,7 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
),
|
||||
'Doctrine\\Common\\Lexer\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/doctrine/lexer/lib/Doctrine/Common/Lexer',
|
||||
0 => __DIR__ . '/..' . '/doctrine/lexer/src',
|
||||
),
|
||||
'Doctrine\\Common\\Cache\\' =>
|
||||
array (
|
||||
@@ -726,6 +684,10 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/doctrine/event-manager/src',
|
||||
),
|
||||
'Dflydev\\DotAccessData\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/dflydev/dot-access-data/src',
|
||||
),
|
||||
'DeepCopy\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy',
|
||||
@@ -750,6 +712,10 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/dragonmantank/cron-expression/src/Cron',
|
||||
),
|
||||
'Composer\\Semver\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/composer/semver/src',
|
||||
),
|
||||
'Composer\\CaBundle\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/composer/ca-bundle/src',
|
||||
@@ -790,10 +756,6 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/aws/aws-sdk-php/src',
|
||||
),
|
||||
'Asm89\\Stack\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/asm89/stack-cors/src',
|
||||
),
|
||||
'App\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/../..' . '/app',
|
||||
@@ -801,13 +763,6 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
);
|
||||
|
||||
public static $prefixesPsr0 = array (
|
||||
't' =>
|
||||
array (
|
||||
'thomaswelton\\GravatarLib\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/thomaswelton/gravatarlib',
|
||||
),
|
||||
),
|
||||
'P' =>
|
||||
array (
|
||||
'PhpSpec' =>
|
||||
@@ -879,29 +834,7 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
'AWS\\CRT\\Options' => __DIR__ . '/..' . '/aws/aws-crt-php/src/AWS/CRT/Options.php',
|
||||
'Absolute_Positioner' => __DIR__ . '/..' . '/dompdf/dompdf/include/absolute_positioner.cls.php',
|
||||
'Abstract_Renderer' => __DIR__ . '/..' . '/dompdf/dompdf/include/abstract_renderer.cls.php',
|
||||
'AddForeignKeysToCannedResponseTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_canned_response_table.php',
|
||||
'AddForeignKeysToDepartmentTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_department_table.php',
|
||||
'AddForeignKeysToEmailsTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_emails_table.php',
|
||||
'AddForeignKeysToGroupAssignDepartmentTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_group_assign_department_table.php',
|
||||
'AddForeignKeysToHelpTopicTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_help_topic_table.php',
|
||||
'AddForeignKeysToKbArticleRelationshipTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_kb_article_relationship_table.php',
|
||||
'AddForeignKeysToKbCommentTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_kb_comment_table.php',
|
||||
'AddForeignKeysToOrganizationTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_organization_table.php',
|
||||
'AddForeignKeysToSettingsSystemTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_settings_system_table.php',
|
||||
'AddForeignKeysToTeamAssignAgentTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_team_assign_agent_table.php',
|
||||
'AddForeignKeysToTeamsTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_teams_table.php',
|
||||
'AddForeignKeysToTicketAttachmentTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_ticket_attachment_table.php',
|
||||
'AddForeignKeysToTicketCollaboratorTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_ticket_collaborator_table.php',
|
||||
'AddForeignKeysToTicketFormDataTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_ticket_form_data_table.php',
|
||||
'AddForeignKeysToTicketThreadTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_ticket_thread_table.php',
|
||||
'AddForeignKeysToTicketsTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_tickets_table.php',
|
||||
'AddForeignKeysToUserAssignOrganizationTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_user_assign_organization_table.php',
|
||||
'AddForeignKeysToUsersTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140454_add_foreign_keys_to_users_table.php',
|
||||
'AddUuidToFailedJobsTable' => __DIR__ . '/../..' . '/database/migrations/2023_01_07_000000_add_uuid_to_failed_jobs_table.php',
|
||||
'Adobe_Font_Metrics' => __DIR__ . '/..' . '/phenx/php-font-lib/classes/Adobe_Font_Metrics.php',
|
||||
'AlterEmailsTableMakeUsernameColumnNullable' => __DIR__ . '/../..' . '/database/migrations/2018_08_13_075015_alter_emails_table_make_username_column_nullable.php',
|
||||
'AlterTicketSourceTable' => __DIR__ . '/../..' . '/database/migrations/2016_08_16_104539_alter_ticket_source_table.php',
|
||||
'AlterUsersTableAddUserLanguageColumn' => __DIR__ . '/../..' . '/database/migrations/2018_08_08_094653_alter_users_table_add_user_language_column.php',
|
||||
'Attribute' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/Attribute.php',
|
||||
'Attribute_Translator' => __DIR__ . '/..' . '/dompdf/dompdf/include/attribute_translator.cls.php',
|
||||
'Block_Frame_Decorator' => __DIR__ . '/..' . '/dompdf/dompdf/include/block_frame_decorator.cls.php',
|
||||
@@ -914,96 +847,7 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
'Canvas' => __DIR__ . '/..' . '/dompdf/dompdf/include/canvas.cls.php',
|
||||
'Canvas_Factory' => __DIR__ . '/..' . '/dompdf/dompdf/include/canvas_factory.cls.php',
|
||||
'Cellmap' => __DIR__ . '/..' . '/dompdf/dompdf/include/cellmap.cls.php',
|
||||
'Codacy\\Coverage\\Application' => __DIR__ . '/..' . '/codacy/coverage/src/Codacy/Coverage/Application.php',
|
||||
'Codacy\\Coverage\\Command\\Clover' => __DIR__ . '/..' . '/codacy/coverage/src/Codacy/Coverage/Command/Clover.php',
|
||||
'Codacy\\Coverage\\Command\\Phpunit' => __DIR__ . '/..' . '/codacy/coverage/src/Codacy/Coverage/Command/Phpunit.php',
|
||||
'Codacy\\Coverage\\Parser\\CloverParser' => __DIR__ . '/..' . '/codacy/coverage/src/Codacy/Coverage/Parser/CloverParser.php',
|
||||
'Codacy\\Coverage\\Parser\\IParser' => __DIR__ . '/..' . '/codacy/coverage/src/Codacy/Coverage/Parser/Parser.php',
|
||||
'Codacy\\Coverage\\Parser\\PhpUnitXmlParser' => __DIR__ . '/..' . '/codacy/coverage/src/Codacy/Coverage/Parser/PhpUnitXmlParser.php',
|
||||
'Codacy\\Coverage\\Parser\\XMLParser' => __DIR__ . '/..' . '/codacy/coverage/src/Codacy/Coverage/Parser/Parser.php',
|
||||
'Codacy\\Coverage\\Report\\CoverageReport' => __DIR__ . '/..' . '/codacy/coverage/src/Codacy/Coverage/Report/CoverageReport.php',
|
||||
'Codacy\\Coverage\\Report\\FileReport' => __DIR__ . '/..' . '/codacy/coverage/src/Codacy/Coverage/Report/FileReport.php',
|
||||
'Codacy\\Coverage\\Util\\CodacyApiClient' => __DIR__ . '/..' . '/codacy/coverage/src/Codacy/Coverage/Util/CodacyApiClient.php',
|
||||
'Codacy\\Coverage\\Util\\GitClient' => __DIR__ . '/..' . '/codacy/coverage/src/Codacy/Coverage/Util/GitClient.php',
|
||||
'Codacy\\Coverage\\Util\\JsonProducer' => __DIR__ . '/..' . '/codacy/coverage/src/Codacy/Coverage/Util/JsonProducer.php',
|
||||
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
|
||||
'CreateApiSettingsTable' => __DIR__ . '/../..' . '/database/migrations/2016_05_11_105244_create_api_settings_table.php',
|
||||
'CreateBanlistTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_banlist_table.php',
|
||||
'CreateBarNotificationsTable' => __DIR__ . '/../..' . '/database/migrations/2016_05_10_102604_create_bar_notifications_table.php',
|
||||
'CreateCannedResponseTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_canned_response_table.php',
|
||||
'CreateCommonSettingsTable' => __DIR__ . '/../..' . '/database/migrations/2016_06_02_072210_create_common_settings_table.php',
|
||||
'CreateConditionsTable' => __DIR__ . '/../..' . '/database/migrations/2016_07_29_113012_create_conditions_table.php',
|
||||
'CreateCountryCodeTable' => __DIR__ . '/../..' . '/database/migrations/2016_05_10_102423_create_country_code_table.php',
|
||||
'CreateCustomFormFieldsTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_custom_form_fields_table.php',
|
||||
'CreateCustomFormsTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_custom_forms_table.php',
|
||||
'CreateDateFormatTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_date_format_table.php',
|
||||
'CreateDateTimeFormatTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_date_time_format_table.php',
|
||||
'CreateDepartmentTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_department_table.php',
|
||||
'CreateEmailsTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_emails_table.php',
|
||||
'CreateFailedJobsTable' => __DIR__ . '/../..' . '/database/migrations/2016_07_02_051439_create_failed_jobs_table.php',
|
||||
'CreateFaveoMailsTable' => __DIR__ . '/../..' . '/database/migrations/2016_07_26_084458_create_faveo_mails_table.php',
|
||||
'CreateFaveoQueuesTable' => __DIR__ . '/../..' . '/database/migrations/2016_07_26_090201_create_faveo_queues_table.php',
|
||||
'CreateFieldValuesTable' => __DIR__ . '/../..' . '/database/migrations/2016_07_19_071910_create_field_values_table.php',
|
||||
'CreateGroupAssignDepartmentTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_group_assign_department_table.php',
|
||||
'CreateGroupsTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_groups_table.php',
|
||||
'CreateHelpTopicTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_help_topic_table.php',
|
||||
'CreateJobsTable' => __DIR__ . '/../..' . '/database/migrations/2016_07_02_051247_create_jobs_table.php',
|
||||
'CreateKbArticleRelationshipTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_kb_article_relationship_table.php',
|
||||
'CreateKbArticleTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_kb_article_table.php',
|
||||
'CreateKbCategoryTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_kb_category_table.php',
|
||||
'CreateKbCommentTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_kb_comment_table.php',
|
||||
'CreateKbPagesTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_kb_pages_table.php',
|
||||
'CreateKbSettingsTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_kb_settings_table.php',
|
||||
'CreateLanguagesTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_languages_table.php',
|
||||
'CreateLogNotificationTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_log_notification_table.php',
|
||||
'CreateLoginAttemptsTable' => __DIR__ . '/../..' . '/database/migrations/2016_06_02_074913_create_login_attempts_table.php',
|
||||
'CreateMailServicesTable' => __DIR__ . '/../..' . '/database/migrations/2016_07_26_094753_create_mail_services_table.php',
|
||||
'CreateMailboxProtocolTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_mailbox_protocol_table.php',
|
||||
'CreateNotificationTypesTable' => __DIR__ . '/../..' . '/database/migrations/2016_03_31_061534_create_notification_types_table.php',
|
||||
'CreateNotificationsTable' => __DIR__ . '/../..' . '/database/migrations/2016_03_31_061239_create_notifications_table.php',
|
||||
'CreateOrganizationTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_organization_table.php',
|
||||
'CreatePasswordResetsTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_password_resets_table.php',
|
||||
'CreatePluginsTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_plugins_table.php',
|
||||
'CreateQueueServicesTable' => __DIR__ . '/../..' . '/database/migrations/2016_07_26_095020_create_queue_services_table.php',
|
||||
'CreateRatingRefTable' => __DIR__ . '/../..' . '/database/migrations/2016_06_02_081020_create_rating_ref_table.php',
|
||||
'CreateRatingsTable' => __DIR__ . '/../..' . '/database/migrations/2016_06_02_080005_create_ratings_table.php',
|
||||
'CreateSettingsAlertNoticeTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_settings_alert_notice_table.php',
|
||||
'CreateSettingsAutoResponseTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_settings_auto_response_table.php',
|
||||
'CreateSettingsCompanyTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_settings_company_table.php',
|
||||
'CreateSettingsEmailTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_settings_email_table.php',
|
||||
'CreateSettingsRatingsTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_settings_ratings_table.php',
|
||||
'CreateSettingsSecurityTable' => __DIR__ . '/../..' . '/database/migrations/2016_06_02_090225_create_settings_security_table.php',
|
||||
'CreateSettingsSystemTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_settings_system_table.php',
|
||||
'CreateSettingsTicketTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_settings_ticket_table.php',
|
||||
'CreateSlaPlanTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_sla_plan_table.php',
|
||||
'CreateSocialMediaTable' => __DIR__ . '/../..' . '/database/migrations/2016_08_08_095744_create_social_media_table.php',
|
||||
'CreateTeamAssignAgentTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_team_assign_agent_table.php',
|
||||
'CreateTeamsTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_teams_table.php',
|
||||
'CreateTemplateSetsTable' => __DIR__ . '/../..' . '/database/migrations/2016_06_02_094409_create_template_sets_table.php',
|
||||
'CreateTemplateTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_template_table.php',
|
||||
'CreateTemplateTypesTable' => __DIR__ . '/../..' . '/database/migrations/2016_06_02_094420_create_template_types_table.php',
|
||||
'CreateTemplatesTable' => __DIR__ . '/../..' . '/database/migrations/2016_06_02_090628_create_templates_table.php',
|
||||
'CreateTicketAttachmentTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_ticket_attachment_table.php',
|
||||
'CreateTicketCollaboratorTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_ticket_collaborator_table.php',
|
||||
'CreateTicketFormDataTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_ticket_form_data_table.php',
|
||||
'CreateTicketPriorityTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_ticket_priority_table.php',
|
||||
'CreateTicketSourceTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_ticket_source_table.php',
|
||||
'CreateTicketStatusTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_ticket_status_table.php',
|
||||
'CreateTicketThreadTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_ticket_thread_table.php',
|
||||
'CreateTicketTokenTable' => __DIR__ . '/../..' . '/database/migrations/2016_06_02_095357_create_ticket_token_table.php',
|
||||
'CreateTicketsTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_tickets_table.php',
|
||||
'CreateTimeFormatTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_time_format_table.php',
|
||||
'CreateTimezoneTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_timezone_table.php',
|
||||
'CreateUserAdditionalInfosTable' => __DIR__ . '/../..' . '/database/migrations/2016_08_12_104410_create_user_additional_infos_table.php',
|
||||
'CreateUserAssignOrganizationTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_user_assign_organization_table.php',
|
||||
'CreateUserNotificationTable' => __DIR__ . '/../..' . '/database/migrations/2016_03_31_061740_create_user_notification_table.php',
|
||||
'CreateUsersTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_users_table.php',
|
||||
'CreateVersionCheckTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_version_check_table.php',
|
||||
'CreateWidgetsTable' => __DIR__ . '/../..' . '/database/migrations/2016_02_16_140450_create_widgets_table.php',
|
||||
'CreateWorkflowActionTable' => __DIR__ . '/../..' . '/database/migrations/2016_04_18_115908_create_workflow_action_table.php',
|
||||
'CreateWorkflowCloseTable' => __DIR__ . '/../..' . '/database/migrations/2016_05_19_055008_create_workflow_close_table.php',
|
||||
'CreateWorkflowNameTable' => __DIR__ . '/../..' . '/database/migrations/2016_04_18_115852_create_workflow_name_table.php',
|
||||
'CreateWorkflowRuleTable' => __DIR__ . '/../..' . '/database/migrations/2016_04_18_115900_create_workflow_rule_table.php',
|
||||
'DOMPDF' => __DIR__ . '/..' . '/dompdf/dompdf/include/dompdf.cls.php',
|
||||
'DOMPDF_Exception' => __DIR__ . '/..' . '/dompdf/dompdf/include/dompdf_exception.cls.php',
|
||||
'DOMPDF_Image_Exception' => __DIR__ . '/..' . '/dompdf/dompdf/include/dompdf_image_exception.cls.php',
|
||||
@@ -1133,13 +977,68 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
'Inline_Positioner' => __DIR__ . '/..' . '/dompdf/dompdf/include/inline_positioner.cls.php',
|
||||
'Inline_Renderer' => __DIR__ . '/..' . '/dompdf/dompdf/include/inline_renderer.cls.php',
|
||||
'Javascript_Embedder' => __DIR__ . '/..' . '/dompdf/dompdf/include/javascript_embedder.cls.php',
|
||||
'JsonException' => __DIR__ . '/..' . '/symfony/polyfill-php73/Resources/stubs/JsonException.php',
|
||||
'Line_Box' => __DIR__ . '/..' . '/dompdf/dompdf/include/line_box.cls.php',
|
||||
'List_Bullet_Frame_Decorator' => __DIR__ . '/..' . '/dompdf/dompdf/include/list_bullet_frame_decorator.cls.php',
|
||||
'List_Bullet_Frame_Reflower' => __DIR__ . '/..' . '/dompdf/dompdf/include/list_bullet_frame_reflower.cls.php',
|
||||
'List_Bullet_Image_Frame_Decorator' => __DIR__ . '/..' . '/dompdf/dompdf/include/list_bullet_image_frame_decorator.cls.php',
|
||||
'List_Bullet_Positioner' => __DIR__ . '/..' . '/dompdf/dompdf/include/list_bullet_positioner.cls.php',
|
||||
'List_Bullet_Renderer' => __DIR__ . '/..' . '/dompdf/dompdf/include/list_bullet_renderer.cls.php',
|
||||
'Nette\\ArgumentOutOfRangeException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php',
|
||||
'Nette\\DeprecatedException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php',
|
||||
'Nette\\DirectoryNotFoundException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php',
|
||||
'Nette\\FileNotFoundException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php',
|
||||
'Nette\\HtmlStringable' => __DIR__ . '/..' . '/nette/utils/src/HtmlStringable.php',
|
||||
'Nette\\IOException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php',
|
||||
'Nette\\InvalidArgumentException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php',
|
||||
'Nette\\InvalidStateException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php',
|
||||
'Nette\\Iterators\\CachingIterator' => __DIR__ . '/..' . '/nette/utils/src/Iterators/CachingIterator.php',
|
||||
'Nette\\Iterators\\Mapper' => __DIR__ . '/..' . '/nette/utils/src/Iterators/Mapper.php',
|
||||
'Nette\\Localization\\ITranslator' => __DIR__ . '/..' . '/nette/utils/src/compatibility.php',
|
||||
'Nette\\Localization\\Translator' => __DIR__ . '/..' . '/nette/utils/src/Translator.php',
|
||||
'Nette\\MemberAccessException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php',
|
||||
'Nette\\NotImplementedException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php',
|
||||
'Nette\\NotSupportedException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php',
|
||||
'Nette\\OutOfRangeException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php',
|
||||
'Nette\\Schema\\Context' => __DIR__ . '/..' . '/nette/schema/src/Schema/Context.php',
|
||||
'Nette\\Schema\\DynamicParameter' => __DIR__ . '/..' . '/nette/schema/src/Schema/DynamicParameter.php',
|
||||
'Nette\\Schema\\Elements\\AnyOf' => __DIR__ . '/..' . '/nette/schema/src/Schema/Elements/AnyOf.php',
|
||||
'Nette\\Schema\\Elements\\Base' => __DIR__ . '/..' . '/nette/schema/src/Schema/Elements/Base.php',
|
||||
'Nette\\Schema\\Elements\\Structure' => __DIR__ . '/..' . '/nette/schema/src/Schema/Elements/Structure.php',
|
||||
'Nette\\Schema\\Elements\\Type' => __DIR__ . '/..' . '/nette/schema/src/Schema/Elements/Type.php',
|
||||
'Nette\\Schema\\Expect' => __DIR__ . '/..' . '/nette/schema/src/Schema/Expect.php',
|
||||
'Nette\\Schema\\Helpers' => __DIR__ . '/..' . '/nette/schema/src/Schema/Helpers.php',
|
||||
'Nette\\Schema\\Message' => __DIR__ . '/..' . '/nette/schema/src/Schema/Message.php',
|
||||
'Nette\\Schema\\Processor' => __DIR__ . '/..' . '/nette/schema/src/Schema/Processor.php',
|
||||
'Nette\\Schema\\Schema' => __DIR__ . '/..' . '/nette/schema/src/Schema/Schema.php',
|
||||
'Nette\\Schema\\ValidationException' => __DIR__ . '/..' . '/nette/schema/src/Schema/ValidationException.php',
|
||||
'Nette\\SmartObject' => __DIR__ . '/..' . '/nette/utils/src/SmartObject.php',
|
||||
'Nette\\StaticClass' => __DIR__ . '/..' . '/nette/utils/src/StaticClass.php',
|
||||
'Nette\\UnexpectedValueException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php',
|
||||
'Nette\\Utils\\ArrayHash' => __DIR__ . '/..' . '/nette/utils/src/Utils/ArrayHash.php',
|
||||
'Nette\\Utils\\ArrayList' => __DIR__ . '/..' . '/nette/utils/src/Utils/ArrayList.php',
|
||||
'Nette\\Utils\\Arrays' => __DIR__ . '/..' . '/nette/utils/src/Utils/Arrays.php',
|
||||
'Nette\\Utils\\AssertionException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php',
|
||||
'Nette\\Utils\\Callback' => __DIR__ . '/..' . '/nette/utils/src/Utils/Callback.php',
|
||||
'Nette\\Utils\\DateTime' => __DIR__ . '/..' . '/nette/utils/src/Utils/DateTime.php',
|
||||
'Nette\\Utils\\FileSystem' => __DIR__ . '/..' . '/nette/utils/src/Utils/FileSystem.php',
|
||||
'Nette\\Utils\\Floats' => __DIR__ . '/..' . '/nette/utils/src/Utils/Floats.php',
|
||||
'Nette\\Utils\\Helpers' => __DIR__ . '/..' . '/nette/utils/src/Utils/Helpers.php',
|
||||
'Nette\\Utils\\Html' => __DIR__ . '/..' . '/nette/utils/src/Utils/Html.php',
|
||||
'Nette\\Utils\\IHtmlString' => __DIR__ . '/..' . '/nette/utils/src/compatibility.php',
|
||||
'Nette\\Utils\\Image' => __DIR__ . '/..' . '/nette/utils/src/Utils/Image.php',
|
||||
'Nette\\Utils\\ImageException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php',
|
||||
'Nette\\Utils\\Json' => __DIR__ . '/..' . '/nette/utils/src/Utils/Json.php',
|
||||
'Nette\\Utils\\JsonException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php',
|
||||
'Nette\\Utils\\ObjectHelpers' => __DIR__ . '/..' . '/nette/utils/src/Utils/ObjectHelpers.php',
|
||||
'Nette\\Utils\\ObjectMixin' => __DIR__ . '/..' . '/nette/utils/src/Utils/ObjectMixin.php',
|
||||
'Nette\\Utils\\Paginator' => __DIR__ . '/..' . '/nette/utils/src/Utils/Paginator.php',
|
||||
'Nette\\Utils\\Random' => __DIR__ . '/..' . '/nette/utils/src/Utils/Random.php',
|
||||
'Nette\\Utils\\Reflection' => __DIR__ . '/..' . '/nette/utils/src/Utils/Reflection.php',
|
||||
'Nette\\Utils\\RegexpException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php',
|
||||
'Nette\\Utils\\Strings' => __DIR__ . '/..' . '/nette/utils/src/Utils/Strings.php',
|
||||
'Nette\\Utils\\Type' => __DIR__ . '/..' . '/nette/utils/src/Utils/Type.php',
|
||||
'Nette\\Utils\\UnknownImageFileException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php',
|
||||
'Nette\\Utils\\Validators' => __DIR__ . '/..' . '/nette/utils/src/Utils/Validators.php',
|
||||
'Normalizer' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php',
|
||||
'Null_Frame_Decorator' => __DIR__ . '/..' . '/dompdf/dompdf/include/null_frame_decorator.cls.php',
|
||||
'Null_Frame_Reflower' => __DIR__ . '/..' . '/dompdf/dompdf/include/null_frame_reflower.cls.php',
|
||||
@@ -1571,7 +1470,6 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
'PhpToken' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/PhpToken.php',
|
||||
'Positioner' => __DIR__ . '/..' . '/dompdf/dompdf/include/positioner.cls.php',
|
||||
'Renderer' => __DIR__ . '/..' . '/dompdf/dompdf/include/renderer.cls.php',
|
||||
'ReturnTypeWillChange' => __DIR__ . '/..' . '/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php',
|
||||
'SebastianBergmann\\CliParser\\AmbiguousOptionException' => __DIR__ . '/..' . '/sebastian/cli-parser/src/exceptions/AmbiguousOptionException.php',
|
||||
'SebastianBergmann\\CliParser\\Exception' => __DIR__ . '/..' . '/sebastian/cli-parser/src/exceptions/Exception.php',
|
||||
'SebastianBergmann\\CliParser\\OptionDoesNotAllowArgumentException' => __DIR__ . '/..' . '/sebastian/cli-parser/src/exceptions/OptionDoesNotAllowArgumentException.php',
|
||||
@@ -1802,16 +1700,15 @@ class ComposerStaticInite3a664ccc4def6142d1c80482606ee61
|
||||
'TheSeer\\Tokenizer\\XMLSerializer' => __DIR__ . '/..' . '/theseer/tokenizer/src/XMLSerializer.php',
|
||||
'UnhandledMatchError' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php',
|
||||
'ValueError' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/ValueError.php',
|
||||
'Version1079table' => __DIR__ . '/../..' . '/database/migrations/2016_06_28_141613_version1079table.php',
|
||||
);
|
||||
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInite3a664ccc4def6142d1c80482606ee61::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInite3a664ccc4def6142d1c80482606ee61::$prefixDirsPsr4;
|
||||
$loader->prefixesPsr0 = ComposerStaticInite3a664ccc4def6142d1c80482606ee61::$prefixesPsr0;
|
||||
$loader->classMap = ComposerStaticInite3a664ccc4def6142d1c80482606ee61::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit10c1836cea18dd9470bc2e97275d9d56::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit10c1836cea18dd9470bc2e97275d9d56::$prefixDirsPsr4;
|
||||
$loader->prefixesPsr0 = ComposerStaticInit10c1836cea18dd9470bc2e97275d9d56::$prefixesPsr0;
|
||||
$loader->classMap = ComposerStaticInit10c1836cea18dd9470bc2e97275d9d56::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
3496
vendor/composer/installed.json
vendored
3496
vendor/composer/installed.json
vendored
File diff suppressed because it is too large
Load Diff
597
vendor/composer/installed.php
vendored
597
vendor/composer/installed.php
vendored
File diff suppressed because it is too large
Load Diff
4
vendor/composer/platform_check.php
vendored
4
vendor/composer/platform_check.php
vendored
@@ -4,8 +4,8 @@
|
||||
|
||||
$issues = array();
|
||||
|
||||
if (!(PHP_VERSION_ID >= 70300)) {
|
||||
$issues[] = 'Your Composer dependencies require a PHP version ">= 7.3.0". You are running ' . PHP_VERSION . '.';
|
||||
if (!(PHP_VERSION_ID >= 80100)) {
|
||||
$issues[] = 'Your Composer dependencies require a PHP version ">= 8.1.0". You are running ' . PHP_VERSION . '.';
|
||||
}
|
||||
|
||||
if ($issues) {
|
||||
|
209
vendor/composer/semver/CHANGELOG.md
vendored
Normal file
209
vendor/composer/semver/CHANGELOG.md
vendored
Normal file
@@ -0,0 +1,209 @@
|
||||
# Change Log
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
### [3.3.2] 2022-04-01
|
||||
|
||||
* Fixed handling of non-string values (#134)
|
||||
|
||||
### [3.3.1] 2022-03-16
|
||||
|
||||
* Fixed possible cache key clash in the CompilingMatcher memoization (#132)
|
||||
|
||||
### [3.3.0] 2022-03-15
|
||||
|
||||
* Improved performance of CompilingMatcher by memoizing more (#131)
|
||||
* Added CompilingMatcher::clear to clear all memoization caches
|
||||
|
||||
### [3.2.9] 2022-02-04
|
||||
|
||||
* Revert #129 (Fixed MultiConstraint with MatchAllConstraint) which caused regressions
|
||||
|
||||
### [3.2.8] 2022-02-04
|
||||
|
||||
* Updates to latest phpstan / CI by @Seldaek in https://github.com/composer/semver/pull/130
|
||||
* Fixed MultiConstraint with MatchAllConstraint by @Toflar in https://github.com/composer/semver/pull/129
|
||||
|
||||
### [3.2.7] 2022-01-04
|
||||
|
||||
* Fixed: typo in type definition of Intervals class causing issues with Psalm scanning vendors
|
||||
|
||||
### [3.2.6] 2021-10-25
|
||||
|
||||
* Fixed: type improvements to parseStability
|
||||
|
||||
### [3.2.5] 2021-05-24
|
||||
|
||||
* Fixed: issue comparing disjunctive MultiConstraints to conjunctive ones (#127)
|
||||
* Fixed: added complete type information using phpstan annotations
|
||||
|
||||
### [3.2.4] 2020-11-13
|
||||
|
||||
* Fixed: code clean-up
|
||||
|
||||
### [3.2.3] 2020-11-12
|
||||
|
||||
* Fixed: constraints in the form of `X || Y, >=Y.1` and other such complex constructs were in some cases being optimized into a more restrictive constraint
|
||||
|
||||
### [3.2.2] 2020-10-14
|
||||
|
||||
* Fixed: internal code cleanups
|
||||
|
||||
### [3.2.1] 2020-09-27
|
||||
|
||||
* Fixed: accidental validation of broken constraints combining ^/~ and wildcards, and -dev suffix allowing weird cases
|
||||
* Fixed: normalization of beta0 and such which was dropping the 0
|
||||
|
||||
### [3.2.0] 2020-09-09
|
||||
|
||||
* Added: support for `x || @dev`, not very useful but seen in the wild and failed to validate with 1.5.2/1.6.0
|
||||
* Added: support for `foobar-dev` being equal to `dev-foobar`, dev-foobar is the official way to write it but we need to support the other for BC and convenience
|
||||
|
||||
### [3.1.0] 2020-09-08
|
||||
|
||||
* Added: support for constraints like `^2.x-dev` and `~2.x-dev`, not very useful but seen in the wild and failed to validate with 3.0.1
|
||||
* Fixed: invalid aliases will no longer throw, unless explicitly validated by Composer in the root package
|
||||
|
||||
### [3.0.1] 2020-09-08
|
||||
|
||||
* Fixed: handling of some invalid -dev versions which were seen as valid
|
||||
|
||||
### [3.0.0] 2020-05-26
|
||||
|
||||
* Break: Renamed `EmptyConstraint`, replace it with `MatchAllConstraint`
|
||||
* Break: Unlikely to affect anyone but strictly speaking a breaking change, `*.*` and such variants will not match all `dev-*` versions anymore, only `*` does
|
||||
* Break: ConstraintInterface is now considered internal/private and not meant to be implemented by third parties anymore
|
||||
* Added `Intervals` class to check if a constraint is a subsets of another one, and allow compacting complex MultiConstraints into simpler ones
|
||||
* Added `CompilingMatcher` class to speed up constraint matching against simple Constraint instances
|
||||
* Added `MatchAllConstraint` and `MatchNoneConstraint` which match everything and nothing
|
||||
* Added more advanced optimization of contiguous constraints inside MultiConstraint
|
||||
* Added tentative support for PHP 8
|
||||
* Fixed ConstraintInterface::matches to be commutative in all cases
|
||||
|
||||
### [2.0.0] 2020-04-21
|
||||
|
||||
* Break: `dev-master`, `dev-trunk` and `dev-default` now normalize to `dev-master`, `dev-trunk` and `dev-default` instead of `9999999-dev` in 1.x
|
||||
* Break: Removed the deprecated `AbstractConstraint`
|
||||
* Added `getUpperBound` and `getLowerBound` to ConstraintInterface. They return `Composer\Semver\Constraint\Bound` instances
|
||||
* Added `MultiConstraint::create` to create the most-optimal form of ConstraintInterface from an array of constraint strings
|
||||
|
||||
### [1.7.2] 2020-12-03
|
||||
|
||||
* Fixed: Allow installing on php 8
|
||||
|
||||
### [1.7.1] 2020-09-27
|
||||
|
||||
* Fixed: accidental validation of broken constraints combining ^/~ and wildcards, and -dev suffix allowing weird cases
|
||||
* Fixed: normalization of beta0 and such which was dropping the 0
|
||||
|
||||
### [1.7.0] 2020-09-09
|
||||
|
||||
* Added: support for `x || @dev`, not very useful but seen in the wild and failed to validate with 1.5.2/1.6.0
|
||||
* Added: support for `foobar-dev` being equal to `dev-foobar`, dev-foobar is the official way to write it but we need to support the other for BC and convenience
|
||||
|
||||
### [1.6.0] 2020-09-08
|
||||
|
||||
* Added: support for constraints like `^2.x-dev` and `~2.x-dev`, not very useful but seen in the wild and failed to validate with 1.5.2
|
||||
* Fixed: invalid aliases will no longer throw, unless explicitly validated by Composer in the root package
|
||||
|
||||
### [1.5.2] 2020-09-08
|
||||
|
||||
* Fixed: handling of some invalid -dev versions which were seen as valid
|
||||
* Fixed: some doctypes
|
||||
|
||||
### [1.5.1] 2020-01-13
|
||||
|
||||
* Fixed: Parsing of aliased version was not validating the alias to be a valid version
|
||||
|
||||
### [1.5.0] 2019-03-19
|
||||
|
||||
* Added: some support for date versions (e.g. 201903) in `~` operator
|
||||
* Fixed: support for stabilities in `~` operator was inconsistent
|
||||
|
||||
### [1.4.2] 2016-08-30
|
||||
|
||||
* Fixed: collapsing of complex constraints lead to buggy constraints
|
||||
|
||||
### [1.4.1] 2016-06-02
|
||||
|
||||
* Changed: branch-like requirements no longer strip build metadata - [composer/semver#38](https://github.com/composer/semver/pull/38).
|
||||
|
||||
### [1.4.0] 2016-03-30
|
||||
|
||||
* Added: getters on MultiConstraint - [composer/semver#35](https://github.com/composer/semver/pull/35).
|
||||
|
||||
### [1.3.0] 2016-02-25
|
||||
|
||||
* Fixed: stability parsing - [composer/composer#1234](https://github.com/composer/composer/issues/4889).
|
||||
* Changed: collapse contiguous constraints when possible.
|
||||
|
||||
### [1.2.0] 2015-11-10
|
||||
|
||||
* Changed: allow multiple numerical identifiers in 'pre-release' version part.
|
||||
* Changed: add more 'v' prefix support.
|
||||
|
||||
### [1.1.0] 2015-11-03
|
||||
|
||||
* Changed: dropped redundant `test` namespace.
|
||||
* Changed: minor adjustment in datetime parsing normalization.
|
||||
* Changed: `ConstraintInterface` relaxed, setPrettyString is not required anymore.
|
||||
* Changed: `AbstractConstraint` marked deprecated, will be removed in 2.0.
|
||||
* Changed: `Constraint` is now extensible.
|
||||
|
||||
### [1.0.0] 2015-09-21
|
||||
|
||||
* Break: `VersionConstraint` renamed to `Constraint`.
|
||||
* Break: `SpecificConstraint` renamed to `AbstractConstraint`.
|
||||
* Break: `LinkConstraintInterface` renamed to `ConstraintInterface`.
|
||||
* Break: `VersionParser::parseNameVersionPairs` was removed.
|
||||
* Changed: `VersionParser::parseConstraints` allows (but ignores) build metadata now.
|
||||
* Changed: `VersionParser::parseConstraints` allows (but ignores) prefixing numeric versions with a 'v' now.
|
||||
* Changed: Fixed namespace(s) of test files.
|
||||
* Changed: `Comparator::compare` no longer throws `InvalidArgumentException`.
|
||||
* Changed: `Constraint` now throws `InvalidArgumentException`.
|
||||
|
||||
### [0.1.0] 2015-07-23
|
||||
|
||||
* Added: `Composer\Semver\Comparator`, various methods to compare versions.
|
||||
* Added: various documents such as README.md, LICENSE, etc.
|
||||
* Added: configuration files for Git, Travis, php-cs-fixer, phpunit.
|
||||
* Break: the following namespaces were renamed:
|
||||
- Namespace: `Composer\Package\Version` -> `Composer\Semver`
|
||||
- Namespace: `Composer\Package\LinkConstraint` -> `Composer\Semver\Constraint`
|
||||
- Namespace: `Composer\Test\Package\Version` -> `Composer\Test\Semver`
|
||||
- Namespace: `Composer\Test\Package\LinkConstraint` -> `Composer\Test\Semver\Constraint`
|
||||
* Changed: code style using php-cs-fixer.
|
||||
|
||||
[3.3.2]: https://github.com/composer/semver/compare/3.3.1...3.3.2
|
||||
[3.3.1]: https://github.com/composer/semver/compare/3.3.0...3.3.1
|
||||
[3.3.0]: https://github.com/composer/semver/compare/3.2.9...3.3.0
|
||||
[3.2.9]: https://github.com/composer/semver/compare/3.2.8...3.2.9
|
||||
[3.2.8]: https://github.com/composer/semver/compare/3.2.7...3.2.8
|
||||
[3.2.7]: https://github.com/composer/semver/compare/3.2.6...3.2.7
|
||||
[3.2.6]: https://github.com/composer/semver/compare/3.2.5...3.2.6
|
||||
[3.2.5]: https://github.com/composer/semver/compare/3.2.4...3.2.5
|
||||
[3.2.4]: https://github.com/composer/semver/compare/3.2.3...3.2.4
|
||||
[3.2.3]: https://github.com/composer/semver/compare/3.2.2...3.2.3
|
||||
[3.2.2]: https://github.com/composer/semver/compare/3.2.1...3.2.2
|
||||
[3.2.1]: https://github.com/composer/semver/compare/3.2.0...3.2.1
|
||||
[3.2.0]: https://github.com/composer/semver/compare/3.1.0...3.2.0
|
||||
[3.1.0]: https://github.com/composer/semver/compare/3.0.1...3.1.0
|
||||
[3.0.1]: https://github.com/composer/semver/compare/3.0.0...3.0.1
|
||||
[3.0.0]: https://github.com/composer/semver/compare/2.0.0...3.0.0
|
||||
[2.0.0]: https://github.com/composer/semver/compare/1.5.1...2.0.0
|
||||
[1.7.2]: https://github.com/composer/semver/compare/1.7.1...1.7.2
|
||||
[1.7.1]: https://github.com/composer/semver/compare/1.7.0...1.7.1
|
||||
[1.7.0]: https://github.com/composer/semver/compare/1.6.0...1.7.0
|
||||
[1.6.0]: https://github.com/composer/semver/compare/1.5.2...1.6.0
|
||||
[1.5.2]: https://github.com/composer/semver/compare/1.5.1...1.5.2
|
||||
[1.5.1]: https://github.com/composer/semver/compare/1.5.0...1.5.1
|
||||
[1.5.0]: https://github.com/composer/semver/compare/1.4.2...1.5.0
|
||||
[1.4.2]: https://github.com/composer/semver/compare/1.4.1...1.4.2
|
||||
[1.4.1]: https://github.com/composer/semver/compare/1.4.0...1.4.1
|
||||
[1.4.0]: https://github.com/composer/semver/compare/1.3.0...1.4.0
|
||||
[1.3.0]: https://github.com/composer/semver/compare/1.2.0...1.3.0
|
||||
[1.2.0]: https://github.com/composer/semver/compare/1.1.0...1.2.0
|
||||
[1.1.0]: https://github.com/composer/semver/compare/1.0.0...1.1.0
|
||||
[1.0.0]: https://github.com/composer/semver/compare/0.1.0...1.0.0
|
||||
[0.1.0]: https://github.com/composer/semver/compare/5e0b9a4da...0.1.0
|
19
vendor/composer/semver/LICENSE
vendored
Normal file
19
vendor/composer/semver/LICENSE
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
Copyright (C) 2015 Composer
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
of the Software, and to permit persons to whom the Software is furnished to do
|
||||
so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
98
vendor/composer/semver/README.md
vendored
Normal file
98
vendor/composer/semver/README.md
vendored
Normal file
@@ -0,0 +1,98 @@
|
||||
composer/semver
|
||||
===============
|
||||
|
||||
Semver (Semantic Versioning) library that offers utilities, version constraint parsing and validation.
|
||||
|
||||
Originally written as part of [composer/composer](https://github.com/composer/composer),
|
||||
now extracted and made available as a stand-alone library.
|
||||
|
||||
[](https://github.com/composer/semver/actions)
|
||||
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
Install the latest version with:
|
||||
|
||||
```bash
|
||||
$ composer require composer/semver
|
||||
```
|
||||
|
||||
|
||||
Requirements
|
||||
------------
|
||||
|
||||
* PHP 5.3.2 is required but using the latest version of PHP is highly recommended.
|
||||
|
||||
|
||||
Version Comparison
|
||||
------------------
|
||||
|
||||
For details on how versions are compared, refer to the [Versions](https://getcomposer.org/doc/articles/versions.md)
|
||||
article in the documentation section of the [getcomposer.org](https://getcomposer.org) website.
|
||||
|
||||
|
||||
Basic usage
|
||||
-----------
|
||||
|
||||
### Comparator
|
||||
|
||||
The [`Composer\Semver\Comparator`](https://github.com/composer/semver/blob/main/src/Comparator.php) class provides the following methods for comparing versions:
|
||||
|
||||
* greaterThan($v1, $v2)
|
||||
* greaterThanOrEqualTo($v1, $v2)
|
||||
* lessThan($v1, $v2)
|
||||
* lessThanOrEqualTo($v1, $v2)
|
||||
* equalTo($v1, $v2)
|
||||
* notEqualTo($v1, $v2)
|
||||
|
||||
Each function takes two version strings as arguments and returns a boolean. For example:
|
||||
|
||||
```php
|
||||
use Composer\Semver\Comparator;
|
||||
|
||||
Comparator::greaterThan('1.25.0', '1.24.0'); // 1.25.0 > 1.24.0
|
||||
```
|
||||
|
||||
### Semver
|
||||
|
||||
The [`Composer\Semver\Semver`](https://github.com/composer/semver/blob/main/src/Semver.php) class provides the following methods:
|
||||
|
||||
* satisfies($version, $constraints)
|
||||
* satisfiedBy(array $versions, $constraint)
|
||||
* sort($versions)
|
||||
* rsort($versions)
|
||||
|
||||
### Intervals
|
||||
|
||||
The [`Composer\Semver\Intervals`](https://github.com/composer/semver/blob/main/src/Intervals.php) static class provides
|
||||
a few utilities to work with complex constraints or read version intervals from a constraint:
|
||||
|
||||
```php
|
||||
use Composer\Semver\Intervals;
|
||||
|
||||
// Checks whether $candidate is a subset of $constraint
|
||||
Intervals::isSubsetOf(ConstraintInterface $candidate, ConstraintInterface $constraint);
|
||||
|
||||
// Checks whether $a and $b have any intersection, equivalent to $a->matches($b)
|
||||
Intervals::haveIntersections(ConstraintInterface $a, ConstraintInterface $b);
|
||||
|
||||
// Optimizes a complex multi constraint by merging all intervals down to the smallest
|
||||
// possible multi constraint. The drawbacks are this is not very fast, and the resulting
|
||||
// multi constraint will have no human readable prettyConstraint configured on it
|
||||
Intervals::compactConstraint(ConstraintInterface $constraint);
|
||||
|
||||
// Creates an array of numeric intervals and branch constraints representing a given constraint
|
||||
Intervals::get(ConstraintInterface $constraint);
|
||||
|
||||
// Clears the memoization cache when you are done processing constraints
|
||||
Intervals::clear()
|
||||
```
|
||||
|
||||
See the class docblocks for more details.
|
||||
|
||||
|
||||
License
|
||||
-------
|
||||
|
||||
composer/semver is licensed under the MIT License, see the LICENSE file for details.
|
59
vendor/composer/semver/composer.json
vendored
Normal file
59
vendor/composer/semver/composer.json
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"name": "composer/semver",
|
||||
"description": "Semver library that offers utilities, version constraint parsing and validation.",
|
||||
"type": "library",
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
"semver",
|
||||
"semantic",
|
||||
"versioning",
|
||||
"validation"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Nils Adermann",
|
||||
"email": "naderman@naderman.de",
|
||||
"homepage": "http://www.naderman.de"
|
||||
},
|
||||
{
|
||||
"name": "Jordi Boggiano",
|
||||
"email": "j.boggiano@seld.be",
|
||||
"homepage": "http://seld.be"
|
||||
},
|
||||
{
|
||||
"name": "Rob Bast",
|
||||
"email": "rob.bast@gmail.com",
|
||||
"homepage": "http://robbast.nl"
|
||||
}
|
||||
],
|
||||
"support": {
|
||||
"irc": "irc://irc.freenode.org/composer",
|
||||
"issues": "https://github.com/composer/semver/issues"
|
||||
},
|
||||
"require": {
|
||||
"php": "^5.3.2 || ^7.0 || ^8.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/phpunit-bridge": "^4.2 || ^5",
|
||||
"phpstan/phpstan": "^1.4"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Composer\\Semver\\": "src"
|
||||
}
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"Composer\\Semver\\": "tests"
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "3.x-dev"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"test": "SYMFONY_PHPUNIT_REMOVE_RETURN_TYPEHINT=1 vendor/bin/simple-phpunit",
|
||||
"phpstan": "@php vendor/bin/phpstan analyse"
|
||||
}
|
||||
}
|
113
vendor/composer/semver/src/Comparator.php
vendored
Normal file
113
vendor/composer/semver/src/Comparator.php
vendored
Normal file
@@ -0,0 +1,113 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of composer/semver.
|
||||
*
|
||||
* (c) Composer <https://github.com/composer>
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the LICENSE file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Composer\Semver;
|
||||
|
||||
use Composer\Semver\Constraint\Constraint;
|
||||
|
||||
class Comparator
|
||||
{
|
||||
/**
|
||||
* Evaluates the expression: $version1 > $version2.
|
||||
*
|
||||
* @param string $version1
|
||||
* @param string $version2
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function greaterThan($version1, $version2)
|
||||
{
|
||||
return self::compare($version1, '>', $version2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Evaluates the expression: $version1 >= $version2.
|
||||
*
|
||||
* @param string $version1
|
||||
* @param string $version2
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function greaterThanOrEqualTo($version1, $version2)
|
||||
{
|
||||
return self::compare($version1, '>=', $version2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Evaluates the expression: $version1 < $version2.
|
||||
*
|
||||
* @param string $version1
|
||||
* @param string $version2
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function lessThan($version1, $version2)
|
||||
{
|
||||
return self::compare($version1, '<', $version2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Evaluates the expression: $version1 <= $version2.
|
||||
*
|
||||
* @param string $version1
|
||||
* @param string $version2
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function lessThanOrEqualTo($version1, $version2)
|
||||
{
|
||||
return self::compare($version1, '<=', $version2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Evaluates the expression: $version1 == $version2.
|
||||
*
|
||||
* @param string $version1
|
||||
* @param string $version2
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function equalTo($version1, $version2)
|
||||
{
|
||||
return self::compare($version1, '==', $version2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Evaluates the expression: $version1 != $version2.
|
||||
*
|
||||
* @param string $version1
|
||||
* @param string $version2
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function notEqualTo($version1, $version2)
|
||||
{
|
||||
return self::compare($version1, '!=', $version2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Evaluates the expression: $version1 $operator $version2.
|
||||
*
|
||||
* @param string $version1
|
||||
* @param string $operator
|
||||
* @param string $version2
|
||||
*
|
||||
* @return bool
|
||||
*
|
||||
* @phpstan-param Constraint::STR_OP_* $operator
|
||||
*/
|
||||
public static function compare($version1, $operator, $version2)
|
||||
{
|
||||
$constraint = new Constraint($operator, $version2);
|
||||
|
||||
return $constraint->matchSpecific(new Constraint('==', $version1), true);
|
||||
}
|
||||
}
|
94
vendor/composer/semver/src/CompilingMatcher.php
vendored
Normal file
94
vendor/composer/semver/src/CompilingMatcher.php
vendored
Normal file
@@ -0,0 +1,94 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of composer/semver.
|
||||
*
|
||||
* (c) Composer <https://github.com/composer>
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the LICENSE file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Composer\Semver;
|
||||
|
||||
use Composer\Semver\Constraint\Constraint;
|
||||
use Composer\Semver\Constraint\ConstraintInterface;
|
||||
|
||||
/**
|
||||
* Helper class to evaluate constraint by compiling and reusing the code to evaluate
|
||||
*/
|
||||
class CompilingMatcher
|
||||
{
|
||||
/**
|
||||
* @var array
|
||||
* @phpstan-var array<string, callable>
|
||||
*/
|
||||
private static $compiledCheckerCache = array();
|
||||
/**
|
||||
* @var array
|
||||
* @phpstan-var array<string, bool>
|
||||
*/
|
||||
private static $resultCache = array();
|
||||
|
||||
/** @var bool */
|
||||
private static $enabled;
|
||||
|
||||
/**
|
||||
* @phpstan-var array<Constraint::OP_*, Constraint::STR_OP_*>
|
||||
*/
|
||||
private static $transOpInt = array(
|
||||
Constraint::OP_EQ => Constraint::STR_OP_EQ,
|
||||
Constraint::OP_LT => Constraint::STR_OP_LT,
|
||||
Constraint::OP_LE => Constraint::STR_OP_LE,
|
||||
Constraint::OP_GT => Constraint::STR_OP_GT,
|
||||
Constraint::OP_GE => Constraint::STR_OP_GE,
|
||||
Constraint::OP_NE => Constraint::STR_OP_NE,
|
||||
);
|
||||
|
||||
/**
|
||||
* Clears the memoization cache once you are done
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function clear()
|
||||
{
|
||||
self::$resultCache = array();
|
||||
self::$compiledCheckerCache = array();
|
||||
}
|
||||
|
||||
/**
|
||||
* Evaluates the expression: $constraint match $operator $version
|
||||
*
|
||||
* @param ConstraintInterface $constraint
|
||||
* @param int $operator
|
||||
* @phpstan-param Constraint::OP_* $operator
|
||||
* @param string $version
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public static function match(ConstraintInterface $constraint, $operator, $version)
|
||||
{
|
||||
$resultCacheKey = $operator.$constraint.';'.$version;
|
||||
|
||||
if (isset(self::$resultCache[$resultCacheKey])) {
|
||||
return self::$resultCache[$resultCacheKey];
|
||||
}
|
||||
|
||||
if (self::$enabled === null) {
|
||||
self::$enabled = !\in_array('eval', explode(',', (string) ini_get('disable_functions')), true);
|
||||
}
|
||||
if (!self::$enabled) {
|
||||
return self::$resultCache[$resultCacheKey] = $constraint->matches(new Constraint(self::$transOpInt[$operator], $version));
|
||||
}
|
||||
|
||||
$cacheKey = $operator.$constraint;
|
||||
if (!isset(self::$compiledCheckerCache[$cacheKey])) {
|
||||
$code = $constraint->compile($operator);
|
||||
self::$compiledCheckerCache[$cacheKey] = $function = eval('return function($v, $b){return '.$code.';};');
|
||||
} else {
|
||||
$function = self::$compiledCheckerCache[$cacheKey];
|
||||
}
|
||||
|
||||
return self::$resultCache[$resultCacheKey] = $function($version, strpos($version, 'dev-') === 0);
|
||||
}
|
||||
}
|
122
vendor/composer/semver/src/Constraint/Bound.php
vendored
Normal file
122
vendor/composer/semver/src/Constraint/Bound.php
vendored
Normal file
@@ -0,0 +1,122 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of composer/semver.
|
||||
*
|
||||
* (c) Composer <https://github.com/composer>
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the LICENSE file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Composer\Semver\Constraint;
|
||||
|
||||
class Bound
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
private $version;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
private $isInclusive;
|
||||
|
||||
/**
|
||||
* @param string $version
|
||||
* @param bool $isInclusive
|
||||
*/
|
||||
public function __construct($version, $isInclusive)
|
||||
{
|
||||
$this->version = $version;
|
||||
$this->isInclusive = $isInclusive;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getVersion()
|
||||
{
|
||||
return $this->version;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isInclusive()
|
||||
{
|
||||
return $this->isInclusive;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isZero()
|
||||
{
|
||||
return $this->getVersion() === '0.0.0.0-dev' && $this->isInclusive();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isPositiveInfinity()
|
||||
{
|
||||
return $this->getVersion() === PHP_INT_MAX.'.0.0.0' && !$this->isInclusive();
|
||||
}
|
||||
|
||||
/**
|
||||
* Compares a bound to another with a given operator.
|
||||
*
|
||||
* @param Bound $other
|
||||
* @param string $operator
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function compareTo(Bound $other, $operator)
|
||||
{
|
||||
if (!\in_array($operator, array('<', '>'), true)) {
|
||||
throw new \InvalidArgumentException('Does not support any other operator other than > or <.');
|
||||
}
|
||||
|
||||
// If they are the same it doesn't matter
|
||||
if ($this == $other) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$compareResult = version_compare($this->getVersion(), $other->getVersion());
|
||||
|
||||
// Not the same version means we don't need to check if the bounds are inclusive or not
|
||||
if (0 !== $compareResult) {
|
||||
return (('>' === $operator) ? 1 : -1) === $compareResult;
|
||||
}
|
||||
|
||||
// Question we're answering here is "am I higher than $other?"
|
||||
return '>' === $operator ? $other->isInclusive() : !$other->isInclusive();
|
||||
}
|
||||
|
||||
public function __toString()
|
||||
{
|
||||
return sprintf(
|
||||
'%s [%s]',
|
||||
$this->getVersion(),
|
||||
$this->isInclusive() ? 'inclusive' : 'exclusive'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return self
|
||||
*/
|
||||
public static function zero()
|
||||
{
|
||||
return new Bound('0.0.0.0-dev', true);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return self
|
||||
*/
|
||||
public static function positiveInfinity()
|
||||
{
|
||||
return new Bound(PHP_INT_MAX.'.0.0.0', false);
|
||||
}
|
||||
}
|
435
vendor/composer/semver/src/Constraint/Constraint.php
vendored
Normal file
435
vendor/composer/semver/src/Constraint/Constraint.php
vendored
Normal file
@@ -0,0 +1,435 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of composer/semver.
|
||||
*
|
||||
* (c) Composer <https://github.com/composer>
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the LICENSE file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Composer\Semver\Constraint;
|
||||
|
||||
/**
|
||||
* Defines a constraint.
|
||||
*/
|
||||
class Constraint implements ConstraintInterface
|
||||
{
|
||||
/* operator integer values */
|
||||
const OP_EQ = 0;
|
||||
const OP_LT = 1;
|
||||
const OP_LE = 2;
|
||||
const OP_GT = 3;
|
||||
const OP_GE = 4;
|
||||
const OP_NE = 5;
|
||||
|
||||
/* operator string values */
|
||||
const STR_OP_EQ = '==';
|
||||
const STR_OP_EQ_ALT = '=';
|
||||
const STR_OP_LT = '<';
|
||||
const STR_OP_LE = '<=';
|
||||
const STR_OP_GT = '>';
|
||||
const STR_OP_GE = '>=';
|
||||
const STR_OP_NE = '!=';
|
||||
const STR_OP_NE_ALT = '<>';
|
||||
|
||||
/**
|
||||
* Operator to integer translation table.
|
||||
*
|
||||
* @var array
|
||||
* @phpstan-var array<self::STR_OP_*, self::OP_*>
|
||||
*/
|
||||
private static $transOpStr = array(
|
||||
'=' => self::OP_EQ,
|
||||
'==' => self::OP_EQ,
|
||||
'<' => self::OP_LT,
|
||||
'<=' => self::OP_LE,
|
||||
'>' => self::OP_GT,
|
||||
'>=' => self::OP_GE,
|
||||
'<>' => self::OP_NE,
|
||||
'!=' => self::OP_NE,
|
||||
);
|
||||
|
||||
/**
|
||||
* Integer to operator translation table.
|
||||
*
|
||||
* @var array
|
||||
* @phpstan-var array<self::OP_*, self::STR_OP_*>
|
||||
*/
|
||||
private static $transOpInt = array(
|
||||
self::OP_EQ => '==',
|
||||
self::OP_LT => '<',
|
||||
self::OP_LE => '<=',
|
||||
self::OP_GT => '>',
|
||||
self::OP_GE => '>=',
|
||||
self::OP_NE => '!=',
|
||||
);
|
||||
|
||||
/**
|
||||
* @var int
|
||||
* @phpstan-var self::OP_*
|
||||
*/
|
||||
protected $operator;
|
||||
|
||||
/** @var string */
|
||||
protected $version;
|
||||
|
||||
/** @var string|null */
|
||||
protected $prettyString;
|
||||
|
||||
/** @var Bound */
|
||||
protected $lowerBound;
|
||||
|
||||
/** @var Bound */
|
||||
protected $upperBound;
|
||||
|
||||
/**
|
||||
* Sets operator and version to compare with.
|
||||
*
|
||||
* @param string $operator
|
||||
* @param string $version
|
||||
*
|
||||
* @throws \InvalidArgumentException if invalid operator is given.
|
||||
*
|
||||
* @phpstan-param self::STR_OP_* $operator
|
||||
*/
|
||||
public function __construct($operator, $version)
|
||||
{
|
||||
if (!isset(self::$transOpStr[$operator])) {
|
||||
throw new \InvalidArgumentException(sprintf(
|
||||
'Invalid operator "%s" given, expected one of: %s',
|
||||
$operator,
|
||||
implode(', ', self::getSupportedOperators())
|
||||
));
|
||||
}
|
||||
|
||||
$this->operator = self::$transOpStr[$operator];
|
||||
$this->version = $version;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getVersion()
|
||||
{
|
||||
return $this->version;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*
|
||||
* @phpstan-return self::STR_OP_*
|
||||
*/
|
||||
public function getOperator()
|
||||
{
|
||||
return self::$transOpInt[$this->operator];
|
||||
}
|
||||
|
||||
/**
|
||||
* @param ConstraintInterface $provider
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function matches(ConstraintInterface $provider)
|
||||
{
|
||||
if ($provider instanceof self) {
|
||||
return $this->matchSpecific($provider);
|
||||
}
|
||||
|
||||
// turn matching around to find a match
|
||||
return $provider->matches($this);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function setPrettyString($prettyString)
|
||||
{
|
||||
$this->prettyString = $prettyString;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function getPrettyString()
|
||||
{
|
||||
if ($this->prettyString) {
|
||||
return $this->prettyString;
|
||||
}
|
||||
|
||||
return $this->__toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all supported comparison operators.
|
||||
*
|
||||
* @return array
|
||||
*
|
||||
* @phpstan-return list<self::STR_OP_*>
|
||||
*/
|
||||
public static function getSupportedOperators()
|
||||
{
|
||||
return array_keys(self::$transOpStr);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $operator
|
||||
* @return int
|
||||
*
|
||||
* @phpstan-param self::STR_OP_* $operator
|
||||
* @phpstan-return self::OP_*
|
||||
*/
|
||||
public static function getOperatorConstant($operator)
|
||||
{
|
||||
return self::$transOpStr[$operator];
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $a
|
||||
* @param string $b
|
||||
* @param string $operator
|
||||
* @param bool $compareBranches
|
||||
*
|
||||
* @throws \InvalidArgumentException if invalid operator is given.
|
||||
*
|
||||
* @return bool
|
||||
*
|
||||
* @phpstan-param self::STR_OP_* $operator
|
||||
*/
|
||||
public function versionCompare($a, $b, $operator, $compareBranches = false)
|
||||
{
|
||||
if (!isset(self::$transOpStr[$operator])) {
|
||||
throw new \InvalidArgumentException(sprintf(
|
||||
'Invalid operator "%s" given, expected one of: %s',
|
||||
$operator,
|
||||
implode(', ', self::getSupportedOperators())
|
||||
));
|
||||
}
|
||||
|
||||
$aIsBranch = strpos($a, 'dev-') === 0;
|
||||
$bIsBranch = strpos($b, 'dev-') === 0;
|
||||
|
||||
if ($operator === '!=' && ($aIsBranch || $bIsBranch)) {
|
||||
return $a !== $b;
|
||||
}
|
||||
|
||||
if ($aIsBranch && $bIsBranch) {
|
||||
return $operator === '==' && $a === $b;
|
||||
}
|
||||
|
||||
// when branches are not comparable, we make sure dev branches never match anything
|
||||
if (!$compareBranches && ($aIsBranch || $bIsBranch)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return \version_compare($a, $b, $operator);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function compile($otherOperator)
|
||||
{
|
||||
if (strpos($this->version, 'dev-') === 0) {
|
||||
if (self::OP_EQ === $this->operator) {
|
||||
if (self::OP_EQ === $otherOperator) {
|
||||
return sprintf('$b && $v === %s', \var_export($this->version, true));
|
||||
}
|
||||
if (self::OP_NE === $otherOperator) {
|
||||
return sprintf('!$b || $v !== %s', \var_export($this->version, true));
|
||||
}
|
||||
return 'false';
|
||||
}
|
||||
|
||||
if (self::OP_NE === $this->operator) {
|
||||
if (self::OP_EQ === $otherOperator) {
|
||||
return sprintf('!$b || $v !== %s', \var_export($this->version, true));
|
||||
}
|
||||
if (self::OP_NE === $otherOperator) {
|
||||
return 'true';
|
||||
}
|
||||
return '!$b';
|
||||
}
|
||||
|
||||
return 'false';
|
||||
}
|
||||
|
||||
if (self::OP_EQ === $this->operator) {
|
||||
if (self::OP_EQ === $otherOperator) {
|
||||
return sprintf('\version_compare($v, %s, \'==\')', \var_export($this->version, true));
|
||||
}
|
||||
if (self::OP_NE === $otherOperator) {
|
||||
return sprintf('$b || \version_compare($v, %s, \'!=\')', \var_export($this->version, true));
|
||||
}
|
||||
|
||||
return sprintf('!$b && \version_compare(%s, $v, \'%s\')', \var_export($this->version, true), self::$transOpInt[$otherOperator]);
|
||||
}
|
||||
|
||||
if (self::OP_NE === $this->operator) {
|
||||
if (self::OP_EQ === $otherOperator) {
|
||||
return sprintf('$b || (!$b && \version_compare($v, %s, \'!=\'))', \var_export($this->version, true));
|
||||
}
|
||||
|
||||
if (self::OP_NE === $otherOperator) {
|
||||
return 'true';
|
||||
}
|
||||
return '!$b';
|
||||
}
|
||||
|
||||
if (self::OP_LT === $this->operator || self::OP_LE === $this->operator) {
|
||||
if (self::OP_LT === $otherOperator || self::OP_LE === $otherOperator) {
|
||||
return '!$b';
|
||||
}
|
||||
} else { // $this->operator must be self::OP_GT || self::OP_GE here
|
||||
if (self::OP_GT === $otherOperator || self::OP_GE === $otherOperator) {
|
||||
return '!$b';
|
||||
}
|
||||
}
|
||||
|
||||
if (self::OP_NE === $otherOperator) {
|
||||
return 'true';
|
||||
}
|
||||
|
||||
$codeComparison = sprintf('\version_compare($v, %s, \'%s\')', \var_export($this->version, true), self::$transOpInt[$this->operator]);
|
||||
if ($this->operator === self::OP_LE) {
|
||||
if ($otherOperator === self::OP_GT) {
|
||||
return sprintf('!$b && \version_compare($v, %s, \'!=\') && ', \var_export($this->version, true)) . $codeComparison;
|
||||
}
|
||||
} elseif ($this->operator === self::OP_GE) {
|
||||
if ($otherOperator === self::OP_LT) {
|
||||
return sprintf('!$b && \version_compare($v, %s, \'!=\') && ', \var_export($this->version, true)) . $codeComparison;
|
||||
}
|
||||
}
|
||||
|
||||
return sprintf('!$b && %s', $codeComparison);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Constraint $provider
|
||||
* @param bool $compareBranches
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function matchSpecific(Constraint $provider, $compareBranches = false)
|
||||
{
|
||||
$noEqualOp = str_replace('=', '', self::$transOpInt[$this->operator]);
|
||||
$providerNoEqualOp = str_replace('=', '', self::$transOpInt[$provider->operator]);
|
||||
|
||||
$isEqualOp = self::OP_EQ === $this->operator;
|
||||
$isNonEqualOp = self::OP_NE === $this->operator;
|
||||
$isProviderEqualOp = self::OP_EQ === $provider->operator;
|
||||
$isProviderNonEqualOp = self::OP_NE === $provider->operator;
|
||||
|
||||
// '!=' operator is match when other operator is not '==' operator or version is not match
|
||||
// these kinds of comparisons always have a solution
|
||||
if ($isNonEqualOp || $isProviderNonEqualOp) {
|
||||
if ($isNonEqualOp && !$isProviderNonEqualOp && !$isProviderEqualOp && strpos($provider->version, 'dev-') === 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($isProviderNonEqualOp && !$isNonEqualOp && !$isEqualOp && strpos($this->version, 'dev-') === 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!$isEqualOp && !$isProviderEqualOp) {
|
||||
return true;
|
||||
}
|
||||
return $this->versionCompare($provider->version, $this->version, '!=', $compareBranches);
|
||||
}
|
||||
|
||||
// an example for the condition is <= 2.0 & < 1.0
|
||||
// these kinds of comparisons always have a solution
|
||||
if ($this->operator !== self::OP_EQ && $noEqualOp === $providerNoEqualOp) {
|
||||
return !(strpos($this->version, 'dev-') === 0 || strpos($provider->version, 'dev-') === 0);
|
||||
}
|
||||
|
||||
$version1 = $isEqualOp ? $this->version : $provider->version;
|
||||
$version2 = $isEqualOp ? $provider->version : $this->version;
|
||||
$operator = $isEqualOp ? $provider->operator : $this->operator;
|
||||
|
||||
if ($this->versionCompare($version1, $version2, self::$transOpInt[$operator], $compareBranches)) {
|
||||
// special case, e.g. require >= 1.0 and provide < 1.0
|
||||
// 1.0 >= 1.0 but 1.0 is outside of the provided interval
|
||||
|
||||
return !(self::$transOpInt[$provider->operator] === $providerNoEqualOp
|
||||
&& self::$transOpInt[$this->operator] !== $noEqualOp
|
||||
&& \version_compare($provider->version, $this->version, '=='));
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function __toString()
|
||||
{
|
||||
return self::$transOpInt[$this->operator] . ' ' . $this->version;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function getLowerBound()
|
||||
{
|
||||
$this->extractBounds();
|
||||
|
||||
return $this->lowerBound;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function getUpperBound()
|
||||
{
|
||||
$this->extractBounds();
|
||||
|
||||
return $this->upperBound;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
private function extractBounds()
|
||||
{
|
||||
if (null !== $this->lowerBound) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Branches
|
||||
if (strpos($this->version, 'dev-') === 0) {
|
||||
$this->lowerBound = Bound::zero();
|
||||
$this->upperBound = Bound::positiveInfinity();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
switch ($this->operator) {
|
||||
case self::OP_EQ:
|
||||
$this->lowerBound = new Bound($this->version, true);
|
||||
$this->upperBound = new Bound($this->version, true);
|
||||
break;
|
||||
case self::OP_LT:
|
||||
$this->lowerBound = Bound::zero();
|
||||
$this->upperBound = new Bound($this->version, false);
|
||||
break;
|
||||
case self::OP_LE:
|
||||
$this->lowerBound = Bound::zero();
|
||||
$this->upperBound = new Bound($this->version, true);
|
||||
break;
|
||||
case self::OP_GT:
|
||||
$this->lowerBound = new Bound($this->version, false);
|
||||
$this->upperBound = Bound::positiveInfinity();
|
||||
break;
|
||||
case self::OP_GE:
|
||||
$this->lowerBound = new Bound($this->version, true);
|
||||
$this->upperBound = Bound::positiveInfinity();
|
||||
break;
|
||||
case self::OP_NE:
|
||||
$this->lowerBound = Bound::zero();
|
||||
$this->upperBound = Bound::positiveInfinity();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
75
vendor/composer/semver/src/Constraint/ConstraintInterface.php
vendored
Normal file
75
vendor/composer/semver/src/Constraint/ConstraintInterface.php
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of composer/semver.
|
||||
*
|
||||
* (c) Composer <https://github.com/composer>
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the LICENSE file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Composer\Semver\Constraint;
|
||||
|
||||
/**
|
||||
* DO NOT IMPLEMENT this interface. It is only meant for usage as a type hint
|
||||
* in libraries relying on composer/semver but creating your own constraint class
|
||||
* that implements this interface is not a supported use case and will cause the
|
||||
* composer/semver components to return unexpected results.
|
||||
*/
|
||||
interface ConstraintInterface
|
||||
{
|
||||
/**
|
||||
* Checks whether the given constraint intersects in any way with this constraint
|
||||
*
|
||||
* @param ConstraintInterface $provider
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function matches(ConstraintInterface $provider);
|
||||
|
||||
/**
|
||||
* Provides a compiled version of the constraint for the given operator
|
||||
* The compiled version must be a PHP expression.
|
||||
* Executor of compile version must provide 2 variables:
|
||||
* - $v = the string version to compare with
|
||||
* - $b = whether or not the version is a non-comparable branch (starts with "dev-")
|
||||
*
|
||||
* @see Constraint::OP_* for the list of available operators.
|
||||
* @example return '!$b && version_compare($v, '1.0', '>')';
|
||||
*
|
||||
* @param int $otherOperator one Constraint::OP_*
|
||||
*
|
||||
* @return string
|
||||
*
|
||||
* @phpstan-param Constraint::OP_* $otherOperator
|
||||
*/
|
||||
public function compile($otherOperator);
|
||||
|
||||
/**
|
||||
* @return Bound
|
||||
*/
|
||||
public function getUpperBound();
|
||||
|
||||
/**
|
||||
* @return Bound
|
||||
*/
|
||||
public function getLowerBound();
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPrettyString();
|
||||
|
||||
/**
|
||||
* @param string|null $prettyString
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setPrettyString($prettyString);
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function __toString();
|
||||
}
|
85
vendor/composer/semver/src/Constraint/MatchAllConstraint.php
vendored
Normal file
85
vendor/composer/semver/src/Constraint/MatchAllConstraint.php
vendored
Normal file
@@ -0,0 +1,85 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of composer/semver.
|
||||
*
|
||||
* (c) Composer <https://github.com/composer>
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the LICENSE file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Composer\Semver\Constraint;
|
||||
|
||||
/**
|
||||
* Defines the absence of a constraint.
|
||||
*
|
||||
* This constraint matches everything.
|
||||
*/
|
||||
class MatchAllConstraint implements ConstraintInterface
|
||||
{
|
||||
/** @var string|null */
|
||||
protected $prettyString;
|
||||
|
||||
/**
|
||||
* @param ConstraintInterface $provider
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function matches(ConstraintInterface $provider)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function compile($otherOperator)
|
||||
{
|
||||
return 'true';
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function setPrettyString($prettyString)
|
||||
{
|
||||
$this->prettyString = $prettyString;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function getPrettyString()
|
||||
{
|
||||
if ($this->prettyString) {
|
||||
return $this->prettyString;
|
||||
}
|
||||
|
||||
return (string) $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function __toString()
|
||||
{
|
||||
return '*';
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function getUpperBound()
|
||||
{
|
||||
return Bound::positiveInfinity();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function getLowerBound()
|
||||
{
|
||||
return Bound::zero();
|
||||
}
|
||||
}
|
83
vendor/composer/semver/src/Constraint/MatchNoneConstraint.php
vendored
Normal file
83
vendor/composer/semver/src/Constraint/MatchNoneConstraint.php
vendored
Normal file
@@ -0,0 +1,83 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of composer/semver.
|
||||
*
|
||||
* (c) Composer <https://github.com/composer>
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the LICENSE file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Composer\Semver\Constraint;
|
||||
|
||||
/**
|
||||
* Blackhole of constraints, nothing escapes it
|
||||
*/
|
||||
class MatchNoneConstraint implements ConstraintInterface
|
||||
{
|
||||
/** @var string|null */
|
||||
protected $prettyString;
|
||||
|
||||
/**
|
||||
* @param ConstraintInterface $provider
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function matches(ConstraintInterface $provider)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function compile($otherOperator)
|
||||
{
|
||||
return 'false';
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function setPrettyString($prettyString)
|
||||
{
|
||||
$this->prettyString = $prettyString;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function getPrettyString()
|
||||
{
|
||||
if ($this->prettyString) {
|
||||
return $this->prettyString;
|
||||
}
|
||||
|
||||
return (string) $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function __toString()
|
||||
{
|
||||
return '[]';
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function getUpperBound()
|
||||
{
|
||||
return new Bound('0.0.0.0-dev', false);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function getLowerBound()
|
||||
{
|
||||
return new Bound('0.0.0.0-dev', false);
|
||||
}
|
||||
}
|
325
vendor/composer/semver/src/Constraint/MultiConstraint.php
vendored
Normal file
325
vendor/composer/semver/src/Constraint/MultiConstraint.php
vendored
Normal file
@@ -0,0 +1,325 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of composer/semver.
|
||||
*
|
||||
* (c) Composer <https://github.com/composer>
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the LICENSE file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Composer\Semver\Constraint;
|
||||
|
||||
/**
|
||||
* Defines a conjunctive or disjunctive set of constraints.
|
||||
*/
|
||||
class MultiConstraint implements ConstraintInterface
|
||||
{
|
||||
/**
|
||||
* @var ConstraintInterface[]
|
||||
* @phpstan-var non-empty-array<ConstraintInterface>
|
||||
*/
|
||||
protected $constraints;
|
||||
|
||||
/** @var string|null */
|
||||
protected $prettyString;
|
||||
|
||||
/** @var string|null */
|
||||
protected $string;
|
||||
|
||||
/** @var bool */
|
||||
protected $conjunctive;
|
||||
|
||||
/** @var Bound|null */
|
||||
protected $lowerBound;
|
||||
|
||||
/** @var Bound|null */
|
||||
protected $upperBound;
|
||||
|
||||
/**
|
||||
* @param ConstraintInterface[] $constraints A set of constraints
|
||||
* @param bool $conjunctive Whether the constraints should be treated as conjunctive or disjunctive
|
||||
*
|
||||
* @throws \InvalidArgumentException If less than 2 constraints are passed
|
||||
*/
|
||||
public function __construct(array $constraints, $conjunctive = true)
|
||||
{
|
||||
if (\count($constraints) < 2) {
|
||||
throw new \InvalidArgumentException(
|
||||
'Must provide at least two constraints for a MultiConstraint. Use '.
|
||||
'the regular Constraint class for one constraint only or MatchAllConstraint for none. You may use '.
|
||||
'MultiConstraint::create() which optimizes and handles those cases automatically.'
|
||||
);
|
||||
}
|
||||
|
||||
$this->constraints = $constraints;
|
||||
$this->conjunctive = $conjunctive;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return ConstraintInterface[]
|
||||
*/
|
||||
public function getConstraints()
|
||||
{
|
||||
return $this->constraints;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isConjunctive()
|
||||
{
|
||||
return $this->conjunctive;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isDisjunctive()
|
||||
{
|
||||
return !$this->conjunctive;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function compile($otherOperator)
|
||||
{
|
||||
$parts = array();
|
||||
foreach ($this->constraints as $constraint) {
|
||||
$code = $constraint->compile($otherOperator);
|
||||
if ($code === 'true') {
|
||||
if (!$this->conjunctive) {
|
||||
return 'true';
|
||||
}
|
||||
} elseif ($code === 'false') {
|
||||
if ($this->conjunctive) {
|
||||
return 'false';
|
||||
}
|
||||
} else {
|
||||
$parts[] = '('.$code.')';
|
||||
}
|
||||
}
|
||||
|
||||
if (!$parts) {
|
||||
return $this->conjunctive ? 'true' : 'false';
|
||||
}
|
||||
|
||||
return $this->conjunctive ? implode('&&', $parts) : implode('||', $parts);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param ConstraintInterface $provider
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function matches(ConstraintInterface $provider)
|
||||
{
|
||||
if (false === $this->conjunctive) {
|
||||
foreach ($this->constraints as $constraint) {
|
||||
if ($provider->matches($constraint)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
// when matching a conjunctive and a disjunctive multi constraint we have to iterate over the disjunctive one
|
||||
// otherwise we'd return true if different parts of the disjunctive constraint match the conjunctive one
|
||||
// which would lead to incorrect results, e.g. [>1 and <2] would match [<1 or >2] although they do not intersect
|
||||
if ($provider instanceof MultiConstraint && $provider->isDisjunctive()) {
|
||||
return $provider->matches($this);
|
||||
}
|
||||
|
||||
foreach ($this->constraints as $constraint) {
|
||||
if (!$provider->matches($constraint)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function setPrettyString($prettyString)
|
||||
{
|
||||
$this->prettyString = $prettyString;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function getPrettyString()
|
||||
{
|
||||
if ($this->prettyString) {
|
||||
return $this->prettyString;
|
||||
}
|
||||
|
||||
return (string) $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function __toString()
|
||||
{
|
||||
if ($this->string !== null) {
|
||||
return $this->string;
|
||||
}
|
||||
|
||||
$constraints = array();
|
||||
foreach ($this->constraints as $constraint) {
|
||||
$constraints[] = (string) $constraint;
|
||||
}
|
||||
|
||||
return $this->string = '[' . implode($this->conjunctive ? ' ' : ' || ', $constraints) . ']';
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function getLowerBound()
|
||||
{
|
||||
$this->extractBounds();
|
||||
|
||||
if (null === $this->lowerBound) {
|
||||
throw new \LogicException('extractBounds should have populated the lowerBound property');
|
||||
}
|
||||
|
||||
return $this->lowerBound;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function getUpperBound()
|
||||
{
|
||||
$this->extractBounds();
|
||||
|
||||
if (null === $this->upperBound) {
|
||||
throw new \LogicException('extractBounds should have populated the upperBound property');
|
||||
}
|
||||
|
||||
return $this->upperBound;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tries to optimize the constraints as much as possible, meaning
|
||||
* reducing/collapsing congruent constraints etc.
|
||||
* Does not necessarily return a MultiConstraint instance if
|
||||
* things can be reduced to a simple constraint
|
||||
*
|
||||
* @param ConstraintInterface[] $constraints A set of constraints
|
||||
* @param bool $conjunctive Whether the constraints should be treated as conjunctive or disjunctive
|
||||
*
|
||||
* @return ConstraintInterface
|
||||
*/
|
||||
public static function create(array $constraints, $conjunctive = true)
|
||||
{
|
||||
if (0 === \count($constraints)) {
|
||||
return new MatchAllConstraint();
|
||||
}
|
||||
|
||||
if (1 === \count($constraints)) {
|
||||
return $constraints[0];
|
||||
}
|
||||
|
||||
$optimized = self::optimizeConstraints($constraints, $conjunctive);
|
||||
if ($optimized !== null) {
|
||||
list($constraints, $conjunctive) = $optimized;
|
||||
if (\count($constraints) === 1) {
|
||||
return $constraints[0];
|
||||
}
|
||||
}
|
||||
|
||||
return new self($constraints, $conjunctive);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param ConstraintInterface[] $constraints
|
||||
* @param bool $conjunctive
|
||||
* @return ?array
|
||||
*
|
||||
* @phpstan-return array{0: list<ConstraintInterface>, 1: bool}|null
|
||||
*/
|
||||
private static function optimizeConstraints(array $constraints, $conjunctive)
|
||||
{
|
||||
// parse the two OR groups and if they are contiguous we collapse
|
||||
// them into one constraint
|
||||
// [>= 1 < 2] || [>= 2 < 3] || [>= 3 < 4] => [>= 1 < 4]
|
||||
if (!$conjunctive) {
|
||||
$left = $constraints[0];
|
||||
$mergedConstraints = array();
|
||||
$optimized = false;
|
||||
for ($i = 1, $l = \count($constraints); $i < $l; $i++) {
|
||||
$right = $constraints[$i];
|
||||
if (
|
||||
$left instanceof self
|
||||
&& $left->conjunctive
|
||||
&& $right instanceof self
|
||||
&& $right->conjunctive
|
||||
&& \count($left->constraints) === 2
|
||||
&& \count($right->constraints) === 2
|
||||
&& ($left0 = (string) $left->constraints[0])
|
||||
&& $left0[0] === '>' && $left0[1] === '='
|
||||
&& ($left1 = (string) $left->constraints[1])
|
||||
&& $left1[0] === '<'
|
||||
&& ($right0 = (string) $right->constraints[0])
|
||||
&& $right0[0] === '>' && $right0[1] === '='
|
||||
&& ($right1 = (string) $right->constraints[1])
|
||||
&& $right1[0] === '<'
|
||||
&& substr($left1, 2) === substr($right0, 3)
|
||||
) {
|
||||
$optimized = true;
|
||||
$left = new MultiConstraint(
|
||||
array(
|
||||
$left->constraints[0],
|
||||
$right->constraints[1],
|
||||
),
|
||||
true);
|
||||
} else {
|
||||
$mergedConstraints[] = $left;
|
||||
$left = $right;
|
||||
}
|
||||
}
|
||||
if ($optimized) {
|
||||
$mergedConstraints[] = $left;
|
||||
return array($mergedConstraints, false);
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: Here's the place to put more optimizations
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
private function extractBounds()
|
||||
{
|
||||
if (null !== $this->lowerBound) {
|
||||
return;
|
||||
}
|
||||
|
||||
foreach ($this->constraints as $constraint) {
|
||||
if (null === $this->lowerBound || null === $this->upperBound) {
|
||||
$this->lowerBound = $constraint->getLowerBound();
|
||||
$this->upperBound = $constraint->getUpperBound();
|
||||
continue;
|
||||
}
|
||||
|
||||
if ($constraint->getLowerBound()->compareTo($this->lowerBound, $this->isConjunctive() ? '>' : '<')) {
|
||||
$this->lowerBound = $constraint->getLowerBound();
|
||||
}
|
||||
|
||||
if ($constraint->getUpperBound()->compareTo($this->upperBound, $this->isConjunctive() ? '<' : '>')) {
|
||||
$this->upperBound = $constraint->getUpperBound();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
98
vendor/composer/semver/src/Interval.php
vendored
Normal file
98
vendor/composer/semver/src/Interval.php
vendored
Normal file
@@ -0,0 +1,98 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of composer/semver.
|
||||
*
|
||||
* (c) Composer <https://github.com/composer>
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the LICENSE file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Composer\Semver;
|
||||
|
||||
use Composer\Semver\Constraint\Constraint;
|
||||
|
||||
class Interval
|
||||
{
|
||||
/** @var Constraint */
|
||||
private $start;
|
||||
/** @var Constraint */
|
||||
private $end;
|
||||
|
||||
public function __construct(Constraint $start, Constraint $end)
|
||||
{
|
||||
$this->start = $start;
|
||||
$this->end = $end;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Constraint
|
||||
*/
|
||||
public function getStart()
|
||||
{
|
||||
return $this->start;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Constraint
|
||||
*/
|
||||
public function getEnd()
|
||||
{
|
||||
return $this->end;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Constraint
|
||||
*/
|
||||
public static function fromZero()
|
||||
{
|
||||
static $zero;
|
||||
|
||||
if (null === $zero) {
|
||||
$zero = new Constraint('>=', '0.0.0.0-dev');
|
||||
}
|
||||
|
||||
return $zero;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Constraint
|
||||
*/
|
||||
public static function untilPositiveInfinity()
|
||||
{
|
||||
static $positiveInfinity;
|
||||
|
||||
if (null === $positiveInfinity) {
|
||||
$positiveInfinity = new Constraint('<', PHP_INT_MAX.'.0.0.0');
|
||||
}
|
||||
|
||||
return $positiveInfinity;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return self
|
||||
*/
|
||||
public static function any()
|
||||
{
|
||||
return new self(self::fromZero(), self::untilPositiveInfinity());
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array{'names': string[], 'exclude': bool}
|
||||
*/
|
||||
public static function anyDev()
|
||||
{
|
||||
// any == exclude nothing
|
||||
return array('names' => array(), 'exclude' => true);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array{'names': string[], 'exclude': bool}
|
||||
*/
|
||||
public static function noDev()
|
||||
{
|
||||
// nothing == no names included
|
||||
return array('names' => array(), 'exclude' => false);
|
||||
}
|
||||
}
|
478
vendor/composer/semver/src/Intervals.php
vendored
Normal file
478
vendor/composer/semver/src/Intervals.php
vendored
Normal file
@@ -0,0 +1,478 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of composer/semver.
|
||||
*
|
||||
* (c) Composer <https://github.com/composer>
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the LICENSE file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Composer\Semver;
|
||||
|
||||
use Composer\Semver\Constraint\Constraint;
|
||||
use Composer\Semver\Constraint\ConstraintInterface;
|
||||
use Composer\Semver\Constraint\MatchAllConstraint;
|
||||
use Composer\Semver\Constraint\MatchNoneConstraint;
|
||||
use Composer\Semver\Constraint\MultiConstraint;
|
||||
|
||||
/**
|
||||
* Helper class generating intervals from constraints
|
||||
*
|
||||
* This contains utilities for:
|
||||
*
|
||||
* - compacting an existing constraint which can be used to combine several into one
|
||||
* by creating a MultiConstraint out of the many constraints you have.
|
||||
*
|
||||
* - checking whether one subset is a subset of another.
|
||||
*
|
||||
* Note: You should call clear to free memoization memory usage when you are done using this class
|
||||
*/
|
||||
class Intervals
|
||||
{
|
||||
/**
|
||||
* @phpstan-var array<string, array{'numeric': Interval[], 'branches': array{'names': string[], 'exclude': bool}}>
|
||||
*/
|
||||
private static $intervalsCache = array();
|
||||
|
||||
/**
|
||||
* @phpstan-var array<string, int>
|
||||
*/
|
||||
private static $opSortOrder = array(
|
||||
'>=' => -3,
|
||||
'<' => -2,
|
||||
'>' => 2,
|
||||
'<=' => 3,
|
||||
);
|
||||
|
||||
/**
|
||||
* Clears the memoization cache once you are done
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function clear()
|
||||
{
|
||||
self::$intervalsCache = array();
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether $candidate is a subset of $constraint
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function isSubsetOf(ConstraintInterface $candidate, ConstraintInterface $constraint)
|
||||
{
|
||||
if ($constraint instanceof MatchAllConstraint) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if ($candidate instanceof MatchNoneConstraint || $constraint instanceof MatchNoneConstraint) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$intersectionIntervals = self::get(new MultiConstraint(array($candidate, $constraint), true));
|
||||
$candidateIntervals = self::get($candidate);
|
||||
if (\count($intersectionIntervals['numeric']) !== \count($candidateIntervals['numeric'])) {
|
||||
return false;
|
||||
}
|
||||
|
||||
foreach ($intersectionIntervals['numeric'] as $index => $interval) {
|
||||
if (!isset($candidateIntervals['numeric'][$index])) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ((string) $candidateIntervals['numeric'][$index]->getStart() !== (string) $interval->getStart()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ((string) $candidateIntervals['numeric'][$index]->getEnd() !== (string) $interval->getEnd()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if ($intersectionIntervals['branches']['exclude'] !== $candidateIntervals['branches']['exclude']) {
|
||||
return false;
|
||||
}
|
||||
if (\count($intersectionIntervals['branches']['names']) !== \count($candidateIntervals['branches']['names'])) {
|
||||
return false;
|
||||
}
|
||||
foreach ($intersectionIntervals['branches']['names'] as $index => $name) {
|
||||
if ($name !== $candidateIntervals['branches']['names'][$index]) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether $a and $b have any intersection, equivalent to $a->matches($b)
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function haveIntersections(ConstraintInterface $a, ConstraintInterface $b)
|
||||
{
|
||||
if ($a instanceof MatchAllConstraint || $b instanceof MatchAllConstraint) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if ($a instanceof MatchNoneConstraint || $b instanceof MatchNoneConstraint) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$intersectionIntervals = self::generateIntervals(new MultiConstraint(array($a, $b), true), true);
|
||||
|
||||
return \count($intersectionIntervals['numeric']) > 0 || $intersectionIntervals['branches']['exclude'] || \count($intersectionIntervals['branches']['names']) > 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Attempts to optimize a MultiConstraint
|
||||
*
|
||||
* When merging MultiConstraints together they can get very large, this will
|
||||
* compact it by looking at the real intervals covered by all the constraints
|
||||
* and then creates a new constraint containing only the smallest amount of rules
|
||||
* to match the same intervals.
|
||||
*
|
||||
* @return ConstraintInterface
|
||||
*/
|
||||
public static function compactConstraint(ConstraintInterface $constraint)
|
||||
{
|
||||
if (!$constraint instanceof MultiConstraint) {
|
||||
return $constraint;
|
||||
}
|
||||
|
||||
$intervals = self::generateIntervals($constraint);
|
||||
$constraints = array();
|
||||
$hasNumericMatchAll = false;
|
||||
|
||||
if (\count($intervals['numeric']) === 1 && (string) $intervals['numeric'][0]->getStart() === (string) Interval::fromZero() && (string) $intervals['numeric'][0]->getEnd() === (string) Interval::untilPositiveInfinity()) {
|
||||
$constraints[] = $intervals['numeric'][0]->getStart();
|
||||
$hasNumericMatchAll = true;
|
||||
} else {
|
||||
$unEqualConstraints = array();
|
||||
for ($i = 0, $count = \count($intervals['numeric']); $i < $count; $i++) {
|
||||
$interval = $intervals['numeric'][$i];
|
||||
|
||||
// if current interval ends with < N and next interval begins with > N we can swap this out for != N
|
||||
// but this needs to happen as a conjunctive expression together with the start of the current interval
|
||||
// and end of next interval, so [>=M, <N] || [>N, <P] => [>=M, !=N, <P] but M/P can be skipped if
|
||||
// they are zero/+inf
|
||||
if ($interval->getEnd()->getOperator() === '<' && $i+1 < $count) {
|
||||
$nextInterval = $intervals['numeric'][$i+1];
|
||||
if ($interval->getEnd()->getVersion() === $nextInterval->getStart()->getVersion() && $nextInterval->getStart()->getOperator() === '>') {
|
||||
// only add a start if we didn't already do so, can be skipped if we're looking at second
|
||||
// interval in [>=M, <N] || [>N, <P] || [>P, <Q] where unEqualConstraints currently contains
|
||||
// [>=M, !=N] already and we only want to add !=P right now
|
||||
if (\count($unEqualConstraints) === 0 && (string) $interval->getStart() !== (string) Interval::fromZero()) {
|
||||
$unEqualConstraints[] = $interval->getStart();
|
||||
}
|
||||
$unEqualConstraints[] = new Constraint('!=', $interval->getEnd()->getVersion());
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if (\count($unEqualConstraints) > 0) {
|
||||
// this is where the end of the following interval of a != constraint is added as explained above
|
||||
if ((string) $interval->getEnd() !== (string) Interval::untilPositiveInfinity()) {
|
||||
$unEqualConstraints[] = $interval->getEnd();
|
||||
}
|
||||
|
||||
// count is 1 if entire constraint is just one != expression
|
||||
if (\count($unEqualConstraints) > 1) {
|
||||
$constraints[] = new MultiConstraint($unEqualConstraints, true);
|
||||
} else {
|
||||
$constraints[] = $unEqualConstraints[0];
|
||||
}
|
||||
|
||||
$unEqualConstraints = array();
|
||||
continue;
|
||||
}
|
||||
|
||||
// convert back >= x - <= x intervals to == x
|
||||
if ($interval->getStart()->getVersion() === $interval->getEnd()->getVersion() && $interval->getStart()->getOperator() === '>=' && $interval->getEnd()->getOperator() === '<=') {
|
||||
$constraints[] = new Constraint('==', $interval->getStart()->getVersion());
|
||||
continue;
|
||||
}
|
||||
|
||||
if ((string) $interval->getStart() === (string) Interval::fromZero()) {
|
||||
$constraints[] = $interval->getEnd();
|
||||
} elseif ((string) $interval->getEnd() === (string) Interval::untilPositiveInfinity()) {
|
||||
$constraints[] = $interval->getStart();
|
||||
} else {
|
||||
$constraints[] = new MultiConstraint(array($interval->getStart(), $interval->getEnd()), true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$devConstraints = array();
|
||||
|
||||
if (0 === \count($intervals['branches']['names'])) {
|
||||
if ($intervals['branches']['exclude']) {
|
||||
if ($hasNumericMatchAll) {
|
||||
return new MatchAllConstraint;
|
||||
}
|
||||
// otherwise constraint should contain a != operator and already cover this
|
||||
}
|
||||
} else {
|
||||
foreach ($intervals['branches']['names'] as $branchName) {
|
||||
if ($intervals['branches']['exclude']) {
|
||||
$devConstraints[] = new Constraint('!=', $branchName);
|
||||
} else {
|
||||
$devConstraints[] = new Constraint('==', $branchName);
|
||||
}
|
||||
}
|
||||
|
||||
// excluded branches, e.g. != dev-foo are conjunctive with the interval, so
|
||||
// > 2.0 != dev-foo must return a conjunctive constraint
|
||||
if ($intervals['branches']['exclude']) {
|
||||
if (\count($constraints) > 1) {
|
||||
return new MultiConstraint(array_merge(
|
||||
array(new MultiConstraint($constraints, false)),
|
||||
$devConstraints
|
||||
), true);
|
||||
}
|
||||
|
||||
if (\count($constraints) === 1 && (string)$constraints[0] === (string)Interval::fromZero()) {
|
||||
if (\count($devConstraints) > 1) {
|
||||
return new MultiConstraint($devConstraints, true);
|
||||
}
|
||||
return $devConstraints[0];
|
||||
}
|
||||
|
||||
return new MultiConstraint(array_merge($constraints, $devConstraints), true);
|
||||
}
|
||||
|
||||
// otherwise devConstraints contains a list of == operators for branches which are disjunctive with the
|
||||
// rest of the constraint
|
||||
$constraints = array_merge($constraints, $devConstraints);
|
||||
}
|
||||
|
||||
if (\count($constraints) > 1) {
|
||||
return new MultiConstraint($constraints, false);
|
||||
}
|
||||
|
||||
if (\count($constraints) === 1) {
|
||||
return $constraints[0];
|
||||
}
|
||||
|
||||
return new MatchNoneConstraint;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates an array of numeric intervals and branch constraints representing a given constraint
|
||||
*
|
||||
* if the returned numeric array is empty it means the constraint matches nothing in the numeric range (0 - +inf)
|
||||
* if the returned branches array is empty it means no dev-* versions are matched
|
||||
* if a constraint matches all possible dev-* versions, branches will contain Interval::anyDev()
|
||||
*
|
||||
* @return array
|
||||
* @phpstan-return array{'numeric': Interval[], 'branches': array{'names': string[], 'exclude': bool}}
|
||||
*/
|
||||
public static function get(ConstraintInterface $constraint)
|
||||
{
|
||||
$key = (string) $constraint;
|
||||
|
||||
if (!isset(self::$intervalsCache[$key])) {
|
||||
self::$intervalsCache[$key] = self::generateIntervals($constraint);
|
||||
}
|
||||
|
||||
return self::$intervalsCache[$key];
|
||||
}
|
||||
|
||||
/**
|
||||
* @param bool $stopOnFirstValidInterval
|
||||
*
|
||||
* @phpstan-return array{'numeric': Interval[], 'branches': array{'names': string[], 'exclude': bool}}
|
||||
*/
|
||||
private static function generateIntervals(ConstraintInterface $constraint, $stopOnFirstValidInterval = false)
|
||||
{
|
||||
if ($constraint instanceof MatchAllConstraint) {
|
||||
return array('numeric' => array(new Interval(Interval::fromZero(), Interval::untilPositiveInfinity())), 'branches' => Interval::anyDev());
|
||||
}
|
||||
|
||||
if ($constraint instanceof MatchNoneConstraint) {
|
||||
return array('numeric' => array(), 'branches' => array('names' => array(), 'exclude' => false));
|
||||
}
|
||||
|
||||
if ($constraint instanceof Constraint) {
|
||||
return self::generateSingleConstraintIntervals($constraint);
|
||||
}
|
||||
|
||||
if (!$constraint instanceof MultiConstraint) {
|
||||
throw new \UnexpectedValueException('The constraint passed in should be an MatchAllConstraint, Constraint or MultiConstraint instance, got '.\get_class($constraint).'.');
|
||||
}
|
||||
|
||||
$constraints = $constraint->getConstraints();
|
||||
|
||||
$numericGroups = array();
|
||||
$constraintBranches = array();
|
||||
foreach ($constraints as $c) {
|
||||
$res = self::get($c);
|
||||
$numericGroups[] = $res['numeric'];
|
||||
$constraintBranches[] = $res['branches'];
|
||||
}
|
||||
|
||||
if ($constraint->isDisjunctive()) {
|
||||
$branches = Interval::noDev();
|
||||
foreach ($constraintBranches as $b) {
|
||||
if ($b['exclude']) {
|
||||
if ($branches['exclude']) {
|
||||
// disjunctive constraint, so only exclude what's excluded in all constraints
|
||||
// !=a,!=b || !=b,!=c => !=b
|
||||
$branches['names'] = array_intersect($branches['names'], $b['names']);
|
||||
} else {
|
||||
// disjunctive constraint so exclude all names which are not explicitly included in the alternative
|
||||
// (==b || ==c) || !=a,!=b => !=a
|
||||
$branches['exclude'] = true;
|
||||
$branches['names'] = array_diff($b['names'], $branches['names']);
|
||||
}
|
||||
} else {
|
||||
if ($branches['exclude']) {
|
||||
// disjunctive constraint so exclude all names which are not explicitly included in the alternative
|
||||
// !=a,!=b || (==b || ==c) => !=a
|
||||
$branches['names'] = array_diff($branches['names'], $b['names']);
|
||||
} else {
|
||||
// disjunctive constraint, so just add all the other branches
|
||||
// (==a || ==b) || ==c => ==a || ==b || ==c
|
||||
$branches['names'] = array_merge($branches['names'], $b['names']);
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$branches = Interval::anyDev();
|
||||
foreach ($constraintBranches as $b) {
|
||||
if ($b['exclude']) {
|
||||
if ($branches['exclude']) {
|
||||
// conjunctive, so just add all branch names to be excluded
|
||||
// !=a && !=b => !=a,!=b
|
||||
$branches['names'] = array_merge($branches['names'], $b['names']);
|
||||
} else {
|
||||
// conjunctive, so only keep included names which are not excluded
|
||||
// (==a||==c) && !=a,!=b => ==c
|
||||
$branches['names'] = array_diff($branches['names'], $b['names']);
|
||||
}
|
||||
} else {
|
||||
if ($branches['exclude']) {
|
||||
// conjunctive, so only keep included names which are not excluded
|
||||
// !=a,!=b && (==a||==c) => ==c
|
||||
$branches['names'] = array_diff($b['names'], $branches['names']);
|
||||
$branches['exclude'] = false;
|
||||
} else {
|
||||
// conjunctive, so only keep names that are included in both
|
||||
// (==a||==b) && (==a||==c) => ==a
|
||||
$branches['names'] = array_intersect($branches['names'], $b['names']);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$branches['names'] = array_unique($branches['names']);
|
||||
|
||||
if (\count($numericGroups) === 1) {
|
||||
return array('numeric' => $numericGroups[0], 'branches' => $branches);
|
||||
}
|
||||
|
||||
$borders = array();
|
||||
foreach ($numericGroups as $group) {
|
||||
foreach ($group as $interval) {
|
||||
$borders[] = array('version' => $interval->getStart()->getVersion(), 'operator' => $interval->getStart()->getOperator(), 'side' => 'start');
|
||||
$borders[] = array('version' => $interval->getEnd()->getVersion(), 'operator' => $interval->getEnd()->getOperator(), 'side' => 'end');
|
||||
}
|
||||
}
|
||||
|
||||
$opSortOrder = self::$opSortOrder;
|
||||
usort($borders, function ($a, $b) use ($opSortOrder) {
|
||||
$order = version_compare($a['version'], $b['version']);
|
||||
if ($order === 0) {
|
||||
return $opSortOrder[$a['operator']] - $opSortOrder[$b['operator']];
|
||||
}
|
||||
|
||||
return $order;
|
||||
});
|
||||
|
||||
$activeIntervals = 0;
|
||||
$intervals = array();
|
||||
$index = 0;
|
||||
$activationThreshold = $constraint->isConjunctive() ? \count($numericGroups) : 1;
|
||||
$start = null;
|
||||
foreach ($borders as $border) {
|
||||
if ($border['side'] === 'start') {
|
||||
$activeIntervals++;
|
||||
} else {
|
||||
$activeIntervals--;
|
||||
}
|
||||
if (!$start && $activeIntervals >= $activationThreshold) {
|
||||
$start = new Constraint($border['operator'], $border['version']);
|
||||
} elseif ($start && $activeIntervals < $activationThreshold) {
|
||||
// filter out invalid intervals like > x - <= x, or >= x - < x
|
||||
if (
|
||||
version_compare($start->getVersion(), $border['version'], '=')
|
||||
&& (
|
||||
($start->getOperator() === '>' && $border['operator'] === '<=')
|
||||
|| ($start->getOperator() === '>=' && $border['operator'] === '<')
|
||||
)
|
||||
) {
|
||||
unset($intervals[$index]);
|
||||
} else {
|
||||
$intervals[$index] = new Interval($start, new Constraint($border['operator'], $border['version']));
|
||||
$index++;
|
||||
|
||||
if ($stopOnFirstValidInterval) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
$start = null;
|
||||
}
|
||||
}
|
||||
|
||||
return array('numeric' => $intervals, 'branches' => $branches);
|
||||
}
|
||||
|
||||
/**
|
||||
* @phpstan-return array{'numeric': Interval[], 'branches': array{'names': string[], 'exclude': bool}}
|
||||
*/
|
||||
private static function generateSingleConstraintIntervals(Constraint $constraint)
|
||||
{
|
||||
$op = $constraint->getOperator();
|
||||
|
||||
// handle branch constraints first
|
||||
if (strpos($constraint->getVersion(), 'dev-') === 0) {
|
||||
$intervals = array();
|
||||
$branches = array('names' => array(), 'exclude' => false);
|
||||
|
||||
// != dev-foo means any numeric version may match, we treat >/< like != they are not really defined for branches
|
||||
if ($op === '!=') {
|
||||
$intervals[] = new Interval(Interval::fromZero(), Interval::untilPositiveInfinity());
|
||||
$branches = array('names' => array($constraint->getVersion()), 'exclude' => true);
|
||||
} elseif ($op === '==') {
|
||||
$branches['names'][] = $constraint->getVersion();
|
||||
}
|
||||
|
||||
return array(
|
||||
'numeric' => $intervals,
|
||||
'branches' => $branches,
|
||||
);
|
||||
}
|
||||
|
||||
if ($op[0] === '>') { // > & >=
|
||||
return array('numeric' => array(new Interval($constraint, Interval::untilPositiveInfinity())), 'branches' => Interval::noDev());
|
||||
}
|
||||
if ($op[0] === '<') { // < & <=
|
||||
return array('numeric' => array(new Interval(Interval::fromZero(), $constraint)), 'branches' => Interval::noDev());
|
||||
}
|
||||
if ($op === '!=') {
|
||||
// convert !=x to intervals of 0 - <x && >x - +inf + dev*
|
||||
return array('numeric' => array(
|
||||
new Interval(Interval::fromZero(), new Constraint('<', $constraint->getVersion())),
|
||||
new Interval(new Constraint('>', $constraint->getVersion()), Interval::untilPositiveInfinity()),
|
||||
), 'branches' => Interval::anyDev());
|
||||
}
|
||||
|
||||
// convert ==x to an interval of >=x - <=x
|
||||
return array('numeric' => array(
|
||||
new Interval(new Constraint('>=', $constraint->getVersion()), new Constraint('<=', $constraint->getVersion())),
|
||||
), 'branches' => Interval::noDev());
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user