From f1ab2f022fdc780aca0944d90e9a0e844a0820d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Mon, 27 May 2024 13:12:17 +0200 Subject: =?UTF-8?q?2024-02-19:=20popravljen=20(prej=C5=A1nji=20commit=20je?= =?UTF-8?q?=20napa=C4=8Den)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vendor/composer/platform_check.php | 26 --- vendor/guzzlehttp/promises/Makefile | 13 -- vendor/guzzlehttp/psr7/.github/workflows/bc.yml | 16 -- .../sodium_compat/.github/workflows/ci.yml | 96 ---------- vendor/paragonie/sodium_compat/.gitignore | 9 - vendor/paragonie/sodium_compat/appveyor.yml | 27 --- vendor/paragonie/sodium_compat/autoload-fast.php | 4 - .../paragonie/sodium_compat/autoload-pedantic.php | 6 - .../paragonie/sodium_compat/autoload-phpunit.php | 8 - vendor/paragonie/sodium_compat/build-phar.sh | 8 - vendor/paragonie/sodium_compat/dist/Makefile | 39 ---- vendor/paragonie/sodium_compat/dist/box.json | 32 ---- vendor/paragonie/sodium_compat/phpunit.xml.dist | 16 -- vendor/paragonie/sodium_compat/psalm-above-3.xml | 57 ------ vendor/paragonie/sodium_compat/psalm-below-3.xml | 43 ----- .../sodium_compat/src/Core/Base64/Common.php | 213 --------------------- vendor/paypal/paypal-checkout-sdk/composer.phar | Bin 1874955 -> 0 bytes .../phpmailer/language/phpmailer.lang-ch.php | 27 --- vendor/phpmailer/phpmailer/phpunit.xml.dist | 35 ---- vendor/stripe/stripe-php/.php_cs.dist | 45 ----- 20 files changed, 720 deletions(-) delete mode 100644 vendor/composer/platform_check.php delete mode 100644 vendor/guzzlehttp/promises/Makefile delete mode 100644 vendor/guzzlehttp/psr7/.github/workflows/bc.yml delete mode 100644 vendor/paragonie/sodium_compat/.github/workflows/ci.yml delete mode 100644 vendor/paragonie/sodium_compat/.gitignore delete mode 100644 vendor/paragonie/sodium_compat/appveyor.yml delete mode 100644 vendor/paragonie/sodium_compat/autoload-fast.php delete mode 100644 vendor/paragonie/sodium_compat/autoload-pedantic.php delete mode 100644 vendor/paragonie/sodium_compat/autoload-phpunit.php delete mode 100644 vendor/paragonie/sodium_compat/build-phar.sh delete mode 100644 vendor/paragonie/sodium_compat/dist/Makefile delete mode 100644 vendor/paragonie/sodium_compat/dist/box.json delete mode 100644 vendor/paragonie/sodium_compat/phpunit.xml.dist delete mode 100644 vendor/paragonie/sodium_compat/psalm-above-3.xml delete mode 100644 vendor/paragonie/sodium_compat/psalm-below-3.xml delete mode 100644 vendor/paragonie/sodium_compat/src/Core/Base64/Common.php delete mode 100644 vendor/paypal/paypal-checkout-sdk/composer.phar delete mode 100644 vendor/phpmailer/phpmailer/language/phpmailer.lang-ch.php delete mode 100644 vendor/phpmailer/phpmailer/phpunit.xml.dist delete mode 100644 vendor/stripe/stripe-php/.php_cs.dist (limited to 'vendor') diff --git a/vendor/composer/platform_check.php b/vendor/composer/platform_check.php deleted file mode 100644 index 92370c5..0000000 --- a/vendor/composer/platform_check.php +++ /dev/null @@ -1,26 +0,0 @@ -= 70300)) { - $issues[] = 'Your Composer dependencies require a PHP version ">= 7.3.0". You are running ' . PHP_VERSION . '.'; -} - -if ($issues) { - if (!headers_sent()) { - header('HTTP/1.1 500 Internal Server Error'); - } - if (!ini_get('display_errors')) { - if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { - fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL); - } elseif (!headers_sent()) { - echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL; - } - } - trigger_error( - 'Composer detected issues in your platform: ' . implode(' ', $issues), - E_USER_ERROR - ); -} diff --git a/vendor/guzzlehttp/promises/Makefile b/vendor/guzzlehttp/promises/Makefile deleted file mode 100644 index 8d5b3ef..0000000 --- a/vendor/guzzlehttp/promises/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -all: clean test - -test: - vendor/bin/phpunit - -coverage: - vendor/bin/phpunit --coverage-html=artifacts/coverage - -view-coverage: - open artifacts/coverage/index.html - -clean: - rm -rf artifacts/* diff --git a/vendor/guzzlehttp/psr7/.github/workflows/bc.yml b/vendor/guzzlehttp/psr7/.github/workflows/bc.yml deleted file mode 100644 index 3a2262f..0000000 --- a/vendor/guzzlehttp/psr7/.github/workflows/bc.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: BC Check - -on: - pull_request: - -jobs: - roave-bc-check: - name: Roave BC Check - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Roave BC Check - uses: docker://nyholm/roave-bc-check-ga diff --git a/vendor/paragonie/sodium_compat/.github/workflows/ci.yml b/vendor/paragonie/sodium_compat/.github/workflows/ci.yml deleted file mode 100644 index f570b84..0000000 --- a/vendor/paragonie/sodium_compat/.github/workflows/ci.yml +++ /dev/null @@ -1,96 +0,0 @@ -name: CI - -on: [push] - -jobs: - old: - name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} - runs-on: ${{ matrix.operating-system }} - strategy: - matrix: - operating-system: ['ubuntu-16.04'] - php-versions: ['5.3', '5.4', '5.5', '5.6', '7.0'] - phpunit-versions: ['7.5.20'] - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php-versions }} - extensions: mbstring, intl - ini-values: post_max_size=256M, max_execution_time=180 - tools: psalm, phpunit:${{ matrix.phpunit-versions }} - - - name: Install dependencies - run: composer self-update --1; composer install - - - name: PHPUnit tests - uses: php-actions/phpunit@v2 - with: - memory_limit: 256M - - moderate: - name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} - runs-on: ${{ matrix.operating-system }} - strategy: - matrix: - operating-system: ['ubuntu-latest'] - php-versions: ['7.1', '7.2', '7.3'] - phpunit-versions: ['latest'] - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php-versions }} - extensions: mbstring, intl, sodium - ini-values: post_max_size=256M, max_execution_time=180 - tools: psalm, phpunit:${{ matrix.phpunit-versions }} - - - name: Install dependencies - run: composer install - - - name: PHPUnit tests - uses: php-actions/phpunit@v2 - timeout-minutes: 30 - with: - memory_limit: 256M - - modern: - name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} - runs-on: ${{ matrix.operating-system }} - strategy: - matrix: - operating-system: ['ubuntu-latest'] - php-versions: ['7.4', '8.0'] - phpunit-versions: ['latest'] - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php-versions }} - extensions: mbstring, intl, sodium - ini-values: post_max_size=256M, max_execution_time=180 - tools: psalm, phpunit:${{ matrix.phpunit-versions }} - - - name: Install dependencies - run: composer install - - - name: PHPUnit tests - uses: php-actions/phpunit@v2 - timeout-minutes: 30 - with: - memory_limit: 256M - - - name: Install Psalm - run: composer require --dev vimeo/psalm:^4; cp psalm-above-3.xml psalm.xml - - - name: Static Analysis - run: vendor/bin/psalm diff --git a/vendor/paragonie/sodium_compat/.gitignore b/vendor/paragonie/sodium_compat/.gitignore deleted file mode 100644 index 0df5a6d..0000000 --- a/vendor/paragonie/sodium_compat/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/.idea/ -/.php_cs.cache -/.phpunit.result.cache -/box/ -/dist/sodium-compat.phar -/dist/sodium-compat.phar.sig -/composer.lock -/vendor/ -/psalm.xml diff --git a/vendor/paragonie/sodium_compat/appveyor.yml b/vendor/paragonie/sodium_compat/appveyor.yml deleted file mode 100644 index 9621e9a..0000000 --- a/vendor/paragonie/sodium_compat/appveyor.yml +++ /dev/null @@ -1,27 +0,0 @@ -build: false -shallow_clone: false -platform: - - x86 - - x64 -clone_folder: C:\projects\sodium_compat -image: Visual Studio 2017 - -install: - - cinst -y OpenSSL.Light - - SET PATH=C:\Program Files\OpenSSL;%PATH% - - sc config wuauserv start= auto - - net start wuauserv - - cinst -y php --version 5.6.30 - - cd c:\tools\php56 - - copy php.ini-production php.ini - - echo date.timezone="UTC" >> php.ini - - echo extension_dir=ext >> php.ini - - echo extension=php_openssl.dll >> php.ini - - cd C:\projects\sodium_compat - - SET PATH=C:\tools\php56;%PATH% - - php.exe -r "readfile('http://getcomposer.org/installer');" | php.exe - - php.exe composer.phar install --prefer-source --no-interaction - -test_script: - - cd C:\projects\sodium_compat - - vendor\bin\phpunit.bat tests/Windows32Test.php diff --git a/vendor/paragonie/sodium_compat/autoload-fast.php b/vendor/paragonie/sodium_compat/autoload-fast.php deleted file mode 100644 index 08724d1..0000000 --- a/vendor/paragonie/sodium_compat/autoload-fast.php +++ /dev/null @@ -1,4 +0,0 @@ -= 50300) { - require_once (dirname(__FILE__) . '/tests/phpunit-shim.php'); -} -require_once (dirname(__FILE__) . '/autoload.php'); diff --git a/vendor/paragonie/sodium_compat/build-phar.sh b/vendor/paragonie/sodium_compat/build-phar.sh deleted file mode 100644 index 380eee6..0000000 --- a/vendor/paragonie/sodium_compat/build-phar.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env bash - -curl -LSs https://box-project.github.io/box2/installer.php | php -mkdir ~/box -mv box.phar ~/box/box -PATH=$PATH:~/box/ make -C dist/ build-phar -# PATH=$PATH:~/box/ make -C dist/ sign-phar - diff --git a/vendor/paragonie/sodium_compat/dist/Makefile b/vendor/paragonie/sodium_compat/dist/Makefile deleted file mode 100644 index f30a25d..0000000 --- a/vendor/paragonie/sodium_compat/dist/Makefile +++ /dev/null @@ -1,39 +0,0 @@ -# This builds sodium-compat.phar. To run this Makefile, `box` and `composer` -# must be installed and in your $PATH. Run it from inside the dist/ directory. - -box := $(shell which box) -composer := "composer" -gitcommit := $(shell git rev-parse HEAD) - -.PHONY: all -all: build-phar - -.PHONY: sign-phar -sign-phar: - gpg -u 7F52D5C61D1255C731362E826B97A1C2826404DA --armor --output sodium-compat.phar.sig --detach-sig sodium-compat.phar - -# ensure we run in clean tree. export git tree and run there. -.PHONY: build-phar -build-phar: - @echo "Creating .phar from revision $(shell git rev-parse HEAD)." - rm -rf worktree - install -d worktree - (cd $(CURDIR)/..; git archive HEAD) | tar -x -C worktree - $(MAKE) -f $(CURDIR)/Makefile -C worktree sodium-compat.phar - mv worktree/*.phar . - rm -rf worktree - -.PHONY: clean -clean: - rm -vf sodium-compat.phar sodium-compat.phar.sig - -# Inside workdir/: - -sodium-compat.phar: dist/box.json composer.lock - cp dist/box.json . - php -d phar.readonly=0 $(box) build -c box.json -v - -composer.lock: - $(composer) config autoloader-suffix $(gitcommit) - $(composer) install --no-dev - diff --git a/vendor/paragonie/sodium_compat/dist/box.json b/vendor/paragonie/sodium_compat/dist/box.json deleted file mode 100644 index 5f7827e..0000000 --- a/vendor/paragonie/sodium_compat/dist/box.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "chmod": "0755", - "finder": [ - { - "in": "", - "name": "autoload.php" - }, - { - "in": "src", - "name": "*.php" - }, - { - "in": "lib", - "name": "*.php" - }, - { - "in": "vendor/composer", - "name": "*.php" - }, - { - "in": "vendor/paragonie", - "name": "*.php" - } - ], - "compactors": [ - "Herrera\\Box\\Compactor\\Php" - ], - "main": "vendor/autoload.php", - "output": "sodium-compat.phar", - "shebang": false, - "stub": true -} diff --git a/vendor/paragonie/sodium_compat/phpunit.xml.dist b/vendor/paragonie/sodium_compat/phpunit.xml.dist deleted file mode 100644 index a705527..0000000 --- a/vendor/paragonie/sodium_compat/phpunit.xml.dist +++ /dev/null @@ -1,16 +0,0 @@ - - - - - ./src - - - - - ./tests/unit - - - ./tests/compat - - - diff --git a/vendor/paragonie/sodium_compat/psalm-above-3.xml b/vendor/paragonie/sodium_compat/psalm-above-3.xml deleted file mode 100644 index 63b8c80..0000000 --- a/vendor/paragonie/sodium_compat/psalm-above-3.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vendor/paragonie/sodium_compat/psalm-below-3.xml b/vendor/paragonie/sodium_compat/psalm-below-3.xml deleted file mode 100644 index 0da3cd9..0000000 --- a/vendor/paragonie/sodium_compat/psalm-below-3.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vendor/paragonie/sodium_compat/src/Core/Base64/Common.php b/vendor/paragonie/sodium_compat/src/Core/Base64/Common.php deleted file mode 100644 index 94b2e8f..0000000 --- a/vendor/paragonie/sodium_compat/src/Core/Base64/Common.php +++ /dev/null @@ -1,213 +0,0 @@ - $chunk */ - $chunk = unpack('C*', ParagonIE_Sodium_Core_Util::substr($src, $i, 3)); - $b0 = $chunk[1]; - $b1 = $chunk[2]; - $b2 = $chunk[3]; - - $dest .= - self::encode6Bits( $b0 >> 2 ) . - self::encode6Bits((($b0 << 4) | ($b1 >> 4)) & 63) . - self::encode6Bits((($b1 << 2) | ($b2 >> 6)) & 63) . - self::encode6Bits( $b2 & 63); - } - // The last chunk, which may have padding: - if ($i < $srcLen) { - /** @var array $chunk */ - $chunk = unpack('C*', ParagonIE_Sodium_Core_Util::substr($src, $i, $srcLen - $i)); - $b0 = $chunk[1]; - if ($i + 1 < $srcLen) { - $b1 = $chunk[2]; - $dest .= - self::encode6Bits($b0 >> 2) . - self::encode6Bits((($b0 << 4) | ($b1 >> 4)) & 63) . - self::encode6Bits(($b1 << 2) & 63); - if ($pad) { - $dest .= '='; - } - } else { - $dest .= - self::encode6Bits( $b0 >> 2) . - self::encode6Bits(($b0 << 4) & 63); - if ($pad) { - $dest .= '=='; - } - } - } - return $dest; - } - - /** - * decode from base64 into binary - * - * Base64 character set "./[A-Z][a-z][0-9]" - * - * @param string $src - * @param bool $strictPadding - * @return string - * @throws RangeException - * @throws TypeError - * @psalm-suppress RedundantCondition - */ - public static function decode($src, $strictPadding = false) - { - // Remove padding - $srcLen = ParagonIE_Sodium_Core_Util::strlen($src); - if ($srcLen === 0) { - return ''; - } - - if ($strictPadding) { - if (($srcLen & 3) === 0) { - if ($src[$srcLen - 1] === '=') { - $srcLen--; - if ($src[$srcLen - 1] === '=') { - $srcLen--; - } - } - } - if (($srcLen & 3) === 1) { - throw new RangeException( - 'Incorrect padding' - ); - } - if ($src[$srcLen - 1] === '=') { - throw new RangeException( - 'Incorrect padding' - ); - } - } else { - $src = rtrim($src, '='); - $srcLen = ParagonIE_Sodium_Core_Util::strlen($src); - } - - $err = 0; - $dest = ''; - // Main loop (no padding): - for ($i = 0; $i + 4 <= $srcLen; $i += 4) { - /** @var array $chunk */ - $chunk = unpack('C*', ParagonIE_Sodium_Core_Util::substr($src, $i, 4)); - $c0 = self::decode6Bits($chunk[1]); - $c1 = self::decode6Bits($chunk[2]); - $c2 = self::decode6Bits($chunk[3]); - $c3 = self::decode6Bits($chunk[4]); - - $dest .= pack( - 'CCC', - ((($c0 << 2) | ($c1 >> 4)) & 0xff), - ((($c1 << 4) | ($c2 >> 2)) & 0xff), - ((($c2 << 6) | $c3 ) & 0xff) - ); - $err |= ($c0 | $c1 | $c2 | $c3) >> 8; - } - // The last chunk, which may have padding: - if ($i < $srcLen) { - /** @var array $chunk */ - $chunk = unpack('C*', ParagonIE_Sodium_Core_Util::substr($src, $i, $srcLen - $i)); - $c0 = self::decode6Bits($chunk[1]); - - if ($i + 2 < $srcLen) { - $c1 = self::decode6Bits($chunk[2]); - $c2 = self::decode6Bits($chunk[3]); - $dest .= pack( - 'CC', - ((($c0 << 2) | ($c1 >> 4)) & 0xff), - ((($c1 << 4) | ($c2 >> 2)) & 0xff) - ); - $err |= ($c0 | $c1 | $c2) >> 8; - } elseif ($i + 1 < $srcLen) { - $c1 = self::decode6Bits($chunk[2]); - $dest .= pack( - 'C', - ((($c0 << 2) | ($c1 >> 4)) & 0xff) - ); - $err |= ($c0 | $c1) >> 8; - } elseif ($i < $srcLen && $strictPadding) { - $err |= 1; - } - } - /** @var bool $check */ - $check = ($err === 0); - if (!$check) { - throw new RangeException( - 'Base64::decode() only expects characters in the correct base64 alphabet' - ); - } - return $dest; - } - - /** - * Uses bitwise operators instead of table-lookups to turn 6-bit integers - * into 8-bit integers. - * - * Base64 character set: - * [A-Z] [a-z] [0-9] + / - * 0x41-0x5a, 0x61-0x7a, 0x30-0x39, 0x2b, 0x2f - * - * @param int $src - * @return int - */ - abstract protected static function decode6Bits($src); - - /** - * Uses bitwise operators instead of table-lookups to turn 8-bit integers - * into 6-bit integers. - * - * @param int $src - * @return string - */ - abstract protected static function encode6Bits($src); -} diff --git a/vendor/paypal/paypal-checkout-sdk/composer.phar b/vendor/paypal/paypal-checkout-sdk/composer.phar deleted file mode 100644 index 801b9a9..0000000 Binary files a/vendor/paypal/paypal-checkout-sdk/composer.phar and /dev/null differ diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ch.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ch.php deleted file mode 100644 index 500c952..0000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ch.php +++ /dev/null @@ -1,27 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'SMTP 错误:身份验证失败。'; -$PHPMAILER_LANG['connect_host'] = 'SMTP 错误: 不能连接SMTP主机。'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP 错误: 数据不可接受。'; -//$PHPMAILER_LANG['empty_message'] = 'Message body empty'; -$PHPMAILER_LANG['encoding'] = '未知编码:'; -$PHPMAILER_LANG['execute'] = '不能执行: '; -$PHPMAILER_LANG['file_access'] = '不能访问文件:'; -$PHPMAILER_LANG['file_open'] = '文件错误:不能打开文件:'; -$PHPMAILER_LANG['from_failed'] = '下面的发送地址邮件发送失败了: '; -$PHPMAILER_LANG['instantiate'] = '不能实现mail方法。'; -//$PHPMAILER_LANG['invalid_address'] = 'Invalid address: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' 您所选择的发送邮件的方法并不支持。'; -$PHPMAILER_LANG['provide_address'] = '您必须提供至少一个 收信人的email地址。'; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP 错误: 下面的 收件人失败了: '; -//$PHPMAILER_LANG['signing'] = 'Signing Error: '; -//$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.'; -//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: '; -//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: '; -//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/vendor/phpmailer/phpmailer/phpunit.xml.dist b/vendor/phpmailer/phpmailer/phpunit.xml.dist deleted file mode 100644 index c68df96..0000000 --- a/vendor/phpmailer/phpmailer/phpunit.xml.dist +++ /dev/null @@ -1,35 +0,0 @@ - - - - - ./test/ - - - - - - - - languages - pop3 - - - - - ./src - - - - - - - - diff --git a/vendor/stripe/stripe-php/.php_cs.dist b/vendor/stripe/stripe-php/.php_cs.dist deleted file mode 100644 index 2ebf9f3..0000000 --- a/vendor/stripe/stripe-php/.php_cs.dist +++ /dev/null @@ -1,45 +0,0 @@ -setRiskyAllowed(true) - ->setRules([ - // Rulesets - '@PSR2' => true, - '@PhpCsFixer' => true, - '@PhpCsFixer:risky' => true, - '@PHP56Migration:risky' => true, - '@PHPUnit57Migration:risky' => true, - - // Additional rules - 'fopen_flags' => true, - 'linebreak_after_opening_tag' => true, - 'native_constant_invocation' => true, - 'native_function_invocation' => true, - - // --- Diffs from @PhpCsFixer / @PhpCsFixer:risky --- - - // This is the same as the default for the @PhpCsFixer ruleset, minus - // the following values: ['include', 'include_once', 'require', - // 'require_once']. We could enable them and remove this line after - // updating codegen for the `init.php` file to be compliant. - 'blank_line_before_statement' => ['statements' => ['break', 'case', 'continue', 'declare', 'default', 'exit', 'goto', 'return', 'switch', 'throw', 'try']], - - // This is just prettier / easier to read. - 'concat_space' => ['spacing' => 'one'], - - // This causes strange ordering with codegen'd classes. We might be - // able to enable this if we update codegen to output class elements - // in the correct order. - 'ordered_class_elements' => false, - - // Keep this disabled to avoid unnecessary diffs in PHPDoc comments of - // codegen'd classes. - 'phpdoc_align' => false, - - // This is a "risky" rule that causes a bug in our codebase. - // Specifically, in `StripeObject.updateAttributes` we construct new - // `StripeObject`s for metadata. We can't use `self` there because it - // needs to be a raw `StripeObject`. - 'self_accessor' => false, - ]) -; -- cgit v1.2.3