composer update

This commit is contained in:
Ortwin Pinke 2023-04-07 18:32:06 +02:00
parent 219d52f739
commit fcda0a460b
11 changed files with 1862 additions and 9 deletions

View file

@ -5,6 +5,9 @@
<sourceFolder url="file://$MODULE_DIR$/conlite/external" isTestSource="false" packagePrefix="Conlite\External\" />
<sourceFolder url="file://$MODULE_DIR$/conlite/external/endroid/qr-code/src" isTestSource="false" packagePrefix="Endroid\QrCode\" />
<sourceFolder url="file://$MODULE_DIR$/conlite/external/endroid/qr-code/tests" isTestSource="true" packagePrefix="Endroid\QrCode\Tests\" />
<sourceFolder url="file://$MODULE_DIR$/conlite/external/endroid/qr-code/tests" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/conlite/external/phpmailer/phpmailer/src" isTestSource="false" packagePrefix="PHPMailer\PHPMailer\" />
<sourceFolder url="file://$MODULE_DIR$/conlite/external/phpmailer/phpmailer/test" isTestSource="true" packagePrefix="PHPMailer\Test\" />
<sourceFolder url="file://$MODULE_DIR$/conlite/external/phpmailer/phpmailer/tests" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/spec" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" />
@ -22,9 +25,37 @@
<excludeFolder url="file://$MODULE_DIR$/conlite/external/frontend/logs" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/frontend/templates" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/frontend/upload" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/myclabs/deep-copy" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/nikic/php-parser" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/phar-io/manifest" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/phar-io/version" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/phpmailer/phpmailer" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/phpqrcode/bindings" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/phpqrcode/tools" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/phpstan/phpstan" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/phpunit/php-code-coverage" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/phpunit/php-file-iterator" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/phpunit/php-invoker" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/phpunit/php-text-template" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/phpunit/php-timer" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/phpunit/phpunit" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/rector/rector" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/sebastian/cli-parser" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/sebastian/code-unit" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/sebastian/code-unit-reverse-lookup" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/sebastian/comparator" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/sebastian/complexity" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/sebastian/diff" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/sebastian/environment" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/sebastian/exporter" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/sebastian/global-state" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/sebastian/lines-of-code" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/sebastian/object-enumerator" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/sebastian/object-reflector" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/sebastian/recursion-context" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/sebastian/type" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/sebastian/version" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/theseer/tokenizer" />
<excludeFolder url="file://$MODULE_DIR$/conlite/external/wysiwyg/tinymce3" />
</content>
<orderEntry type="inheritedJdk" />

15
.idea/codeception.xml Normal file
View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Codeception">
<option name="configurations">
<list>
<Configuration>
<option name="path" value="$PROJECT_DIR$/tests" />
</Configuration>
<Configuration>
<option name="path" value="$PROJECT_DIR$/tests" />
</Configuration>
</list>
</option>
</component>
</project>

View file

@ -30,14 +30,52 @@
<path value="$PROJECT_DIR$/conlite/external/edit_area/plugins" />
<path value="$PROJECT_DIR$/conlite/external/phpqrcode/tools" />
<path value="$PROJECT_DIR$/conlite/external/phpmailer/phpmailer" />
<path value="$PROJECT_DIR$/conlite/external/nikic/php-parser" />
<path value="$PROJECT_DIR$/conlite/external/phpunit/php-timer" />
<path value="$PROJECT_DIR$/conlite/external/phpunit/php-file-iterator" />
<path value="$PROJECT_DIR$/conlite/external/phpunit/php-code-coverage" />
<path value="$PROJECT_DIR$/conlite/external/phpunit/php-text-template" />
<path value="$PROJECT_DIR$/conlite/external/phpunit/phpunit" />
<path value="$PROJECT_DIR$/conlite/external/phpunit/php-invoker" />
<path value="$PROJECT_DIR$/conlite/external/phar-io/version" />
<path value="$PROJECT_DIR$/conlite/external/phar-io/manifest" />
<path value="$PROJECT_DIR$/conlite/external/theseer/tokenizer" />
<path value="$PROJECT_DIR$/conlite/external/sebastian/diff" />
<path value="$PROJECT_DIR$/conlite/external/sebastian/version" />
<path value="$PROJECT_DIR$/conlite/external/sebastian/comparator" />
<path value="$PROJECT_DIR$/conlite/external/sebastian/code-unit-reverse-lookup" />
<path value="$PROJECT_DIR$/conlite/external/sebastian/lines-of-code" />
<path value="$PROJECT_DIR$/conlite/external/sebastian/complexity" />
<path value="$PROJECT_DIR$/conlite/external/sebastian/environment" />
<path value="$PROJECT_DIR$/conlite/external/sebastian/global-state" />
<path value="$PROJECT_DIR$/conlite/external/rector/rector" />
<path value="$PROJECT_DIR$/conlite/external/sebastian/object-enumerator" />
<path value="$PROJECT_DIR$/conlite/external/sebastian/recursion-context" />
<path value="$PROJECT_DIR$/conlite/external/sebastian/code-unit" />
<path value="$PROJECT_DIR$/conlite/external/sebastian/exporter" />
<path value="$PROJECT_DIR$/conlite/external/phpstan/phpstan" />
<path value="$PROJECT_DIR$/conlite/external/sebastian/type" />
<path value="$PROJECT_DIR$/conlite/external/myclabs/deep-copy" />
<path value="$PROJECT_DIR$/conlite/external/sebastian/object-reflector" />
<path value="$PROJECT_DIR$/conlite/external/sebastian/cli-parser" />
</include_path>
</component>
<component name="PhpProjectSharedConfiguration" php_language_level="8.0">
<option name="suggestChangeDefaultLanguageLevel" value="false" />
</component>
<component name="PhpStan">
<PhpStan_settings>
<PhpStanConfiguration tool_path="$PROJECT_DIR$/conlite/external/bin/phpstan" />
</PhpStan_settings>
</component>
<component name="PhpStanOptionsConfiguration">
<option name="transferred" value="true" />
</component>
<component name="PhpUnit">
<phpunit_settings>
<PhpUnitSettings custom_loader_path="$PROJECT_DIR$/conlite/external/autoload.php" />
</phpunit_settings>
</component>
<component name="PsalmOptionsConfiguration">
<option name="transferred" value="true" />
</component>

