Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"friendsofphp/php-cs-fixer": "^3.0",
"phpmd/phpmd": "^2.8",
"sebastian/phpcpd": "^6.0",
"squizlabs/php_codesniffer": "^3.5"
"squizlabs/php_codesniffer": "^4.0"
},
"autoload": {
"psr-4": {
Expand Down
26 changes: 10 additions & 16 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions vendor/bin/phpcpd
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,8 @@ if (PHP_VERSION_ID < 80000) {
(function_exists('stream_get_wrappers') && in_array('phpvfscomposer', stream_get_wrappers(), true))
|| (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper'))
) {
include("phpvfscomposer://" . __DIR__ . '/..'.'/sebastian/phpcpd/phpcpd');
exit(0);
return include("phpvfscomposer://" . __DIR__ . '/..'.'/sebastian/phpcpd/phpcpd');
}
}

include __DIR__ . '/..'.'/sebastian/phpcpd/phpcpd';
return include __DIR__ . '/..'.'/sebastian/phpcpd/phpcpd';
20 changes: 19 additions & 1 deletion vendor/composer/InstalledVersions.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
*/
class InstalledVersions
{
/**
* @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to
* @internal
*/
private static $selfDir = null;

/**
* @var mixed[]|null
* @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null
Expand Down Expand Up @@ -322,6 +328,18 @@ public static function reload($data)
self::$installedIsLocalDir = false;
}

/**
* @return string
*/
private static function getSelfDir()
{
if (self::$selfDir === null) {
self::$selfDir = strtr(__DIR__, '\\', '/');
}

return self::$selfDir;
}

/**
* @return array[]
* @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
Expand All @@ -336,7 +354,7 @@ private static function getInstalled()
$copiedLocalDir = false;

if (self::$canGetVendors) {
$selfDir = strtr(__DIR__, '\\', '/');
$selfDir = self::getSelfDir();
foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
$vendorDir = strtr($vendorDir, '\\', '/');
if (isset(self::$installedByVendor[$vendorDir])) {
Expand Down
26 changes: 11 additions & 15 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
"issues": "https://github.com/akeneo/api-php-client-ee/issues",
"source": "https://github.com/akeneo/api-php-client-ee/tree/v6.0.2"
},
"abandoned": "akeneo/api-php-client",
"install-path": "../akeneo/api-php-client-ee"
},
{
Expand Down Expand Up @@ -5294,6 +5295,7 @@
"type": "github"
}
],
"abandoned": true,
"install-path": "../sebastian/phpcpd"
},
{
Expand Down Expand Up @@ -5354,40 +5356,34 @@
},
{
"name": "squizlabs/php_codesniffer",
"version": "dev-master",
"version_normalized": "dev-master",
"version": "4.0.1",
"version_normalized": "4.0.1.0",
"source": {
"type": "git",
"url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
"reference": "d0d44116111f6e41913a16b96387910917995c35"
"reference": "0525c73950de35ded110cffafb9892946d7771b5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/d0d44116111f6e41913a16b96387910917995c35",
"reference": "d0d44116111f6e41913a16b96387910917995c35",
"url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/0525c73950de35ded110cffafb9892946d7771b5",
"reference": "0525c73950de35ded110cffafb9892946d7771b5",
"shasum": ""
},
"require": {
"ext-simplexml": "*",
"ext-tokenizer": "*",
"ext-xmlwriter": "*",
"php": ">=5.4.0"
"php": ">=7.2.0"
},
"require-dev": {
"phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4"
"phpunit/phpunit": "^8.4.0 || ^9.3.4 || ^10.5.32 || 11.3.3 - 11.5.28 || ^11.5.31"
},
"time": "2025-03-16T21:01:33+00:00",
"default-branch": true,
"time": "2025-11-10T16:43:36+00:00",
"bin": [
"bin/phpcbf",
"bin/phpcs"
],
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.x-dev"
}
},
"installation-source": "dist",
"notification-url": "https://packagist.org/downloads/",
"license": [
Expand All @@ -5407,7 +5403,7 @@
"homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors"
}
],
"description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
"description": "PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.",
"homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
"keywords": [
"phpcs",
Expand Down
18 changes: 8 additions & 10 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php return array(
'root' => array(
'name' => 'amphibee/akeneo-connector',
'pretty_version' => '1.21',
'version' => '1.21.0.0',
'pretty_version' => '1.22.2',
'version' => '1.22.2.0',
'reference' => null,
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../',
Expand All @@ -29,8 +29,8 @@
'dev_requirement' => false,
),
'amphibee/akeneo-connector' => array(
'pretty_version' => '1.21',
'version' => '1.21.0.0',
'pretty_version' => '1.22.2',
'version' => '1.22.2.0',
'reference' => null,
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../',
Expand Down Expand Up @@ -798,14 +798,12 @@
'dev_requirement' => true,
),
'squizlabs/php_codesniffer' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => 'd0d44116111f6e41913a16b96387910917995c35',
'pretty_version' => '4.0.1',
'version' => '4.0.1.0',
'reference' => '0525c73950de35ded110cffafb9892946d7771b5',
'type' => 'library',
'install_path' => __DIR__ . '/../squizlabs/php_codesniffer',
'aliases' => array(
0 => '3.x-dev',
),
'aliases' => array(),
'dev_requirement' => true,
),
'symfony/config' => array(
Expand Down
Loading