13
.idea/phpspec.xml Normal file
View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="PHPSpec">
<suites>
<PhpSpecSuiteConfiguration>
<option name="myPath" value="$PROJECT_DIR$" />
</PhpSpecSuiteConfiguration>
<PhpSpecSuiteConfiguration>
<option name="myPath" value="$PROJECT_DIR$" />
</PhpSpecSuiteConfiguration>
</suites>
</component>
</project>

View file

@ -9,6 +9,8 @@
<option value="$PROJECT_DIR$/conlite/external/endroid/qr-code/tests" />
<option value="$PROJECT_DIR$/conlite/external/endroid/qr-code/tests" />
<option value="$PROJECT_DIR$/conlite/external/phpmailer/phpmailer/tests" />
<option value="$PROJECT_DIR$/tests" />
<option value="$PROJECT_DIR$/tests" />
</list>
</option>
</component>

View file

@ -12,8 +12,14 @@
"vendor-dir": "conlite/external"
},
"require": {
"php": "^8.0",
"phpmailer/phpmailer": "v6.8.0"
},
"require-dev": {
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^10.0",
"rector/rector": "^0.15"
},
"autoload": {
"psr-4": {
"Conlite\\External\\": "conlite/external"

1736
composer.lock generated

File diff suppressed because it is too large Load diff

View file

@ -84,6 +84,6 @@
"install-path": "../phpmailer/phpmailer"
}
],
"dev": true,
"dev": false,
"dev-package-names": []
}

View file

@ -3,17 +3,17 @@
'name' => 'org.conlite/conlite',
'pretty_version' => 'dev-develop',
'version' => 'dev-develop',
'reference' => 'bf4c7533428f2ad8d5092b5197f2841ba758de7d',
'reference' => '219d52f73993933b39969e150ab402f9f28347e1',
'type' => 'library',
'install_path' => __DIR__ . '/../../../',
'aliases' => array(),
'dev' => true,
'dev' => false,
),
'versions' => array(
'org.conlite/conlite' => array(
'pretty_version' => 'dev-develop',
'version' => 'dev-develop',
'reference' => 'bf4c7533428f2ad8d5092b5197f2841ba758de7d',
'reference' => '219d52f73993933b39969e150ab402f9f28347e1',
'type' => 'library',
'install_path' => __DIR__ . '/../../../',
'aliases' => array(),

View file

@ -4,8 +4,8 @@
$issues = array();
if (!(PHP_VERSION_ID >= 50500)) {
$issues[] = 'Your Composer dependencies require a PHP version ">= 5.5.0". You are running ' . PHP_VERSION . '.';
if (!(PHP_VERSION_ID >= 80000)) {
$issues[] = 'Your Composer dependencies require a PHP version ">= 8.0.0". You are running ' . PHP_VERSION . '.';
}
if ($issues) {

18
rector.php Normal file
View file

@ -0,0 +1,18 @@
<?php
use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\LevelSetList;
return static function (RectorConfig $rectorConfig): void {
$rectorConfig->parallel();
$rectorConfig->paths([
__DIR__,
]);
$rectorConfig->skip([
__DIR__ . DIRECTORY_SEPARATOR . 'node_modules',
__DIR__ . DIRECTORY_SEPARATOR . 'var',
__DIR__ . DIRECTORY_SEPARATOR . 'vendor',
]);
$rectorConfig->importNames();
$rectorConfig->import(LevelSetList::UP_TO_PHP_80);
};