Skip to content

Instantly share code, notes, and snippets.

@SamJUK
Created November 24, 2025 18:07
Show Gist options
  • Select an option

  • Save SamJUK/466123002fada702dd999fb2f6c7f84b to your computer and use it in GitHub Desktop.

Select an option

Save SamJUK/466123002fada702dd999fb2f6c7f84b to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
diff --color -ruN vendor/allure-framework/allure-codeception/src/Internal/UnitProvider.php vendor/allure-framework/allure-codeception/src/Internal/UnitProvider.php
--- vendor/allure-framework/allure-codeception/src/Internal/UnitProvider.php 2025-11-24 17:35:36
+++ vendor/allure-framework/allure-codeception/src/Internal/UnitProvider.php 2025-11-24 17:34:21
@@ -78,7 +78,7 @@
$testCase = $this->test->getTestCase();
$dataMethod = new ReflectionMethod($testCase, 'getProvidedData');
- $dataMethod->setAccessible(true);
+ $dataMethod;
$methodName = $testMetadata->getName();
$testMethod = new ReflectionMethod($testCase, $methodName);
$argNames = $testMethod->getParameters();
diff --color -ruN vendor/astock/stock-api-libphp/src/Client/LicenseHistory.php vendor/astock/stock-api-libphp/src/Client/LicenseHistory.php
--- vendor/astock/stock-api-libphp/src/Client/LicenseHistory.php 2025-11-24 17:35:36
+++ vendor/astock/stock-api-libphp/src/Client/LicenseHistory.php 2025-11-24 17:34:20
@@ -294,7 +294,7 @@
public function getTotalLicenseHistoryPages() : int
{
if (!$this->_initial_invalid_state && $this->_current_response->getNbResults() !== null) {
- return (integer) ceil((double) $this->_current_response->getNbResults() / $this->_current_request->getSearchParams()->getLimit());
+ return (int) ceil((float) $this->_current_response->getNbResults() / $this->_current_request->getSearchParams()->getLimit());
}
return self::LICENSE_HISTORY_RETURN_ERROR;
@@ -321,7 +321,7 @@
{
if (!$this->_initial_invalid_state && $this->_current_response->getNbResults() !== null) {
$offset_value = $this->_current_request->getSearchParams()->getOffset();
- $result = (integer) (ceil((double) $offset_value / $this->_current_request->getSearchParams()->getLimit()));
+ $result = (int) (ceil((float) $offset_value / $this->_current_request->getSearchParams()->getLimit()));
return $result;
}
diff --color -ruN vendor/astock/stock-api-libphp/src/Client/SearchFiles.php vendor/astock/stock-api-libphp/src/Client/SearchFiles.php
--- vendor/astock/stock-api-libphp/src/Client/SearchFiles.php 2025-11-24 17:35:36
+++ vendor/astock/stock-api-libphp/src/Client/SearchFiles.php 2025-11-24 17:34:20
@@ -304,7 +304,7 @@
public function totalSearchPages() : int
{
if (!$this->_initial_invalid_state && ($this->_current_response->getNbResults() != null)) {
- return (integer) ceil((double) $this->_current_response->getNbResults() / $this->_current_request->getSearchParams()->getLimit());
+ return (int) ceil((float) $this->_current_response->getNbResults() / $this->_current_request->getSearchParams()->getLimit());
}
return SearchFiles::SEARCH_FILES_RETURN_ERROR;
@@ -331,7 +331,7 @@
{
if (!$this->_initial_invalid_state && ($this->_current_response->getNbResults() != null)) {
$offset_value = $this->_current_request->getSearchParams()->getOffset();
- $result = (integer) (ceil((double) $offset_value / $this->_current_request->getSearchParams()->getLimit()));
+ $result = (int) (ceil((float) $offset_value / $this->_current_request->getSearchParams()->getLimit()));
return $result;
}
diff --color -ruN vendor/autoload.php vendor/autoload.php
--- vendor/autoload.php 2025-11-24 17:35:36
+++ vendor/autoload.php 2025-11-24 17:34:20
@@ -4,4 +4,4 @@
require_once __DIR__ . '/composer/autoload_real.php';
-return ComposerAutoloaderInit1c8a9705cf0691ea98cd89dda92837a2::getLoader();
+return ComposerAutoloaderInit660d6d7389e293d9c50effd572379824::getLoader();
diff --color -ruN vendor/aws/aws-sdk-php/src/S3/MultipartCopy.php vendor/aws/aws-sdk-php/src/S3/MultipartCopy.php
--- vendor/aws/aws-sdk-php/src/S3/MultipartCopy.php 2025-11-24 17:35:36
+++ vendor/aws/aws-sdk-php/src/S3/MultipartCopy.php 2025-11-24 17:34:16
@@ -52,7 +52,7 @@
* options are ignored.
* - source_metadata: (Aws\ResultInterface) An object that represents the
* result of executing a HeadObject command on the copy source.
- * - display_progress: (boolean) Set true to track status in 1/8th increments
+ * - display_progress: (bool) Set true to track status in 1/8th increments
* for upload.
*
* @param S3ClientInterface $client Client used for the upload.
diff --color -ruN vendor/aws/aws-sdk-php/src/S3/MultipartUploader.php vendor/aws/aws-sdk-php/src/S3/MultipartUploader.php
--- vendor/aws/aws-sdk-php/src/S3/MultipartUploader.php 2025-11-24 17:35:36
+++ vendor/aws/aws-sdk-php/src/S3/MultipartUploader.php 2025-11-24 17:34:16
@@ -55,7 +55,7 @@
* of the multipart upload and that is used to resume a previous upload.
* When this option is provided, the `bucket`, `key`, and `part_size`
* options are ignored.
- * - track_upload: (boolean) Set true to track status in 1/8th increments
+ * - track_upload: (bool) Set true to track status in 1/8th increments
* for upload.
*
* @param S3ClientInterface $client Client used for the upload.
diff --color -ruN vendor/braintree/braintree_php/lib/Braintree/HttpHelpers/CurlRequest.php vendor/braintree/braintree_php/lib/Braintree/HttpHelpers/CurlRequest.php
--- vendor/braintree/braintree_php/lib/Braintree/HttpHelpers/CurlRequest.php 2025-11-24 17:35:15
+++ vendor/braintree/braintree_php/lib/Braintree/HttpHelpers/CurlRequest.php 2025-11-24 17:34:38
@@ -46,6 +46,5 @@
// phpcs:ignore PEAR.Commenting.FunctionComment.Missing
public function close()
{
- curl_close($this->_handle);
}
}
diff --color -ruN vendor/codeception/codeception/src/Codeception/Lib/Di.php vendor/codeception/codeception/src/Codeception/Lib/Di.php
--- vendor/codeception/codeception/src/Codeception/Lib/Di.php 2025-11-24 17:35:36
+++ vendor/codeception/codeception/src/Codeception/Lib/Di.php 2025-11-24 17:34:19
@@ -125,7 +125,7 @@
}
if (!$reflectedMethod->isPublic()) {
- $reflectedMethod->setAccessible(true);
+ $reflectedMethod;
}
$reflectedMethod->invokeArgs($object, $args);
}
diff --color -ruN vendor/codeception/codeception/src/Codeception/Util/ReflectionHelper.php vendor/codeception/codeception/src/Codeception/Util/ReflectionHelper.php
--- vendor/codeception/codeception/src/Codeception/Util/ReflectionHelper.php 2025-11-24 17:35:36
+++ vendor/codeception/codeception/src/Codeception/Util/ReflectionHelper.php 2025-11-24 17:34:19
@@ -44,7 +44,7 @@
}
$property = new ReflectionProperty($class, $property);
- $property->setAccessible(true);
+ $property;
return $property->getValue($object);
}
@@ -61,7 +61,7 @@
}
$property = new ReflectionProperty($class, $property);
- $property->setAccessible(true);
+ $property;
$property->setValue($object, $value);
}
@@ -78,7 +78,7 @@
}
$method = new ReflectionMethod($class, $method);
- $method->setAccessible(true);
+ $method;
return $method->invokeArgs($object, $args);
}
diff --color -ruN vendor/codeception/stub/src/Stub.php vendor/codeception/stub/src/Stub.php
--- vendor/codeception/stub/src/Stub.php 2025-11-24 17:35:36
+++ vendor/codeception/stub/src/Stub.php 2025-11-24 17:34:19
@@ -542,7 +542,7 @@
}
} elseif ($reflectionClass->hasProperty($param)) {
$reflectionProperty = $reflectionClass->getProperty($param);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($mock, $value);
} else {
if ($reflectionClass->hasMethod('__set')) {
diff --color -ruN vendor/codeception/stub/tests/ResetMocks.php vendor/codeception/stub/tests/ResetMocks.php
--- vendor/codeception/stub/tests/ResetMocks.php 2025-11-24 17:35:36
+++ vendor/codeception/stub/tests/ResetMocks.php 2025-11-24 17:34:19
@@ -11,7 +11,7 @@
$refl = $refl->getParentClass();
}
$prop = $refl->getProperty('mockObjects');
- $prop->setAccessible(true);
+ $prop;
$prop->setValue($this, array());
}
}
\ No newline at end of file
diff --color -ruN vendor/composer/autoload_files.php vendor/composer/autoload_files.php
--- vendor/composer/autoload_files.php 2025-11-24 17:35:36
+++ vendor/composer/autoload_files.php 2025-11-24 17:34:21
@@ -77,8 +77,8 @@
'108fd301b720a30c9ec42a785ee00656' => $vendorDir . '/magento/module-gift-message/registration.php',
'44e7790b83e1936666da9a3a94daac39' => $vendorDir . '/magento/module-downloadable/registration.php',
'73a8e4290482dda77755fd5545cb64f4' => $vendorDir . '/magento/module-webapi/registration.php',
- '4725125cbaeab31cd4e5c5c07061fa43' => $vendorDir . '/magento/module-payment/registration.php',
'769c181872a21948ea52b3603a26a64a' => $vendorDir . '/magento/module-graph-ql/registration.php',
+ '4725125cbaeab31cd4e5c5c07061fa43' => $vendorDir . '/magento/module-payment/registration.php',
'cbc7f0674bf1ae1a1c481a581c6ca4fd' => $vendorDir . '/magento/module-review/registration.php',
'502392721e9fd20e70182378639f4ff5' => $vendorDir . '/magento/module-reports/registration.php',
'157e241791c95df2d41c00e4314f115e' => $vendorDir . '/magento/module-search/registration.php',
@@ -86,52 +86,51 @@
'7cd1eea45c3015924e265d9e36a4ab6e' => $vendorDir . '/magento/module-inventory-configuration-api/registration.php',
'b0531590328134738333bdd60add673f' => $vendorDir . '/magento/module-re-captcha-validation-api/registration.php',
'1cd77d650669f8ff2a3638d87d11845f' => $vendorDir . '/magento/module-inventory-catalog-api/registration.php',
- '08592fdd5b9e829727a7db2f953d82b2' => $vendorDir . '/magento/module-vault/registration.php',
'80e236ed87b11d148e08e490eff863fd' => $vendorDir . '/magento/module-inventory/registration.php',
+ '08592fdd5b9e829727a7db2f953d82b2' => $vendorDir . '/magento/module-vault/registration.php',
'93e55f9c32abdc30fb8545fc661e68a5' => $vendorDir . '/magento/module-eav-graph-ql/registration.php',
'fc5563a6d8ed33909f8031d05dec9433' => $vendorDir . '/magento/module-catalog-search/registration.php',
'a09428fb5202148efdc033b11ca2bc1c' => $vendorDir . '/magento/module-rule/registration.php',
- '9b847ffefadc507b5f1aa851d341f914' => $vendorDir . '/magento/module-captcha/registration.php',
'ab3081502b7c2803ff8e7ad3e89a2e7a' => $vendorDir . '/magento/module-graph-ql-resolver-cache/registration.php',
+ '9b847ffefadc507b5f1aa851d341f914' => $vendorDir . '/magento/module-captcha/registration.php',
+ '3ebd730878917d62b4fbc6c9f3b9492f' => $vendorDir . '/magento/services-connector/registration.php',
'a8c41acf1bcf2c8c39616ad2b1e630fb' => $vendorDir . '/magento/module-analytics/registration.php',
'ee281e56c294b104ff80ee675f29f7ac' => $vendorDir . '/magento/module-re-captcha-ui/registration.php',
'3ce6447b6ef8a0e6e2a3cec20fba30e3' => $vendorDir . '/magento/module-instant-purchase/registration.php',
- '3ebd730878917d62b4fbc6c9f3b9492f' => $vendorDir . '/magento/services-connector/registration.php',
'22b78ee29fd052ffce7e15e9173179f9' => $vendorDir . '/magento/module-inventory-source-selection-api/registration.php',
'ce905cb44f14ec283a2ba1c12e6f8420' => $vendorDir . '/magento/module-advanced-search/registration.php',
+ '9d7db7a42183debc9bb6e9739868417f' => $vendorDir . '/magento/module-catalog-graph-ql/registration.php',
'5c7dcd6ec83d6cf2988a97cdcba365ed' => $vendorDir . '/magento/module-catalog-rule/registration.php',
'd90200aac0b7926c1372759ac30d8969' => $vendorDir . '/magento/module-query-xml/registration.php',
'7262a266e3433bc7d1f53ddcb1dab374' => $vendorDir . '/magento/module-multishipping/registration.php',
- '9d7db7a42183debc9bb6e9739868417f' => $vendorDir . '/magento/module-catalog-graph-ql/registration.php',
- '9d3c0cffdf7ae2ab7dc3179a4aeef794' => $vendorDir . '/magento/module-checkout-agreements/registration.php',
'cd9c04e7a58e8e03a2cb54a47a022f5f' => $vendorDir . '/magento/module-media-gallery-api/registration.php',
+ 'fe7378eaee8b804f077d11a1c8878b48' => $vendorDir . '/magento/module-services-id/registration.php',
+ '9d3c0cffdf7ae2ab7dc3179a4aeef794' => $vendorDir . '/magento/module-checkout-agreements/registration.php',
'24095738ccbb9fc915174b272ef16432' => $vendorDir . '/magento/module-graph-ql-cache/registration.php',
'4184a5a46cdac827c1939d0d3b4372cd' => $vendorDir . '/magento/module-inventory-reservations-api/registration.php',
'37682718cb9a8dd7fe10ec90b2ea2437' => $vendorDir . '/magento/module-inventory-source-deduction-api/registration.php',
'2f522cf385c971ad85c792b852e13d71' => $vendorDir . '/magento/module-customer-graph-ql/registration.php',
'c7e1128e2a1afd8d28d3f93d8e2e3019' => $vendorDir . '/magento/module-re-captcha-webapi-api/registration.php',
- '3f1662385885db186423ec0b74dfe6e9' => $vendorDir . '/magento/module-sales-rule/registration.php',
'beef4a50b960435d4b145e8d222f5f10' => $vendorDir . '/magento/module-configurable-product/registration.php',
'59f72ba1d3bbb4abbbf6ef3ac8336598' => $vendorDir . '/magento/module-inventory-multi-dimensional-indexer-api/registration.php',
'2468de8c3e526e274de3ffca614cedf7' => $vendorDir . '/magento/module-gift-message-graph-ql/registration.php',
'55aca85371db847a036438dc47c5adf7' => $vendorDir . '/magento/module-sales-inventory/registration.php',
'4f7270b5e871e70f478355bf0393e1be' => $vendorDir . '/magento/module-inventory-sales/registration.php',
'56f4400ce26dd5a5d1a6efb9e2f5d128' => $vendorDir . '/magento/module-quote-graph-ql/registration.php',
- 'fe7378eaee8b804f077d11a1c8878b48' => $vendorDir . '/magento/module-services-id/registration.php',
- '7b04586604e997fd06e054eb9f875326' => $vendorDir . '/magento/module-payment-services-paypal/registration.php',
+ '15e054b68c945e57701e8e1e950d5306' => $vendorDir . '/magento/module-graph-ql-server/registration.php',
+ '3f1662385885db186423ec0b74dfe6e9' => $vendorDir . '/magento/module-sales-rule/registration.php',
'aefa4ea9e2005b6976253d7b9a177c84' => $vendorDir . '/magento/module-inventory-indexer/registration.php',
'ff4a42fb48f753f6d1e6177223059e3d' => $vendorDir . '/magento/module-msrp/registration.php',
- '15e054b68c945e57701e8e1e950d5306' => $vendorDir . '/magento/module-graph-ql-server/registration.php',
+ '7b04586604e997fd06e054eb9f875326' => $vendorDir . '/magento/module-payment-services-paypal/registration.php',
'cf44f9b1253939f955772534aabbf624' => $vendorDir . '/magento/module-grouped-product/registration.php',
'ae085f025db69d2249af124b0d91b13f' => $vendorDir . '/magento/module-adobe-ims-api/registration.php',
+ '2521035bae75a978bb5a40a532860ed6' => $vendorDir . '/magento/module-admin-graph-ql-server/registration.php',
+ '3d599f4696cdc7de80438cc13f48d8b5' => $vendorDir . '/magento/module-services-id-graph-ql-server/registration.php',
'1873ae6446634b40bf25026005067303' => $vendorDir . '/magento/module-re-captcha-frontend-ui/registration.php',
'b967176095820b122db026301435e5d4' => $vendorDir . '/magento/module-inventory-in-store-pickup-api/registration.php',
- '2521035bae75a978bb5a40a532860ed6' => $vendorDir . '/magento/module-admin-graph-ql-server/registration.php',
'069005ffe7b4e7c23b0b9b5c1807ec74' => $vendorDir . '/magento/module-paypal/registration.php',
'6124b4c8570aa390c21fafd04a26c69f' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
'ec07570ca5a812141189b1fa81503674' => $vendorDir . '/phpunit/phpunit/src/Framework/Assert/Functions.php',
- '3d599f4696cdc7de80438cc13f48d8b5' => $vendorDir . '/magento/module-services-id-graph-ql-server/registration.php',
- '58dcade5a9b83ce477a325cc08fea1a3' => $vendorDir . '/magento/module-service-proxy/registration.php',
'e4f13915c73bde5cfe1ad991a2c05d62' => $vendorDir . '/magento/module-media-content-api/registration.php',
'07684b53e004b1beb749e8fbbdaf6247' => $vendorDir . '/paypal/module-braintree-core/registration.php',
'667aeda72477189d0494fecd327c3641' => $vendorDir . '/symfony/var-dumper/Resources/functions/dump.php',
@@ -142,16 +141,17 @@
'2ea2620d63b7a15b31d0f4deeb17bd92' => $vendorDir . '/magento/module-adobe-stock-client-api/registration.php',
'98e6b97cff34460cafeaceffce4c013c' => $vendorDir . '/magento/module-inventory-in-store-pickup-shipping-api/registration.php',
'8ace14821cff5beb90efc58dfd9c8b3b' => $vendorDir . '/magento/module-media-gallery-synchronization-api/registration.php',
+ '58dcade5a9b83ce477a325cc08fea1a3' => $vendorDir . '/magento/module-service-proxy/registration.php',
'a6d2049b4013058aebdab5256bfc92a1' => $vendorDir . '/magento/module-import-export/registration.php',
'b0a44809b5ec8c6edb0d5f52ef3a56a2' => $vendorDir . '/magento/module-inventory-configuration/registration.php',
'94873d6b1410a90e995471e2f15612bc' => $vendorDir . '/magento/module-adobe-ims/registration.php',
+ 'aef862cc15319b5ecb5339dab6b7e7c8' => $vendorDir . '/magento/module-services-id-layout/registration.php',
'8c6b73308093eb45d4062df90b3b55db' => $vendorDir . '/magento/module-adobe-stock-asset-api/registration.php',
'9944ade184ae5fe1e30491426d3a4f16' => $vendorDir . '/magento/module-inventory-distance-based-source-selection-api/registration.php',
'b6b883acf444fbba1f9372b784c8be17' => $vendorDir . '/magento/module-inventory-in-store-pickup-sales-api/registration.php',
- 'aef862cc15319b5ecb5339dab6b7e7c8' => $vendorDir . '/magento/module-services-id-layout/registration.php',
'49be64f161d7f7e3617b7936edeeb6d3' => $vendorDir . '/magento/module-catalog-widget/registration.php',
'feab3019e2726e0d070190c665c9ddb3' => $vendorDir . '/magento/module-jwt-user-token/registration.php',
- 'd02f432c0bfbd85eaf7075a943abbbdc' => $vendorDir . '/magento/module-payment-services-dashboard/registration.php',
+ 'd253a45ee02d97b6230193eb323cf784' => $vendorDir . '/magento/module-payment-services-base/registration.php',
'c8ba7f5c0ffc89c0be4c6607c3dc02d4' => $vendorDir . '/magento/module-re-captcha-webapi-graph-ql/registration.php',
'8e92226780215d0ec758aa7b73e0ede9' => $vendorDir . '/open-telemetry/context/fiber/initialize_fiber_handler.php',
'662a729f963d39afe703c9d9b7ab4a8c' => $vendorDir . '/symfony/polyfill-php83/bootstrap.php',
@@ -169,7 +169,6 @@
'801c31d8ed748cfa537fa45402288c95' => $vendorDir . '/psy/psysh/src/functions.php',
'e3b2795a8a512b6083af088fb53afe6c' => $vendorDir . '/codeception/codeception/functions.php',
'b2a251005c112dee4a8e7f7580a475f5' => $vendorDir . '/magento/module-cookie/registration.php',
- 'd253a45ee02d97b6230193eb323cf784' => $vendorDir . '/magento/module-payment-services-base/registration.php',
'9234196008fdd46fd0de8a1a60ceba51' => $vendorDir . '/magento/module-inventory-admin-ui/registration.php',
'd7ef88f3be7fb539feee0850d0e88080' => $vendorDir . '/magento/module-inventory-catalog-admin-ui/registration.php',
'8ffde37d9302334c8bc95b50483566c8' => $vendorDir . '/magento/module-inventory-catalog-search/registration.php',
@@ -198,6 +197,7 @@
'71dc2695e085cd08c5c05443ffbe009b' => $vendorDir . '/magento/module-url-rewrite-graph-ql/registration.php',
'3f7befdb3fd10d6e2a914b0320605b6e' => $vendorDir . '/magento/module-bundle-import-export/registration.php',
'4e49f9b77cfaca5ecee9e68485c07e5a' => $vendorDir . '/magento/module-contact/registration.php',
+ 'd02f432c0bfbd85eaf7075a943abbbdc' => $vendorDir . '/magento/module-payment-services-dashboard/registration.php',
'047237d75e251b1e0013481528c2be8e' => $vendorDir . '/magento/module-saas-common/registration.php',
'3109cb1a231dcd04bee1f9f620d46975' => $vendorDir . '/paragonie/sodium_compat/autoload.php',
'ba90354346e08a2efc1878276f595480' => $vendorDir . '/magento/framework-stomp/registration.php',
diff --color -ruN vendor/composer/autoload_real.php vendor/composer/autoload_real.php
--- vendor/composer/autoload_real.php 2025-11-24 17:35:36
+++ vendor/composer/autoload_real.php 2025-11-24 17:34:21
@@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
-class ComposerAutoloaderInit1c8a9705cf0691ea98cd89dda92837a2
+class ComposerAutoloaderInit660d6d7389e293d9c50effd572379824
{
private static $loader;
@@ -22,15 +22,15 @@
return self::$loader;
}
- spl_autoload_register(array('ComposerAutoloaderInit1c8a9705cf0691ea98cd89dda92837a2', 'loadClassLoader'), true, true);
+ spl_autoload_register(array('ComposerAutoloaderInit660d6d7389e293d9c50effd572379824', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
- spl_autoload_unregister(array('ComposerAutoloaderInit1c8a9705cf0691ea98cd89dda92837a2', 'loadClassLoader'));
+ spl_autoload_unregister(array('ComposerAutoloaderInit660d6d7389e293d9c50effd572379824', 'loadClassLoader'));
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) {
require __DIR__ . '/autoload_static.php';
- call_user_func(\Composer\Autoload\ComposerStaticInit1c8a9705cf0691ea98cd89dda92837a2::getInitializer($loader));
+ call_user_func(\Composer\Autoload\ComposerStaticInit660d6d7389e293d9c50effd572379824::getInitializer($loader));
} else {
$map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) {
@@ -51,12 +51,12 @@
$loader->register(true);
if ($useStaticLoader) {
- $includeFiles = Composer\Autoload\ComposerStaticInit1c8a9705cf0691ea98cd89dda92837a2::$files;
+ $includeFiles = Composer\Autoload\ComposerStaticInit660d6d7389e293d9c50effd572379824::$files;
} else {
$includeFiles = require __DIR__ . '/autoload_files.php';
}
foreach ($includeFiles as $fileIdentifier => $file) {
- composerRequire1c8a9705cf0691ea98cd89dda92837a2($fileIdentifier, $file);
+ composerRequire660d6d7389e293d9c50effd572379824($fileIdentifier, $file);
}
return $loader;
@@ -68,7 +68,7 @@
* @param string $file
* @return void
*/
-function composerRequire1c8a9705cf0691ea98cd89dda92837a2($fileIdentifier, $file)
+function composerRequire660d6d7389e293d9c50effd572379824($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
diff --color -ruN vendor/composer/autoload_static.php vendor/composer/autoload_static.php
--- vendor/composer/autoload_static.php 2025-11-24 17:35:36
+++ vendor/composer/autoload_static.php 2025-11-24 17:34:21
@@ -4,7 +4,7 @@
namespace Composer\Autoload;
-class ComposerStaticInit1c8a9705cf0691ea98cd89dda92837a2
+class ComposerStaticInit660d6d7389e293d9c50effd572379824
{
public static $files = array (
'6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php',
@@ -78,8 +78,8 @@
'108fd301b720a30c9ec42a785ee00656' => __DIR__ . '/..' . '/magento/module-gift-message/registration.php',
'44e7790b83e1936666da9a3a94daac39' => __DIR__ . '/..' . '/magento/module-downloadable/registration.php',
'73a8e4290482dda77755fd5545cb64f4' => __DIR__ . '/..' . '/magento/module-webapi/registration.php',
- '4725125cbaeab31cd4e5c5c07061fa43' => __DIR__ . '/..' . '/magento/module-payment/registration.php',
'769c181872a21948ea52b3603a26a64a' => __DIR__ . '/..' . '/magento/module-graph-ql/registration.php',
+ '4725125cbaeab31cd4e5c5c07061fa43' => __DIR__ . '/..' . '/magento/module-payment/registration.php',
'cbc7f0674bf1ae1a1c481a581c6ca4fd' => __DIR__ . '/..' . '/magento/module-review/registration.php',
'502392721e9fd20e70182378639f4ff5' => __DIR__ . '/..' . '/magento/module-reports/registration.php',
'157e241791c95df2d41c00e4314f115e' => __DIR__ . '/..' . '/magento/module-search/registration.php',
@@ -87,52 +87,51 @@
'7cd1eea45c3015924e265d9e36a4ab6e' => __DIR__ . '/..' . '/magento/module-inventory-configuration-api/registration.php',
'b0531590328134738333bdd60add673f' => __DIR__ . '/..' . '/magento/module-re-captcha-validation-api/registration.php',
'1cd77d650669f8ff2a3638d87d11845f' => __DIR__ . '/..' . '/magento/module-inventory-catalog-api/registration.php',
- '08592fdd5b9e829727a7db2f953d82b2' => __DIR__ . '/..' . '/magento/module-vault/registration.php',
'80e236ed87b11d148e08e490eff863fd' => __DIR__ . '/..' . '/magento/module-inventory/registration.php',
+ '08592fdd5b9e829727a7db2f953d82b2' => __DIR__ . '/..' . '/magento/module-vault/registration.php',
'93e55f9c32abdc30fb8545fc661e68a5' => __DIR__ . '/..' . '/magento/module-eav-graph-ql/registration.php',
'fc5563a6d8ed33909f8031d05dec9433' => __DIR__ . '/..' . '/magento/module-catalog-search/registration.php',
'a09428fb5202148efdc033b11ca2bc1c' => __DIR__ . '/..' . '/magento/module-rule/registration.php',
- '9b847ffefadc507b5f1aa851d341f914' => __DIR__ . '/..' . '/magento/module-captcha/registration.php',
'ab3081502b7c2803ff8e7ad3e89a2e7a' => __DIR__ . '/..' . '/magento/module-graph-ql-resolver-cache/registration.php',
+ '9b847ffefadc507b5f1aa851d341f914' => __DIR__ . '/..' . '/magento/module-captcha/registration.php',
+ '3ebd730878917d62b4fbc6c9f3b9492f' => __DIR__ . '/..' . '/magento/services-connector/registration.php',
'a8c41acf1bcf2c8c39616ad2b1e630fb' => __DIR__ . '/..' . '/magento/module-analytics/registration.php',
'ee281e56c294b104ff80ee675f29f7ac' => __DIR__ . '/..' . '/magento/module-re-captcha-ui/registration.php',
'3ce6447b6ef8a0e6e2a3cec20fba30e3' => __DIR__ . '/..' . '/magento/module-instant-purchase/registration.php',
- '3ebd730878917d62b4fbc6c9f3b9492f' => __DIR__ . '/..' . '/magento/services-connector/registration.php',
'22b78ee29fd052ffce7e15e9173179f9' => __DIR__ . '/..' . '/magento/module-inventory-source-selection-api/registration.php',
'ce905cb44f14ec283a2ba1c12e6f8420' => __DIR__ . '/..' . '/magento/module-advanced-search/registration.php',
+ '9d7db7a42183debc9bb6e9739868417f' => __DIR__ . '/..' . '/magento/module-catalog-graph-ql/registration.php',
'5c7dcd6ec83d6cf2988a97cdcba365ed' => __DIR__ . '/..' . '/magento/module-catalog-rule/registration.php',
'd90200aac0b7926c1372759ac30d8969' => __DIR__ . '/..' . '/magento/module-query-xml/registration.php',
'7262a266e3433bc7d1f53ddcb1dab374' => __DIR__ . '/..' . '/magento/module-multishipping/registration.php',
- '9d7db7a42183debc9bb6e9739868417f' => __DIR__ . '/..' . '/magento/module-catalog-graph-ql/registration.php',
- '9d3c0cffdf7ae2ab7dc3179a4aeef794' => __DIR__ . '/..' . '/magento/module-checkout-agreements/registration.php',
'cd9c04e7a58e8e03a2cb54a47a022f5f' => __DIR__ . '/..' . '/magento/module-media-gallery-api/registration.php',
+ 'fe7378eaee8b804f077d11a1c8878b48' => __DIR__ . '/..' . '/magento/module-services-id/registration.php',
+ '9d3c0cffdf7ae2ab7dc3179a4aeef794' => __DIR__ . '/..' . '/magento/module-checkout-agreements/registration.php',
'24095738ccbb9fc915174b272ef16432' => __DIR__ . '/..' . '/magento/module-graph-ql-cache/registration.php',
'4184a5a46cdac827c1939d0d3b4372cd' => __DIR__ . '/..' . '/magento/module-inventory-reservations-api/registration.php',
'37682718cb9a8dd7fe10ec90b2ea2437' => __DIR__ . '/..' . '/magento/module-inventory-source-deduction-api/registration.php',
'2f522cf385c971ad85c792b852e13d71' => __DIR__ . '/..' . '/magento/module-customer-graph-ql/registration.php',
'c7e1128e2a1afd8d28d3f93d8e2e3019' => __DIR__ . '/..' . '/magento/module-re-captcha-webapi-api/registration.php',
- '3f1662385885db186423ec0b74dfe6e9' => __DIR__ . '/..' . '/magento/module-sales-rule/registration.php',
'beef4a50b960435d4b145e8d222f5f10' => __DIR__ . '/..' . '/magento/module-configurable-product/registration.php',
'59f72ba1d3bbb4abbbf6ef3ac8336598' => __DIR__ . '/..' . '/magento/module-inventory-multi-dimensional-indexer-api/registration.php',
'2468de8c3e526e274de3ffca614cedf7' => __DIR__ . '/..' . '/magento/module-gift-message-graph-ql/registration.php',
'55aca85371db847a036438dc47c5adf7' => __DIR__ . '/..' . '/magento/module-sales-inventory/registration.php',
'4f7270b5e871e70f478355bf0393e1be' => __DIR__ . '/..' . '/magento/module-inventory-sales/registration.php',
'56f4400ce26dd5a5d1a6efb9e2f5d128' => __DIR__ . '/..' . '/magento/module-quote-graph-ql/registration.php',
- 'fe7378eaee8b804f077d11a1c8878b48' => __DIR__ . '/..' . '/magento/module-services-id/registration.php',
- '7b04586604e997fd06e054eb9f875326' => __DIR__ . '/..' . '/magento/module-payment-services-paypal/registration.php',
+ '15e054b68c945e57701e8e1e950d5306' => __DIR__ . '/..' . '/magento/module-graph-ql-server/registration.php',
+ '3f1662385885db186423ec0b74dfe6e9' => __DIR__ . '/..' . '/magento/module-sales-rule/registration.php',
'aefa4ea9e2005b6976253d7b9a177c84' => __DIR__ . '/..' . '/magento/module-inventory-indexer/registration.php',
'ff4a42fb48f753f6d1e6177223059e3d' => __DIR__ . '/..' . '/magento/module-msrp/registration.php',
- '15e054b68c945e57701e8e1e950d5306' => __DIR__ . '/..' . '/magento/module-graph-ql-server/registration.php',
+ '7b04586604e997fd06e054eb9f875326' => __DIR__ . '/..' . '/magento/module-payment-services-paypal/registration.php',
'cf44f9b1253939f955772534aabbf624' => __DIR__ . '/..' . '/magento/module-grouped-product/registration.php',
'ae085f025db69d2249af124b0d91b13f' => __DIR__ . '/..' . '/magento/module-adobe-ims-api/registration.php',
+ '2521035bae75a978bb5a40a532860ed6' => __DIR__ . '/..' . '/magento/module-admin-graph-ql-server/registration.php',
+ '3d599f4696cdc7de80438cc13f48d8b5' => __DIR__ . '/..' . '/magento/module-services-id-graph-ql-server/registration.php',
'1873ae6446634b40bf25026005067303' => __DIR__ . '/..' . '/magento/module-re-captcha-frontend-ui/registration.php',
'b967176095820b122db026301435e5d4' => __DIR__ . '/..' . '/magento/module-inventory-in-store-pickup-api/registration.php',
- '2521035bae75a978bb5a40a532860ed6' => __DIR__ . '/..' . '/magento/module-admin-graph-ql-server/registration.php',
'069005ffe7b4e7c23b0b9b5c1807ec74' => __DIR__ . '/..' . '/magento/module-paypal/registration.php',
'6124b4c8570aa390c21fafd04a26c69f' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
'ec07570ca5a812141189b1fa81503674' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Assert/Functions.php',
- '3d599f4696cdc7de80438cc13f48d8b5' => __DIR__ . '/..' . '/magento/module-services-id-graph-ql-server/registration.php',
- '58dcade5a9b83ce477a325cc08fea1a3' => __DIR__ . '/..' . '/magento/module-service-proxy/registration.php',
'e4f13915c73bde5cfe1ad991a2c05d62' => __DIR__ . '/..' . '/magento/module-media-content-api/registration.php',
'07684b53e004b1beb749e8fbbdaf6247' => __DIR__ . '/..' . '/paypal/module-braintree-core/registration.php',
'667aeda72477189d0494fecd327c3641' => __DIR__ . '/..' . '/symfony/var-dumper/Resources/functions/dump.php',
@@ -143,16 +142,17 @@
'2ea2620d63b7a15b31d0f4deeb17bd92' => __DIR__ . '/..' . '/magento/module-adobe-stock-client-api/registration.php',
'98e6b97cff34460cafeaceffce4c013c' => __DIR__ . '/..' . '/magento/module-inventory-in-store-pickup-shipping-api/registration.php',
'8ace14821cff5beb90efc58dfd9c8b3b' => __DIR__ . '/..' . '/magento/module-media-gallery-synchronization-api/registration.php',
+ '58dcade5a9b83ce477a325cc08fea1a3' => __DIR__ . '/..' . '/magento/module-service-proxy/registration.php',
'a6d2049b4013058aebdab5256bfc92a1' => __DIR__ . '/..' . '/magento/module-import-export/registration.php',
'b0a44809b5ec8c6edb0d5f52ef3a56a2' => __DIR__ . '/..' . '/magento/module-inventory-configuration/registration.php',
'94873d6b1410a90e995471e2f15612bc' => __DIR__ . '/..' . '/magento/module-adobe-ims/registration.php',
+ 'aef862cc15319b5ecb5339dab6b7e7c8' => __DIR__ . '/..' . '/magento/module-services-id-layout/registration.php',
'8c6b73308093eb45d4062df90b3b55db' => __DIR__ . '/..' . '/magento/module-adobe-stock-asset-api/registration.php',
'9944ade184ae5fe1e30491426d3a4f16' => __DIR__ . '/..' . '/magento/module-inventory-distance-based-source-selection-api/registration.php',
'b6b883acf444fbba1f9372b784c8be17' => __DIR__ . '/..' . '/magento/module-inventory-in-store-pickup-sales-api/registration.php',
- 'aef862cc15319b5ecb5339dab6b7e7c8' => __DIR__ . '/..' . '/magento/module-services-id-layout/registration.php',
'49be64f161d7f7e3617b7936edeeb6d3' => __DIR__ . '/..' . '/magento/module-catalog-widget/registration.php',
'feab3019e2726e0d070190c665c9ddb3' => __DIR__ . '/..' . '/magento/module-jwt-user-token/registration.php',
- 'd02f432c0bfbd85eaf7075a943abbbdc' => __DIR__ . '/..' . '/magento/module-payment-services-dashboard/registration.php',
+ 'd253a45ee02d97b6230193eb323cf784' => __DIR__ . '/..' . '/magento/module-payment-services-base/registration.php',
'c8ba7f5c0ffc89c0be4c6607c3dc02d4' => __DIR__ . '/..' . '/magento/module-re-captcha-webapi-graph-ql/registration.php',
'8e92226780215d0ec758aa7b73e0ede9' => __DIR__ . '/..' . '/open-telemetry/context/fiber/initialize_fiber_handler.php',
'662a729f963d39afe703c9d9b7ab4a8c' => __DIR__ . '/..' . '/symfony/polyfill-php83/bootstrap.php',
@@ -170,7 +170,6 @@
'801c31d8ed748cfa537fa45402288c95' => __DIR__ . '/..' . '/psy/psysh/src/functions.php',
'e3b2795a8a512b6083af088fb53afe6c' => __DIR__ . '/..' . '/codeception/codeception/functions.php',
'b2a251005c112dee4a8e7f7580a475f5' => __DIR__ . '/..' . '/magento/module-cookie/registration.php',
- 'd253a45ee02d97b6230193eb323cf784' => __DIR__ . '/..' . '/magento/module-payment-services-base/registration.php',
'9234196008fdd46fd0de8a1a60ceba51' => __DIR__ . '/..' . '/magento/module-inventory-admin-ui/registration.php',
'd7ef88f3be7fb539feee0850d0e88080' => __DIR__ . '/..' . '/magento/module-inventory-catalog-admin-ui/registration.php',
'8ffde37d9302334c8bc95b50483566c8' => __DIR__ . '/..' . '/magento/module-inventory-catalog-search/registration.php',
@@ -199,6 +198,7 @@
'71dc2695e085cd08c5c05443ffbe009b' => __DIR__ . '/..' . '/magento/module-url-rewrite-graph-ql/registration.php',
'3f7befdb3fd10d6e2a914b0320605b6e' => __DIR__ . '/..' . '/magento/module-bundle-import-export/registration.php',
'4e49f9b77cfaca5ecee9e68485c07e5a' => __DIR__ . '/..' . '/magento/module-contact/registration.php',
+ 'd02f432c0bfbd85eaf7075a943abbbdc' => __DIR__ . '/..' . '/magento/module-payment-services-dashboard/registration.php',
'047237d75e251b1e0013481528c2be8e' => __DIR__ . '/..' . '/magento/module-saas-common/registration.php',
'3109cb1a231dcd04bee1f9f620d46975' => __DIR__ . '/..' . '/paragonie/sodium_compat/autoload.php',
'ba90354346e08a2efc1878276f595480' => __DIR__ . '/..' . '/magento/framework-stomp/registration.php',
@@ -4183,11 +4183,11 @@
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
- $loader->prefixLengthsPsr4 = ComposerStaticInit1c8a9705cf0691ea98cd89dda92837a2::$prefixLengthsPsr4;
- $loader->prefixDirsPsr4 = ComposerStaticInit1c8a9705cf0691ea98cd89dda92837a2::$prefixDirsPsr4;
- $loader->prefixesPsr0 = ComposerStaticInit1c8a9705cf0691ea98cd89dda92837a2::$prefixesPsr0;
- $loader->fallbackDirsPsr0 = ComposerStaticInit1c8a9705cf0691ea98cd89dda92837a2::$fallbackDirsPsr0;
- $loader->classMap = ComposerStaticInit1c8a9705cf0691ea98cd89dda92837a2::$classMap;
+ $loader->prefixLengthsPsr4 = ComposerStaticInit660d6d7389e293d9c50effd572379824::$prefixLengthsPsr4;
+ $loader->prefixDirsPsr4 = ComposerStaticInit660d6d7389e293d9c50effd572379824::$prefixDirsPsr4;
+ $loader->prefixesPsr0 = ComposerStaticInit660d6d7389e293d9c50effd572379824::$prefixesPsr0;
+ $loader->fallbackDirsPsr0 = ComposerStaticInit660d6d7389e293d9c50effd572379824::$fallbackDirsPsr0;
+ $loader->classMap = ComposerStaticInit660d6d7389e293d9c50effd572379824::$classMap;
}, null, ClassLoader::class);
}
diff --color -ruN vendor/composer/composer/src/Composer/Command/DiagnoseCommand.php vendor/composer/composer/src/Composer/Command/DiagnoseCommand.php
--- vendor/composer/composer/src/Composer/Command/DiagnoseCommand.php 2025-11-24 17:35:36
+++ vendor/composer/composer/src/Composer/Command/DiagnoseCommand.php 2025-11-24 17:34:21
@@ -128,7 +128,7 @@
$composerRepo = new ComposerRepository($repo, $this->getIO(), $config, $this->httpDownloader);
$reflMethod = new \ReflectionMethod($composerRepo, 'getPackagesJsonUrl');
if (PHP_VERSION_ID < 80100) {
- $reflMethod->setAccessible(true);
+ $reflMethod;
}
$url = $reflMethod->invoke($composerRepo);
if (!str_starts_with($url, 'http')) {
diff --color -ruN vendor/composer/composer/src/Composer/Console/Application.php vendor/composer/composer/src/Composer/Console/Application.php
--- vendor/composer/composer/src/Composer/Console/Application.php 2025-11-24 17:35:36
+++ vendor/composer/composer/src/Composer/Console/Application.php 2025-11-24 17:34:21
@@ -462,7 +462,7 @@
// as http error codes are all beyond the 255 range of permitted exit codes
if ($e instanceof TransportException) {
$reflProp = new \ReflectionProperty($e, 'code');
- (\PHP_VERSION_ID < 80100) and $reflProp->setAccessible(true);
+ (\PHP_VERSION_ID < 80100) and $reflProp;
$reflProp->setValue($e, Installer::ERROR_TRANSPORT_EXCEPTION);
}
diff --color -ruN vendor/composer/composer/src/Composer/EventDispatcher/EventDispatcher.php vendor/composer/composer/src/Composer/EventDispatcher/EventDispatcher.php
--- vendor/composer/composer/src/Composer/EventDispatcher/EventDispatcher.php 2025-11-24 17:35:36
+++ vendor/composer/composer/src/Composer/EventDispatcher/EventDispatcher.php 2025-11-24 17:34:21
@@ -330,7 +330,7 @@
if ($this->io instanceof ConsoleIO) {
$reflProp = new \ReflectionProperty($this->io, 'output');
if (\PHP_VERSION_ID < 80100) {
- $reflProp->setAccessible(true);
+ $reflProp;
}
$output = $reflProp->getValue($this->io);
} else {
diff --color -ruN vendor/composer/composer/src/Composer/Repository/FilesystemRepository.php vendor/composer/composer/src/Composer/Repository/FilesystemRepository.php
--- vendor/composer/composer/src/Composer/Repository/FilesystemRepository.php 2025-11-24 17:35:36
+++ vendor/composer/composer/src/Composer/Repository/FilesystemRepository.php 2025-11-24 17:34:21
@@ -177,11 +177,11 @@
// in memory loaded data from above
try {
$reflProp = new \ReflectionProperty(\Composer\InstalledVersions::class, 'selfDir');
- (\PHP_VERSION_ID < 80100) and $reflProp->setAccessible(true);
+ (\PHP_VERSION_ID < 80100) and $reflProp;
$reflProp->setValue(null, strtr($repoDir, '\\', '/'));
$reflProp = new \ReflectionProperty(\Composer\InstalledVersions::class, 'installedIsLocalDir');
- (\PHP_VERSION_ID < 80100) and $reflProp->setAccessible(true);
+ (\PHP_VERSION_ID < 80100) and $reflProp;
$reflProp->setValue(null, true);
} catch (\ReflectionException $e) {
if (!Preg::isMatch('{Property .*? does not exist}i', $e->getMessage())) {
diff --color -ruN vendor/composer/composer/src/Composer/Util/Http/CurlDownloader.php vendor/composer/composer/src/Composer/Util/Http/CurlDownloader.php
--- vendor/composer/composer/src/Composer/Util/Http/CurlDownloader.php 2025-11-24 17:35:36
+++ vendor/composer/composer/src/Composer/Util/Http/CurlDownloader.php 2025-11-24 17:34:21
@@ -304,7 +304,6 @@
$job = $this->jobs[$id];
curl_multi_remove_handle($this->multiHandle, $job['curlHandle']);
if (\PHP_VERSION_ID < 80000) {
- curl_close($job['curlHandle']);
}
if (is_resource($job['headerHandle'])) {
fclose($job['headerHandle']);
@@ -352,7 +351,6 @@
$errno = curl_errno($curlHandle);
curl_multi_remove_handle($this->multiHandle, $curlHandle);
if (\PHP_VERSION_ID < 80000) {
- curl_close($curlHandle);
}
$headers = null;
diff --color -ruN vendor/duosecurity/duo_api_php/src/CurlRequester.php vendor/duosecurity/duo_api_php/src/CurlRequester.php
--- vendor/duosecurity/duo_api_php/src/CurlRequester.php 2025-11-24 17:35:14
+++ vendor/duosecurity/duo_api_php/src/CurlRequester.php 2025-11-24 17:34:13
@@ -15,7 +15,6 @@
public function __destruct()
{
if (isset($this->ch)) {
- curl_close($this->ch);
}
}
diff --color -ruN vendor/duosecurity/duo_api_php/tests/Unit/ClientTest.php vendor/duosecurity/duo_api_php/tests/Unit/ClientTest.php
--- vendor/duosecurity/duo_api_php/tests/Unit/ClientTest.php 2025-11-24 17:35:36
+++ vendor/duosecurity/duo_api_php/tests/Unit/ClientTest.php 2025-11-24 17:34:13
@@ -15,7 +15,7 @@
{
$class = new \ReflectionClass('\\DuoAPI\\Client');
$method = $class->getMethod($name);
- $method->setAccessible(true);
+ $method;
return $method;
}
diff --color -ruN vendor/ezimuel/ringphp/src/Client/CurlHandler.php vendor/ezimuel/ringphp/src/Client/CurlHandler.php
--- vendor/ezimuel/ringphp/src/Client/CurlHandler.php 2025-11-24 17:35:13
+++ vendor/ezimuel/ringphp/src/Client/CurlHandler.php 2025-11-24 17:34:19
@@ -52,7 +52,6 @@
{
foreach ($this->handles as $handle) {
if (is_resource($handle)) {
- curl_close($handle);
}
}
}
@@ -117,7 +116,6 @@
{
$id = (int) $handle;
if (count($this->ownedHandles) > $this->maxHandles) {
- curl_close($this->handles[$id]);
unset($this->handles[$id], $this->ownedHandles[$id]);
} else {
// curl_reset doesn't clear these out for some reason
diff --color -ruN vendor/ezimuel/ringphp/src/Client/CurlMultiHandler.php vendor/ezimuel/ringphp/src/Client/CurlMultiHandler.php
--- vendor/ezimuel/ringphp/src/Client/CurlMultiHandler.php 2025-11-24 17:35:13
+++ vendor/ezimuel/ringphp/src/Client/CurlMultiHandler.php 2025-11-24 17:34:19
@@ -174,7 +174,6 @@
$this->_mh,
$this->handles[$id]['handle']
);
- curl_close($this->handles[$id]['handle']);
unset($this->handles[$id], $this->delays[$id]);
}
}
@@ -196,7 +195,6 @@
$handle = $this->handles[$id]['handle'];
unset($this->delays[$id], $this->handles[$id]);
curl_multi_remove_handle($this->_mh, $handle);
- curl_close($handle);
return true;
}
diff --color -ruN vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme.php vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme.php
--- vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme.php 2025-11-24 17:35:36
+++ vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme.php 2025-11-24 17:34:19
@@ -7,7 +7,7 @@
{
/**
- * Scheme's default port (integer). If an explicit port number is
+ * Scheme's default port (int). If an explicit port number is
* specified that coincides with the default port, it will be
* elided.
* @type int
diff --color -ruN vendor/friendsofphp/php-cs-fixer/src/Error/SourceExceptionFactory.php vendor/friendsofphp/php-cs-fixer/src/Error/SourceExceptionFactory.php
--- vendor/friendsofphp/php-cs-fixer/src/Error/SourceExceptionFactory.php 2025-11-24 17:35:36
+++ vendor/friendsofphp/php-cs-fixer/src/Error/SourceExceptionFactory.php 2025-11-24 17:34:18
@@ -48,7 +48,7 @@
$exceptionReflection = new \ReflectionClass($exception);
foreach (['file', 'line'] as $property) {
$propertyReflection = $exceptionReflection->getProperty($property);
- $propertyReflection->setAccessible(true);
+ $propertyReflection;
$propertyReflection->setValue($exception, $error[$property]);
$propertyReflection->setAccessible(false);
}
diff --color -ruN vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/ShortScalarCastFixer.php vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/ShortScalarCastFixer.php
--- vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/ShortScalarCastFixer.php 2025-11-24 17:35:36
+++ vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/ShortScalarCastFixer.php 2025-11-24 17:34:19
@@ -26,10 +26,10 @@
public function getDefinition(): FixerDefinitionInterface
{
return new FixerDefinition(
- 'Cast `(boolean)` and `(integer)` should be written as `(bool)` and `(int)`, `(double)` and `(real)` as `(float)`, `(binary)` as `(string)`.',
+ 'Cast `(bool)` and `(int)` should be written as `(bool)` and `(int)`, `(float)` and `(real)` as `(float)`, `(binary)` as `(string)`.',
[
new CodeSample(
- "<?php\n\$a = (boolean) \$b;\n\$a = (integer) \$b;\n\$a = (double) \$b;\n\n\$a = (binary) \$b;\n",
+ "<?php\n\$a = (bool) \$b;\n\$a = (int) \$b;\n\$a = (float) \$b;\n\n\$a = (binary) \$b;\n",
),
]
);
diff --color -ruN vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php
--- vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php 2025-11-24 17:35:13
+++ vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php 2025-11-24 17:34:18
@@ -126,7 +126,6 @@
if (\count($this->handles) >= $this->maxHandles) {
if (PHP_VERSION_ID < 80000) {
- \curl_close($resource);
}
} else {
// Remove all callback functions as they can hold onto references
@@ -732,7 +731,6 @@
{
foreach ($this->handles as $id => $handle) {
if (PHP_VERSION_ID < 80000) {
- \curl_close($handle);
}
unset($this->handles[$id]);
diff --color -ruN vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php
--- vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php 2025-11-24 17:35:13
+++ vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php 2025-11-24 17:34:18
@@ -242,7 +242,6 @@
\curl_multi_remove_handle($this->_mh, $handle);
if (PHP_VERSION_ID < 80000) {
- \curl_close($handle);
}
return true;
diff --color -ruN vendor/guzzlehttp/promises/src/EachPromise.php vendor/guzzlehttp/promises/src/EachPromise.php
--- vendor/guzzlehttp/promises/src/EachPromise.php 2025-11-24 17:35:36
+++ vendor/guzzlehttp/promises/src/EachPromise.php 2025-11-24 17:34:18
@@ -48,7 +48,7 @@
* aggregate promise that manages all of the promises. The aggregate
* promise may be resolved from within the callback to short-circuit
* the promise.
- * - concurrency: (integer) Pass this configuration option to limit the
+ * - concurrency: (int) Pass this configuration option to limit the
* allowed number of outstanding concurrently executing promises,
* creating a capped pool of promises. There is no limit by default.
*
diff --color -ruN vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/Curl.php vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/Curl.php
--- vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/Curl.php 2025-11-24 17:35:12
+++ vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/Curl.php 2025-11-24 17:34:41
@@ -54,7 +54,6 @@
$this->fetchContentType($response);
if (PHP_VERSION_ID < 80000) {
- curl_close($ch);
}
return $this->messageBody;
diff --color -ruN vendor/laminas/laminas-http/src/Client/Adapter/Curl.php vendor/laminas/laminas-http/src/Client/Adapter/Curl.php
--- vendor/laminas/laminas-http/src/Client/Adapter/Curl.php 2025-11-24 17:35:15
+++ vendor/laminas/laminas-http/src/Client/Adapter/Curl.php 2025-11-24 17:34:41
@@ -10,7 +10,6 @@
use function array_key_exists;
use function base64_decode;
-use function curl_close;
use function curl_errno;
use function curl_error;
use function curl_exec;
@@ -605,7 +604,6 @@
public function close()
{
if (is_resource($this->curl)) {
- curl_close($this->curl);
}
$this->curl = null;
$this->connectedTo = [null, null];
diff --color -ruN vendor/lusitanian/oauth/src/OAuth/Common/Http/Client/CurlClient.php vendor/lusitanian/oauth/src/OAuth/Common/Http/Client/CurlClient.php
--- vendor/lusitanian/oauth/src/OAuth/Common/Http/Client/CurlClient.php 2025-11-24 17:35:34
+++ vendor/lusitanian/oauth/src/OAuth/Common/Http/Client/CurlClient.php 2025-11-24 17:34:18
@@ -128,14 +128,12 @@
if (false === $response) {
$errNo = curl_errno($ch);
$errStr = curl_error($ch);
- curl_close($ch);
if (empty($errStr)) {
throw new TokenResponseException('Failed to request resource.', $responseCode);
}
throw new TokenResponseException('cURL Error # '.$errNo.': '.$errStr, $responseCode);
}
- curl_close($ch);
return $response;
}
diff --color -ruN vendor/magento/framework/Api/Test/Unit/Code/Generator/ExtensionAttributesGeneratorTest.php vendor/magento/framework/Api/Test/Unit/Code/Generator/ExtensionAttributesGeneratorTest.php
--- vendor/magento/framework/Api/Test/Unit/Code/Generator/ExtensionAttributesGeneratorTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Api/Test/Unit/Code/Generator/ExtensionAttributesGeneratorTest.php 2025-11-24 17:34:28
@@ -115,7 +115,7 @@
);
$reflectionObject = new \ReflectionObject($model);
$reflectionMethod = $reflectionObject->getMethod('_validateData');
- $reflectionMethod->setAccessible(true);
+ $reflectionMethod;
$expectedValidationResult = false;
$this->assertEquals($expectedValidationResult, $reflectionMethod->invoke($model));
@@ -137,7 +137,7 @@
{
$reflectionObject = new \ReflectionObject($this->model);
$reflectionMethod = $reflectionObject->getMethod('_generateCode');
- $reflectionMethod->setAccessible(true);
+ $reflectionMethod;
$generatedCode = $reflectionMethod->invoke($this->model);
$expectedResult = preg_replace('/\s+/', ' ', $expectedResult);
$generatedCode = preg_replace('/\s+/', ' ', $generatedCode);
diff --color -ruN vendor/magento/framework/Api/Test/Unit/Code/Generator/ExtensionAttributesInterfaceGeneratorTest.php vendor/magento/framework/Api/Test/Unit/Code/Generator/ExtensionAttributesInterfaceGeneratorTest.php
--- vendor/magento/framework/Api/Test/Unit/Code/Generator/ExtensionAttributesInterfaceGeneratorTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Api/Test/Unit/Code/Generator/ExtensionAttributesInterfaceGeneratorTest.php 2025-11-24 17:34:28
@@ -70,7 +70,7 @@
$expectedResult = file_get_contents(__DIR__ . '/_files/SampleExtensionInterface.txt');
$reflectionObject = new \ReflectionObject($model);
$reflectionMethod = $reflectionObject->getMethod('_generateCode');
- $reflectionMethod->setAccessible(true);
+ $reflectionMethod;
$generatedCode = $reflectionMethod->invoke($model);
$this->assertEquals($expectedResult, $generatedCode);
}
@@ -88,7 +88,7 @@
);
$reflectionObject = new \ReflectionObject($model);
$reflectionMethod = $reflectionObject->getMethod('_validateData');
- $reflectionMethod->setAccessible(true);
+ $reflectionMethod;
$expectedValidationResult = false;
$this->assertEquals($expectedValidationResult, $reflectionMethod->invoke($model));
diff --color -ruN vendor/magento/framework/App/Config/ScopeCodeResolver.php vendor/magento/framework/App/Config/ScopeCodeResolver.php
--- vendor/magento/framework/App/Config/ScopeCodeResolver.php 2025-11-24 17:35:36
+++ vendor/magento/framework/App/Config/ScopeCodeResolver.php 2025-11-24 17:34:29
@@ -40,7 +40,7 @@
*/
public function resolve($scopeType, $scopeCode)
{
- if (isset($this->resolvedScopeCodes[$scopeType][$scopeCode])) {
+ if ($scopeCode && isset($this->resolvedScopeCodes[$scopeType][$scopeCode])) {
return $this->resolvedScopeCodes[$scopeType][$scopeCode];
}
diff --color -ruN vendor/magento/framework/App/Request/Http.php vendor/magento/framework/App/Request/Http.php
--- vendor/magento/framework/App/Request/Http.php 2025-11-24 17:35:36
+++ vendor/magento/framework/App/Request/Http.php 2025-11-24 17:34:29
@@ -195,7 +195,7 @@
*/
public function isDirectAccessFrontendName($code)
{
- return isset($this->directFrontNames[$code]);
+ return $code && isset($this->directFrontNames[$code]);
}
/**
diff --color -ruN vendor/magento/framework/App/Route/Config.php vendor/magento/framework/App/Route/Config.php
--- vendor/magento/framework/App/Route/Config.php 2025-11-24 17:35:36
+++ vendor/magento/framework/App/Route/Config.php 2025-11-24 17:34:29
@@ -118,7 +118,7 @@
public function getRouteFrontName($routeId, $scope = null)
{
$routes = $this->_getRoutes($scope);
- return isset($routes[$routeId]) ? $routes[$routeId]['frontName'] : $routeId;
+ return $routeId && isset($routes[$routeId]) ? $routes[$routeId]['frontName'] : $routeId;
}
/**
diff --color -ruN vendor/magento/framework/App/Test/Unit/Language/ConfigTest.php vendor/magento/framework/App/Test/Unit/Language/ConfigTest.php
--- vendor/magento/framework/App/Test/Unit/Language/ConfigTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/App/Test/Unit/Language/ConfigTest.php 2025-11-24 17:34:29
@@ -78,7 +78,7 @@
public function testGetSchemaFile()
{
$method = new \ReflectionMethod($this->config, 'getSchemaFile');
- $method->setAccessible(true);
+ $method;
$this->assertEquals(
$this->urnResolver->getRealPath('urn:magento:framework:App/Language/package.xsd'),
$method->invoke($this->config)
diff --color -ruN vendor/magento/framework/App/Test/Unit/PageCache/KernelTest.php vendor/magento/framework/App/Test/Unit/PageCache/KernelTest.php
--- vendor/magento/framework/App/Test/Unit/PageCache/KernelTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/App/Test/Unit/PageCache/KernelTest.php 2025-11-24 17:34:29
@@ -132,7 +132,7 @@
$reflection = new \ReflectionClass(Kernel::class);
$reflectionProperty = $reflection->getProperty('fullPageCache');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->kernel, $this->fullPageCacheMock);
}
diff --color -ruN vendor/magento/framework/App/Test/Unit/ProductMetadataTest.php vendor/magento/framework/App/Test/Unit/ProductMetadataTest.php
--- vendor/magento/framework/App/Test/Unit/ProductMetadataTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/App/Test/Unit/ProductMetadataTest.php 2025-11-24 17:34:29
@@ -43,7 +43,7 @@
$objectManager = new ObjectManager($this);
$this->productMetadata = $objectManager->getObject(ProductMetadata::class, ['cache' => $this->cacheMock]);
$reflectionProperty = new \ReflectionProperty($this->productMetadata, 'composerInformation');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->productMetadata, $this->composerInformationMock);
}
diff --color -ruN vendor/magento/framework/App/Test/Unit/Response/HttpTest.php vendor/magento/framework/App/Test/Unit/Response/HttpTest.php
--- vendor/magento/framework/App/Test/Unit/Response/HttpTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/App/Test/Unit/Response/HttpTest.php 2025-11-24 17:34:29
@@ -337,7 +337,7 @@
/* ensure that the test preconditions are met */
$objectManagerClass = new ReflectionClass(AppObjectManager::class);
$instanceProperty = $objectManagerClass->getProperty('_instance');
- $instanceProperty->setAccessible(true);
+ $instanceProperty;
$instanceProperty->setValue(null, null);
$this->model->__wakeup();
diff --color -ruN vendor/magento/framework/Cache/Test/Unit/Backend/Decorator/CompressionTest.php vendor/magento/framework/Cache/Test/Unit/Backend/Decorator/CompressionTest.php
--- vendor/magento/framework/Cache/Test/Unit/Backend/Decorator/CompressionTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Cache/Test/Unit/Backend/Decorator/CompressionTest.php 2025-11-24 17:34:28
@@ -51,7 +51,7 @@
Compression::class,
'_compressData'
);
- $method->setAccessible(true);
+ $method;
$this->assertStringStartsWith('CACHE_COMPRESSION', $method->invoke($this->_decorator, $this->_testString));
}
@@ -62,13 +62,13 @@
Compression::class,
'_compressData'
);
- $methodCompress->setAccessible(true);
+ $methodCompress;
$methodDecompress = new \ReflectionMethod(
Compression::class,
'_decompressData'
);
- $methodDecompress->setAccessible(true);
+ $methodDecompress;
$this->assertEquals(
$this->_testString,
@@ -85,7 +85,7 @@
Compression::class,
'_isCompressionNeeded'
);
- $method->setAccessible(true);
+ $method;
$this->assertFalse($method->invoke($this->_decorator, $this->_testString));
$this->assertFalse($method->invoke($this->_decorator, substr($this->_testString, 0, -1)));
@@ -100,7 +100,7 @@
Compression::class,
'_isDecompressionNeeded'
);
- $method->setAccessible(true);
+ $method;
$this->assertFalse($method->invoke($this->_decorator, $this->_testString));
$this->assertFalse($method->invoke($this->_decorator, 's' . $prefix . $this->_testString));
diff --color -ruN vendor/magento/framework/Cache/Test/Unit/Backend/Decorator/DecoratorAbstractTest.php vendor/magento/framework/Cache/Test/Unit/Backend/Decorator/DecoratorAbstractTest.php
--- vendor/magento/framework/Cache/Test/Unit/Backend/Decorator/DecoratorAbstractTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Cache/Test/Unit/Backend/Decorator/DecoratorAbstractTest.php 2025-11-24 17:34:28
@@ -43,13 +43,13 @@
AbstractDecorator::class,
'_backend'
);
- $backendProperty->setAccessible(true);
+ $backendProperty;
$optionsProperty = new \ReflectionProperty(
AbstractDecorator::class,
'_decoratorOptions'
);
- $optionsProperty->setAccessible(true);
+ $optionsProperty;
$this->assertSame($backendProperty->getValue($decorator), $this->_mockBackend);
diff --color -ruN vendor/magento/framework/Cache/Test/Unit/InvalidateLoggerTest.php vendor/magento/framework/Cache/Test/Unit/InvalidateLoggerTest.php
--- vendor/magento/framework/Cache/Test/Unit/InvalidateLoggerTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Cache/Test/Unit/InvalidateLoggerTest.php 2025-11-24 17:34:28
@@ -75,7 +75,7 @@
{
$expected = ['method' => $this->method, 'url' => $this->url, 'invalidateInfo' => $this->params];
$method = new \ReflectionMethod($this->invalidateLogger, 'makeParams');
- $method->setAccessible(true);
+ $method;
$this->assertEquals(
$expected,
$method->invoke($this->invalidateLogger, $this->params)
diff --color -ruN vendor/magento/framework/Code/Test/Unit/Minifier/Adapter/Css/CssMinTest.php vendor/magento/framework/Code/Test/Unit/Minifier/Adapter/Css/CssMinTest.php
--- vendor/magento/framework/Code/Test/Unit/Minifier/Adapter/Css/CssMinTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Code/Test/Unit/Minifier/Adapter/Css/CssMinTest.php 2025-11-24 17:34:28
@@ -18,7 +18,7 @@
->getMock();
$cssMinAdapter = new CSSmin($cssMinMock);
$property = new \ReflectionProperty(CSSmin::class, 'cssMinifier');
- $property->setAccessible(true);
+ $property;
$property->setValue($cssMinAdapter, $cssMinMock);
$expectedResult = 'minified content';
diff --color -ruN vendor/magento/framework/Code/Test/Unit/Model/File/Validator/NotProtectedExtensionTest.php vendor/magento/framework/Code/Test/Unit/Model/File/Validator/NotProtectedExtensionTest.php
--- vendor/magento/framework/Code/Test/Unit/Model/File/Validator/NotProtectedExtensionTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Code/Test/Unit/Model/File/Validator/NotProtectedExtensionTest.php 2025-11-24 17:34:28
@@ -57,7 +57,7 @@
NotProtectedExtension::class,
'messageTemplates'
);
- $property->setAccessible(true);
+ $property;
$defaultMess = [
'protectedExtension' => new Phrase('File with an extension "%value%" is protected and cannot be uploaded'),
];
@@ -67,7 +67,7 @@
NotProtectedExtension::class,
'_protectedFileExtensions'
);
- $property->setAccessible(true);
+ $property;
$protectedList = ['exe', 'php', 'jar'];
$this->assertEquals($protectedList, $property->getValue($this->_model));
}
diff --color -ruN vendor/magento/framework/Code/Test/Unit/Reader/ClassReaderTest.php vendor/magento/framework/Code/Test/Unit/Reader/ClassReaderTest.php
--- vendor/magento/framework/Code/Test/Unit/Reader/ClassReaderTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Code/Test/Unit/Reader/ClassReaderTest.php 2025-11-24 17:34:28
@@ -53,7 +53,7 @@
$this->assertEquals([0 => 'FirstClassForParentCall'], $model->getParents('ThirdClassForParentCall'));
$reflection = new \ReflectionClass(ClassReader::class);
$expectedClass = $reflection->getProperty('parentsCache');
- $expectedClass->setAccessible(true);
+ $expectedClass;
$this->assertEquals(
$expectedClass->getValue($model)['ThirdClassForParentCall'],
$model->getParents('ThirdClassForParentCall')
diff --color -ruN vendor/magento/framework/Component/ComponentRegistrar.php vendor/magento/framework/Component/ComponentRegistrar.php
--- vendor/magento/framework/Component/ComponentRegistrar.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Component/ComponentRegistrar.php 2025-11-24 17:34:29
@@ -68,7 +68,7 @@
public function getPath($type, $componentName)
{
self::validateType($type);
- return self::$paths[$type][$componentName] ?? null;
+ return self::$paths[$type][(string)$componentName] ?? null;
}
/**
diff --color -ruN vendor/magento/framework/Composer/ComposerInformation.php vendor/magento/framework/Composer/ComposerInformation.php
--- vendor/magento/framework/Composer/ComposerInformation.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Composer/ComposerInformation.php 2025-11-24 17:34:28
@@ -276,7 +276,7 @@
{
$rootPackage = $this->getComposer()->getPackage();
- return (boolean)preg_match('/magento\/magento2...?/', $rootPackage->getName());
+ return (bool)preg_match('/magento\/magento2...?/', $rootPackage->getName());
}
/**
diff --color -ruN vendor/magento/framework/Config/ConfigOptionsListConstants.php vendor/magento/framework/Config/ConfigOptionsListConstants.php
--- vendor/magento/framework/Config/ConfigOptionsListConstants.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Config/ConfigOptionsListConstants.php 2025-11-24 17:34:29
@@ -130,9 +130,9 @@
/**#@+
* Array keys for database driver options configurations
*/
- public const KEY_MYSQL_SSL_KEY = \PDO::MYSQL_ATTR_SSL_KEY;
- public const KEY_MYSQL_SSL_CERT = \PDO::MYSQL_ATTR_SSL_CERT;
- public const KEY_MYSQL_SSL_CA = \PDO::MYSQL_ATTR_SSL_CA;
+ public const KEY_MYSQL_SSL_KEY = \PDO\Mysql::ATTR_SSL_KEY;
+ public const KEY_MYSQL_SSL_CERT = \PDO\Mysql::ATTR_SSL_CERT;
+ public const KEY_MYSQL_SSL_CA = \PDO\Mysql::ATTR_SSL_CA;
/**
* Constant \PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT cannot be used as it was introduced in PHP 7.1.4
diff --color -ruN vendor/magento/framework/Console/Test/Unit/CliTest.php vendor/magento/framework/Console/Test/Unit/CliTest.php
--- vendor/magento/framework/Console/Test/Unit/CliTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Console/Test/Unit/CliTest.php 2025-11-24 17:34:28
@@ -75,7 +75,7 @@
{
$reflection = new \ReflectionClass(Cli::class);
$reflectionProperty = $reflection->getProperty($propertyName);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->cli, $mockObject);
}
}
diff --color -ruN vendor/magento/framework/DB/Adapter/Pdo/Mysql.php vendor/magento/framework/DB/Adapter/Pdo/Mysql.php
--- vendor/magento/framework/DB/Adapter/Pdo/Mysql.php 2025-11-24 17:35:36
+++ vendor/magento/framework/DB/Adapter/Pdo/Mysql.php 2025-11-24 17:34:29
@@ -500,8 +500,8 @@
list($this->_config['host'], $this->_config['port']) = explode(':', $this->_config['host']);
}
- if (!isset($this->_config['driver_options'][\PDO::MYSQL_ATTR_MULTI_STATEMENTS])) {
- $this->_config['driver_options'][\PDO::MYSQL_ATTR_MULTI_STATEMENTS] = false;
+ if (!isset($this->_config['driver_options'][\PDO\Mysql::ATTR_MULTI_STATEMENTS])) {
+ $this->_config['driver_options'][\PDO\Mysql::ATTR_MULTI_STATEMENTS] = false;
}
if (!isset($this->_config['driver_options'][\PDO::ATTR_STRINGIFY_FETCHES])) {
@@ -528,9 +528,9 @@
if (!$this->_connectionFlagsSet) {
$this->_connection->setAttribute(\PDO::ATTR_EMULATE_PREPARES, true);
if (isset($this->_config['use_buffered_query']) && $this->_config['use_buffered_query'] === false) {
- $this->_connection->setAttribute(\PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, false);
+ $this->_connection->setAttribute(\PDO\Mysql::ATTR_USE_BUFFERED_QUERY, false);
} else {
- $this->_connection->setAttribute(\PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, true);
+ $this->_connection->setAttribute(\PDO\Mysql::ATTR_USE_BUFFERED_QUERY, true);
}
$this->_connectionFlagsSet = true;
}
@@ -3203,7 +3203,7 @@
$to = $this->_prepareSqlDateCondition($condition, 'to');
$query = $query . $this->_prepareQuotedSqlCondition($conditionKeyMap['to'], $to, $fieldName);
}
- } elseif (array_key_exists($key, $conditionKeyMap)) {
+ } elseif (array_key_exists((string)$key, $conditionKeyMap)) {
$value = $condition[$key];
if (($key == 'seq') || ($key == 'sneq')) {
$key = $this->_transformStringSqlCondition($key, $value);
diff --color -ruN vendor/magento/framework/DB/Test/Unit/Adapter/Pdo/MysqlTest.php vendor/magento/framework/DB/Test/Unit/Adapter/Pdo/MysqlTest.php
--- vendor/magento/framework/DB/Test/Unit/Adapter/Pdo/MysqlTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/DB/Test/Unit/Adapter/Pdo/MysqlTest.php 2025-11-24 17:34:29
@@ -774,7 +774,7 @@
get_class($adapterMock),
'_profiler'
);
- $resourceProperty->setAccessible(true);
+ $resourceProperty;
$resourceProperty->setValue($adapterMock, $this->profiler);
return $adapterMock;
@@ -790,7 +790,7 @@
get_class($pdoAdapterMock),
'_connection'
);
- $resourceProperty->setAccessible(true);
+ $resourceProperty;
$resourceProperty->setValue($pdoAdapterMock, $this->connection);
}
@@ -985,7 +985,7 @@
{
$reflection = new \ReflectionClass($adapter);
$method = $reflection->getMethod($method);
- $method->setAccessible(true);
+ $method;
return $method->invokeArgs($adapter, $parameters);
}
diff --color -ruN vendor/magento/framework/DB/Test/Unit/TemporaryTableServiceTest.php vendor/magento/framework/DB/Test/Unit/TemporaryTableServiceTest.php
--- vendor/magento/framework/DB/Test/Unit/TemporaryTableServiceTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/DB/Test/Unit/TemporaryTableServiceTest.php 2025-11-24 17:34:29
@@ -154,7 +154,7 @@
public function testDropTableWhenCreatedTablesArrayNotEmpty($tableName, $assertion)
{
$createdTableAdapters = new \ReflectionProperty($this->temporaryTableService, 'createdTableAdapters');
- $createdTableAdapters->setAccessible(true);
+ $createdTableAdapters;
$createdTableAdapters->setValue($this->temporaryTableService, ['tmp_select_table' => $this->adapterMock]);
$createdTableAdapters->setAccessible(false);
diff --color -ruN vendor/magento/framework/Data/Collection.php vendor/magento/framework/Data/Collection.php
--- vendor/magento/framework/Data/Collection.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Data/Collection.php 2025-11-24 17:34:29
@@ -830,8 +830,8 @@
public function getItemById($idValue)
{
$this->load();
- if (isset($this->_items[$idValue])) {
- return $this->_items[$idValue];
+ if (isset($this->_items[(string)$idValue])) {
+ return $this->_items[(string)$idValue];
}
return null;
}
diff --color -ruN vendor/magento/framework/Data/Structure.php vendor/magento/framework/Data/Structure.php
--- vendor/magento/framework/Data/Structure.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Data/Structure.php 2025-11-24 17:34:29
@@ -478,7 +478,7 @@
*/
public function getParentId($childId)
{
- return $this->_elements[$childId][self::PARENT] ?? false;
+ return $this->_elements[(string)$childId][self::PARENT] ?? false;
}
/**
diff --color -ruN vendor/magento/framework/Data/Test/Unit/Argument/Interpreter/NumberTest.php vendor/magento/framework/Data/Test/Unit/Argument/Interpreter/NumberTest.php
--- vendor/magento/framework/Data/Test/Unit/Argument/Interpreter/NumberTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Data/Test/Unit/Argument/Interpreter/NumberTest.php 2025-11-24 17:34:29
@@ -61,7 +61,7 @@
return [
'integer' => [10, 10],
'float' => [10.5, 10.5],
- 'string numeric (integer)' => ['10', '10'],
+ 'string numeric (int)' => ['10', '10'],
'string numeric (float)' => ['10.5', '10.5']
];
}
diff --color -ruN vendor/magento/framework/File/Test/Unit/CsvTest.php vendor/magento/framework/File/Test/Unit/CsvTest.php
--- vendor/magento/framework/File/Test/Unit/CsvTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/File/Test/Unit/CsvTest.php 2025-11-24 17:34:28
@@ -38,7 +38,7 @@
$expected = 4;
$this->_model->setLineLength($expected);
$lineLengthProperty = new \ReflectionProperty(Csv::class, '_lineLength');
- $lineLengthProperty->setAccessible(true);
+ $lineLengthProperty;
$actual = $lineLengthProperty->getValue($this->_model);
$this->assertEquals($expected, $actual);
}
diff --color -ruN vendor/magento/framework/Filter/DirectiveProcessor/LegacyDirective.php vendor/magento/framework/Filter/DirectiveProcessor/LegacyDirective.php
--- vendor/magento/framework/Filter/DirectiveProcessor/LegacyDirective.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Filter/DirectiveProcessor/LegacyDirective.php 2025-11-24 17:34:28
@@ -37,7 +37,7 @@
try {
$reflectionClass = new \ReflectionClass($filter);
$method = $reflectionClass->getMethod($construction[1] . 'Directive');
- $method->setAccessible(true);
+ $method;
return (string)$method->invokeArgs($filter, [$construction]);
} catch (\ReflectionException $e) {
diff --color -ruN vendor/magento/framework/Filter/Test/Unit/AbstractFactoryTest.php vendor/magento/framework/Filter/Test/Unit/AbstractFactoryTest.php
--- vendor/magento/framework/Filter/Test/Unit/AbstractFactoryTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Filter/Test/Unit/AbstractFactoryTest.php 2025-11-24 17:34:28
@@ -52,11 +52,11 @@
['objectManger' => $this->_objectManager]
);
$property = new \ReflectionProperty(AbstractFactory::class, 'invokableClasses');
- $property->setAccessible(true);
+ $property;
$property->setValue($this->_factory, $this->_invokableList);
$property = new \ReflectionProperty(AbstractFactory::class, 'shared');
- $property->setAccessible(true);
+ $property;
$property->setValue($this->_factory, $this->_sharedList);
}
@@ -109,7 +109,7 @@
public function testCreateFilter($alias, $arguments, $isShared)
{
$property = new \ReflectionProperty(AbstractFactory::class, 'sharedInstances');
- $property->setAccessible(true);
+ $property;
$filterMock = $this->getMockBuilder(\stdClass::class)
->addMethods(['filter'])->getMock();
diff --color -ruN vendor/magento/framework/Filter/Test/Unit/FilterManagerTest.php vendor/magento/framework/Filter/Test/Unit/FilterManagerTest.php
--- vendor/magento/framework/Filter/Test/Unit/FilterManagerTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Filter/Test/Unit/FilterManagerTest.php 2025-11-24 17:34:28
@@ -69,7 +69,7 @@
$this->initMocks();
$method =
new \ReflectionMethod(FilterManager::class, 'getFilterFactories');
- $method->setAccessible(true);
+ $method;
$this->assertEquals([$this->_factoryMock], $method->invoke($this->_filterManager));
}
@@ -104,7 +104,7 @@
$this->_filterManager = new FilterManager($this->_objectManager, $this->_config);
$method = new \ReflectionMethod(FilterManager::class, 'getFilterFactories');
- $method->setAccessible(true);
+ $method;
$method->invoke($this->_filterManager);
}
@@ -116,7 +116,7 @@
$this->configureFactoryMock($filterMock, 'alias', ['123']);
$method = new \ReflectionMethod(FilterManager::class, 'createFilterInstance');
- $method->setAccessible(true);
+ $method;
$this->assertEquals($filterMock, $method->invoke($this->_filterManager, 'alias', ['123']));
}
@@ -137,7 +137,7 @@
);
$method = new \ReflectionMethod(FilterManager::class, 'createFilterInstance');
- $method->setAccessible(true);
+ $method;
$method->invoke($this->_filterManager, $filterAlias, []);
}
diff --color -ruN vendor/magento/framework/HTTP/Adapter/Curl.php vendor/magento/framework/HTTP/Adapter/Curl.php
--- vendor/magento/framework/HTTP/Adapter/Curl.php 2025-11-24 17:35:21
+++ vendor/magento/framework/HTTP/Adapter/Curl.php 2025-11-24 17:34:28
@@ -233,7 +233,6 @@
*/
public function close()
{
- curl_close($this->_getResource());
$this->_resource = null;
return $this;
}
diff --color -ruN vendor/magento/framework/HTTP/Client/Curl.php vendor/magento/framework/HTTP/Client/Curl.php
--- vendor/magento/framework/HTTP/Client/Curl.php 2025-11-24 17:35:21
+++ vendor/magento/framework/HTTP/Client/Curl.php 2025-11-24 17:34:28
@@ -411,7 +411,6 @@
if ($err) {
$this->doError(curl_error($this->_ch));
}
- curl_close($this->_ch);
}
/**
diff --color -ruN vendor/magento/framework/HTTP/Test/Unit/Client/CurlTest.php vendor/magento/framework/HTTP/Test/Unit/Client/CurlTest.php
--- vendor/magento/framework/HTTP/Test/Unit/Client/CurlTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/HTTP/Test/Unit/Client/CurlTest.php 2025-11-24 17:34:28
@@ -38,7 +38,7 @@
$curl,
'parseHeaders'
);
- $parseHeaders->setAccessible(true);
+ $parseHeaders;
// Parse headers
foreach ($this->headersDataProvider() as $header) {
diff --color -ruN vendor/magento/framework/Image/Adapter/ImageMagick.php vendor/magento/framework/Image/Adapter/ImageMagick.php
--- vendor/magento/framework/Image/Adapter/ImageMagick.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Image/Adapter/ImageMagick.php 2025-11-24 17:34:29
@@ -318,7 +318,7 @@
$this->_checkCanProcess();
$opacity = $this->getWatermarkImageOpacity() ? $this->getWatermarkImageOpacity() : $opacity;
- $opacity = (double) number_format($opacity / 100, 1);
+ $opacity = (float) number_format($opacity / 100, 1);
$watermark = new \Imagick($imagePath);
diff --color -ruN vendor/magento/framework/Image/Test/Unit/Adapter/AbstractTest.php vendor/magento/framework/Image/Test/Unit/Adapter/AbstractTest.php
--- vendor/magento/framework/Image/Test/Unit/Adapter/AbstractTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Image/Test/Unit/Adapter/AbstractTest.php 2025-11-24 17:34:29
@@ -80,7 +80,7 @@
public function testAdaptResizeValues($width, $height, $expectedResult)
{
$method = new \ReflectionMethod($this->_model, '_adaptResizeValues');
- $method->setAccessible(true);
+ $method;
$result = $method->invoke($this->_model, $width, $height);
@@ -107,15 +107,15 @@
public function testPrepareDestination($destination, $newName, $expectedResult)
{
$property = new \ReflectionProperty(get_class($this->_model), '_fileSrcPath');
- $property->setAccessible(true);
+ $property;
$property->setValue($this->_model, '_fileSrcPath');
$property = new \ReflectionProperty(get_class($this->_model), '_fileSrcName');
- $property->setAccessible(true);
+ $property;
$property->setValue($this->_model, '_fileSrcName');
$method = new \ReflectionMethod($this->_model, '_prepareDestination');
- $method->setAccessible(true);
+ $method;
$result = $method->invoke($this->_model, $destination, $newName);
diff --color -ruN vendor/magento/framework/Interception/Test/Unit/ObjectManager/Config/DeveloperTest.php vendor/magento/framework/Interception/Test/Unit/ObjectManager/Config/DeveloperTest.php
--- vendor/magento/framework/Interception/Test/Unit/ObjectManager/Config/DeveloperTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Interception/Test/Unit/ObjectManager/Config/DeveloperTest.php 2025-11-24 17:34:28
@@ -68,7 +68,7 @@
{
$reflectionClass = new \ReflectionClass(get_class($this->model));
$reflectionProperty = $reflectionClass->getProperty('_virtualTypes');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->model, ['SomeVirtualClass' => 'SomeClass']);
$this->interceptionConfig->expects($this->once())->method('hasPlugins')->with('SomeClass')->willReturn(true);
diff --color -ruN vendor/magento/framework/Interception/Test/Unit/PluginList/PluginListTest.php vendor/magento/framework/Interception/Test/Unit/PluginList/PluginListTest.php
--- vendor/magento/framework/Interception/Test/Unit/PluginList/PluginListTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Interception/Test/Unit/PluginList/PluginListTest.php 2025-11-24 17:34:28
@@ -377,7 +377,7 @@
{
$reflection = new \ReflectionClass($this->object);
$reflection_property = $reflection->getProperty('_scopePriorityScheme');
- $reflection_property->setAccessible(true);
+ $reflection_property;
$reflection_property->setValue($this->object, $areaCodes);
}
}
diff --color -ruN vendor/magento/framework/Logger/Test/Unit/Handler/BaseTest.php vendor/magento/framework/Logger/Test/Unit/Handler/BaseTest.php
--- vendor/magento/framework/Logger/Test/Unit/Handler/BaseTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Logger/Test/Unit/Handler/BaseTest.php 2025-11-24 17:34:28
@@ -33,7 +33,7 @@
$class = new \ReflectionClass($this->model);
$this->sanitizeMethod = $class->getMethod('sanitizeFileName');
- $this->sanitizeMethod->setAccessible(true);
+ $this->sanitizeMethod;
}
public function testSanitizeEmpty()
diff --color -ruN vendor/magento/framework/Model/ResourceModel/Db/Collection/AbstractCollection.php vendor/magento/framework/Model/ResourceModel/Db/Collection/AbstractCollection.php
--- vendor/magento/framework/Model/ResourceModel/Db/Collection/AbstractCollection.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Model/ResourceModel/Db/Collection/AbstractCollection.php 2025-11-24 17:34:28
@@ -232,7 +232,7 @@
$columnsToSelect = [];
foreach ($columns as $columnEntry) {
list($correlationName, $column, $alias) = $columnEntry;
- if ($correlationName !== 'main_table' || isset($this->expressionFieldsToSelect[$alias])) {
+ if ($correlationName !== 'main_table' || isset($this->expressionFieldsToSelect[(string)$alias])) {
// Add joined fields to select
if ($column instanceof \Zend_Db_Expr) {
$column = $column->__toString();
diff --color -ruN vendor/magento/framework/Model/ResourceModel/Db/VersionControl/Snapshot.php vendor/magento/framework/Model/ResourceModel/Db/VersionControl/Snapshot.php
--- vendor/magento/framework/Model/ResourceModel/Db/VersionControl/Snapshot.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Model/ResourceModel/Db/VersionControl/Snapshot.php 2025-11-24 17:34:28
@@ -58,7 +58,7 @@
$metaData = $this->metadata->getFields($entity);
$filteredData = array_intersect_key($entity->getData(), $metaData);
$data = array_merge($metaData, $filteredData);
- $this->snapshotData[get_class($entity)][$entity->getId()] = $data;
+ $this->snapshotData[get_class($entity)][(string)$entity->getId()] = $data;
}
/**
diff --color -ruN vendor/magento/framework/Model/Test/Unit/ResourceModel/Db/AbstractDbTest.php vendor/magento/framework/Model/Test/Unit/ResourceModel/Db/AbstractDbTest.php
--- vendor/magento/framework/Model/Test/Unit/ResourceModel/Db/AbstractDbTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Model/Test/Unit/ResourceModel/Db/AbstractDbTest.php 2025-11-24 17:34:28
@@ -152,7 +152,7 @@
AbstractDb::class,
'_idFieldName'
);
- $idFieldNameProperty->setAccessible(true);
+ $idFieldNameProperty;
$idFieldNameProperty->setValue($this->_model, $data);
$this->assertEquals($data, $this->_model->getIdFieldName());
}
@@ -180,7 +180,7 @@
AbstractDb::class,
'_mainTable'
);
- $mainTableProperty->setAccessible(true);
+ $mainTableProperty;
$mainTableProperty->setValue($this->_model, $tableName);
$this->_resourcesMock->expects($this->once())
->method('getTableName')
@@ -222,7 +222,7 @@
AbstractDb::class,
'_tables'
);
- $tablesProperty->setAccessible(true);
+ $tablesProperty;
$tablesProperty->setValue($this->_model, [$data]);
$this->assertEquals($data, $this->_model->getTable($data));
}
@@ -280,7 +280,7 @@
AbstractDb::class,
'_uniqueFields'
);
- $uniqueFields->setAccessible(true);
+ $uniqueFields;
$uniqueFields->setValue($this->_model, ['uniqueField1', 'uniqueField2']);
$this->_model->resetUniqueField();
$this->assertEquals([], $this->_model->getUniqueFields());
@@ -295,7 +295,7 @@
AbstractDb::class,
'_uniqueFields'
);
- $uniqueFieldsReflection->setAccessible(true);
+ $uniqueFieldsReflection;
$uniqueFieldsReflection->setValue($this->_model, null);
$this->assertEquals([], $this->_model->getUniqueFields());
}
@@ -378,13 +378,13 @@
AbstractDb::class,
'_mainTable'
);
- $mainTableReflection->setAccessible(true);
+ $mainTableReflection;
$mainTableReflection->setValue($this->_model, 'tableName');
$idFieldNameReflection = new ReflectionProperty(
AbstractDb::class,
'_idFieldName'
);
- $idFieldNameReflection->setAccessible(true);
+ $idFieldNameReflection;
$idFieldNameReflection->setValue($this->_model, 'idFieldName');
$connectionInterfaceMock->expects($this->any())->method('delete')->with('tableName', 'idFieldName');
$connectionInterfaceMock->expects($this->any())->method('quoteInto')->willReturn('idFieldName');
@@ -445,7 +445,7 @@
AbstractDb::class,
'_mainTable'
);
- $mainTableProperty->setAccessible(true);
+ $mainTableProperty;
$mainTableProperty->setValue($this->_model, 'table');
$this->_resourcesMock->expects($this->once())
@@ -514,13 +514,13 @@
AbstractDb::class,
'_mainTable'
);
- $mainTableReflection->setAccessible(true);
+ $mainTableReflection;
$mainTableReflection->setValue($this->_model, 'tableName');
$idFieldNameReflection = new ReflectionProperty(
AbstractDb::class,
'_idFieldName'
);
- $idFieldNameReflection->setAccessible(true);
+ $idFieldNameReflection;
$idFieldNameReflection->setValue($this->_model, 'idFieldName');
$connectionMock->expects($this->any())->method('save')->with('tableName', 'idFieldName');
$connectionMock->expects($this->any())->method('quoteInto')->willReturn('idFieldName');
@@ -607,9 +607,9 @@
* make saveNewObject and _isPkAutoIncrement public
*/
$reflectionMethod = new \ReflectionMethod($model, 'saveNewObject');
- $reflectionMethod->setAccessible(true);
+ $reflectionMethod;
$reflectionProperty = new ReflectionProperty($model, '_isPkAutoIncrement');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($model, $pkIncrement);
// Mocked behavior
diff --color -ruN vendor/magento/framework/Module/Dir/Reader.php vendor/magento/framework/Module/Dir/Reader.php
--- vendor/magento/framework/Module/Dir/Reader.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Module/Dir/Reader.php 2025-11-24 17:34:28
@@ -175,7 +175,7 @@
*/
public function getModuleDir($type, $moduleName)
{
- if (isset($this->customModuleDirs[$moduleName][$type])) {
+ if (isset($this->customModuleDirs[(string)$moduleName][(string)$type])) {
return $this->customModuleDirs[$moduleName][$type];
}
return $this->moduleDirs->getDir($moduleName, $type);
diff --color -ruN vendor/magento/framework/Mview/Test/Unit/View/SubscriptionTest.php vendor/magento/framework/Mview/Test/Unit/View/SubscriptionTest.php
--- vendor/magento/framework/Mview/Test/Unit/View/SubscriptionTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Mview/Test/Unit/View/SubscriptionTest.php 2025-11-24 17:34:29
@@ -480,7 +480,7 @@
);
$method = new ReflectionMethod($model, 'buildStatement');
- $method->setAccessible(true);
+ $method;
$statement = $method->invoke($model, Trigger::EVENT_UPDATE, $this->viewMock);
$this->assertStringNotContainsString($ignoredColumnName, $statement);
diff --color -ruN vendor/magento/framework/ObjectManager/Resetter/Resetter.php vendor/magento/framework/ObjectManager/Resetter/Resetter.php
--- vendor/magento/framework/ObjectManager/Resetter/Resetter.php 2025-11-24 17:35:36
+++ vendor/magento/framework/ObjectManager/Resetter/Resetter.php 2025-11-24 17:34:29
@@ -256,7 +256,7 @@
continue;
}
$value = $classResetValues[$name];
- $property->setAccessible(true);
+ $property;
$property->setValue($instance, $value);
$property->setAccessible(false);
}
diff --color -ruN vendor/magento/framework/ObjectManager/Test/Unit/Config/CompiledTest.php vendor/magento/framework/ObjectManager/Test/Unit/Config/CompiledTest.php
--- vendor/magento/framework/ObjectManager/Test/Unit/Config/CompiledTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/ObjectManager/Test/Unit/Config/CompiledTest.php 2025-11-24 17:34:29
@@ -189,7 +189,7 @@
$reflection = new \ReflectionClass(Compiled::class);
$arguments = $reflection->getProperty('arguments');
- $arguments->setAccessible(true);
+ $arguments;
$this->assertEquals($expectedResult['arguments'], $arguments->getValue($compiled));
$this->assertEquals($expectedResult['preferences'], $compiled->getPreferences());
@@ -249,7 +249,7 @@
$reflection = new \ReflectionClass(Compiled::class);
$arguments = $reflection->getProperty('arguments');
- $arguments->setAccessible(true);
+ $arguments;
$this->assertEquals($expectedResult['arguments'], $arguments->getValue($compiled));
$this->assertEquals($expectedResult['preferences'], $compiled->getPreferences());
diff --color -ruN vendor/magento/framework/ObjectManager/Test/Unit/Config/SchemaLocatorTest.php vendor/magento/framework/ObjectManager/Test/Unit/Config/SchemaLocatorTest.php
--- vendor/magento/framework/ObjectManager/Test/Unit/Config/SchemaLocatorTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/ObjectManager/Test/Unit/Config/SchemaLocatorTest.php 2025-11-24 17:34:29
@@ -30,7 +30,7 @@
$this->urnResolverMock = $this->createMock(UrnResolver::class);
$this->model = new SchemaLocatorConfig($this->urnResolverMock);
$property = new \ReflectionProperty($this->model, 'urnResolver');
- $property->setAccessible(true);
+ $property;
$property->setValue($this->model, $this->urnResolverMock);
}
diff --color -ruN vendor/magento/framework/Profiler/Test/Unit/Driver/Standard/OutputAbstractTest.php vendor/magento/framework/Profiler/Test/Unit/Driver/Standard/OutputAbstractTest.php
--- vendor/magento/framework/Profiler/Test/Unit/Driver/Standard/OutputAbstractTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Profiler/Test/Unit/Driver/Standard/OutputAbstractTest.php 2025-11-24 17:34:29
@@ -87,7 +87,7 @@
public function testRenderColumnValue($value, $columnKey, $expectedValue)
{
$method = new \ReflectionMethod($this->_output, '_renderColumnValue');
- $method->setAccessible(true);
+ $method;
$this->assertEquals($expectedValue, $method->invoke($this->_output, $value, $columnKey));
}
@@ -111,7 +111,7 @@
public function testRenderCaption()
{
$method = new \ReflectionMethod($this->_output, '_renderCaption');
- $method->setAccessible(true);
+ $method;
$this->assertMatchesRegularExpression(
'/Code Profiler \(Memory usage: real - \d+, emalloc - \d+\)/',
$method->invoke($this->_output)
@@ -139,7 +139,7 @@
);
$method = new \ReflectionMethod($this->_output, '_getTimerIds');
- $method->setAccessible(true);
+ $method;
$this->assertEquals($expectedTimerIds, $method->invoke($this->_output, $mockStat));
}
@@ -149,7 +149,7 @@
public function testRenderTimerId()
{
$method = new \ReflectionMethod($this->_output, '_renderTimerId');
- $method->setAccessible(true);
+ $method;
$this->assertEquals('someTimerId', $method->invoke($this->_output, 'someTimerId'));
}
}
diff --color -ruN vendor/magento/framework/Profiler/Test/Unit/Driver/StandardTest.php vendor/magento/framework/Profiler/Test/Unit/Driver/StandardTest.php
--- vendor/magento/framework/Profiler/Test/Unit/Driver/StandardTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Profiler/Test/Unit/Driver/StandardTest.php 2025-11-24 17:34:29
@@ -177,7 +177,7 @@
public function testDefaultOutputFactory(): void
{
$method = new ReflectionMethod($this->driver, '_getOutputFactory');
- $method->setAccessible(true);
+ $method;
$this->assertInstanceOf(
Factory::class,
$method->invoke($this->driver)
diff --color -ruN vendor/magento/framework/Reflection/TypeCaster.php vendor/magento/framework/Reflection/TypeCaster.php
--- vendor/magento/framework/Reflection/TypeCaster.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Reflection/TypeCaster.php 2025-11-24 17:34:29
@@ -67,7 +67,7 @@
}
if ($type === "double") {
- return (double)$value;
+ return (float)$value;
}
return $value;
diff --color -ruN vendor/magento/framework/Search/Dynamic/Algorithm.php vendor/magento/framework/Search/Dynamic/Algorithm.php
--- vendor/magento/framework/Search/Dynamic/Algorithm.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Search/Dynamic/Algorithm.php 2025-11-24 17:34:29
@@ -121,8 +121,8 @@
*/
public function setLimits($lowerLimit = null, $upperLimit = null)
{
- $this->_lowerLimit = empty($lowerLimit) ? null : (double)$lowerLimit;
- $this->_upperLimit = empty($upperLimit) ? null : (double)$upperLimit;
+ $this->_lowerLimit = empty($lowerLimit) ? null : (float)$lowerLimit;
+ $this->_upperLimit = empty($upperLimit) ? null : (float)$upperLimit;
return $this;
}
diff --color -ruN vendor/magento/framework/Session/Test/Unit/ConfigTest.php vendor/magento/framework/Session/Test/Unit/ConfigTest.php
--- vendor/magento/framework/Session/Test/Unit/ConfigTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Session/Test/Unit/ConfigTest.php 2025-11-24 17:34:29
@@ -131,7 +131,7 @@
{
$this->getModel($this->validatorMock);
$appStateProperty = new \ReflectionProperty(Config::class, 'options');
- $appStateProperty->setAccessible(true);
+ $appStateProperty;
$original = $appStateProperty->getValue($this->config);
$valueForTest = ['test' => 'test2'];
$appStateProperty->setValue($this->config, $valueForTest);
diff --color -ruN vendor/magento/framework/Session/Test/Unit/SaveHandler/DbTableTest.php vendor/magento/framework/Session/Test/Unit/SaveHandler/DbTableTest.php
--- vendor/magento/framework/Session/Test/Unit/SaveHandler/DbTableTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Session/Test/Unit/SaveHandler/DbTableTest.php 2025-11-24 17:34:29
@@ -90,7 +90,7 @@
$this->_model = new DbTable($resource);
$method = new \ReflectionMethod(DbTable::class, 'checkConnection');
- $method->setAccessible(true);
+ $method;
$this->assertNull($method->invoke($this->_model));
}
@@ -105,7 +105,7 @@
$this->_model = new DbTable($resource);
$method = new \ReflectionMethod(DbTable::class, 'checkConnection');
- $method->setAccessible(true);
+ $method;
$this->assertNull($method->invoke($this->_model));
}
@@ -131,7 +131,7 @@
$this->_model = new DbTable($resource);
$method = new \ReflectionMethod(DbTable::class, 'checkConnection');
- $method->setAccessible(true);
+ $method;
$this->assertNull($method->invoke($this->_model));
}
diff --color -ruN vendor/magento/framework/Stdlib/ArrayManager.php vendor/magento/framework/Stdlib/ArrayManager.php
--- vendor/magento/framework/Stdlib/ArrayManager.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Stdlib/ArrayManager.php 2025-11-24 17:34:28
@@ -251,7 +251,7 @@
$startPath = is_array($startPath) ? implode($delimiter, $startPath) : $startPath;
$internalPath = is_array($internalPath) ? implode($delimiter, $internalPath) : $internalPath;
$data = $startPath !== null ? $this->get($startPath, $data, [], $delimiter) : $data;
- $checkList = [$startPath => ['start' => $startPath === null, 'children' => $data]];
+ $checkList = [(string)$startPath => ['start' => $startPath === null, 'children' => $data]];
$paths = [];
while ($checkList) {
diff --color -ruN vendor/magento/framework/Stdlib/Test/Unit/DateTime/DateTimeFormatterTest.php vendor/magento/framework/Stdlib/Test/Unit/DateTime/DateTimeFormatterTest.php
--- vendor/magento/framework/Stdlib/Test/Unit/DateTime/DateTimeFormatterTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Stdlib/Test/Unit/DateTime/DateTimeFormatterTest.php 2025-11-24 17:34:28
@@ -57,7 +57,7 @@
$reflection = new \ReflectionClass(get_class($dateTimeFormatter));
$reflectionProperty = $reflection->getProperty('localeResolver');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($dateTimeFormatter, $this->localeResolverMock);
$this->assertEquals(
@@ -135,7 +135,7 @@
$reflection = new \ReflectionClass(get_class($dateTimeFormatter));
$reflectionProperty = $reflection->getProperty('localeResolver');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($dateTimeFormatter, $this->localeResolverMock);
$dateTimeFormatter->formatObject(new \DateTime('2013-06-06 17:05:06 Europe/Dublin'), new \StdClass());
}
@@ -155,7 +155,7 @@
$reflection = new \ReflectionClass(get_class($dateTimeFormatter));
$reflectionProperty = $reflection->getProperty('localeResolver');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($dateTimeFormatter, $this->localeResolverMock);
$result = $dateTimeFormatter->formatObject(
new \DateTime('2022-03-30 00:01:02 GMT'),
diff --color -ruN vendor/magento/framework/Test/Unit/DataObjectTest.php vendor/magento/framework/Test/Unit/DataObjectTest.php
--- vendor/magento/framework/Test/Unit/DataObjectTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Test/Unit/DataObjectTest.php 2025-11-24 17:34:28
@@ -385,7 +385,7 @@
{
$refObject = new \ReflectionObject($this->dataObject);
$refMethod = $refObject->getMethod('_underscore');
- $refMethod->setAccessible(true);
+ $refMethod;
$output = $refMethod->invoke($this->dataObject, $input);
$this->assertEquals($expectedOutput, $output);
}
diff --color -ruN vendor/magento/framework/Test/Unit/ProfilerTest.php vendor/magento/framework/Test/Unit/ProfilerTest.php
--- vendor/magento/framework/Test/Unit/ProfilerTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Test/Unit/ProfilerTest.php 2025-11-24 17:34:28
@@ -466,7 +466,7 @@
$expected['driverFactory'] = $expected['driverFactory']($this);
}
$method = new \ReflectionMethod(Profiler::class, '_parseConfig');
- $method->setAccessible(true);
+ $method;
$this->assertEquals($expected, $method->invoke(null, $data, '', $isAjax));
}
diff --color -ruN vendor/magento/framework/Test/Unit/UrlTest.php vendor/magento/framework/Test/Unit/UrlTest.php
--- vendor/magento/framework/Test/Unit/UrlTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/Test/Unit/UrlTest.php 2025-11-24 17:34:28
@@ -166,7 +166,7 @@
$modelProperty = (new ReflectionClass(get_class($model)))
->getProperty('urlModifier');
- $modelProperty->setAccessible(true);
+ $modelProperty;
$modelProperty->setValue($model, $this->urlModifier);
$zendEscaper = new ZendEscaper();
diff --color -ruN vendor/magento/framework/TestFramework/ApplicationStateComparator/Collector.php vendor/magento/framework/TestFramework/ApplicationStateComparator/Collector.php
--- vendor/magento/framework/TestFramework/ApplicationStateComparator/Collector.php 2025-11-24 17:35:36
+++ vendor/magento/framework/TestFramework/ApplicationStateComparator/Collector.php 2025-11-24 17:34:29
@@ -102,7 +102,7 @@
throw new \Exception('Cannot get shared objects from ' . get_class($this->objectManager));
}
$property = $obj->getProperty('_sharedInstances');
- $property->setAccessible(true);
+ $property;
$sharedInstances = $property->getValue($this->objectManager);
}
$sharedObjects = [];
@@ -202,7 +202,7 @@
$properties = [];
foreach ($objReflection->getProperties() as $property) {
$propertyName = $property->getName();
- $property->setAccessible(true);
+ $property;
if (!$property->isInitialized($object)) {
continue;
}
diff --color -ruN vendor/magento/framework/TestFramework/Unit/Helper/ObjectManager.php vendor/magento/framework/TestFramework/Unit/Helper/ObjectManager.php
--- vendor/magento/framework/TestFramework/Unit/Helper/ObjectManager.php 2025-11-24 17:35:36
+++ vendor/magento/framework/TestFramework/Unit/Helper/ObjectManager.php 2025-11-24 17:34:29
@@ -171,7 +171,7 @@
while ($propertyReflectionClass) {
if ($propertyReflectionClass->hasProperty($key)) {
$reflectionProperty = $propertyReflectionClass->getProperty($key);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($newObject, $value);
break;
}
@@ -359,7 +359,7 @@
{
$reflection = new \ReflectionClass($className ? $className : get_class($object));
$reflectionProperty = $reflection->getProperty($propertyName);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($object, $propertyValue);
}
@@ -379,7 +379,7 @@
$objectManagerMock->method('get')->willReturnMap($map);
$reflectionProperty = new \ReflectionProperty(AppObjectManager::class, '_instance');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($objectManagerMock, $objectManagerMock);
}
}
diff --color -ruN vendor/magento/framework/View/Layout/Data/Structure.php vendor/magento/framework/View/Layout/Data/Structure.php
--- vendor/magento/framework/View/Layout/Data/Structure.php 2025-11-24 17:35:36
+++ vendor/magento/framework/View/Layout/Data/Structure.php 2025-11-24 17:34:29
@@ -96,7 +96,7 @@
* Reorder a child of a specified element
*
* If $offsetOrSibling is null, it will put the element to the end
- * If $offsetOrSibling is numeric (integer) value, it will put the element after/before specified position
+ * If $offsetOrSibling is numeric (int) value, it will put the element after/before specified position
* Otherwise -- after/before specified sibling
*
* @param string $parentName
diff --color -ruN vendor/magento/framework/View/Layout.php vendor/magento/framework/View/Layout.php
--- vendor/magento/framework/View/Layout.php 2025-11-24 17:35:36
+++ vendor/magento/framework/View/Layout.php 2025-11-24 17:34:29
@@ -420,7 +420,7 @@
* Reorder a child of a specified element
*
* If $offsetOrSibling is null, it will put the element to the end
- * If $offsetOrSibling is numeric (integer) value, it will put the element after/before specified position
+ * If $offsetOrSibling is numeric (int) value, it will put the element after/before specified position
* Otherwise -- after/before specified sibling
*
* @param string $parentName
diff --color -ruN vendor/magento/framework/View/LayoutInterface.php vendor/magento/framework/View/LayoutInterface.php
--- vendor/magento/framework/View/LayoutInterface.php 2025-11-24 17:35:36
+++ vendor/magento/framework/View/LayoutInterface.php 2025-11-24 17:34:29
@@ -111,7 +111,7 @@
* Reorder a child of a specified element
*
* If $offsetOrSibling is null, it will put the element to the end
- * If $offsetOrSibling is numeric (integer) value, it will put the element after/before specified position
+ * If $offsetOrSibling is numeric (int) value, it will put the element after/before specified position
* Otherwise -- after/before specified sibling
*
* @param string $parentName
diff --color -ruN vendor/magento/framework/View/Test/Unit/Asset/MergeStrategy/ChecksumTest.php vendor/magento/framework/View/Test/Unit/Asset/MergeStrategy/ChecksumTest.php
--- vendor/magento/framework/View/Test/Unit/Asset/MergeStrategy/ChecksumTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/View/Test/Unit/Asset/MergeStrategy/ChecksumTest.php 2025-11-24 17:34:29
@@ -74,7 +74,7 @@
$reflection = new \ReflectionClass(Checksum::class);
$reflectionProperty = $reflection->getProperty('assetSource');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->checksum, $this->assetSource);
$this->resultAsset = $this->createMock(File::class);
diff --color -ruN vendor/magento/framework/View/Test/Unit/Element/UiComponent/DataProvider/SearchResultTest.php vendor/magento/framework/View/Test/Unit/Element/UiComponent/DataProvider/SearchResultTest.php
--- vendor/magento/framework/View/Test/Unit/Element/UiComponent/DataProvider/SearchResultTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/View/Test/Unit/Element/UiComponent/DataProvider/SearchResultTest.php 2025-11-24 17:34:29
@@ -40,8 +40,8 @@
{
$totalCount = new \ReflectionProperty($this->model, 'totalCount');
$totalRecords = new \ReflectionProperty($this->model, '_totalRecords');
- $totalCount->setAccessible(true);
- $totalRecords->setAccessible(true);
+ $totalCount;
+ $totalRecords;
$this->model->setTotalCount(2);
self::assertTrue($totalCount->isInitialized($this->model));
self::assertTrue($totalRecords->isInitialized($this->model));
diff --color -ruN vendor/magento/framework/View/Test/Unit/Page/ConfigTest.php vendor/magento/framework/View/Test/Unit/Page/ConfigTest.php
--- vendor/magento/framework/View/Test/Unit/Page/ConfigTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework/View/Test/Unit/Page/ConfigTest.php 2025-11-24 17:34:29
@@ -134,7 +134,7 @@
$this->areaResolverMock = $this->createMock(State::class);
$areaResolverReflection = (new \ReflectionClass(get_class($this->model)))->getProperty('areaResolver');
- $areaResolverReflection->setAccessible(true);
+ $areaResolverReflection;
$areaResolverReflection->setValue($this->model, $this->areaResolverMock);
}
diff --color -ruN vendor/magento/framework-message-queue/Test/Unit/Code/Generator/RemoteServiceGeneratorTest.php vendor/magento/framework-message-queue/Test/Unit/Code/Generator/RemoteServiceGeneratorTest.php
--- vendor/magento/framework-message-queue/Test/Unit/Code/Generator/RemoteServiceGeneratorTest.php 2025-11-24 17:35:36
+++ vendor/magento/framework-message-queue/Test/Unit/Code/Generator/RemoteServiceGeneratorTest.php 2025-11-24 17:34:23
@@ -120,7 +120,7 @@
{
$reflectionObject = new \ReflectionObject($this->generator);
$reflectionMethod = $reflectionObject->getMethod('_generateCode');
- $reflectionMethod->setAccessible(true);
+ $reflectionMethod;
$generatedCode = $reflectionMethod->invoke($this->generator);
self::assertEquals($expectedResult, $generatedCode);
}
diff --color -ruN vendor/magento/framework-stomp/StompClient.php vendor/magento/framework-stomp/StompClient.php
--- vendor/magento/framework-stomp/StompClient.php 2025-11-24 17:35:31
+++ vendor/magento/framework-stomp/StompClient.php 2025-11-24 17:34:30
@@ -531,7 +531,6 @@
$response = curl_exec($ch);
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
$error = curl_error($ch);
- curl_close($ch);
if ($error) {
throw new \RuntimeException("CURL error: " . $error);
diff --color -ruN vendor/magento/magento2-base/dev/tests/api-functional/framework/Magento/TestFramework/TestCase/HttpClient/CurlClient.php vendor/magento/magento2-base/dev/tests/api-functional/framework/Magento/TestFramework/TestCase/HttpClient/CurlClient.php
--- vendor/magento/magento2-base/dev/tests/api-functional/framework/Magento/TestFramework/TestCase/HttpClient/CurlClient.php 2025-11-24 17:35:29
+++ vendor/magento/magento2-base/dev/tests/api-functional/framework/Magento/TestFramework/TestCase/HttpClient/CurlClient.php 2025-11-24 17:34:38
@@ -184,7 +184,6 @@
}
// phpcs:ignore Magento2.Functions.DiscouragedFunction
- curl_close($curl);
$meta = $resp["meta"];
if ($meta && $meta['http_code'] >= 400) {
diff --color -ruN vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/ResolverCache/MediaGalleryTest.php vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/ResolverCache/MediaGalleryTest.php
--- vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/ResolverCache/MediaGalleryTest.php 2025-11-24 17:35:29
+++ vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/ResolverCache/MediaGalleryTest.php 2025-11-24 17:34:38
@@ -129,7 +129,7 @@
$reflectionClass = new \ReflectionClass($context);
$reflectionProperty = $reflectionClass->getProperty('messageManager');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($context, $messageManager);
/** @var AdminProductSaveController $adminProductSaveController */
diff --color -ruN vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/CmsGraphQl/Model/Resolver/PageTest.php vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/CmsGraphQl/Model/Resolver/PageTest.php
--- vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/CmsGraphQl/Model/Resolver/PageTest.php 2025-11-24 17:35:29
+++ vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/CmsGraphQl/Model/Resolver/PageTest.php 2025-11-24 17:34:37
@@ -165,7 +165,7 @@
$page = $this->getPageByTitle('Page with 1column layout');
$getGraphQlClient = new \ReflectionMethod($this, 'getGraphQlClient');
- $getGraphQlClient->setAccessible(true);
+ $getGraphQlClient;
$query = $this->getQuery($page->getIdentifier());
$getGraphQlClient->invoke($this)->postWithResponseHeaders($query);
diff --color -ruN vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/GraphQlCache/CacheIdFactorProviders/Customer/CustomerGroupProviderTest.php vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/GraphQlCache/CacheIdFactorProviders/Customer/CustomerGroupProviderTest.php
--- vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/GraphQlCache/CacheIdFactorProviders/Customer/CustomerGroupProviderTest.php 2025-11-24 17:35:29
+++ vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/GraphQlCache/CacheIdFactorProviders/Customer/CustomerGroupProviderTest.php 2025-11-24 17:34:38
@@ -87,7 +87,7 @@
);
$this->assertArrayHasKey(CacheIdCalculator::CACHE_ID_HEADER, $response['headers']);
$cacheId = $response['headers'][CacheIdCalculator::CACHE_ID_HEADER];
- $this->assertTrue((boolean)preg_match('/^[0-9a-f]{64}$/i', $cacheId));
+ $this->assertTrue((bool)preg_match('/^[0-9a-f]{64}$/i', $cacheId));
$customer = $this->customerRepository->get($customerEmail);
$customerGroupId = $this->customerGroup->load('Retailer', 'customer_group_code')->getId();
// change the customer group of this customer from the default group
@@ -105,7 +105,7 @@
);
$cacheIdCustomerGroupChange = $responseAfterCustomerGroupChange['headers'][CacheIdCalculator::CACHE_ID_HEADER];
// Verify that the cache id generated is a 64 character long
- $this->assertTrue((boolean)preg_match('/^[0-9a-f]{64}$/i', $cacheId));
+ $this->assertTrue((bool)preg_match('/^[0-9a-f]{64}$/i', $cacheId));
// check that the cache ids generated before and after customer group changes are not equal
$this->assertNotEquals($cacheId, $cacheIdCustomerGroupChange);
//Change the customer groupId back to Default General
diff --color -ruN vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/GraphQlCache/CacheIdFactorProviders/Customer/CustomerTaxRateProviderTest.php vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/GraphQlCache/CacheIdFactorProviders/Customer/CustomerTaxRateProviderTest.php
--- vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/GraphQlCache/CacheIdFactorProviders/Customer/CustomerTaxRateProviderTest.php 2025-11-24 17:35:29
+++ vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/GraphQlCache/CacheIdFactorProviders/Customer/CustomerTaxRateProviderTest.php 2025-11-24 17:34:38
@@ -78,7 +78,7 @@
$response = $this->graphQlQueryWithResponseHeaders($query, [], '', $this->getHeaderMap());
$this->assertArrayHasKey(CacheIdCalculator::CACHE_ID_HEADER, $response['headers']);
$cacheId = $response['headers'][CacheIdCalculator::CACHE_ID_HEADER];
- $this->assertTrue((boolean)preg_match('/^[0-9a-f]{64}$/i', $cacheId));
+ $this->assertTrue((bool)preg_match('/^[0-9a-f]{64}$/i', $cacheId));
//Change tax rate to different value
/** @var Rate $rate */
$rate = $this->taxRate->loadByCode('US-AL-*-Rate-1');
@@ -88,7 +88,7 @@
$this->assertArrayHasKey(CacheIdCalculator::CACHE_ID_HEADER, $responseAfterTaxRateChange['headers']);
$cacheIdTaxRateChange = $responseAfterTaxRateChange['headers'][CacheIdCalculator::CACHE_ID_HEADER];
// Verify that the the cache id generated is a 64 character long
- $this->assertTrue((boolean)preg_match('/^[0-9a-f]{64}$/i', $cacheId));
+ $this->assertTrue((bool)preg_match('/^[0-9a-f]{64}$/i', $cacheId));
// check that the cache ids generated before and after tax rate changes are not equal
$this->assertNotEquals($cacheId, $cacheIdTaxRateChange);
diff --color -ruN vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/GraphQlCache/CacheIdFactorProviders/Store/CurrencyProviderTest.php vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/GraphQlCache/CacheIdFactorProviders/Store/CurrencyProviderTest.php
--- vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/GraphQlCache/CacheIdFactorProviders/Store/CurrencyProviderTest.php 2025-11-24 17:35:29
+++ vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/GraphQlCache/CacheIdFactorProviders/Store/CurrencyProviderTest.php 2025-11-24 17:34:38
@@ -25,12 +25,12 @@
$currency1Response = $this->graphQlQueryWithResponseHeaders($query, [], '', ['content-currency' => 'USD']);
$this->assertArrayHasKey(CacheIdCalculator::CACHE_ID_HEADER, $currency1Response['headers']);
$currency1CacheId = $currency1Response['headers'][CacheIdCalculator::CACHE_ID_HEADER];
- $this->assertTrue((boolean)preg_match('/^[0-9a-f]{64}$/i', $currency1CacheId));
+ $this->assertTrue((bool)preg_match('/^[0-9a-f]{64}$/i', $currency1CacheId));
$currency2Response = $this->graphQlQueryWithResponseHeaders($query, [], '', ['content-currency' => 'EUR']);
$this->assertArrayHasKey(CacheIdCalculator::CACHE_ID_HEADER, $currency2Response['headers']);
$currency2CacheId = $currency2Response['headers'][CacheIdCalculator::CACHE_ID_HEADER];
- $this->assertTrue((boolean)preg_match('/^[0-9a-f]{64}$/i', $currency2CacheId));
+ $this->assertTrue((bool)preg_match('/^[0-9a-f]{64}$/i', $currency2CacheId));
// Assert that currency1 and currency2 return different cache ids
$this->assertNotEquals($currency1CacheId, $currency2CacheId);
diff --color -ruN vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/GraphQlCache/CacheIdFactorProviders/Store/StoreProviderTest.php vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/GraphQlCache/CacheIdFactorProviders/Store/StoreProviderTest.php
--- vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/GraphQlCache/CacheIdFactorProviders/Store/StoreProviderTest.php 2025-11-24 17:35:29
+++ vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/GraphQlCache/CacheIdFactorProviders/Store/StoreProviderTest.php 2025-11-24 17:34:38
@@ -25,12 +25,12 @@
$store1Response = $this->graphQlQueryWithResponseHeaders($query, [], '', ['store' => 'default']);
$this->assertArrayHasKey(CacheIdCalculator::CACHE_ID_HEADER, $store1Response['headers']);
$store1CacheId = $store1Response['headers'][CacheIdCalculator::CACHE_ID_HEADER];
- $this->assertTrue((boolean)preg_match('/^[0-9a-f]{64}$/i', $store1CacheId));
+ $this->assertTrue((bool)preg_match('/^[0-9a-f]{64}$/i', $store1CacheId));
$store2Response = $this->graphQlQueryWithResponseHeaders($query, [], '', ['store' => 'fixture_second_store']);
$this->assertArrayHasKey(CacheIdCalculator::CACHE_ID_HEADER, $store2Response['headers']);
$store2CacheId = $store2Response['headers'][CacheIdCalculator::CACHE_ID_HEADER];
- $this->assertTrue((boolean)preg_match('/^[0-9a-f]{64}$/i', $store2CacheId));
+ $this->assertTrue((bool)preg_match('/^[0-9a-f]{64}$/i', $store2CacheId));
// Assert that store1 and store2 return different cache ids
$this->assertNotEquals($store1CacheId, $store2CacheId);
diff --color -ruN vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/GetCartQueryForProductWithCustomOptionFile.php vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/GetCartQueryForProductWithCustomOptionFile.php
--- vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/GetCartQueryForProductWithCustomOptionFile.php 2025-11-24 17:35:29
+++ vendor/magento/magento2-base/dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/GetCartQueryForProductWithCustomOptionFile.php 2025-11-24 17:34:37
@@ -197,10 +197,10 @@
$uploader = new Http();
$refObject = new \ReflectionObject($uploader);
$validators = $refObject->getProperty('validators');
- $validators->setAccessible(true);
+ $validators;
$validators->setValue($uploader, []);
$files = $refObject->getProperty('files');
- $files->setAccessible(true);
+ $files;
$filesValues = $files->getValue($uploader);
foreach (array_keys($filesValues) as $value) {
$filesValues[$value]['validators'] = [];
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/Annotation/ComponentRegistrarFixture.php vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/Annotation/ComponentRegistrarFixture.php
--- vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/Annotation/ComponentRegistrarFixture.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/Annotation/ComponentRegistrarFixture.php 2025-11-24 17:34:37
@@ -108,7 +108,7 @@
$componentAnnotations = array_unique(array_column($values, 'path'));
$reflection = new ReflectionClass(self::REGISTRAR_CLASS);
$paths = $reflection->getProperty(self::PATHS_FIELD);
- $paths->setAccessible(true);
+ $paths;
$this->origComponents = $paths->getValue();
$paths->setAccessible(false);
foreach ($componentAnnotations as $fixturePath) {
@@ -141,7 +141,7 @@
if (null !== $this->origComponents) {
$reflection = new ReflectionClass(self::REGISTRAR_CLASS);
$paths = $reflection->getProperty(self::PATHS_FIELD);
- $paths->setAccessible(true);
+ $paths;
$paths->setValue(null, $this->origComponents);
$paths->setAccessible(false);
$this->origComponents = null;
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/Console/CliProxy.php vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/Console/CliProxy.php
--- vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/Console/CliProxy.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/Console/CliProxy.php 2025-11-24 17:34:37
@@ -88,7 +88,7 @@
$object = new \ReflectionObject($cli);
$attribute = $object->getProperty('objectManager');
- $attribute->setAccessible(true);
+ $attribute;
/** @var ObjectManagerInterface $objectManager */
$objectManager = $attribute->getValue($cli);
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/ObjectManager.php vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/ObjectManager.php
--- vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/ObjectManager.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/ObjectManager.php 2025-11-24 17:34:37
@@ -76,7 +76,7 @@
if ($resourceConnection) {
$reflection = new \ReflectionClass($resourceConnection);
$dataProperty = $reflection->getProperty('mappedTableNames');
- $dataProperty->setAccessible(true);
+ $dataProperty;
$dataProperty->setValue($resourceConnection, []);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/Store/StoreManager.php vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/Store/StoreManager.php
--- vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/Store/StoreManager.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/Store/StoreManager.php 2025-11-24 17:34:37
@@ -129,7 +129,7 @@
$testAppConfig = ObjectManager::getInstance()->get(Config::class);
$reflection = new \ReflectionClass($testAppConfig);
$dataProperty = $reflection->getProperty('data');
- $dataProperty->setAccessible(true);
+ $dataProperty;
$savedConfig = $dataProperty->getValue($testAppConfig);
$this->decoratedStoreManager->reinitStores();
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/Workaround/Cleanup/StaticProperties.php vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/Workaround/Cleanup/StaticProperties.php
--- vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/Workaround/Cleanup/StaticProperties.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/Workaround/Cleanup/StaticProperties.php 2025-11-24 17:34:37
@@ -150,7 +150,7 @@
$reflectionClass = self::getReflectionClass($class);
$staticProperties = $reflectionClass->getProperties(\ReflectionProperty::IS_STATIC);
foreach ($staticProperties as $staticProperty) {
- $staticProperty->setAccessible(true);
+ $staticProperty;
$staticProperty->setValue(self::$backupStaticVariables[$class][$staticProperty->getName()]);
}
}
@@ -216,7 +216,7 @@
if (self::_isClassCleanable($reflectionClass)) {
$staticProperties = $reflectionClass->getProperties(\ReflectionProperty::IS_STATIC);
foreach ($staticProperties as $staticProperty) {
- $staticProperty->setAccessible(true);
+ $staticProperty;
$value = $staticProperty->getValue();
self::$backupStaticVariables[$className][$staticProperty->getName()] = $value;
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/Workaround/Cleanup/TestCaseProperties.php vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/Workaround/Cleanup/TestCaseProperties.php
--- vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/Workaround/Cleanup/TestCaseProperties.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/Workaround/Cleanup/TestCaseProperties.php 2025-11-24 17:34:37
@@ -24,7 +24,7 @@
$reflectionClass = new \ReflectionClass($test);
$properties = $reflectionClass->getProperties();
foreach ($properties as $property) {
- $property->setAccessible(true);
+ $property;
if ($property->isInitialized($test)) {
$value = $property->getValue($test);
if (is_object($value) && method_exists($value, '__destruct') &&
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Annotation/AdminConfigFixtureTest.php vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Annotation/AdminConfigFixtureTest.php
--- vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Annotation/AdminConfigFixtureTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Annotation/AdminConfigFixtureTest.php 2025-11-24 17:34:37
@@ -113,7 +113,7 @@
->willReturn($annotations['method'][$this->object::ANNOTATION]);
$reflection = new \ReflectionClass(Resolver::class);
$reflectionProperty = $reflection->getProperty('instance');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue(Resolver::class, $mock);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Annotation/AppAreaTest.php vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Annotation/AppAreaTest.php
--- vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Annotation/AppAreaTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Annotation/AppAreaTest.php 2025-11-24 17:34:37
@@ -76,7 +76,7 @@
protected function tearDown(): void
{
$property = new ReflectionProperty(TestCaseAnnotation::class, 'instance');
- $property->setAccessible(true);
+ $property;
$property->setValue(null);
}
@@ -88,7 +88,7 @@
public function testGetTestAppArea($annotations, $expectedArea)
{
$property = new ReflectionProperty(TestCaseAnnotation::class, 'instance');
- $property->setAccessible(true);
+ $property;
$property->setValue($this->testCaseAnnotationsMock);
$this->testCaseAnnotationsMock->method('getAnnotations')->willReturn($annotations);
$this->_applicationMock->expects($this->any())->method('getArea')->willReturn(null);
@@ -121,7 +121,7 @@
$annotations = ['method' => ['magentoAppArea' => ['some_invalid_area']]];
$property = new ReflectionProperty(TestCaseAnnotation::class, 'instance');
- $property->setAccessible(true);
+ $property;
$property->setValue($this->testCaseAnnotationsMock);
$this->testCaseAnnotationsMock->expects($this->once())->method('getAnnotations')->willReturn($annotations);
@@ -138,7 +138,7 @@
{
$annotations = ['method' => ['magentoAppArea' => [$areaCode]]];
$property = new ReflectionProperty(TestCaseAnnotation::class, 'instance');
- $property->setAccessible(true);
+ $property;
$property->setValue($this->testCaseAnnotationsMock);
$this->testCaseAnnotationsMock->expects($this->once())->method('getAnnotations')->willReturn($annotations);
$this->_applicationMock->expects($this->any())->method('getArea')->willReturn(null);
@@ -152,7 +152,7 @@
{
$annotations = ['method' => ['magentoAppArea' => ['global']]];
$property = new ReflectionProperty(TestCaseAnnotation::class, 'instance');
- $property->setAccessible(true);
+ $property;
$property->setValue($this->testCaseAnnotationsMock);
$this->testCaseAnnotationsMock->expects($this->once())->method('getAnnotations')->willReturn($annotations);
$this->_applicationMock->expects($this->once())->method('reinitialize');
@@ -167,7 +167,7 @@
{
$annotations = ['method' => ['magentoAppArea' => ['adminhtml']]];
$property = new ReflectionProperty(TestCaseAnnotation::class, 'instance');
- $property->setAccessible(true);
+ $property;
$property->setValue($this->testCaseAnnotationsMock);
$this->testCaseAnnotationsMock->expects($this->once())->method('getAnnotations')->willReturn($annotations);
$this->_applicationMock->expects($this->once())->method('getArea')->willReturn('adminhtml');
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Annotation/ConfigFixtureTest.php vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Annotation/ConfigFixtureTest.php
--- vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Annotation/ConfigFixtureTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Annotation/ConfigFixtureTest.php 2025-11-24 17:34:37
@@ -344,7 +344,7 @@
->willReturn($annotations[$this->object::ANNOTATION]);
$reflection = new \ReflectionClass(Resolver::class);
$reflectionProperty = $reflection->getProperty('instance');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue(Resolver::class, $mock);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Annotation/DataFixtureTest.php vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Annotation/DataFixtureTest.php
--- vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Annotation/DataFixtureTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Annotation/DataFixtureTest.php 2025-11-24 17:34:37
@@ -574,7 +574,7 @@
->getMock();
$reflection = new \ReflectionClass(Resolver::class);
$reflectionProperty = $reflection->getProperty('instance');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue(Resolver::class, $mock);
$mock->method('applyDataFixtures')
->willReturnArgument(1);
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/ApplicationTest.php vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/ApplicationTest.php
--- vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/ApplicationTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/ApplicationTest.php 2025-11-24 17:34:37
@@ -170,14 +170,14 @@
// bypass db dump logic
$reflectionProperty = new \ReflectionProperty($subject, '_factory');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($subject, $this->factoryMock);
$this->_factory = $this->factoryMock;
$dbMock = $this->getMockBuilder(Mysql::class)->disableOriginalConstructor()->getMock();
$reflectionSubject = new ReflectionClass($subject);
$dbProperty = $reflectionSubject->getProperty('_db');
- $dbProperty->setAccessible(true);
+ $dbProperty;
$dbProperty->setValue($subject, $dbMock);
$property = $reflectionSubject->getProperty('canLoadArea');
$property->setValue($subject, false);
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Isolation/AppConfigTest.php vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Isolation/AppConfigTest.php
--- vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Isolation/AppConfigTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Isolation/AppConfigTest.php 2025-11-24 17:34:37
@@ -36,7 +36,7 @@
->getMock();
$modelReflection = new \ReflectionClass($this->model);
$testAppConfigProperty = $modelReflection->getProperty('testAppConfig');
- $testAppConfigProperty->setAccessible(true);
+ $testAppConfigProperty;
$testAppConfigMock = $this->getMockBuilder(\Magento\TestFramework\App\Config::class)
->disableOriginalConstructor()
->getMock();
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Workaround/Cleanup/TestCasePropertiesTest.php vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Workaround/Cleanup/TestCasePropertiesTest.php
--- vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Workaround/Cleanup/TestCasePropertiesTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Workaround/Cleanup/TestCasePropertiesTest.php 2025-11-24 17:34:37
@@ -49,7 +49,7 @@
foreach ($classProperties as $property) {
if (in_array($property->getName(), $fixturePropertiesNames)) {
- $property->setAccessible(true);
+ $property;
$value = $property->getValue($testSuite);
$this->assertNotNull($value);
}
@@ -59,7 +59,7 @@
foreach ($classProperties as $property) {
if (in_array($property->getName(), $fixturePropertiesNames)) {
- $property->setAccessible(true);
+ $property;
$value = $property->getValue($testSuite);
$this->assertNull($value);
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Workaround/Override/Fixture/Applier/AdminConfigFixtureTest.php vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Workaround/Override/Fixture/Applier/AdminConfigFixtureTest.php
--- vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Workaround/Override/Fixture/Applier/AdminConfigFixtureTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Workaround/Override/Fixture/Applier/AdminConfigFixtureTest.php 2025-11-24 17:34:37
@@ -101,7 +101,7 @@
public function testInitConfigFixture(array $attributes, string $expectedValue): void
{
$reflectionMethod = new \ReflectionMethod(AdminConfigFixture::class, 'initConfigFixture');
- $reflectionMethod->setAccessible(true);
+ $reflectionMethod;
$value = $reflectionMethod->invoke($this->object, $attributes);
$this->assertEquals($expectedValue, $value);
}
@@ -139,7 +139,7 @@
private function invokeIsFixtureMatchMethod(array $attributes, string $fixture): bool
{
$reflectionMethod = new \ReflectionMethod(AdminConfigFixture::class, 'isFixtureMatch');
- $reflectionMethod->setAccessible(true);
+ $reflectionMethod;
return $reflectionMethod->invoke($this->object, $attributes, $fixture);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Workaround/Override/Fixture/Applier/ConfigFixtureTest.php vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Workaround/Override/Fixture/Applier/ConfigFixtureTest.php
--- vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Workaround/Override/Fixture/Applier/ConfigFixtureTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Workaround/Override/Fixture/Applier/ConfigFixtureTest.php 2025-11-24 17:34:37
@@ -233,7 +233,7 @@
public function testInitConfigFixture(array $attributes, string $expectedValue): void
{
$reflectionMethod = new \ReflectionMethod(ConfigFixture::class, 'initConfigFixture');
- $reflectionMethod->setAccessible(true);
+ $reflectionMethod;
$value = $reflectionMethod->invoke($this->object, $attributes);
$this->assertEquals($expectedValue, $value);
}
@@ -500,7 +500,7 @@
private function invokeIsFixtureMatchMethod(array $attributes, string $fixture): bool
{
$reflectionMethod = new \ReflectionMethod(ConfigFixture::class, 'isFixtureMatch');
- $reflectionMethod->setAccessible(true);
+ $reflectionMethod;
return $reflectionMethod->invoke($this->object, $attributes, $fixture);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Workaround/Override/Fixture/Applier/DataFixtureTest.php vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Workaround/Override/Fixture/Applier/DataFixtureTest.php
--- vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Workaround/Override/Fixture/Applier/DataFixtureTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Workaround/Override/Fixture/Applier/DataFixtureTest.php 2025-11-24 17:34:37
@@ -55,7 +55,7 @@
['data_set_config'],
];
$reflectionMethod = new \ReflectionMethod(DataFixture::class, 'getPrioritizedConfig');
- $reflectionMethod->setAccessible(true);
+ $reflectionMethod;
$this->assertEquals($expectedResult, $reflectionMethod->invoke($this->object));
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Workaround/Override/Fixture/Resolver/TestSetterTest.php vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Workaround/Override/Fixture/Resolver/TestSetterTest.php
--- vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Workaround/Override/Fixture/Resolver/TestSetterTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Workaround/Override/Fixture/Resolver/TestSetterTest.php 2025-11-24 17:34:37
@@ -67,7 +67,7 @@
->getMock();
$reflection = new \ReflectionClass(Resolver::class);
$reflectionProperty = $reflection->getProperty('instance');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue(Resolver::class, $mock);
return $mock;
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Workaround/Override/Fixture/ResolverTest.php vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Workaround/Override/Fixture/ResolverTest.php
--- vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Workaround/Override/Fixture/ResolverTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Workaround/Override/Fixture/ResolverTest.php 2025-11-24 17:34:37
@@ -28,7 +28,7 @@
$resolverMock = $this->createResolverMock();
$reflection = new \ReflectionClass(Resolver::class);
$reflectionMethod = $reflection->getMethod('getApplierByFixtureType');
- $reflectionMethod->setAccessible(true);
+ $reflectionMethod;
$reflectionMethod->invoke($resolverMock, 'unsupportedFixtureType');
}
@@ -58,7 +58,7 @@
$mock->method('getComponentRegistrar')->willReturn(new ComponentRegistrar());
$reflection = new \ReflectionClass(Resolver::class);
$reflectionProperty = $reflection->getProperty('instance');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue(Resolver::class, $mock);
return $mock;
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Backend/Block/MenuTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Backend/Block/MenuTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Backend/Block/MenuTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Backend/Block/MenuTest.php 2025-11-24 17:34:36
@@ -42,7 +42,7 @@
$reflection = new \ReflectionClass(\Magento\Framework\Component\ComponentRegistrar::class);
$paths = $reflection->getProperty('paths');
- $paths->setAccessible(true);
+ $paths;
$this->backupRegistrar = $paths->getValue();
$paths->setAccessible(false);
@@ -99,7 +99,7 @@
$reflection = new \ReflectionClass(\Magento\Framework\Component\ComponentRegistrar::class);
$paths = $reflection->getProperty('paths');
- $paths->setAccessible(true);
+ $paths;
$paths->setValue(
null,
@@ -162,7 +162,7 @@
$this->configCacheType->save('', \Magento\Backend\Model\Menu\Config::CACHE_MENU_OBJECT);
$reflection = new \ReflectionClass(\Magento\Framework\Component\ComponentRegistrar::class);
$paths = $reflection->getProperty('paths');
- $paths->setAccessible(true);
+ $paths;
$paths->setValue(null, $this->backupRegistrar);
$paths->setAccessible(false);
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Backend/Block/System/Design/Edit/Tab/GeneralTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Backend/Block/System/Design/Edit/Tab/GeneralTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Backend/Block/System/Design/Edit/Tab/GeneralTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Backend/Block/System/Design/Edit/Tab/GeneralTest.php 2025-11-24 17:34:36
@@ -34,7 +34,7 @@
\Magento\Backend\Block\System\Design\Edit\Tab\General::class,
'_prepareForm'
);
- $prepareFormMethod->setAccessible(true);
+ $prepareFormMethod;
$prepareFormMethod->invoke($block);
$form = $block->getForm();
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Backend/Block/Widget/FormTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Backend/Block/Widget/FormTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Backend/Block/Widget/FormTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Backend/Block/Widget/FormTest.php 2025-11-24 17:34:36
@@ -35,7 +35,7 @@
];
$attributes = [$objectManager->create(\Magento\Eav\Model\Entity\Attribute::class, $arguments)];
$method = new \ReflectionMethod(\Magento\Backend\Block\Widget\Form::class, '_setFieldset');
- $method->setAccessible(true);
+ $method;
$method->invoke($formBlock, $attributes, $fieldSet);
$fields = $fieldSet->getElements();
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Product/MassDeleteTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Product/MassDeleteTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Product/MassDeleteTest.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Product/MassDeleteTest.php 2025-11-24 17:34:36
@@ -161,7 +161,7 @@
$reflection = new \ReflectionObject($this);
foreach ($reflection->getProperties() as $property) {
if (!$property->isStatic() && 0 !== strpos($property->getDeclaringClass()->getName(), 'PHPUnit')) {
- $property->setAccessible(true);
+ $property;
$property->setValue($this, null);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Product/Save/CreateCustomOptionsTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Product/Save/CreateCustomOptionsTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Product/Save/CreateCustomOptionsTest.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Product/Save/CreateCustomOptionsTest.php 2025-11-24 17:34:36
@@ -264,7 +264,7 @@
$reflection = new \ReflectionObject($this);
foreach ($reflection->getProperties() as $property) {
if (!$property->isStatic() && 0 !== strpos($property->getDeclaringClass()->getName(), 'PHPUnit')) {
- $property->setAccessible(true);
+ $property;
$property->setValue($this, null);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Product/Save/DeleteCustomOptionsTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Product/Save/DeleteCustomOptionsTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Product/Save/DeleteCustomOptionsTest.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Product/Save/DeleteCustomOptionsTest.php 2025-11-24 17:34:36
@@ -71,7 +71,7 @@
$reflection = new \ReflectionObject($this);
foreach ($reflection->getProperties() as $property) {
if (!$property->isStatic() && 0 !== strpos($property->getDeclaringClass()->getName(), 'PHPUnit')) {
- $property->setAccessible(true);
+ $property;
$property->setValue($this, null);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Product/Save/UpdateCustomOptionsTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Product/Save/UpdateCustomOptionsTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Product/Save/UpdateCustomOptionsTest.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Product/Save/UpdateCustomOptionsTest.php 2025-11-24 17:34:36
@@ -117,7 +117,7 @@
$reflection = new \ReflectionObject($this);
foreach ($reflection->getProperties() as $property) {
if (!$property->isStatic() && 0 !== strpos($property->getDeclaringClass()->getName(), 'PHPUnit')) {
- $property->setAccessible(true);
+ $property;
$property->setValue($this, null);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Cron/DeleteOutdatedPriceValuesTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Cron/DeleteOutdatedPriceValuesTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Cron/DeleteOutdatedPriceValuesTest.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Cron/DeleteOutdatedPriceValuesTest.php 2025-11-24 17:34:36
@@ -73,7 +73,7 @@
$reflection = new \ReflectionClass(\Magento\Catalog\Model\Attribute\ScopeOverriddenValue::class);
$paths = $reflection->getProperty('attributesValues');
- $paths->setAccessible(true);
+ $paths;
$paths->setValue($this->objectManager->get(\Magento\Catalog\Model\Attribute\ScopeOverriddenValue::class), null);
$paths->setAccessible(false);
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Model/AbstractTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Model/AbstractTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Model/AbstractTest.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Model/AbstractTest.php 2025-11-24 17:34:36
@@ -39,11 +39,11 @@
$this->_model = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(self::STUB_CLASS);
$resourceProperty = new \ReflectionProperty(get_class($this->_model), '_resourceName');
- $resourceProperty->setAccessible(true);
+ $resourceProperty;
$resourceProperty->setValue($this->_model, \Magento\Catalog\Model\ResourceModel\Product::class);
$collectionProperty = new \ReflectionProperty(get_class($this->_model), '_collectionName');
- $collectionProperty->setAccessible(true);
+ $collectionProperty;
$collectionProperty->setValue($this->_model, \Magento\Catalog\Model\ResourceModel\Product\Collection::class);
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Model/Product/Option/Type/File/ValidatorFileTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Model/Product/Option/Type/File/ValidatorFileTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Model/Product/Option/Type/File/ValidatorFileTest.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Model/Product/Option/Type/File/ValidatorFileTest.php 2025-11-24 17:34:36
@@ -108,7 +108,7 @@
$this->httpFactoryMock->expects($this->once())->method('create')->willReturn($httpAdapterMock);
$property = new \ReflectionProperty($httpAdapterMock, 'files');
- $property->setAccessible(true);
+ $property;
$property->setValue($httpAdapterMock, ['options_1_file' => $_FILES['options_1_file']]);
$this->model->validate(
$this->objectManager->create(\Magento\Framework\DataObject::class),
@@ -132,7 +132,7 @@
$this->httpFactoryMock->expects($this->once())->method('create')->willReturn($httpAdapterMock);
$property = new \ReflectionProperty($httpAdapterMock, 'files');
- $property->setAccessible(true);
+ $property;
$property->setValue($httpAdapterMock, ['options_1_file' => $_FILES['options_1_file']]);
$this->model->validate(
$this->objectManager->create(\Magento\Framework\DataObject::class),
@@ -153,7 +153,7 @@
$this->httpFactoryMock->expects($this->once())->method('create')->willReturn($httpAdapterMock);
$property = new \ReflectionProperty($httpAdapterMock, 'files');
- $property->setAccessible(true);
+ $property;
$property->setValue($httpAdapterMock, ['options_1_file' => $_FILES['options_1_file']]);
$this->model->validate(
$this->objectManager->create(\Magento\Framework\DataObject::class),
@@ -228,7 +228,7 @@
$this->httpFactoryMock->expects($this->once())->method('create')->willReturn($httpAdapterMock);
$property = new \ReflectionProperty($httpAdapterMock, 'files');
- $property->setAccessible(true);
+ $property;
$property->setValue($httpAdapterMock, ['options_1_file' => $_FILES['options_1_file']]);
$result = $this->model->validate(
$this->objectManager->create(\Magento\Framework\DataObject::class),
@@ -250,7 +250,7 @@
$this->httpFactoryMock->expects($this->once())->method('create')->willReturn($httpAdapterMock);
$property = new \ReflectionProperty($httpAdapterMock, 'files');
- $property->setAccessible(true);
+ $property;
$property->setValue($httpAdapterMock, ['options_1_file' => $_FILES['options_1_file']]);
$this->model->validate(
$this->objectManager->create(\Magento\Framework\DataObject::class),
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Model/Product/Type/AbstractTypeTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Model/Product/Type/AbstractTypeTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Model/Product/Type/AbstractTypeTest.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Model/Product/Type/AbstractTypeTest.php 2025-11-24 17:34:36
@@ -527,7 +527,7 @@
AbstractType::class,
'_prepareOptions'
);
- $method->setAccessible(true);
+ $method;
$exceptionIsThrown = false;
try {
$method->invoke($this->_model, $buyRequest, $product, 'full');
@@ -668,10 +668,10 @@
$uploader = new Http();
$refObject = new \ReflectionObject($uploader);
$validators = $refObject->getProperty('validators');
- $validators->setAccessible(true);
+ $validators;
$validators->setValue($uploader, []);
$files = $refObject->getProperty('files');
- $files->setAccessible(true);
+ $files;
$filesValues = $files->getValue($uploader);
foreach (array_keys($filesValues) as $value) {
$filesValues[$value]['validators'] = [];
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Pricing/Render/FinalPriceBoxTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Pricing/Render/FinalPriceBoxTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Pricing/Render/FinalPriceBoxTest.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/Pricing/Render/FinalPriceBoxTest.php 2025-11-24 17:34:36
@@ -88,7 +88,7 @@
$this->templateEnginePool,
'engines'
);
- $enginesReflection->setAccessible(true);
+ $enginesReflection;
$enginesReflection->setValue($this->templateEnginePool, ['phtml' => $this->phtml]);
$this->rendererPool = $this->objectManager->create(
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/_files/categories.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/_files/categories.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/_files/categories.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/_files/categories.php 2025-11-24 17:34:36
@@ -49,7 +49,7 @@
foreach ($properties as $key => $value) {
if ($reflectionClass->hasProperty($key)) {
$reflectionProperty = $reflectionClass->getProperty($key);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($categoryLinkManagement, $value);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/_files/categories_sorted.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/_files/categories_sorted.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/_files/categories_sorted.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/_files/categories_sorted.php 2025-11-24 17:34:36
@@ -45,7 +45,7 @@
foreach ($properties as $key => $value) {
if ($reflectionClass->hasProperty($key)) {
$reflectionProperty = $reflectionClass->getProperty($key);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($categoryLinkManagement, $value);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/CatalogImportExport/Model/AbstractProductExportImportTestCase.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/CatalogImportExport/Model/AbstractProductExportImportTestCase.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/CatalogImportExport/Model/AbstractProductExportImportTestCase.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/CatalogImportExport/Model/AbstractProductExportImportTestCase.php 2025-11-24 17:34:35
@@ -359,7 +359,7 @@
if ($usePagination) {
/** @var \ReflectionProperty $itemsPerPageProperty */
$itemsPerPageProperty = new \ReflectionProperty(Product::class, '_itemsPerPage');
- $itemsPerPageProperty->setAccessible(true);
+ $itemsPerPageProperty;
$itemsPerPageProperty->setValue($exportProduct, 1);
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/CatalogImportExport/_files/product_export_with_broken_categories_path.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/CatalogImportExport/_files/product_export_with_broken_categories_path.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/CatalogImportExport/_files/product_export_with_broken_categories_path.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/CatalogImportExport/_files/product_export_with_broken_categories_path.php 2025-11-24 17:34:35
@@ -32,7 +32,7 @@
foreach ($properties as $key => $value) {
if ($reflectionClass->hasProperty($key)) {
$reflectionProperty = $reflectionClass->getProperty($key);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($categoryLinkManagement, $value);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Config/Block/System/Config/FormTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Config/Block/System/Config/FormTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Config/Block/System/Config/FormTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Config/Block/System/Config/FormTest.php 2025-11-24 17:34:35
@@ -515,7 +515,7 @@
$directories = $fileResolver->get('config.xml', 'global');
$property = new \ReflectionProperty($directories, 'paths');
- $property->setAccessible(true);
+ $property;
$property->setValue(
$directories,
array_merge($property->getValue($directories), [__DIR__ . '/_files/test_config.xml'])
@@ -540,7 +540,7 @@
$composite = Bootstrap::getObjectManager()->get('systemConfigPostProcessorComposite');
$property = new \ReflectionProperty($composite, 'processors');
- $property->setAccessible(true);
+ $property;
$processors = $property->getValue($composite);
$processors['metadata'] = $metadataConfigTypeProcessor;
$property->setValue($composite, $processors);
@@ -588,7 +588,7 @@
$reflection = new \ReflectionObject($this);
foreach ($reflection->getProperties() as $property) {
if (!$property->isStatic() && 0 !== strpos($property->getDeclaringClass()->getName(), 'PHPUnit')) {
- $property->setAccessible(true);
+ $property;
$property->setValue($this, null);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Config/Console/Command/ConfigShowCommandTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Config/Console/Command/ConfigShowCommandTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Config/Console/Command/ConfigShowCommandTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Config/Console/Command/ConfigShowCommandTest.php 2025-11-24 17:34:35
@@ -141,7 +141,7 @@
{
$reflection = new \ReflectionClass(Structure::class);
$mappedPaths = $reflection->getProperty('mappedPaths');
- $mappedPaths->setAccessible(true);
+ $mappedPaths;
$mappedPaths->setValue($this->structure, $this->getConfigPaths());
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Attribute/CreateOptionsTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Attribute/CreateOptionsTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Attribute/CreateOptionsTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Attribute/CreateOptionsTest.php 2025-11-24 17:34:35
@@ -71,7 +71,7 @@
$reflection = new \ReflectionObject($this);
foreach ($reflection->getProperties() as $property) {
if (!$property->isStatic() && 0 !== strpos($property->getDeclaringClass()->getName(), 'PHPUnit')) {
- $property->setAccessible(true);
+ $property;
$property->setValue($this, null);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Initialization/HelperTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Initialization/HelperTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Initialization/HelperTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Initialization/HelperTest.php 2025-11-24 17:34:35
@@ -376,7 +376,7 @@
$reflection = new \ReflectionObject($this);
foreach ($reflection->getProperties() as $property) {
if (!$property->isStatic() && 0 !== strpos($property->getDeclaringClass()->getName(), 'PHPUnit')) {
- $property->setAccessible(true);
+ $property;
$property->setValue($this, null);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Controller/Adminhtml/ProductTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Controller/Adminhtml/ProductTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Controller/Adminhtml/ProductTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Controller/Adminhtml/ProductTest.php 2025-11-24 17:34:35
@@ -342,7 +342,7 @@
$this->assertEquals($expectedProduct['price'], $product->getPrice());
if (!empty($expectedProduct['weight'])) {
- $this->assertEquals($expectedProduct['weight'], (double)$product->getWeight());
+ $this->assertEquals($expectedProduct['weight'], (float)$product->getWeight());
$this->assertInstanceOf(Simple::class, $product->getTypeInstance());
} else {
$this->assertInstanceOf(Virtual::class, $product->getTypeInstance());
@@ -529,7 +529,7 @@
$reflection = new \ReflectionObject($this);
foreach ($reflection->getProperties() as $property) {
if (!$property->isStatic() && 0 !== strpos($property->getDeclaringClass()->getName(), 'PHPUnit')) {
- $property->setAccessible(true);
+ $property;
$property->setValue($this, null);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Controller/CartTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Controller/CartTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Controller/CartTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Controller/CartTest.php 2025-11-24 17:34:35
@@ -108,7 +108,7 @@
$reflection = new \ReflectionObject($this);
foreach ($reflection->getProperties() as $property) {
if (!$property->isStatic() && 0 !== strpos($property->getDeclaringClass()->getName(), 'PHPUnit')) {
- $property->setAccessible(true);
+ $property;
$property->setValue($this, null);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Model/Category/ProductIndexerTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Model/Category/ProductIndexerTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Model/Category/ProductIndexerTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Model/Category/ProductIndexerTest.php 2025-11-24 17:34:35
@@ -228,7 +228,7 @@
$reflection = new \ReflectionObject($this);
foreach ($reflection->getProperties() as $property) {
if (!$property->isStatic() && 0 !== strpos($property->getDeclaringClass()->getName(), 'PHPUnit')) {
- $property->setAccessible(true);
+ $property;
$property->setValue($this, null);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Model/FindByUrlRewriteTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Model/FindByUrlRewriteTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Model/FindByUrlRewriteTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Model/FindByUrlRewriteTest.php 2025-11-24 17:34:35
@@ -274,7 +274,7 @@
$reflection = new \ReflectionObject($this);
foreach ($reflection->getProperties() as $property) {
if (!$property->isStatic() && 0 !== strpos($property->getDeclaringClass()->getName(), 'PHPUnit')) {
- $property->setAccessible(true);
+ $property;
$property->setValue($this, null);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Model/OptionRepositoryTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Model/OptionRepositoryTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Model/OptionRepositoryTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ConfigurableProduct/Model/OptionRepositoryTest.php 2025-11-24 17:34:35
@@ -42,7 +42,7 @@
$reflection = new \ReflectionObject($this);
foreach ($reflection->getProperties() as $property) {
if (!$property->isStatic() && 0 !== strpos($property->getDeclaringClass()->getName(), 'PHPUnit')) {
- $property->setAccessible(true);
+ $property;
$property->setValue($this, null);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Customer/Model/Metadata/Form/ImageTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Customer/Model/Metadata/Form/ImageTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Customer/Model/Metadata/Form/ImageTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Customer/Model/Metadata/Form/ImageTest.php 2025-11-24 17:34:36
@@ -93,7 +93,7 @@
\Magento\Customer\Model\Metadata\Form\Image::class,
'processCustomerAddressValue'
);
- $processCustomerAddressValueMethod->setAccessible(true);
+ $processCustomerAddressValueMethod;
$actual = $processCustomerAddressValueMethod->invoke($image, $imageFile);
$this->assertEquals($this->expectedFileName, $actual);
$this->assertTrue($this->mediaDirectory->isExist($expectedPath));
@@ -126,7 +126,7 @@
\Magento\Customer\Model\Metadata\Form\Image::class,
'processCustomerValue'
);
- $processCustomerAddressValueMethod->setAccessible(true);
+ $processCustomerAddressValueMethod;
$result = $processCustomerAddressValueMethod->invoke($image, $imageFile);
$this->assertInstanceOf('Magento\Framework\Api\ImageContent', $result);
$this->assertFileDoesNotExist($tmpFilePath);
@@ -165,7 +165,7 @@
\Magento\Customer\Model\Metadata\Form\Image::class,
'processCustomerValue'
);
- $processCustomerAddressValueMethod->setAccessible(true);
+ $processCustomerAddressValueMethod;
$processCustomerAddressValueMethod->invoke($image, $imageFile);
}
@@ -194,7 +194,7 @@
\Magento\Customer\Model\Metadata\Form\Image::class,
'_validateByRules'
);
- $processValidateMethod->setAccessible(true);
+ $processValidateMethod;
$validationResult = $processValidateMethod->invoke($image, $imageFile);
$this->assertEquals('"' . $this->fileName .'" is not a valid file.', $validationResult[0]->__toString());
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/CustomerImportExport/Model/Import/AddressTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/CustomerImportExport/Model/Import/AddressTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/CustomerImportExport/Model/Import/AddressTest.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/CustomerImportExport/Model/Import/AddressTest.php 2025-11-24 17:34:36
@@ -176,7 +176,7 @@
// invoke _saveAddressEntities
$saveAddressEntities = new \ReflectionMethod($this->_testClassName, '_saveAddressEntities');
- $saveAddressEntities->setAccessible(true);
+ $saveAddressEntities;
$saveAddressEntities->invoke($entityAdapter, $newEntityData, []);
return [$customerId, $addressId];
@@ -192,7 +192,7 @@
$this->markTestSkipped("to test _saveAddressAttributes attribute need to add custom address attribute");
// get attributes list
$attributesReflection = new \ReflectionProperty($this->_testClassName, '_attributes');
- $attributesReflection->setAccessible(true);
+ $attributesReflection;
$attributes = $attributesReflection->getValue($this->_entityAdapter);
// get some attribute
@@ -214,7 +214,7 @@
// invoke _saveAddressAttributes
$saveAttributes = new \ReflectionMethod($this->_testClassName, '_saveAddressAttributes');
- $saveAttributes->setAccessible(true);
+ $saveAttributes;
$saveAttributes->invoke($this->_entityAdapter, $attributeArray);
// check DB
@@ -272,7 +272,7 @@
// invoke _saveCustomerDefaults
$saveDefaults = new \ReflectionMethod($this->_testClassName, '_saveCustomerDefaults');
- $saveDefaults->setAccessible(true);
+ $saveDefaults;
$saveDefaults->invoke($this->_entityAdapter, $defaults);
// check DB
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/CustomerImportExport/Model/Import/CustomerTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/CustomerImportExport/Model/Import/CustomerTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/CustomerImportExport/Model/Import/CustomerTest.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/CustomerImportExport/Model/Import/CustomerTest.php 2025-11-24 17:34:36
@@ -76,7 +76,7 @@
$this->_model->setParameters(['behavior' => Import::BEHAVIOR_ADD_UPDATE]);
$this->indexerProcessor = $this->objectManager->create(\Magento\Customer\Model\Indexer\Processor::class);
$propertyAccessor = new \ReflectionProperty($this->_model, 'errorMessageTemplates');
- $propertyAccessor->setAccessible(true);
+ $propertyAccessor;
$propertyAccessor->setValue($this->_model, []);
$this->_customerData = [
'firstname' => 'Firstname',
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Deploy/Console/Command/App/ConfigImportCommandTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Deploy/Console/Command/App/ConfigImportCommandTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Deploy/Console/Command/App/ConfigImportCommandTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Deploy/Console/Command/App/ConfigImportCommandTest.php 2025-11-24 17:34:36
@@ -365,7 +365,7 @@
$currencyImportSettings,
'_configValueFactory'
);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$valueFactory = $reflectionProperty->getValue($currencyImportSettings);
/** @var $configValue \Magento\Framework\App\Config\ValueInterface */
$configValue = $valueFactory->create();
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Block/Adminhtml/Attribute/Edit/Main/AbstractMainTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Block/Adminhtml/Attribute/Edit/Main/AbstractMainTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Block/Adminhtml/Attribute/Edit/Main/AbstractMainTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Block/Adminhtml/Attribute/Edit/Main/AbstractMainTest.php 2025-11-24 17:34:36
@@ -51,7 +51,7 @@
\Magento\Eav\Block\Adminhtml\Attribute\Edit\Main\AbstractMain::class,
'_prepareForm'
);
- $method->setAccessible(true);
+ $method;
$method->invoke($block);
$element = $block->getForm()->getElement('default_value_date');
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/ConfigTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/ConfigTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/ConfigTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/ConfigTest.php 2025-11-24 17:34:36
@@ -199,7 +199,7 @@
$reflection = new \ReflectionObject($this);
foreach ($reflection->getProperties() as $property) {
if (!$property->isStatic() && 0 !== strpos($property->getDeclaringClass()->getName(), 'PHPUnit')) {
- $property->setAccessible(true);
+ $property;
$property->setValue($this, null);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/Entity/Attribute/Frontend/DatetimeTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/Entity/Attribute/Frontend/DatetimeTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/Entity/Attribute/Frontend/DatetimeTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/Entity/Attribute/Frontend/DatetimeTest.php 2025-11-24 17:34:36
@@ -111,7 +111,7 @@
$reflection = new \ReflectionObject($this);
foreach ($reflection->getProperties() as $property) {
if (!$property->isStatic() && 0 !== strpos($property->getDeclaringClass()->getName(), 'PHPUnit')) {
- $property->setAccessible(true);
+ $property;
$property->setValue($this, null);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/Entity/Attribute/Frontend/DefaultFrontendTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/Entity/Attribute/Frontend/DefaultFrontendTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/Entity/Attribute/Frontend/DefaultFrontendTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/Entity/Attribute/Frontend/DefaultFrontendTest.php 2025-11-24 17:34:36
@@ -111,7 +111,7 @@
$reflection = new \ReflectionObject($this);
foreach ($reflection->getProperties() as $property) {
if (!$property->isStatic() && 0 !== strpos($property->getDeclaringClass()->getName(), 'PHPUnit')) {
- $property->setAccessible(true);
+ $property;
$property->setValue($this, null);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/Entity/AttributeLoaderTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/Entity/AttributeLoaderTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/Entity/AttributeLoaderTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/Entity/AttributeLoaderTest.php 2025-11-24 17:34:36
@@ -119,7 +119,7 @@
$reflection = new \ReflectionObject($this);
foreach ($reflection->getProperties() as $property) {
if (!$property->isStatic() && 0 !== strpos($property->getDeclaringClass()->getName(), 'PHPUnit')) {
- $property->setAccessible(true);
+ $property;
$property->setValue($this, null);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/Entity/AttributeTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/Entity/AttributeTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/Entity/AttributeTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/Entity/AttributeTest.php 2025-11-24 17:34:36
@@ -54,7 +54,7 @@
$reflection = new \ReflectionObject($this);
foreach ($reflection->getProperties() as $property) {
if (!$property->isStatic() && 0 !== strpos($property->getDeclaringClass()->getName(), 'PHPUnit')) {
- $property->setAccessible(true);
+ $property;
$property->setValue($this, null);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/ResourceModel/AttributeLoaderTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/ResourceModel/AttributeLoaderTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/ResourceModel/AttributeLoaderTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/ResourceModel/AttributeLoaderTest.php 2025-11-24 17:34:36
@@ -91,7 +91,7 @@
$reflection = new \ReflectionObject($this);
foreach ($reflection->getProperties() as $property) {
if (!$property->isStatic() && 0 !== strpos($property->getDeclaringClass()->getName(), 'PHPUnit')) {
- $property->setAccessible(true);
+ $property;
$property->setValue($this, null);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/ResourceModel/Entity/Attribute/CollectionTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/ResourceModel/Entity/Attribute/CollectionTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/ResourceModel/Entity/Attribute/CollectionTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/ResourceModel/Entity/Attribute/CollectionTest.php 2025-11-24 17:34:36
@@ -103,7 +103,7 @@
$reflection = new \ReflectionObject($this);
foreach ($reflection->getProperties() as $property) {
if (!$property->isStatic() && 0 !== strpos($property->getDeclaringClass()->getName(), 'PHPUnit')) {
- $property->setAccessible(true);
+ $property;
$property->setValue($this, null);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/ResourceModel/UpdateHandlerAbstract.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/ResourceModel/UpdateHandlerAbstract.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/ResourceModel/UpdateHandlerAbstract.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/ResourceModel/UpdateHandlerAbstract.php 2025-11-24 17:34:36
@@ -32,7 +32,7 @@
$reflection = new \ReflectionObject($this);
foreach ($reflection->getProperties() as $property) {
if (!$property->isStatic() && 0 !== strpos($property->getDeclaringClass()->getName(), 'PHPUnit')) {
- $property->setAccessible(true);
+ $property;
$property->setValue($this, null);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/TypeLocatorTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/TypeLocatorTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/TypeLocatorTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/TypeLocatorTest.php 2025-11-24 17:34:36
@@ -214,7 +214,7 @@
$reflection = new \ReflectionObject($this);
foreach ($reflection->getProperties() as $property) {
if (!$property->isStatic() && 0 !== strpos($property->getDeclaringClass()->getName(), 'PHPUnit')) {
- $property->setAccessible(true);
+ $property;
$property->setValue($this, null);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/Validator/Attribute/BackendTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/Validator/Attribute/BackendTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/Validator/Attribute/BackendTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Model/Validator/Attribute/BackendTest.php 2025-11-24 17:34:36
@@ -57,7 +57,7 @@
$reflection = new \ReflectionObject($this);
foreach ($reflection->getProperties() as $property) {
if (!$property->isStatic() && 0 !== strpos($property->getDeclaringClass()->getName(), 'PHPUnit')) {
- $property->setAccessible(true);
+ $property;
$property->setValue($this, null);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Setup/AddOptionToAttributeTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Setup/AddOptionToAttributeTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Setup/AddOptionToAttributeTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Setup/AddOptionToAttributeTest.php 2025-11-24 17:34:36
@@ -235,7 +235,7 @@
$reflection = new \ReflectionObject($this);
foreach ($reflection->getProperties() as $property) {
if (!$property->isStatic() && 0 !== strpos($property->getDeclaringClass()->getName(), 'PHPUnit')) {
- $property->setAccessible(true);
+ $property;
$property->setValue($this, null);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Setup/EavSetupTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Setup/EavSetupTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Setup/EavSetupTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Eav/Setup/EavSetupTest.php 2025-11-24 17:34:36
@@ -157,7 +157,7 @@
$reflection = new \ReflectionObject($this);
foreach ($reflection->getProperties() as $property) {
if (!$property->isStatic() && 0 !== strpos($property->getDeclaringClass()->getName(), 'PHPUnit')) {
- $property->setAccessible(true);
+ $property;
$property->setValue($this, null);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Email/Block/Adminhtml/Template/Edit/FormTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Email/Block/Adminhtml/Template/Edit/FormTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Email/Block/Adminhtml/Template/Edit/FormTest.php 2025-11-24 17:35:29
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Email/Block/Adminhtml/Template/Edit/FormTest.php 2025-11-24 17:34:37
@@ -61,7 +61,7 @@
\Magento\Email\Block\Adminhtml\Template\Edit\Form::class,
'_prepareForm'
);
- $this->prepareFormMethod->setAccessible(true);
+ $this->prepareFormMethod;
}
/**
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/EncryptionKey/Block/Adminhtml/Crypt/Key/FormTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/EncryptionKey/Block/Adminhtml/Crypt/Key/FormTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/EncryptionKey/Block/Adminhtml/Crypt/Key/FormTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/EncryptionKey/Block/Adminhtml/Crypt/Key/FormTest.php 2025-11-24 17:34:35
@@ -30,7 +30,7 @@
\Magento\EncryptionKey\Block\Adminhtml\Crypt\Key\Form::class,
'_prepareForm'
);
- $prepareFormMethod->setAccessible(true);
+ $prepareFormMethod;
$prepareFormMethod->invoke($block);
$form = $block->getForm();
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/App/ResourceConnection/ConnectionFactoryTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/App/ResourceConnection/ConnectionFactoryTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/App/ResourceConnection/ConnectionFactoryTest.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/App/ResourceConnection/ConnectionFactoryTest.php 2025-11-24 17:34:37
@@ -40,7 +40,7 @@
$this->assertTrue(property_exists($connection, 'logger'));
$object = new ReflectionClass(get_class($connection));
$attribute = $object->getProperty('logger');
- $attribute->setAccessible(true);
+ $attribute;
$propertyObject = $attribute->getValue($connection);
$attribute->setAccessible(false);
$this->assertInstanceOf(\Magento\Framework\DB\LoggerInterface::class, $propertyObject);
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/MessageQueue/MessageEncoderTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/MessageQueue/MessageEncoderTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/MessageQueue/MessageEncoderTest.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/MessageQueue/MessageEncoderTest.php 2025-11-24 17:34:37
@@ -223,7 +223,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($propertyName);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($object, $propertyValue);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/MessageQueue/UseCase/QueueTestCaseAbstract.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/MessageQueue/UseCase/QueueTestCaseAbstract.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/MessageQueue/UseCase/QueueTestCaseAbstract.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/MessageQueue/UseCase/QueueTestCaseAbstract.php 2025-11-24 17:34:37
@@ -125,7 +125,7 @@
// phpcs:enable Magento2.Functions.StaticFunction
if (version_compare(phpversion(), '7') == -1) {
$closeConnection = new \ReflectionMethod(\Magento\Amqp\Model\Config::class, 'closeConnection');
- $closeConnection->setAccessible(true);
+ $closeConnection;
$config = Bootstrap::getObjectManager()->get(\Magento\Amqp\Model\Config::class);
$closeConnection->invoke($config);
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/Model/ResourceModel/Db/AbstractTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/Model/ResourceModel/Db/AbstractTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/Model/ResourceModel/Db/AbstractTest.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/Model/ResourceModel/Db/AbstractTest.php 2025-11-24 17:34:37
@@ -31,7 +31,7 @@
public function testConstruct()
{
$resourceProperty = new \ReflectionProperty(get_class($this->_model), '_resources');
- $resourceProperty->setAccessible(true);
+ $resourceProperty;
$this->assertInstanceOf(
\Magento\Framework\App\ResourceConnection::class,
$resourceProperty->getValue($this->_model)
@@ -41,7 +41,7 @@
public function testSetMainTable()
{
$setMainTableMethod = new \ReflectionMethod($this->_model, '_setMainTable');
- $setMainTableMethod->setAccessible(true);
+ $setMainTableMethod;
$tableName = $this->_model->getTable('store_website');
$idFieldName = 'website_id';
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/ObjectManager/ObjectManagerTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/ObjectManager/ObjectManagerTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/ObjectManager/ObjectManagerTest.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/ObjectManager/ObjectManagerTest.php 2025-11-24 17:34:37
@@ -146,7 +146,7 @@
$this->assertIsObject($testObject);
$this->assertTrue(property_exists($testObject, $propertyName));
$attribute = $object->getProperty($propertyName);
- $attribute->setAccessible(true);
+ $attribute;
$propertyObject = $attribute->getValue($testObject);
$attribute->setAccessible(false);
$this->assertInstanceOf($propertyClass, $propertyObject);
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/ProfilerTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/ProfilerTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/ProfilerTest.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/ProfilerTest.php 2025-11-24 17:34:37
@@ -27,7 +27,7 @@
$this->assertTrue(property_exists($profiler, '_drivers'));
$object = new ReflectionClass(\Magento\Framework\Profiler::class);
$attribute = $object->getProperty('_drivers');
- $attribute->setAccessible(true);
+ $attribute;
$propertyObject = $attribute->getValue($profiler);
$attribute->setAccessible(false);
$this->assertEquals($expectedDrivers, $propertyObject);
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/Session/SaveHandler/DbTableTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/Session/SaveHandler/DbTableTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/Session/SaveHandler/DbTableTest.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/Session/SaveHandler/DbTableTest.php 2025-11-24 17:34:37
@@ -110,7 +110,7 @@
public function testCheckConnection()
{
$method = new \ReflectionMethod(\Magento\Framework\Session\SaveHandler\DbTable::class, 'checkConnection');
- $method->setAccessible(true);
+ $method;
$this->assertNull($method->invoke($this->_model));
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/Session/SessionManagerTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/Session/SessionManagerTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/Session/SessionManagerTest.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/Session/SessionManagerTest.php 2025-11-24 17:34:37
@@ -244,7 +244,7 @@
$this->model->start();
$reflection = new \ReflectionMethod($this->model, '_addHost');
- $reflection->setAccessible(true);
+ $reflection;
$reflection->invoke($this->model);
$this->assertFalse($this->model->isValidForHost('test.com'));
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ImportExport/Block/Adminhtml/Export/FilterTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ImportExport/Block/Adminhtml/Export/FilterTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ImportExport/Block/Adminhtml/Export/FilterTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ImportExport/Block/Adminhtml/Export/FilterTest.php 2025-11-24 17:34:35
@@ -26,7 +26,7 @@
\Magento\ImportExport\Block\Adminhtml\Export\Filter::class,
'_getDateFromToHtmlWithValue'
);
- $method->setAccessible(true);
+ $method;
$arguments = [
'data' => [
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ImportExport/Block/Adminhtml/Import/Edit/FormTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ImportExport/Block/Adminhtml/Import/Edit/FormTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ImportExport/Block/Adminhtml/Import/Edit/FormTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ImportExport/Block/Adminhtml/Import/Edit/FormTest.php 2025-11-24 17:34:35
@@ -47,7 +47,7 @@
\Magento\ImportExport\Block\Adminhtml\Import\Edit\Form::class,
'_prepareForm'
);
- $prepareForm->setAccessible(true);
+ $prepareForm;
$prepareForm->invoke($formBlock);
// check form
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ImportExport/Model/Export/Entity/AbstractEavTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ImportExport/Model/Export/Entity/AbstractEavTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ImportExport/Model/Export/Entity/AbstractEavTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ImportExport/Model/Export/Entity/AbstractEavTest.php 2025-11-24 17:34:35
@@ -92,7 +92,7 @@
{
$this->_model->setParameters($this->_getSkippedAttributes());
$method = new \ReflectionMethod($this->_model, '_getExportAttributeCodes');
- $method->setAccessible(true);
+ $method;
$attributes = $method->invoke($this->_model);
foreach (self::$_skippedAttributes as $code) {
$this->assertNotContains($code, $attributes);
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ImportExport/Model/ExportTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ImportExport/Model/ExportTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ImportExport/Model/ExportTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ImportExport/Model/ExportTest.php 2025-11-24 17:34:35
@@ -39,7 +39,7 @@
$this->assertTrue(property_exists($this->_model, '_entityAdapter'));
$object = new ReflectionClass(get_class($this->_model));
$attribute = $object->getProperty('_entityAdapter');
- $attribute->setAccessible(true);
+ $attribute;
$propertyObject = $attribute->getValue($this->_model);
$attribute->setAccessible(false);
$this->assertInstanceOf($expectedEntityType, $propertyObject);
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ImportExport/Model/Import/Entity/EntityAbstractTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ImportExport/Model/Import/Entity/EntityAbstractTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ImportExport/Model/Import/Entity/EntityAbstractTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ImportExport/Model/Import/Entity/EntityAbstractTest.php 2025-11-24 17:34:35
@@ -60,7 +60,7 @@
$model->setSource($source);
$method = new \ReflectionMethod($model, '_saveValidatedBunches');
- $method->setAccessible(true);
+ $method;
$method->invoke($model);
$this->assertEquals(1, $model->getProcessedEntitiesCount());
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ImportExport/Model/Import/EntityAbstractTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ImportExport/Model/Import/EntityAbstractTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ImportExport/Model/Import/EntityAbstractTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/ImportExport/Model/Import/EntityAbstractTest.php 2025-11-24 17:34:35
@@ -58,7 +58,7 @@
$model->setSource($source);
$method = new \ReflectionMethod($model, '_saveValidatedBunches');
- $method->setAccessible(true);
+ $method;
$method->invoke($model);
/** @var $dataSourceModel \Magento\ImportExport\Model\ResourceModel\Import\Data */
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Newsletter/Block/Adminhtml/Queue/Edit/FormTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Newsletter/Block/Adminhtml/Queue/Edit/FormTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Newsletter/Block/Adminhtml/Queue/Edit/FormTest.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Newsletter/Block/Adminhtml/Queue/Edit/FormTest.php 2025-11-24 17:34:35
@@ -40,7 +40,7 @@
\Magento\Newsletter\Block\Adminhtml\Queue\Edit\Form::class,
'_prepareForm'
);
- $prepareFormMethod->setAccessible(true);
+ $prepareFormMethod;
$statuses = [
\Magento\Newsletter\Model\Queue::STATUS_NEVER,
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Paypal/Controller/Hostedpro/ReturnActionTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Paypal/Controller/Hostedpro/ReturnActionTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Paypal/Controller/Hostedpro/ReturnActionTest.php 2025-11-24 17:35:29
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Paypal/Controller/Hostedpro/ReturnActionTest.php 2025-11-24 17:34:36
@@ -46,7 +46,7 @@
$request = $this->getRequest();
$reflection = new \ReflectionClass($request);
$property = $reflection->getProperty('requestUri');
- $property->setAccessible(true);
+ $property;
$property->setValue($request, null);
$request->setServer(new Parameters(['REQUEST_URI' => $requestUri]));
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Paypal/Controller/Transparent/RedirectTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Paypal/Controller/Transparent/RedirectTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Paypal/Controller/Transparent/RedirectTest.php 2025-11-24 17:35:29
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Paypal/Controller/Transparent/RedirectTest.php 2025-11-24 17:34:36
@@ -67,7 +67,7 @@
$request = $this->getRequest();
$reflection = new \ReflectionClass($request);
$property = $reflection->getProperty('requestUri');
- $property->setAccessible(true);
+ $property;
$property->setValue($request, null);
$request->setServer(new Parameters(['REQUEST_URI' => $requestUri]));
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Paypal/Model/Api/NvpTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Paypal/Model/Api/NvpTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Paypal/Model/Api/NvpTest.php 2025-11-24 17:35:29
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Paypal/Model/Api/NvpTest.php 2025-11-24 17:34:36
@@ -71,7 +71,7 @@
$refObject = new \ReflectionObject($config);
$refProperty = $refObject->getProperty('productMetadata');
- $refProperty->setAccessible(true);
+ $refProperty;
$refProperty->setValue($config, $productMetadata);
$this->nvpApi->setConfigObject($config);
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Paypal/Model/Api/PayflowNvpTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Paypal/Model/Api/PayflowNvpTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Paypal/Model/Api/PayflowNvpTest.php 2025-11-24 17:35:29
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Paypal/Model/Api/PayflowNvpTest.php 2025-11-24 17:34:36
@@ -71,7 +71,7 @@
$refObject = new \ReflectionObject($config);
$refProperty = $refObject->getProperty('productMetadata');
- $refProperty->setAccessible(true);
+ $refProperty;
$refProperty->setValue($config, $productMetadata);
$this->nvpApi->setConfigObject($config);
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Paypal/Model/Express/CheckoutTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Paypal/Model/Express/CheckoutTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Paypal/Model/Express/CheckoutTest.php 2025-11-24 17:35:29
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Paypal/Model/Express/CheckoutTest.php 2025-11-24 17:34:36
@@ -779,7 +779,7 @@
{
$reflection = new \ReflectionClass($api);
$property = $reflection->getProperty('_countryFactory');
- $property->setAccessible(true);
+ $property;
$property->setValue($api, $this->objectManager->get(CountryFactory::class));
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Paypal/Model/PayflowproVoidTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Paypal/Model/PayflowproVoidTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Paypal/Model/PayflowproVoidTest.php 2025-11-24 17:35:29
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Paypal/Model/PayflowproVoidTest.php 2025-11-24 17:34:36
@@ -170,7 +170,7 @@
$payment = $order->getPayment();
$canVoidLookupProperty = new \ReflectionProperty(get_class($payment), '_canVoidLookup');
- $canVoidLookupProperty->setAccessible(true);
+ $canVoidLookupProperty;
$canVoidLookupProperty->setValue($payment, true);
return $order;
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Quote/Model/Plugin/UpdateQuoteStoreTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Quote/Model/Plugin/UpdateQuoteStoreTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Quote/Model/Plugin/UpdateQuoteStoreTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Quote/Model/Plugin/UpdateQuoteStoreTest.php 2025-11-24 17:34:36
@@ -122,7 +122,7 @@
$reflection = new \ReflectionClass($storeCookieManager);
$cookieManager = $reflection->getProperty('cookieManager');
- $cookieManager->setAccessible(true);
+ $cookieManager;
$cookieManager->setValue($storeCookieManager, $cookieManagerMock);
return $storeCookieManager;
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Reports/Block/Adminhtml/Filter/FormTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Reports/Block/Adminhtml/Filter/FormTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Reports/Block/Adminhtml/Filter/FormTest.php 2025-11-24 17:35:29
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Reports/Block/Adminhtml/Filter/FormTest.php 2025-11-24 17:34:36
@@ -26,7 +26,7 @@
);
$block = $layout->addBlock(\Magento\Reports\Block\Adminhtml\Filter\Form::class);
$prepareFormMethod = new \ReflectionMethod(\Magento\Reports\Block\Adminhtml\Filter\Form::class, '_prepareForm');
- $prepareFormMethod->setAccessible(true);
+ $prepareFormMethod;
$prepareFormMethod->invoke($block);
$form = $block->getForm();
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Rule/Model/Condition/AbstractTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Rule/Model/Condition/AbstractTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Rule/Model/Condition/AbstractTest.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Rule/Model/Condition/AbstractTest.php 2025-11-24 17:34:36
@@ -45,7 +45,7 @@
$model->setRule($rule);
$property = new \ReflectionProperty(\Magento\Rule\Model\Condition\AbstractCondition::class, '_inputType');
- $property->setAccessible(true);
+ $property;
$property->setValue($model, 'date');
$element = $model->getValueElement();
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Sales/Controller/Adminhtml/Order/CreateTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Sales/Controller/Adminhtml/Order/CreateTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Sales/Controller/Adminhtml/Order/CreateTest.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Sales/Controller/Adminhtml/Order/CreateTest.php 2025-11-24 17:34:35
@@ -257,7 +257,7 @@
$this->getRequest()->setActionName($actionName);
$method = new \ReflectionMethod(\Magento\Sales\Controller\Adminhtml\Order\Create::class, '_getAclResource');
- $method->setAccessible(true);
+ $method;
$result = $method->invoke($orderController);
$this->assertEquals($result, $expectedResult);
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Sales/Model/Order/Email/Sender/CreditmemoSenderTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Sales/Model/Order/Email/Sender/CreditmemoSenderTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Sales/Model/Order/Email/Sender/CreditmemoSenderTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Sales/Model/Order/Email/Sender/CreditmemoSenderTest.php 2025-11-24 17:34:35
@@ -44,7 +44,7 @@
$reflection = new \ReflectionClass(get_class($this->logger));
$reflectionProperty = $reflection->getProperty('minimumErrorLevel');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$this->minErrorDefaultValue = $reflectionProperty->getValue($this->logger);
$reflectionProperty->setValue($this->logger, 400);
$this->logger->clearMessages();
@@ -209,7 +209,7 @@
protected function tearDown(): void
{
$reflectionProperty = new \ReflectionProperty(get_class($this->logger), 'minimumErrorLevel');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->logger, $this->minErrorDefaultValue);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Sales/Model/Order/Email/Sender/InvoiceSenderTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Sales/Model/Order/Email/Sender/InvoiceSenderTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Sales/Model/Order/Email/Sender/InvoiceSenderTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Sales/Model/Order/Email/Sender/InvoiceSenderTest.php 2025-11-24 17:34:35
@@ -77,7 +77,7 @@
$reflection = new \ReflectionClass(get_class($this->logger));
$reflectionProperty = $reflection->getProperty('minimumErrorLevel');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$this->minErrorDefaultValue = $reflectionProperty->getValue($this->logger);
$reflectionProperty->setValue($this->logger, 400);
$this->logger->clearMessages();
@@ -253,7 +253,7 @@
protected function tearDown(): void
{
$reflectionProperty = new \ReflectionProperty(get_class($this->logger), 'minimumErrorLevel');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->logger, $this->minErrorDefaultValue);
}
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Sales/Model/ResourceModel/Order/Grid/CollectionTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Sales/Model/ResourceModel/Order/Grid/CollectionTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Sales/Model/ResourceModel/Order/Grid/CollectionTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Sales/Model/ResourceModel/Order/Grid/CollectionTest.php 2025-11-24 17:34:35
@@ -44,7 +44,7 @@
Collection::class,
'_getMapper'
);
- $mapper->setAccessible(true);
+ $mapper;
$map = $mapper->invoke($gridCollection);
self::assertIsArray($map);
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Sales/Model/Service/PaymentFailuresServiceTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Sales/Model/Service/PaymentFailuresServiceTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Sales/Model/Service/PaymentFailuresServiceTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Sales/Model/Service/PaymentFailuresServiceTest.php 2025-11-24 17:34:35
@@ -87,7 +87,7 @@
$paymentReflection = new \ReflectionClass($this->paymentFailures);
$templateVarsMethod = $paymentReflection->getMethod('getTemplateVars');
- $templateVarsMethod->setAccessible(true);
+ $templateVarsMethod;
$templateVars = $templateVarsMethod->invoke($this->paymentFailures, $this->quote, $errorMessage, $checkoutType);
$expectedVars = [
@@ -134,7 +134,7 @@
$paymentReflection = new \ReflectionClass($this->paymentFailures);
$templateVarsMethod = $paymentReflection->getMethod('getTemplateVars');
- $templateVarsMethod->setAccessible(true);
+ $templateVarsMethod;
$templateVars = $templateVarsMethod->invoke($this->paymentFailures, $this->quote, $errorMessage, $checkoutType);
$expectedVars = [
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Setup/Console/Command/I18nCollectPhrasesCommandTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Setup/Console/Command/I18nCollectPhrasesCommandTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Setup/Console/Command/I18nCollectPhrasesCommandTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Setup/Console/Command/I18nCollectPhrasesCommandTest.php 2025-11-24 17:34:36
@@ -28,7 +28,7 @@
protected function tearDown(): void
{
$property = new \ReflectionProperty(\Magento\Setup\Module\I18n\ServiceLocator::class, '_dictionaryGenerator');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, null);
$property->setAccessible(false);
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Setup/Module/I18n/Dictionary/GeneratorTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Setup/Module/I18n/Dictionary/GeneratorTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Setup/Module/I18n/Dictionary/GeneratorTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Setup/Module/I18n/Dictionary/GeneratorTest.php 2025-11-24 17:34:36
@@ -45,7 +45,7 @@
{
$reflection = new \ReflectionClass(\Magento\Framework\Component\ComponentRegistrar::class);
$paths = $reflection->getProperty('paths');
- $paths->setAccessible(true);
+ $paths;
$this->backupRegistrar = $paths->getValue();
$paths->setValue(null, ['module' => [], 'theme' => []]);
$paths->setAccessible(false);
@@ -83,13 +83,13 @@
unlink($this->outputFileName);
}
$property = new \ReflectionProperty(\Magento\Setup\Module\I18n\ServiceLocator::class, '_dictionaryGenerator');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, null);
$property->setAccessible(false);
$reflection = new \ReflectionClass(\Magento\Framework\Component\ComponentRegistrar::class);
$paths = $reflection->getProperty('paths');
- $paths->setAccessible(true);
+ $paths;
$paths->setValue(null, $this->backupRegistrar);
$paths->setAccessible(false);
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Setup/Module/I18n/Pack/GeneratorTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Setup/Module/I18n/Pack/GeneratorTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Setup/Module/I18n/Pack/GeneratorTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Setup/Module/I18n/Pack/GeneratorTest.php 2025-11-24 17:34:36
@@ -69,7 +69,7 @@
$reflection = new \ReflectionClass(\Magento\Framework\Component\ComponentRegistrar::class);
$paths = $reflection->getProperty('paths');
- $paths->setAccessible(true);
+ $paths;
$this->backupRegistrar = $paths->getValue();
$paths->setAccessible(false);
}
@@ -79,7 +79,7 @@
\Magento\Framework\System\Dirs::rm($this->_packPath);
$reflection = new \ReflectionClass(\Magento\Framework\Component\ComponentRegistrar::class);
$paths = $reflection->getProperty('paths');
- $paths->setAccessible(true);
+ $paths;
$paths->setValue(null, $this->backupRegistrar);
$paths->setAccessible(false);
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Store/App/FrontController/Plugin/RequestPreprocessorTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Store/App/FrontController/Plugin/RequestPreprocessorTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Store/App/FrontController/Plugin/RequestPreprocessorTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Store/App/FrontController/Plugin/RequestPreprocessorTest.php 2025-11-24 17:34:36
@@ -323,7 +323,7 @@
foreach ($properties as $name) {
$property = $reflection->getProperty($name);
- $property->setAccessible(true);
+ $property;
$property->setValue($request, null);
}
$request->setServer(new Parameters($server));
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Store/Model/StoreResolverTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Store/Model/StoreResolverTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Store/Model/StoreResolverTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Store/Model/StoreResolverTest.php 2025-11-24 17:34:36
@@ -23,9 +23,9 @@
public function testGetStoreData()
{
$methodGetStoresData = new \ReflectionMethod(\Magento\Store\Model\StoreResolver::class, 'getStoresData');
- $methodGetStoresData->setAccessible(true);
+ $methodGetStoresData;
$methodReadStoresData = new \ReflectionMethod(\Magento\Store\Model\StoreResolver::class, 'readStoresData');
- $methodReadStoresData->setAccessible(true);
+ $methodReadStoresData;
$storeResolver = $this->objectManager->get(\Magento\Store\Model\StoreResolver::class);
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Store/Model/StoreTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Store/Model/StoreTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Store/Model/StoreTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Store/Model/StoreTest.php 2025-11-24 17:34:36
@@ -230,7 +230,7 @@
if ($useCustomEntryPoint) {
$property = new \ReflectionProperty($this->model, '_isCustomEntryPoint');
- $property->setAccessible(true);
+ $property;
$property->setValue($this->model, $useCustomEntryPoint);
}
$actual = $this->model->getBaseUrl($type);
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Store/_files/multiple_currencies_rollback.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Store/_files/multiple_currencies_rollback.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Store/_files/multiple_currencies_rollback.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Store/_files/multiple_currencies_rollback.php 2025-11-24 17:34:36
@@ -35,6 +35,6 @@
$reflectionClass = new \ReflectionClass(CurrencyResource::class);
$staticProperty = $reflectionClass->getProperty('_rateCache');
- $staticProperty->setAccessible(true);
+ $staticProperty;
$staticProperty->setValue(null, null);
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Store/_files/second_store_with_second_currency_rollback.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Store/_files/second_store_with_second_currency_rollback.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Store/_files/second_store_with_second_currency_rollback.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Store/_files/second_store_with_second_currency_rollback.php 2025-11-24 17:34:36
@@ -34,5 +34,5 @@
Resolver::getInstance()->requireDataFixture('Magento/Store/_files/second_store_rollback.php');
$reflectionClass = new \ReflectionClass(ResourceCurrency::class);
$staticProperty = $reflectionClass->getProperty('_rateCache');
-$staticProperty->setAccessible(true);
+$staticProperty;
$staticProperty->setValue(null, null);
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/TaxImportExport/Model/Rate/CsvImportHandlerTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/TaxImportExport/Model/Rate/CsvImportHandlerTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/TaxImportExport/Model/Rate/CsvImportHandlerTest.php 2025-11-24 17:35:28
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/TaxImportExport/Model/Rate/CsvImportHandlerTest.php 2025-11-24 17:34:36
@@ -39,7 +39,7 @@
'US-CA-*-Rate Import Test'
);
$this->assertNotEmpty($importedRuleCA->getId());
- $this->assertEquals(8.25, (double)$importedRuleCA->getRate());
+ $this->assertEquals(8.25, (float)$importedRuleCA->getRate());
$this->assertEquals('US', $importedRuleCA->getTaxCountryId());
$this->assertEquals('*', $importedRuleCA->getTaxPostcode());
@@ -49,7 +49,7 @@
'US-FL-*-Rate Import Test'
);
$this->assertNotEmpty($importedRuleFL->getId());
- $this->assertEquals(15, (double)$importedRuleFL->getRate());
+ $this->assertEquals(15, (float)$importedRuleFL->getRate());
$this->assertEquals('US', $importedRuleFL->getTaxCountryId());
$this->assertNull($importedRuleFL->getTaxPostcode());
}
diff --color -ruN vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Translation/Model/InlineParserTest.php vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Translation/Model/InlineParserTest.php
--- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Translation/Model/InlineParserTest.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Translation/Model/InlineParserTest.php 2025-11-24 17:34:36
@@ -110,12 +110,12 @@
->setAreaCode($area);
$isJsonProperty = new \ReflectionProperty(get_class($this->model), '_isJson');
- $isJsonProperty->setAccessible(true);
+ $isJsonProperty;
$this->assertFalse($isJsonProperty->getValue($this->model));
$setIsJsonMethod = new \ReflectionMethod($this->model, 'setIsJson');
- $setIsJsonMethod->setAccessible(true);
+ $setIsJsonMethod;
$setIsJsonMethod->invoke($this->model, true);
$this->assertTrue($isJsonProperty->getValue($this->model));
diff --color -ruN vendor/magento/magento2-base/dev/tests/setup-integration/framework/Magento/TestFramework/Annotation/CopyModules.php vendor/magento/magento2-base/dev/tests/setup-integration/framework/Magento/TestFramework/Annotation/CopyModules.php
--- vendor/magento/magento2-base/dev/tests/setup-integration/framework/Magento/TestFramework/Annotation/CopyModules.php 2025-11-24 17:35:27
+++ vendor/magento/magento2-base/dev/tests/setup-integration/framework/Magento/TestFramework/Annotation/CopyModules.php 2025-11-24 17:34:38
@@ -91,7 +91,7 @@
{
$reflection = new \ReflectionClass(ComponentRegistrar::class);
$reflectionProperty = $reflection->getProperty('paths');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$value = $reflectionProperty->getValue();
unset($value[ComponentRegistrar::MODULE][$moduleName]);
$reflectionProperty->setValue(null, $value);
diff --color -ruN vendor/magento/magento2-base/setup/src/Magento/Setup/Test/Unit/Console/Command/ModuleEnableDisableCommandTest.php vendor/magento/magento2-base/setup/src/Magento/Setup/Test/Unit/Console/Command/ModuleEnableDisableCommandTest.php
--- vendor/magento/magento2-base/setup/src/Magento/Setup/Test/Unit/Console/Command/ModuleEnableDisableCommandTest.php 2025-11-24 17:35:26
+++ vendor/magento/magento2-base/setup/src/Magento/Setup/Test/Unit/Console/Command/ModuleEnableDisableCommandTest.php 2025-11-24 17:34:38
@@ -331,10 +331,10 @@
$class = $isEnable ? ModuleEnableCommand::class : ModuleDisableCommand::class;
$command = new $class($this->objectManagerProviderMock);
$deploymentConfigProperty = new \ReflectionProperty($class, 'deploymentConfig');
- $deploymentConfigProperty->setAccessible(true);
+ $deploymentConfigProperty;
$deploymentConfigProperty->setValue($command, $this->deploymentConfigMock);
$deploymentConfigProperty = new \ReflectionProperty($class, 'generatedFiles');
- $deploymentConfigProperty->setAccessible(true);
+ $deploymentConfigProperty;
$deploymentConfigProperty->setValue($command, $this->generatedFiles);
return new CommandTester($command);
}
diff --color -ruN vendor/magento/magento2-base/setup/src/Magento/Setup/Test/Unit/Fixtures/CartPriceRulesFixtureTest.php vendor/magento/magento2-base/setup/src/Magento/Setup/Test/Unit/Fixtures/CartPriceRulesFixtureTest.php
--- vendor/magento/magento2-base/setup/src/Magento/Setup/Test/Unit/Fixtures/CartPriceRulesFixtureTest.php 2025-11-24 17:35:26
+++ vendor/magento/magento2-base/setup/src/Magento/Setup/Test/Unit/Fixtures/CartPriceRulesFixtureTest.php 2025-11-24 17:34:38
@@ -164,7 +164,7 @@
{
$reflection = new \ReflectionClass($this->model);
$reflectionProperty = $reflection->getProperty('cartPriceRulesCount');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->model, $ruleCount);
$result = $this->model->generateAdvancedCondition($ruleId, $categoriesArray);
diff --color -ruN vendor/magento/magento2-base/setup/src/Magento/Setup/Test/Unit/Module/I18n/Dictionary/GeneratorTest.php vendor/magento/magento2-base/setup/src/Magento/Setup/Test/Unit/Module/I18n/Dictionary/GeneratorTest.php
--- vendor/magento/magento2-base/setup/src/Magento/Setup/Test/Unit/Module/I18n/Dictionary/GeneratorTest.php 2025-11-24 17:35:26
+++ vendor/magento/magento2-base/setup/src/Magento/Setup/Test/Unit/Module/I18n/Dictionary/GeneratorTest.php 2025-11-24 17:34:38
@@ -102,7 +102,7 @@
->willReturn($optionResolver);
$this->generator->generate('', $outputFilename);
$property = new \ReflectionProperty($this->generator, 'writer');
- $property->setAccessible(true);
+ $property;
$this->assertNull($property->getValue($this->generator));
}
diff --color -ruN vendor/magento/magento2-base/setup/src/Magento/Setup/Test/Unit/Module/I18n/Parser/Adapter/AbstractAdapterTest.php vendor/magento/magento2-base/setup/src/Magento/Setup/Test/Unit/Module/I18n/Parser/Adapter/AbstractAdapterTest.php
--- vendor/magento/magento2-base/setup/src/Magento/Setup/Test/Unit/Module/I18n/Parser/Adapter/AbstractAdapterTest.php 2025-11-24 17:35:26
+++ vendor/magento/magento2-base/setup/src/Magento/Setup/Test/Unit/Module/I18n/Parser/Adapter/AbstractAdapterTest.php 2025-11-24 17:34:38
@@ -38,7 +38,7 @@
AbstractAdapter::class,
'_addPhrase'
);
- $this->_adapterReflection->setAccessible(true);
+ $this->_adapterReflection;
}
public function testParse()
diff --color -ruN vendor/magento/magento2-base/setup/src/Magento/Setup/Test/Unit/Module/I18n/Parser/Adapter/Php/Tokenizer/PhraseCollectorTest.php vendor/magento/magento2-base/setup/src/Magento/Setup/Test/Unit/Module/I18n/Parser/Adapter/Php/Tokenizer/PhraseCollectorTest.php
--- vendor/magento/magento2-base/setup/src/Magento/Setup/Test/Unit/Module/I18n/Parser/Adapter/Php/Tokenizer/PhraseCollectorTest.php 2025-11-24 17:35:26
+++ vendor/magento/magento2-base/setup/src/Magento/Setup/Test/Unit/Module/I18n/Parser/Adapter/Php/Tokenizer/PhraseCollectorTest.php 2025-11-24 17:34:38
@@ -251,7 +251,7 @@
'_collectPhrase'
);
- $reflectionMethod->setAccessible(true);
+ $reflectionMethod;
$this->assertSame($phraseString, $reflectionMethod->invoke($this->phraseCollector, $phraseTokens));
}
}
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Console/BaseGenerateCommandTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Console/BaseGenerateCommandTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Console/BaseGenerateCommandTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Console/BaseGenerateCommandTest.php 2025-11-24 17:34:28
@@ -27,18 +27,18 @@
{
$handler = TestObjectHandler::getInstance();
$testsProperty = new ReflectionProperty(TestObjectHandler::class, 'tests');
- $testsProperty->setAccessible(true);
+ $testsProperty;
$testsProperty->setValue($handler, []);
$testObjectHandlerProperty = new ReflectionProperty(TestObjectHandler::class, 'testObjectHandler');
- $testObjectHandlerProperty->setAccessible(true);
+ $testObjectHandlerProperty;
$testObjectHandlerProperty->setValue(null, $handler);
$handler = SuiteObjectHandler::getInstance();
$suiteObjectsProperty = new ReflectionProperty(SuiteObjectHandler::class, 'suiteObjects');
- $suiteObjectsProperty->setAccessible(true);
+ $suiteObjectsProperty;
$suiteObjectsProperty->setValue($handler, []);
$suiteObjectHandlerProperty = new ReflectionProperty(SuiteObjectHandler::class, 'instance');
- $suiteObjectHandlerProperty->setAccessible(true);
+ $suiteObjectHandlerProperty;
$suiteObjectHandlerProperty->setValue(null, $handler);
}
@@ -212,33 +212,33 @@
// bypass the initTestData method
$testObjectHandlerClass = new ReflectionClass(TestObjectHandler::class);
$constructor = $testObjectHandlerClass->getConstructor();
- $constructor->setAccessible(true);
+ $constructor;
$testObjectHandlerObject = $testObjectHandlerClass->newInstanceWithoutConstructor();
$constructor->invoke($testObjectHandlerObject);
$testObjectHandlerProperty = new ReflectionProperty(TestObjectHandler::class, 'testObjectHandler');
- $testObjectHandlerProperty->setAccessible(true);
+ $testObjectHandlerProperty;
$testObjectHandlerProperty->setValue(null, $testObjectHandlerObject);
$handler = TestObjectHandler::getInstance();
$property = new ReflectionProperty(TestObjectHandler::class, 'tests');
- $property->setAccessible(true);
+ $property;
$property->setValue($handler, $testArray);
// bypass the initTestData method
$suiteObjectHandlerClass = new ReflectionClass(SuiteObjectHandler::class);
$constructor = $suiteObjectHandlerClass->getConstructor();
- $constructor->setAccessible(true);
+ $constructor;
$suiteObjectHandlerObject = $suiteObjectHandlerClass->newInstanceWithoutConstructor();
$constructor->invoke($suiteObjectHandlerObject);
$suiteObjectHandlerProperty = new ReflectionProperty(SuiteObjectHandler::class, 'instance');
- $suiteObjectHandlerProperty->setAccessible(true);
+ $suiteObjectHandlerProperty;
$suiteObjectHandlerProperty->setValue(null, $suiteObjectHandlerObject);
$handler = SuiteObjectHandler::getInstance();
$property = new ReflectionProperty(SuiteObjectHandler::class, 'suiteObjects');
- $property->setAccessible(true);
+ $property;
$property->setValue($handler, $suiteArray);
}
@@ -255,7 +255,7 @@
$command = new BaseGenerateCommand();
$class = new ReflectionClass($command);
$method = $class->getMethod('getTestAndSuiteConfiguration');
- $method->setAccessible(true);
+ $method;
return $method->invokeArgs($command, [$testArray]);
}
@@ -273,7 +273,7 @@
$command = new BaseGenerateCommand();
$class = new ReflectionClass($command);
$method = $class->getMethod('getGroupAndSuiteConfiguration');
- $method->setAccessible(true);
+ $method;
return $method->invokeArgs($command, [$groupArray]);
}
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Console/GenerateTestsCommandTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Console/GenerateTestsCommandTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Console/GenerateTestsCommandTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Console/GenerateTestsCommandTest.php 2025-11-24 17:34:28
@@ -24,7 +24,7 @@
$command = new GenerateTestsCommand();
$class = new \ReflectionClass($command);
$method = $class->getMethod('parseConfigParallelOptions');
- $method->setAccessible(true);
+ $method;
if (is_array($expected)) {
$actual = $method->invokeArgs($command, [$time, $groups]);
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Console/RunTestFailedCommandTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Console/RunTestFailedCommandTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Console/RunTestFailedCommandTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Console/RunTestFailedCommandTest.php 2025-11-24 17:34:28
@@ -47,7 +47,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$method = $reflection->getMethod($methodName);
- $method->setAccessible(true);
+ $method;
return $method->invokeArgs($object, $parameters);
}
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Handlers/DataObjectHandlerTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Handlers/DataObjectHandlerTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Handlers/DataObjectHandlerTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Handlers/DataObjectHandlerTest.php 2025-11-24 17:34:28
@@ -323,7 +323,7 @@
private function mockDataObjectHandlerWithData(array $mockData): void
{
$dataObjectHandlerProperty = new ReflectionProperty(DataObjectHandler::class, "INSTANCE");
- $dataObjectHandlerProperty->setAccessible(true);
+ $dataObjectHandlerProperty;
$dataObjectHandlerProperty->setValue(null, null);
$mockDataProfileSchemaParser = $this->createMock(DataProfileSchemaParser::class);
@@ -354,7 +354,7 @@
);
$property = new ReflectionProperty(ObjectManager::class, 'instance');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $mockObjectManagerInstance);
}
@@ -366,11 +366,11 @@
parent::tearDownAfterClass();
$dataObjectHandlerProperty = new ReflectionProperty(DataObjectHandler::class, "INSTANCE");
- $dataObjectHandlerProperty->setAccessible(true);
+ $dataObjectHandlerProperty;
$dataObjectHandlerProperty->setValue(null, null);
$objectManagerProperty = new ReflectionProperty(ObjectManager::class, 'instance');
- $objectManagerProperty->setAccessible(true);
+ $objectManagerProperty;
$objectManagerProperty->setValue(null, null);
TestLoggingUtil::getInstance()->clearMockLoggingUtil();
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Handlers/OperationDefinitionObjectHandlerTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Handlers/OperationDefinitionObjectHandlerTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Handlers/OperationDefinitionObjectHandlerTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Handlers/OperationDefinitionObjectHandlerTest.php 2025-11-24 17:34:28
@@ -505,7 +505,7 @@
OperationDefinitionObjectHandler::class,
'INSTANCE'
);
- $operationDefinitionObjectHandlerProperty->setAccessible(true);
+ $operationDefinitionObjectHandlerProperty;
$operationDefinitionObjectHandlerProperty->setValue(null, null);
$mockOperationParser = $this->createMock(OperationDefinitionParser::class);
@@ -536,7 +536,7 @@
);
$property = new ReflectionProperty(ObjectManager::class, 'instance');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $mockObjectManagerInstance);
}
@@ -551,11 +551,11 @@
OperationDefinitionObjectHandler::class,
'INSTANCE'
);
- $operationDefinitionObjectHandlerProperty->setAccessible(true);
+ $operationDefinitionObjectHandlerProperty;
$operationDefinitionObjectHandlerProperty->setValue(null, null);
$objectManagerProperty = new ReflectionProperty(ObjectManager::class, 'instance');
- $objectManagerProperty->setAccessible(true);
+ $objectManagerProperty;
$objectManagerProperty->setValue(null, null);
TestLoggingUtil::getInstance()->clearMockLoggingUtil();
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Handlers/PersistedObjectHandlerTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Handlers/PersistedObjectHandlerTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Handlers/PersistedObjectHandlerTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Handlers/PersistedObjectHandlerTest.php 2025-11-24 17:34:28
@@ -533,7 +533,7 @@
public function mockCurlHandler(string $response, array $parserOutput): void
{
$dataObjectHandler = new ReflectionProperty(DataObjectHandler::class, 'INSTANCE');
- $dataObjectHandler->setAccessible(true);
+ $dataObjectHandler;
$dataObjectHandler->setValue(null, null);
$dataProfileSchemaParser = $this->createMock(DataProfileSchemaParser::class);
@@ -573,7 +573,7 @@
);
$objectManagerProperty = new ReflectionProperty(ObjectManager::class, 'instance');
- $objectManagerProperty->setAccessible(true);
+ $objectManagerProperty;
$objectManagerProperty->setValue(null, $objectManagerMockInstance);
}
@@ -588,11 +588,11 @@
// Clear out Singleton between tests
$persistedObjectHandlerProperty = new ReflectionProperty(PersistedObjectHandler::class, "INSTANCE");
- $persistedObjectHandlerProperty->setAccessible(true);
+ $persistedObjectHandlerProperty;
$persistedObjectHandlerProperty->setValue(null, null);
$objectManagerProperty = new ReflectionProperty(ObjectManager::class, 'instance');
- $objectManagerProperty->setAccessible(true);
+ $objectManagerProperty;
$objectManagerProperty->setValue(null, null);
TestLoggingUtil::getInstance()->clearMockLoggingUtil();
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Handlers/SecretStorage/AwsSecretsManagerStorageTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Handlers/SecretStorage/AwsSecretsManagerStorageTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Handlers/SecretStorage/AwsSecretsManagerStorageTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Handlers/SecretStorage/AwsSecretsManagerStorageTest.php 2025-11-24 17:34:28
@@ -47,7 +47,7 @@
$credentialStorage = new AwsSecretsManagerStorage($testRegion, $testProfile);
$reflection = new ReflectionClass($credentialStorage);
$reflection_property = $reflection->getProperty('client');
- $reflection_property->setAccessible(true);
+ $reflection_property;
$reflection_property->setValue($credentialStorage, $mockClient);
// Test getEncryptedValue()
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Handlers/SecretStorage/FileStorageTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Handlers/SecretStorage/FileStorageTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Handlers/SecretStorage/FileStorageTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Handlers/SecretStorage/FileStorageTest.php 2025-11-24 17:34:28
@@ -30,12 +30,12 @@
// Emulate initialize() function result with the test credentials
$reflectionMethod = $reflection->getMethod('encryptCredFileContents');
- $reflectionMethod->setAccessible(true);
+ $reflectionMethod;
$secretData = $reflectionMethod->invokeArgs($fileStorage, [$cred]);
// Set encrypted test credentials to the private 'secretData' property
$reflectionProperty = $reflection->getProperty('secretData');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($fileStorage, $secretData);
$encryptedCred = $fileStorage->getEncryptedValue($testKey);
@@ -66,12 +66,12 @@
// Emulate initialize() function result with the test credentials
$reflectionMethod = $reflection->getMethod('encryptCredFileContents');
- $reflectionMethod->setAccessible(true);
+ $reflectionMethod;
$secretData = $reflectionMethod->invokeArgs($fileStorage, [$cred]);
// Set encrypted test credentials to the private 'secretData' property
$reflectionProperty = $reflection->getProperty('secretData');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($fileStorage, $secretData);
$fileStorage->getEncryptedValue($testKey);
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Persist/OperationDataArrayResolverTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Persist/OperationDataArrayResolverTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Persist/OperationDataArrayResolverTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Persist/OperationDataArrayResolverTest.php 2025-11-24 17:34:28
@@ -552,7 +552,7 @@
}
$property = new ReflectionProperty(DataObjectHandler::class, 'INSTANCE');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $instance);
}
@@ -577,7 +577,7 @@
}
$property = new ReflectionProperty(OperationDefinitionObjectHandler::class, 'INSTANCE');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $instance);
}
}
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Util/DataExtensionUtilTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Util/DataExtensionUtilTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Util/DataExtensionUtilTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Util/DataExtensionUtilTest.php 2025-11-24 17:34:28
@@ -135,7 +135,7 @@
private function setMockEntities($mockEntityData): void
{
$property = new ReflectionProperty(DataObjectHandler::class, 'INSTANCE');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, null);
$mockDataProfileSchemaParser = $this->createMock(DataProfileSchemaParser::class);
@@ -149,7 +149,7 @@
->willReturn($mockDataProfileSchemaParser);
$property = new ReflectionProperty(ObjectManager::class, 'instance');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $mockObjectManager);
}
}
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Page/Handlers/PageObjectHandlerTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Page/Handlers/PageObjectHandlerTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Page/Handlers/PageObjectHandlerTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Page/Handlers/PageObjectHandlerTest.php 2025-11-24 17:34:28
@@ -133,7 +133,7 @@
private function mockPageObjectHandlerWithData(array $mockData): void
{
$pageObjectHandlerProperty = new ReflectionProperty(PageObjectHandler::class, 'INSTANCE');
- $pageObjectHandlerProperty->setAccessible(true);
+ $pageObjectHandlerProperty;
$pageObjectHandlerProperty->setValue(null, null);
$mockSectionParser = $this->createMock(PageParser::class);
@@ -164,7 +164,7 @@
);
$property = new ReflectionProperty(ObjectManager::class, 'instance');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $mockObjectManagerInstance);
}
@@ -176,11 +176,11 @@
parent::tearDownAfterClass();
$pageObjectHandlerProperty = new ReflectionProperty(PageObjectHandler::class, 'INSTANCE');
- $pageObjectHandlerProperty->setAccessible(true);
+ $pageObjectHandlerProperty;
$pageObjectHandlerProperty->setValue(null, null);
$objectManagerProperty = new ReflectionProperty(ObjectManager::class, 'instance');
- $objectManagerProperty->setAccessible(true);
+ $objectManagerProperty;
$objectManagerProperty->setValue(null, null);
TestLoggingUtil::getInstance()->clearMockLoggingUtil();
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Page/Handlers/SectionObjectHandlerTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Page/Handlers/SectionObjectHandlerTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Page/Handlers/SectionObjectHandlerTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Page/Handlers/SectionObjectHandlerTest.php 2025-11-24 17:34:28
@@ -118,7 +118,7 @@
private function mockSectionObjectHandlerWithData(array $mockData): void
{
$sectionObjectHandlerProperty = new ReflectionProperty(SectionObjectHandler::class, "INSTANCE");
- $sectionObjectHandlerProperty->setAccessible(true);
+ $sectionObjectHandlerProperty;
$sectionObjectHandlerProperty->setValue(null, null);
$mockSectionParser = $this->createMock(SectionParser::class);
@@ -149,7 +149,7 @@
);
$property = new ReflectionProperty(ObjectManager::class, 'instance');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $mockObjectManagerInstance);
}
@@ -161,11 +161,11 @@
parent::tearDownAfterClass();
$sectionObjectHandlerProperty = new ReflectionProperty(SectionObjectHandler::class, "INSTANCE");
- $sectionObjectHandlerProperty->setAccessible(true);
+ $sectionObjectHandlerProperty;
$sectionObjectHandlerProperty->setValue(null, null);
$objectManagerProperty = new ReflectionProperty(ObjectManager::class, 'instance');
- $objectManagerProperty->setAccessible(true);
+ $objectManagerProperty;
$objectManagerProperty->setValue(null, null);
TestLoggingUtil::getInstance()->clearMockLoggingUtil();
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/StaticCheck/AnnotationsCheckTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/StaticCheck/AnnotationsCheckTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/StaticCheck/AnnotationsCheckTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/StaticCheck/AnnotationsCheckTest.php 2025-11-24 17:34:28
@@ -56,7 +56,7 @@
$test->expects($this->once())->method('getAnnotations')->willReturn($annotations);
$validateRequiredAnnotations = $this->staticCheckClass->getMethod('validateRequiredAnnotations');
- $validateRequiredAnnotations->setAccessible(true);
+ $validateRequiredAnnotations;
$validateRequiredAnnotations->invoke($this->staticCheck, $test);
$this->assertEquals($expected, $this->staticCheck->getErrors());
@@ -98,7 +98,7 @@
$test->expects($this->once())->method('getName')->willReturn('AnnotationsCheckTest');
$validateRequiredAnnotations = $this->staticCheckClass->getMethod('validateRequiredAnnotations');
- $validateRequiredAnnotations->setAccessible(true);
+ $validateRequiredAnnotations;
$validateRequiredAnnotations->invoke($this->staticCheck, $test);
$this->assertEquals($expected, $this->staticCheck->getErrors());
@@ -135,7 +135,7 @@
$test->expects($this->once())->method('getName')->willReturn('AnnotationsCheckTest');
$validateRequiredAnnotations = $this->staticCheckClass->getMethod('validateRequiredAnnotations');
- $validateRequiredAnnotations->setAccessible(true);
+ $validateRequiredAnnotations;
$validateRequiredAnnotations->invoke($this->staticCheck, $test);
$this->assertEquals($expected, $this->staticCheck->getErrors());
@@ -176,7 +176,7 @@
$test->expects($this->once())->method('getName')->willReturn('AnnotationsCheckTest');
$validateRequiredAnnotations = $this->staticCheckClass->getMethod('validateRequiredAnnotations');
- $validateRequiredAnnotations->setAccessible(true);
+ $validateRequiredAnnotations;
$validateRequiredAnnotations->invoke($this->staticCheck, $test);
$this->assertEquals($expected, $this->staticCheck->getErrors());
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/StaticCheck/DeprecatedEntityUsageCheckTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/StaticCheck/DeprecatedEntityUsageCheckTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/StaticCheck/DeprecatedEntityUsageCheckTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/StaticCheck/DeprecatedEntityUsageCheckTest.php 2025-11-24 17:34:28
@@ -61,7 +61,7 @@
->willReturn('/invalidPath');
$loadAllXmlFiles = $this->staticCheckClass->getMethod('loadAllXMLFiles');
- $loadAllXmlFiles->setAccessible(true);
+ $loadAllXmlFiles;
$this->expectException(InvalidArgumentException::class);
$loadAllXmlFiles->invoke($this->staticCheck, $input);
@@ -255,7 +255,7 @@
]
];
$property = $this->staticCheckClass->getMethod('findViolatingMetadataReferences');
- $property->setAccessible(true);
+ $property;
$actual = $property->invoke($this->staticCheck, $references);
$this->assertEquals($actual, $expected);
}
@@ -278,7 +278,7 @@
';
$property = $this->staticCheckClass->getMethod('isDeprecated');
- $property->setAccessible(true);
+ $property;
$output = $property->invoke($this->staticCheck, $contents);
$this->assertTrue($output);
}
@@ -296,7 +296,7 @@
OperationDefinitionObjectHandler::class,
'INSTANCE'
);
- $operationDefinitionObjectHandlerProperty->setAccessible(true);
+ $operationDefinitionObjectHandlerProperty;
$operationDefinitionObjectHandlerProperty->setValue(null, null);
$mockOperationParser = $this->createMock(OperationDefinitionParser::class);
@@ -327,7 +327,7 @@
);
$property = new ReflectionProperty(ObjectManager::class, 'instance');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $mockObjectManagerInstance);
}
@@ -342,11 +342,11 @@
OperationDefinitionObjectHandler::class,
'INSTANCE'
);
- $operationDefinitionObjectHandlerProperty->setAccessible(true);
+ $operationDefinitionObjectHandlerProperty;
$operationDefinitionObjectHandlerProperty->setValue(null, null);
$objectManagerProperty = new ReflectionProperty(ObjectManager::class, 'instance');
- $objectManagerProperty->setAccessible(true);
+ $objectManagerProperty;
$objectManagerProperty->setValue(null, null);
}
@@ -361,7 +361,7 @@
public function callViolatingReferences(array $references)
{
$property = $this->staticCheckClass->getMethod('findViolatingReferences');
- $property->setAccessible(true);
+ $property;
return $property->invoke($this->staticCheck, $references);
}
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Suite/Handlers/SuiteObjectHandlerTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Suite/Handlers/SuiteObjectHandlerTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Suite/Handlers/SuiteObjectHandlerTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Suite/Handlers/SuiteObjectHandlerTest.php 2025-11-24 17:34:28
@@ -89,12 +89,12 @@
{
// clear test object handler value to inject parsed content
$property = new ReflectionProperty(TestObjectHandler::class, 'testObjectHandler');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, null);
// clear suite object handler value to inject parsed content
$property = new ReflectionProperty(SuiteObjectHandler::class, 'instance');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, null);
$mockDataParser = $this->createMock(TestDataParser::class);
@@ -127,7 +127,7 @@
);
$property = new ReflectionProperty(ObjectManager::class, 'instance');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $instance);
}
}
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Suite/SuiteGeneratorTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Suite/SuiteGeneratorTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Suite/SuiteGeneratorTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Suite/SuiteGeneratorTest.php 2025-11-24 17:34:28
@@ -368,7 +368,7 @@
->will($this->returnCallback($mockVoidReturnCallback));
$suiteGeneratorServiceProperty = new ReflectionProperty(SuiteGeneratorService::class, 'INSTANCE');
- $suiteGeneratorServiceProperty->setAccessible(true);
+ $suiteGeneratorServiceProperty;
$suiteGeneratorServiceProperty->setValue(null, $mockSuiteGeneratorService);
$mockDataParser = $this->createMock(TestDataParser::class);
@@ -417,7 +417,7 @@
);
$objectManagerProperty = new ReflectionProperty(ObjectManager::class, 'instance');
- $objectManagerProperty->setAccessible(true);
+ $objectManagerProperty;
$objectManagerProperty->setValue(null, $objectManagerMockInstance);
}
@@ -429,17 +429,17 @@
private function clearMockResolverProperties(): void
{
$property = new ReflectionProperty(SuiteGenerator::class, 'instance');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, null);
// clear test object handler value to inject parsed content
$property = new ReflectionProperty(TestObjectHandler::class, 'testObjectHandler');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, null);
// clear suite object handler value to inject parsed content
$property = new ReflectionProperty(SuiteObjectHandler::class, 'instance');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, null);
}
@@ -459,11 +459,11 @@
parent::tearDownAfterClass();
$objectManagerProperty = new ReflectionProperty(ObjectManager::class, 'instance');
- $objectManagerProperty->setAccessible(true);
+ $objectManagerProperty;
$objectManagerProperty->setValue(null, null);
$suiteGeneratorServiceProperty = new ReflectionProperty(SuiteGeneratorService::class, 'INSTANCE');
- $suiteGeneratorServiceProperty->setAccessible(true);
+ $suiteGeneratorServiceProperty;
$suiteGeneratorServiceProperty->setValue(null, null);
TestLoggingUtil::getInstance()->clearMockLoggingUtil();
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Test/Handlers/ActionGroupObjectHandlerTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Test/Handlers/ActionGroupObjectHandlerTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Test/Handlers/ActionGroupObjectHandlerTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Test/Handlers/ActionGroupObjectHandlerTest.php 2025-11-24 17:34:28
@@ -100,7 +100,7 @@
private function mockActionGroupObjectHandlerWithData(array $mockData): void
{
$actionGroupObjectHandlerProperty = new ReflectionProperty(ActionGroupObjectHandler::class, 'instance');
- $actionGroupObjectHandlerProperty->setAccessible(true);
+ $actionGroupObjectHandlerProperty;
$actionGroupObjectHandlerProperty->setValue(null, null);
$mockOperationParser = $this->createMock(ActionGroupDataParser::class);
@@ -130,7 +130,7 @@
);
$property = new ReflectionProperty(ObjectManager::class, 'instance');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $mockObjectManagerInstance);
}
@@ -142,11 +142,11 @@
parent::tearDownAfterClass();
$actionGroupObjectHandlerProperty = new ReflectionProperty(ActionGroupObjectHandler::class, 'instance');
- $actionGroupObjectHandlerProperty->setAccessible(true);
+ $actionGroupObjectHandlerProperty;
$actionGroupObjectHandlerProperty->setValue(null, null);
$objectManagerProperty = new ReflectionProperty(ObjectManager::class, 'instance');
- $objectManagerProperty->setAccessible(true);
+ $objectManagerProperty;
$objectManagerProperty->setValue(null, null);
}
}
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Test/Handlers/TestObjectHandlerTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Test/Handlers/TestObjectHandlerTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Test/Handlers/TestObjectHandlerTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Test/Handlers/TestObjectHandlerTest.php 2025-11-24 17:34:28
@@ -392,7 +392,7 @@
}
// clear test object handler value to inject parsed content
$property = new ReflectionProperty(TestObjectHandler::class, 'testObjectHandler');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, null);
$mockDataParser = $this->createMock(TestDataParser::class);
@@ -441,12 +441,12 @@
);
$objectManagerProperty = new ReflectionProperty(ObjectManager::class, 'instance');
- $objectManagerProperty->setAccessible(true);
+ $objectManagerProperty;
$objectManagerProperty->setValue(null, $objectManagerMockInstance);
$resolver = ModuleResolver::getInstance();
$property = new ReflectionProperty(ModuleResolver::class, 'enabledModuleNameAndPaths');
- $property->setAccessible(true);
+ $property;
$property->setValue($resolver, $paths);
}
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Test/Objects/ActionGroupObjectTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Test/Objects/ActionGroupObjectTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Test/Objects/ActionGroupObjectTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Test/Objects/ActionGroupObjectTest.php 2025-11-24 17:34:28
@@ -228,7 +228,7 @@
->willReturn($section);
// bypass the private constructor
$property = new ReflectionProperty(SectionObjectHandler::class, 'INSTANCE');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $sectionInstance);
$actionGroupUnderTest = (new ActionGroupObjectBuilder())
@@ -282,7 +282,7 @@
->willReturn($section);
// bypass the private constructor
$property = new ReflectionProperty(SectionObjectHandler::class, 'INSTANCE');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $sectionInstance);
$actionGroupUnderTest = (new ActionGroupObjectBuilder())
@@ -455,7 +455,7 @@
}
// bypass the private constructor
$property = new ReflectionProperty(DataObjectHandler::class, 'INSTANCE');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $instance);
}
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Test/Objects/ActionObjectTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Test/Objects/ActionObjectTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Test/Objects/ActionObjectTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Test/Objects/ActionObjectTest.php 2025-11-24 17:34:28
@@ -261,7 +261,7 @@
->willReturn($pageObject);
// bypass the private constructor
$property = new ReflectionProperty(PageObjectHandler::class, 'INSTANCE');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $instance);
// Call the method under test
@@ -300,7 +300,7 @@
->willReturn($pageObjectList);
// bypass the private constructor
$property = new ReflectionProperty(PageObjectHandler::class, 'INSTANCE');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $instance);
// Call the method under test
@@ -477,7 +477,7 @@
->willReturn($sectionObject);
// bypass the private constructor
$property = new ReflectionProperty(SectionObjectHandler::class, 'INSTANCE');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $instance);
}
@@ -497,7 +497,7 @@
->willReturn($dataObject);
// bypass the private constructor
$property = new ReflectionProperty(DataObjectHandler::class, 'INSTANCE');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $dataInstance);
}
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Test/Util/ActionMergeUtilTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Test/Util/ActionMergeUtilTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Test/Util/ActionMergeUtilTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Test/Util/ActionMergeUtilTest.php 2025-11-24 17:34:28
@@ -122,7 +122,7 @@
->method('getObject')
->willReturn($mockDataObject);
$property = new ReflectionProperty(DataObjectHandler::class, 'INSTANCE');
- $property->setAccessible(true);
+ $property;
$property->setValue($mockDOHInstance, $mockDOHInstance);
// Create test object and action object
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Test/Util/ObjectExtensionUtilTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Test/Util/ObjectExtensionUtilTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Test/Util/ObjectExtensionUtilTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Test/Util/ObjectExtensionUtilTest.php 2025-11-24 17:34:28
@@ -406,12 +406,12 @@
{
// clear test object handler value to inject parsed content
$property = new ReflectionProperty(TestObjectHandler::class, 'testObjectHandler');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, null);
// clear test object handler value to inject parsed content
$property = new ReflectionProperty(ActionGroupObjectHandler::class, 'instance');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, null);
$mockDataParser = $this->createMock(TestDataParser::class);
@@ -444,7 +444,7 @@
);
// clear object manager value to inject expected instance
$property = new ReflectionProperty(ObjectManager::class, 'instance');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $instance);
}
}
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Util/ComposerModuleResolverTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Util/ComposerModuleResolverTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Util/ComposerModuleResolverTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Util/ComposerModuleResolverTest.php 2025-11-24 17:34:28
@@ -70,7 +70,7 @@
$composer = new ComposerModuleResolver();
$class = new ReflectionClass($composer);
$method = $class->getMethod('findComposerJsonFilesAtDepth');
- $method->setAccessible(true);
+ $method;
$output = $method->invoke($composer, $dir, $depth);
$this->assertEquals($expected, $output);
}
@@ -88,7 +88,7 @@
$composer = new ComposerModuleResolver();
$class = new ReflectionClass($composer);
$method = $class->getMethod('findAllComposerJsonFiles');
- $method->setAccessible(true);
+ $method;
$output = $method->invoke($composer, $dir);
$this->assertEquals($expected, $output);
}
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Util/GenerationErrorHandlerTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Util/GenerationErrorHandlerTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Util/GenerationErrorHandlerTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Util/GenerationErrorHandlerTest.php 2025-11-24 17:34:28
@@ -242,7 +242,7 @@
$handler->reset();
$property = new ReflectionProperty(GenerationErrorHandler::class, 'errors');
- $property->setAccessible(true);
+ $property;
$property->setValue($handler, $errors);
// Assert getAllErrorMessages
@@ -339,7 +339,7 @@
public function tearDown(): void
{
$property = new ReflectionProperty(GenerationErrorHandler::class, 'instance');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, null);
}
}
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Util/ModulePathExtractorTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Util/ModulePathExtractorTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Util/ModulePathExtractorTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Util/ModulePathExtractorTest.php 2025-11-24 17:34:28
@@ -158,12 +158,12 @@
);
$objectManagerProperty = new ReflectionProperty(ObjectManager::class, 'instance');
- $objectManagerProperty->setAccessible(true);
+ $objectManagerProperty;
$objectManagerProperty->setValue(null, $objectManagerMockInstance);
$resolver = ModuleResolver::getInstance();
$property = new ReflectionProperty(ModuleResolver::class, 'enabledModuleNameAndPaths');
- $property->setAccessible(true);
+ $property;
$property->setValue($resolver, $paths);
}
}
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Util/ModuleResolverTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Util/ModuleResolverTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Util/ModuleResolverTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Util/ModuleResolverTest.php 2025-11-24 17:34:28
@@ -38,11 +38,11 @@
TestLoggingUtil::getInstance()->clearMockLoggingUtil();
$moduleResolverServiceInstance = new ReflectionProperty(ModuleResolverService::class, 'INSTANCE');
- $moduleResolverServiceInstance->setAccessible(true);
+ $moduleResolverServiceInstance;
$moduleResolverServiceInstance->setValue(null, null);
$mftfAppConfigInstance = new ReflectionProperty(MftfApplicationConfig::class, 'MFTF_APPLICATION_CONTEXT');
- $mftfAppConfigInstance->setAccessible(true);
+ $mftfAppConfigInstance;
$mftfAppConfigInstance->setValue(null, null);
}
@@ -150,7 +150,7 @@
{
// clear test object handler value to inject parsed content
$property = new ReflectionProperty(ModuleResolver::class, 'instance');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, null);
$this->mockForceGenerate(false);
@@ -900,15 +900,15 @@
$mockBlockList = []
): void {
$property = new ReflectionProperty(ModuleResolver::class, 'enabledModulePaths');
- $property->setAccessible(true);
+ $property;
$property->setValue($instance, $mockPaths);
$property = new ReflectionProperty(ModuleResolver::class, 'enabledModules');
- $property->setAccessible(true);
+ $property;
$property->setValue($instance, $mockModules);
$property = new ReflectionProperty(ModuleResolver::class, 'moduleBlocklist');
- $property->setAccessible(true);
+ $property;
$property->setValue($instance, $mockBlockList);
}
@@ -922,7 +922,7 @@
private function setMockResolverCreatorProperties(?MockObject $moduleResolverService): void
{
$property = new ReflectionProperty(ModuleResolverService::class, 'INSTANCE');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $moduleResolverService);
}
@@ -941,7 +941,7 @@
->willReturn($forceGenerate);
$property = new ReflectionProperty(MftfApplicationConfig::class, 'MFTF_APPLICATION_CONTEXT');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $mockConfig);
}
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Util/Sorter/ParallelGroupSorterTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Util/Sorter/ParallelGroupSorterTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Util/Sorter/ParallelGroupSorterTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Util/Sorter/ParallelGroupSorterTest.php 2025-11-24 17:34:28
@@ -495,7 +495,7 @@
public static function tearDownAfterClass(): void
{
$instanceProperty = new ReflectionProperty(TestObjectHandler::class, 'testObjectHandler');
- $instanceProperty->setAccessible(true);
+ $instanceProperty;
$instanceProperty->setValue(null, null);
}
@@ -527,7 +527,7 @@
->willReturn($mockTest1);
$instanceProperty = new ReflectionProperty(TestObjectHandler::class, 'testObjectHandler');
- $instanceProperty->setAccessible(true);
+ $instanceProperty;
$instanceProperty->setValue($mockHandler, $mockHandler);
}
}
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Util/TestGeneratorTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Util/TestGeneratorTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Util/TestGeneratorTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Magento/FunctionalTestFramework/Util/TestGeneratorTest.php 2025-11-24 17:34:28
@@ -36,11 +36,11 @@
parent::setUpBeforeClass();
$property = new ReflectionProperty(ObjectManager::class, 'instance');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, null);
$property = new ReflectionProperty(ModuleResolver::class, 'instance');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, null);
}
@@ -205,7 +205,7 @@
->willReturn(true);
$property = new ReflectionProperty(MftfApplicationConfig::class, 'MFTF_APPLICATION_CONTEXT');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $mockConfig);
$actionInput = 'fakeInput';
@@ -250,7 +250,7 @@
->willReturn($fileList);
$property = new ReflectionProperty(MftfApplicationConfig::class, 'MFTF_APPLICATION_CONTEXT');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $mockConfig);
$actionInput = 'fakeInput';
@@ -289,7 +289,7 @@
);
$property = new ReflectionProperty(CestFileCreatorUtil::class, 'INSTANCE');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $cestFileCreatorUtil);
$testGeneratorObject = TestGenerator::getInstance('', ['sampleTest' => $test1, 'test2' => $test2]);
@@ -413,7 +413,7 @@
->willReturn($fileList);
$property = new ReflectionProperty(MftfApplicationConfig::class, 'MFTF_APPLICATION_CONTEXT');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $mockConfig);
$actionInput = 'fakeInput';
@@ -452,7 +452,7 @@
);
$property = new ReflectionProperty(CestFileCreatorUtil::class, 'INSTANCE');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $cestFileCreatorUtil);
$testGeneratorObject = TestGenerator::getInstance('', ['sampleTest' => $test1, 'test2' => $test2]);
@@ -478,7 +478,7 @@
->willReturn($fileList);
$property = new ReflectionProperty(MftfApplicationConfig::class, 'MFTF_APPLICATION_CONTEXT');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $mockConfig);
$actionInput = 'fakeInput';
@@ -517,7 +517,7 @@
);
$property = new ReflectionProperty(CestFileCreatorUtil::class, 'INSTANCE');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $cestFileCreatorUtil);
$testGeneratorObject = TestGenerator::getInstance('', ['sampleTest' => $test1, 'test2' => $test2]);
@@ -536,15 +536,15 @@
parent::tearDownAfterClass();
$cestFileCreatorUtilInstance = new ReflectionProperty(CestFileCreatorUtil::class, 'INSTANCE');
- $cestFileCreatorUtilInstance->setAccessible(true);
+ $cestFileCreatorUtilInstance;
$cestFileCreatorUtilInstance->setValue(null, null);
$mftfAppConfigInstance = new ReflectionProperty(MftfApplicationConfig::class, 'MFTF_APPLICATION_CONTEXT');
- $mftfAppConfigInstance->setAccessible(true);
+ $mftfAppConfigInstance;
$mftfAppConfigInstance->setValue(null, null);
$property = new ReflectionProperty(TestObjectHandler::class, 'testObjectHandler');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, null);
}
@@ -555,12 +555,12 @@
{
$testObjectHandlerClass = new ReflectionClass(TestObjectHandler::class);
$testObjectHandlerConstructor = $testObjectHandlerClass->getConstructor();
- $testObjectHandlerConstructor->setAccessible(true);
+ $testObjectHandlerConstructor;
$testObjectHandler = $testObjectHandlerClass->newInstanceWithoutConstructor();
$testObjectHandlerConstructor->invoke($testObjectHandler);
$property = new ReflectionProperty(TestObjectHandler::class, 'testObjectHandler');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $testObjectHandler);
}
}
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Util/TestLoggingUtil.php vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Util/TestLoggingUtil.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Util/TestLoggingUtil.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/unit/Util/TestLoggingUtil.php 2025-11-24 17:34:28
@@ -64,7 +64,7 @@
->willReturn($testLogger);
$property = new ReflectionProperty(LoggingUtil::class, 'instance');
- $property->setAccessible(true);
+ $property;
$property->setValue(null, $mockLoggingUtil);
}
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/verification/Tests/ResilientGenerationTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/verification/Tests/ResilientGenerationTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/verification/Tests/ResilientGenerationTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/verification/Tests/ResilientGenerationTest.php 2025-11-24 17:34:28
@@ -75,19 +75,19 @@
TestLoggingUtil::getInstance()->setMockLoggingUtil();
$property = new \ReflectionProperty(SuiteGenerator::class, "instance");
- $property->setAccessible(true);
+ $property;
$property->setValue(null, null);
$property = new \ReflectionProperty(DirSetupUtil::class, "DIR_CONTEXT");
- $property->setAccessible(true);
+ $property;
$property->setValue(null, []);
$property = new \ReflectionProperty(SuiteObjectHandler::class, "instance");
- $property->setAccessible(true);
+ $property;
$property->setValue(null, null);
$property = new \ReflectionProperty(TestObjectHandler::class, "testObjectHandler");
- $property->setAccessible(true);
+ $property;
$property->setValue(null, null);
}
@@ -260,19 +260,19 @@
);
$property = new \ReflectionProperty(SuiteGenerator::class, "instance");
- $property->setAccessible(true);
+ $property;
$property->setValue(null, null);
$property = new \ReflectionProperty(DirSetupUtil::class, "DIR_CONTEXT");
- $property->setAccessible(true);
+ $property;
$property->setValue(null, []);
$property = new \ReflectionProperty(SuiteObjectHandler::class, "instance");
- $property->setAccessible(true);
+ $property;
$property->setValue(null, null);
$property = new \ReflectionProperty(TestObjectHandler::class, "testObjectHandler");
- $property->setAccessible(true);
+ $property;
$property->setValue(null, null);
}
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/verification/Tests/SchemaValidationTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/verification/Tests/SchemaValidationTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/verification/Tests/SchemaValidationTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/verification/Tests/SchemaValidationTest.php 2025-11-24 17:34:28
@@ -21,7 +21,7 @@
{
$config = MftfApplicationConfig::getConfig();
$property = new ReflectionProperty(MftfApplicationConfig::class, 'debugLevel');
- $property->setAccessible(true);
+ $property;
$property->setValue($config, MftfApplicationConfig::LEVEL_DEVELOPER);
$testFile = ['testFile.xml' => "<tests><test name='testName'><annotations>a</annotations></test></tests>"];
@@ -42,7 +42,7 @@
{
$config = MftfApplicationConfig::getConfig();
$property = new ReflectionProperty(MftfApplicationConfig::class, 'debugLevel');
- $property->setAccessible(true);
+ $property;
$property->setValue($config, MftfApplicationConfig::LEVEL_DEFAULT);
}
}
diff --color -ruN vendor/magento/magento2-functional-testing-framework/dev/tests/verification/Tests/SuiteGenerationTest.php vendor/magento/magento2-functional-testing-framework/dev/tests/verification/Tests/SuiteGenerationTest.php
--- vendor/magento/magento2-functional-testing-framework/dev/tests/verification/Tests/SuiteGenerationTest.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/dev/tests/verification/Tests/SuiteGenerationTest.php 2025-11-24 17:34:28
@@ -492,7 +492,7 @@
);
$property = new \ReflectionProperty(DirSetupUtil::class, "DIR_CONTEXT");
- $property->setAccessible(true);
+ $property;
$property->setValue(null, []);
}
diff --color -ruN vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Config/Converter.php vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Config/Converter.php
--- vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Config/Converter.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Config/Converter.php 2025-11-24 17:34:27
@@ -209,7 +209,7 @@
if (preg_match('/^\d+$/', $nodeValue)) {
$nodeValue = (int) $nodeValue;
} else {
- $nodeValue = (double) $nodeValue;
+ $nodeValue = (float) $nodeValue;
}
}
diff --color -ruN vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/DataGenerator/Persist/OperationDataArrayResolver.php vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/DataGenerator/Persist/OperationDataArrayResolver.php
--- vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/DataGenerator/Persist/OperationDataArrayResolver.php 2025-11-24 17:35:36
+++ vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/DataGenerator/Persist/OperationDataArrayResolver.php 2025-11-24 17:34:27
@@ -367,13 +367,13 @@
case 'string':
break;
case 'integer':
- $newVal = (integer)$value;
+ $newVal = (int)$value;
break;
case 'boolean':
if (strtolower($newVal) === 'false') {
return false;
}
- $newVal = (boolean)$value;
+ $newVal = (bool)$value;
break;
case 'number':
$newVal = (float)$value;
diff --color -ruN vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/DataTransport/Protocol/CurlTransport.php vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/DataTransport/Protocol/CurlTransport.php
--- vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/DataTransport/Protocol/CurlTransport.php 2025-11-24 17:35:26
+++ vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/DataTransport/Protocol/CurlTransport.php 2025-11-24 17:34:27
@@ -191,7 +191,6 @@
{
if (version_compare(PHP_VERSION, '8.0') < 0) {
// this function no longer has an effect in PHP 8.0, but it's required in earlier versions
- curl_close($this->getResource());
}
$this->resource = null;
}
diff --color -ruN vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Extension/TestContextExtension.php vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Extension/TestContextExtension.php
--- vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Extension/TestContextExtension.php 2025-11-24 17:35:26
+++ vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Extension/TestContextExtension.php 2025-11-24 17:34:27
@@ -109,7 +109,6 @@
curl_exec($cURLConnection);
if (version_compare(PHP_VERSION, '8.0') < 0) {
// this function no longer has an effect in PHP 8.0, but it's required in earlier versions
- curl_close($cURLConnection);
}
}
diff --color -ruN vendor/magento/module-advanced-pricing-import-export/Test/Unit/Model/Export/AdvancedPricingTest.php vendor/magento/module-advanced-pricing-import-export/Test/Unit/Model/Export/AdvancedPricingTest.php
--- vendor/magento/module-advanced-pricing-import-export/Test/Unit/Model/Export/AdvancedPricingTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-advanced-pricing-import-export/Test/Unit/Model/Export/AdvancedPricingTest.php 2025-11-24 17:34:32
@@ -382,7 +382,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
return $reflectionProperty->getValue($object);
}
@@ -399,7 +399,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($object, $value);
return $object;
}
diff --color -ruN vendor/magento/module-advanced-pricing-import-export/Test/Unit/Model/Import/AdvancedPricing/Validator/TierPriceTest.php vendor/magento/module-advanced-pricing-import-export/Test/Unit/Model/Import/AdvancedPricing/Validator/TierPriceTest.php
--- vendor/magento/module-advanced-pricing-import-export/Test/Unit/Model/Import/AdvancedPricing/Validator/TierPriceTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-advanced-pricing-import-export/Test/Unit/Model/Import/AdvancedPricing/Validator/TierPriceTest.php 2025-11-24 17:34:32
@@ -367,7 +367,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
return $reflectionProperty->getValue($object);
}
@@ -385,7 +385,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($object, $value);
return $object;
diff --color -ruN vendor/magento/module-advanced-pricing-import-export/Test/Unit/Model/Import/AdvancedPricingTest.php vendor/magento/module-advanced-pricing-import-export/Test/Unit/Model/Import/AdvancedPricingTest.php
--- vendor/magento/module-advanced-pricing-import-export/Test/Unit/Model/Import/AdvancedPricingTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-advanced-pricing-import-export/Test/Unit/Model/Import/AdvancedPricingTest.php 2025-11-24 17:34:32
@@ -1072,7 +1072,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
return $reflectionProperty->getValue($object);
}
@@ -1091,7 +1091,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($object, $value);
return $object;
@@ -1111,7 +1111,7 @@
{
$class = new \ReflectionClass(\Magento\AdvancedPricingImportExport\Model\Import\AdvancedPricing::class);
$method = $class->getMethod($method);
- $method->setAccessible(true);
+ $method;
return $method->invokeArgs($object, $args);
}
@@ -1163,7 +1163,7 @@
->getMock();
$reflection = new \ReflectionClass(\Magento\AdvancedPricingImportExport\Model\Import\AdvancedPricing::class);
$reflectionProperty = $reflection->getProperty('metadataPool');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($advancedPricingMock, $metadataPoolMock);
return $advancedPricingMock;
diff --color -ruN vendor/magento/module-analytics/Test/Unit/Block/Adminhtml/System/Config/AdditionalCommentTest.php vendor/magento/module-analytics/Test/Unit/Block/Adminhtml/System/Config/AdditionalCommentTest.php
--- vendor/magento/module-analytics/Test/Unit/Block/Adminhtml/System/Config/AdditionalCommentTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-analytics/Test/Unit/Block/Adminhtml/System/Config/AdditionalCommentTest.php 2025-11-24 17:34:34
@@ -50,7 +50,7 @@
$escaper = $objectManager->getObject(Escaper::class);
$reflection = new \ReflectionClass($this->abstractElementMock);
$reflection_property = $reflection->getProperty('_escaper');
- $reflection_property->setAccessible(true);
+ $reflection_property;
$reflection_property->setValue($this->abstractElementMock, $escaper);
$this->abstractElementMock->setEscaper($escaper);
diff --color -ruN vendor/magento/module-analytics/Test/Unit/Block/Adminhtml/System/Config/CollectionTimeLabelTest.php vendor/magento/module-analytics/Test/Unit/Block/Adminhtml/System/Config/CollectionTimeLabelTest.php
--- vendor/magento/module-analytics/Test/Unit/Block/Adminhtml/System/Config/CollectionTimeLabelTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-analytics/Test/Unit/Block/Adminhtml/System/Config/CollectionTimeLabelTest.php 2025-11-24 17:34:34
@@ -69,7 +69,7 @@
$escaper = $objectManager->getObject(Escaper::class);
$reflection = new \ReflectionClass($this->abstractElementMock);
$reflection_property = $reflection->getProperty('_escaper');
- $reflection_property->setAccessible(true);
+ $reflection_property;
$reflection_property->setValue($this->abstractElementMock, $escaper);
$this->contextMock = $this->getMockBuilder(Context::class)
diff --color -ruN vendor/magento/module-analytics/Test/Unit/Block/Adminhtml/System/Config/SubscriptionStatusLabelTest.php vendor/magento/module-analytics/Test/Unit/Block/Adminhtml/System/Config/SubscriptionStatusLabelTest.php
--- vendor/magento/module-analytics/Test/Unit/Block/Adminhtml/System/Config/SubscriptionStatusLabelTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-analytics/Test/Unit/Block/Adminhtml/System/Config/SubscriptionStatusLabelTest.php 2025-11-24 17:34:34
@@ -58,7 +58,7 @@
$escaper = $objectManager->getObject(Escaper::class);
$reflection = new \ReflectionClass($this->abstractElementMock);
$reflection_property = $reflection->getProperty('_escaper');
- $reflection_property->setAccessible(true);
+ $reflection_property;
$reflection_property->setValue($this->abstractElementMock, $escaper);
$this->formMock = $this->createMock(Form::class);
diff --color -ruN vendor/magento/module-analytics/Test/Unit/Block/Adminhtml/System/Config/VerticalTest.php vendor/magento/module-analytics/Test/Unit/Block/Adminhtml/System/Config/VerticalTest.php
--- vendor/magento/module-analytics/Test/Unit/Block/Adminhtml/System/Config/VerticalTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-analytics/Test/Unit/Block/Adminhtml/System/Config/VerticalTest.php 2025-11-24 17:34:34
@@ -50,7 +50,7 @@
$escaper = $objectManager->getObject(Escaper::class);
$reflection = new \ReflectionClass($this->abstractElementMock);
$reflection_property = $reflection->getProperty('_escaper');
- $reflection_property->setAccessible(true);
+ $reflection_property;
$reflection_property->setValue($this->abstractElementMock, $escaper);
$this->contextMock = $this->createMock(Context::class);
diff --color -ruN vendor/magento/module-authorization/Test/Unit/Model/CompositeUserContextTest.php vendor/magento/module-authorization/Test/Unit/Model/CompositeUserContextTest.php
--- vendor/magento/module-authorization/Test/Unit/Model/CompositeUserContextTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-authorization/Test/Unit/Model/CompositeUserContextTest.php 2025-11-24 17:34:25
@@ -188,7 +188,7 @@
CompositeUserContext::class,
'userContexts'
);
- $userContext->setAccessible(true);
+ $userContext;
$values = $userContext->getValue($model);
$this->assertCount(1, $values, 'User context is not registered.');
$this->assertEquals($userContextMock, $values[0], 'User context is registered incorrectly.');
diff --color -ruN vendor/magento/module-aws-s3/Test/Unit/Driver/AwsS3FactoryTest.php vendor/magento/module-aws-s3/Test/Unit/Driver/AwsS3FactoryTest.php
--- vendor/magento/module-aws-s3/Test/Unit/Driver/AwsS3FactoryTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-aws-s3/Test/Unit/Driver/AwsS3FactoryTest.php 2025-11-24 17:34:30
@@ -123,7 +123,7 @@
AwsS3Factory::class,
'prepareConfig'
);
- $method->setAccessible(true);
+ $method;
return $method->invokeArgs($this->factory, [$config]);
}
diff --color -ruN vendor/magento/module-backend/Block/Dashboard/Graph.php vendor/magento/module-backend/Block/Dashboard/Graph.php
--- vendor/magento/module-backend/Block/Dashboard/Graph.php 2025-11-24 17:35:36
+++ vendor/magento/module-backend/Block/Dashboard/Graph.php 2025-11-24 17:34:34
@@ -244,7 +244,7 @@
}
foreach ($this->getAllSeries() as $index => $serie) {
if (in_array($d, $this->_axisLabels['x'])) {
- $datas[$index][] = (double)array_shift($this->_allSeries[$index]);
+ $datas[$index][] = (float)array_shift($this->_allSeries[$index]);
} else {
$datas[$index][] = 0;
}
diff --color -ruN vendor/magento/module-backend/Test/Mftf/Helper/CurlHelpers.php vendor/magento/module-backend/Test/Mftf/Helper/CurlHelpers.php
--- vendor/magento/module-backend/Test/Mftf/Helper/CurlHelpers.php 2025-11-24 17:35:17
+++ vendor/magento/module-backend/Test/Mftf/Helper/CurlHelpers.php 2025-11-24 17:34:34
@@ -165,7 +165,6 @@
// Execute
$response = curl_exec($session);
- curl_close($session);
return $response;
}
diff --color -ruN vendor/magento/module-bundle/Block/Catalog/Product/View/Type/Bundle/Option.php vendor/magento/module-bundle/Block/Catalog/Product/View/Type/Bundle/Option.php
--- vendor/magento/module-bundle/Block/Catalog/Product/View/Type/Bundle/Option.php 2025-11-24 17:35:36
+++ vendor/magento/module-bundle/Block/Catalog/Product/View/Type/Bundle/Option.php 2025-11-24 17:34:34
@@ -205,7 +205,7 @@
protected function _getSelectedQty()
{
if ($this->getProduct()->hasPreconfiguredValues()) {
- $selectedQty = (double)$this->getProduct()->getPreconfiguredValues()->getData(
+ $selectedQty = (float)$this->getProduct()->getPreconfiguredValues()->getData(
'bundle_option_qty/' . $this->getOption()->getId()
);
if ($selectedQty < 0) {
diff --color -ruN vendor/magento/module-bundle/Test/Unit/Model/Quote/Item/OptionTest.php vendor/magento/module-bundle/Test/Unit/Model/Quote/Item/OptionTest.php
--- vendor/magento/module-bundle/Test/Unit/Model/Quote/Item/OptionTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-bundle/Test/Unit/Model/Quote/Item/OptionTest.php 2025-11-24 17:34:34
@@ -176,7 +176,7 @@
$options[$id] = $option;
}
$reflectionProperty = new \ReflectionProperty($optionsCollection, '_items');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($optionsCollection, $options);
return $optionsCollection;
@@ -210,7 +210,7 @@
$selections[$id] = $selection;
}
$reflectionProperty = new \ReflectionProperty($selectionsCollection, '_items');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($selectionsCollection, $selections);
return $selectionsCollection;
diff --color -ruN vendor/magento/module-bundle/Test/Unit/Model/ResourceModel/Indexer/PriceTest.php vendor/magento/module-bundle/Test/Unit/Model/ResourceModel/Indexer/PriceTest.php
--- vendor/magento/module-bundle/Test/Unit/Model/ResourceModel/Indexer/PriceTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-bundle/Test/Unit/Model/ResourceModel/Indexer/PriceTest.php 2025-11-24 17:34:34
@@ -298,7 +298,7 @@
Price::class,
$methodName
);
- $method->setAccessible(true);
+ $method;
return (string)$method->invoke($this->priceModel, $args);
}
diff --color -ruN vendor/magento/module-bundle-import-export/Test/Unit/Model/Import/Product/Type/BundleTest.php vendor/magento/module-bundle-import-export/Test/Unit/Model/Import/Product/Type/BundleTest.php
--- vendor/magento/module-bundle-import-export/Test/Unit/Model/Import/Product/Type/BundleTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-bundle-import-export/Test/Unit/Model/Import/Product/Type/BundleTest.php 2025-11-24 17:34:32
@@ -244,7 +244,7 @@
->willReturn($metadataMock);
$reflection = new \ReflectionClass(Bundle::class);
$reflectionProperty = $reflection->getProperty('metadataPool');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->bundle, $metadataPoolMock);
}
@@ -483,7 +483,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($object, $value);
return $object;
}
diff --color -ruN vendor/magento/module-captcha/Model/Checkout/ConfigProvider.php vendor/magento/module-captcha/Model/Checkout/ConfigProvider.php
--- vendor/magento/module-captcha/Model/Checkout/ConfigProvider.php 2025-11-24 17:35:36
+++ vendor/magento/module-captcha/Model/Checkout/ConfigProvider.php 2025-11-24 17:34:29
@@ -67,7 +67,7 @@
*/
protected function isCaseSensitive($formId)
{
- return (boolean)$this->getCaptchaModel($formId)->isCaseSensitive();
+ return (bool)$this->getCaptchaModel($formId)->isCaseSensitive();
}
/**
@@ -116,7 +116,7 @@
*/
protected function isRequired($formId)
{
- return (boolean)$this->getCaptchaModel($formId)->isRequired();
+ return (bool)$this->getCaptchaModel($formId)->isRequired();
}
/**
diff --color -ruN vendor/magento/module-captcha/Test/Unit/Model/DefaultTest.php vendor/magento/module-captcha/Test/Unit/Model/DefaultTest.php
--- vendor/magento/module-captcha/Test/Unit/Model/DefaultTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-captcha/Test/Unit/Model/DefaultTest.php 2025-11-24 17:34:30
@@ -439,7 +439,7 @@
$randomMock
);
$method = new \ReflectionMethod($captcha, 'generateWord');
- $method->setAccessible(true);
+ $method;
$this->assertEquals($string, $method->invoke($captcha));
}
/**
diff --color -ruN vendor/magento/module-captcha/Test/Unit/Observer/CheckUserLoginObserverTest.php vendor/magento/module-captcha/Test/Unit/Observer/CheckUserLoginObserverTest.php
--- vendor/magento/module-captcha/Test/Unit/Observer/CheckUserLoginObserverTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-captcha/Test/Unit/Observer/CheckUserLoginObserverTest.php 2025-11-24 17:34:30
@@ -90,11 +90,11 @@
$reflection = new \ReflectionClass(get_class($this->observer));
$reflectionProperty = $reflection->getProperty('authentication');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->observer, $this->authenticationMock);
$reflectionProperty2 = $reflection->getProperty('customerRepository');
- $reflectionProperty2->setAccessible(true);
+ $reflectionProperty2;
$reflectionProperty2->setValue($this->observer, $this->customerRepositoryMock);
}
diff --color -ruN vendor/magento/module-catalog/Controller/Adminhtml/Product/Initialization/StockDataFilter.php vendor/magento/module-catalog/Controller/Adminhtml/Product/Initialization/StockDataFilter.php
--- vendor/magento/module-catalog/Controller/Adminhtml/Product/Initialization/StockDataFilter.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog/Controller/Adminhtml/Product/Initialization/StockDataFilter.php 2025-11-24 17:34:31
@@ -56,7 +56,7 @@
if ($stockData['use_config_manage_stock'] == 1 && !isset($stockData['manage_stock'])) {
$stockData['manage_stock'] = $this->stockConfiguration->getManageStock();
}
- if (isset($stockData['qty']) && (double)$stockData['qty'] > self::MAX_QTY_VALUE) {
+ if (isset($stockData['qty']) && (float)$stockData['qty'] > self::MAX_QTY_VALUE) {
$stockData['qty'] = self::MAX_QTY_VALUE;
}
diff --color -ruN vendor/magento/module-catalog/Model/Layer/Filter/DataProvider/Price.php vendor/magento/module-catalog/Model/Layer/Filter/DataProvider/Price.php
--- vendor/magento/module-catalog/Model/Layer/Filter/DataProvider/Price.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog/Model/Layer/Filter/DataProvider/Price.php 2025-11-24 17:34:31
@@ -233,7 +233,7 @@
$index++;
} while ($range > self::MIN_RANGE_POWER && count($items) < 2);
} else {
- $range = (double)$this->getRangeStepValue();
+ $range = (float)$this->getRangeStepValue();
}
}
@@ -330,7 +330,7 @@
return false;
}
foreach ($filter as $v) {
- if ($v !== '' && $v !== '0' && (!is_numeric($v) || (double)$v <= 0 || is_infinite((double)$v))) {
+ if ($v !== '' && $v !== '0' && (!is_numeric($v) || (float)$v <= 0 || is_infinite((float)$v))) {
return false;
}
}
diff --color -ruN vendor/magento/module-catalog/Model/Layer/Filter/Price/Range.php vendor/magento/module-catalog/Model/Layer/Filter/Price/Range.php
--- vendor/magento/module-catalog/Model/Layer/Filter/Price/Range.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog/Model/Layer/Filter/Price/Range.php 2025-11-24 17:34:31
@@ -62,6 +62,6 @@
*/
public function getConfigRangeStep()
{
- return (double)$this->scopeConfig->getValue(self::XML_PATH_RANGE_STEP, ScopeInterface::SCOPE_STORE);
+ return (float)$this->scopeConfig->getValue(self::XML_PATH_RANGE_STEP, ScopeInterface::SCOPE_STORE);
}
}
diff --color -ruN vendor/magento/module-catalog/Model/ResourceModel/Layer/Filter/Price.php vendor/magento/module-catalog/Model/ResourceModel/Layer/Filter/Price.php
--- vendor/magento/module-catalog/Model/ResourceModel/Layer/Filter/Price.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog/Model/ResourceModel/Layer/Filter/Price.php 2025-11-24 17:34:31
@@ -383,7 +383,7 @@
$priceExpr = $this->_getPriceExpression($select, false);
if ($to !== '') {
- $to = (double)$to;
+ $to = (float)$to;
if ($from == $to) {
$to += self::MIN_POSSIBLE_PRICE;
}
diff --color -ruN vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php
--- vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php 2025-11-24 17:34:31
@@ -1238,9 +1238,9 @@
$select->where($this->getPriceExpression($select) . ' IS NOT NULL');
$row = $this->getConnection()->fetchRow($select, $this->_bindParams, \Zend_Db::FETCH_NUM);
$this->_pricesCount = (int)$row[0];
- $this->_maxPrice = (double)$row[1];
- $this->_minPrice = (double)$row[2];
- $this->_priceStandardDeviation = (double)$row[3];
+ $this->_maxPrice = (float)$row[1];
+ $this->_minPrice = (float)$row[2];
+ $this->_priceStandardDeviation = (float)$row[3];
return $this;
}
diff --color -ruN vendor/magento/module-catalog/Model/ResourceModel/Product/Link.php vendor/magento/module-catalog/Model/ResourceModel/Product/Link.php
--- vendor/magento/module-catalog/Model/ResourceModel/Product/Link.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog/Model/ResourceModel/Product/Link.php 2025-11-24 17:34:31
@@ -202,7 +202,7 @@
if ($type == 'int') {
$value = (int)$value;
} elseif ($type == 'decimal') {
- $value = (double)sprintf('%F', $value);
+ $value = (float)sprintf('%F', $value);
}
return $value;
}
diff --color -ruN vendor/magento/module-catalog/Model/ResourceModel/Product/Option/Value.php vendor/magento/module-catalog/Model/ResourceModel/Product/Option/Value.php
--- vendor/magento/module-catalog/Model/ResourceModel/Product/Option/Value.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog/Model/ResourceModel/Product/Option/Value.php 2025-11-24 17:34:31
@@ -119,7 +119,7 @@
$priceTable = $this->getTable('catalog_product_option_type_price');
$formattedPrice = $this->getLocaleFormatter()->getNumber($objectPrice);
- $price = (double)sprintf('%F', $formattedPrice);
+ $price = (float)sprintf('%F', $formattedPrice);
$priceType = $object->getPriceType();
if (isset($objectPrice) && $priceType) {
diff --color -ruN vendor/magento/module-catalog/Test/Unit/Block/Product/ProductList/RelatedTest.php vendor/magento/module-catalog/Test/Unit/Block/Product/ProductList/RelatedTest.php
--- vendor/magento/module-catalog/Test/Unit/Block/Product/ProductList/RelatedTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog/Test/Unit/Block/Product/ProductList/RelatedTest.php 2025-11-24 17:34:31
@@ -41,7 +41,7 @@
Related::class,
'_itemCollection'
);
- $itemsCollection->setAccessible(true);
+ $itemsCollection;
$itemsCollection->setValue($this->block, [$product]);
$this->assertEquals(
@@ -72,7 +72,7 @@
Related::class,
'_itemCollection'
);
- $itemsCollection->setAccessible(true);
+ $itemsCollection;
$itemsCollection->setValue($this->block, [$product]);
$this->assertEquals(
diff --color -ruN vendor/magento/module-catalog/Test/Unit/Block/Product/ProductList/UpsellTest.php vendor/magento/module-catalog/Test/Unit/Block/Product/ProductList/UpsellTest.php
--- vendor/magento/module-catalog/Test/Unit/Block/Product/ProductList/UpsellTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog/Test/Unit/Block/Product/ProductList/UpsellTest.php 2025-11-24 17:34:31
@@ -38,7 +38,7 @@
$product->expects($this->once())->method('getIdentities')->willReturn($productTag);
$itemsCollection = new \ReflectionProperty(UpsellBlock::class, '_items');
- $itemsCollection->setAccessible(true);
+ $itemsCollection;
$itemsCollection->setValue($this->block, [$product]);
$this->assertEquals(
@@ -54,7 +54,7 @@
->willReturn(self::STUB_EMPTY_ARRAY);
$itemsCollection = new \ReflectionProperty(UpsellBlock::class, '_items');
- $itemsCollection->setAccessible(true);
+ $itemsCollection;
$itemsCollection->setValue($this->block, [$product]);
$this->assertEquals(
@@ -66,7 +66,7 @@
public function testGetIdentitiesWhenGetItemsReturnEmptyArray()
{
$itemsCollection = new \ReflectionProperty(UpsellBlock::class, '_items');
- $itemsCollection->setAccessible(true);
+ $itemsCollection;
$itemsCollection->setValue($this->block, self::STUB_EMPTY_ARRAY);
$this->assertEquals(
diff --color -ruN vendor/magento/module-catalog/Test/Unit/Block/Widget/LinkTest.php vendor/magento/module-catalog/Test/Unit/Block/Widget/LinkTest.php
--- vendor/magento/module-catalog/Test/Unit/Block/Widget/LinkTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog/Test/Unit/Block/Widget/LinkTest.php 2025-11-24 17:34:31
@@ -184,7 +184,7 @@
]
);
$property = (new ReflectionClass(get_class($store)))->getProperty('urlModifier');
- $property->setAccessible(true);
+ $property;
$property->setValue($store, $urlModifier);
$urlModifier->expects($this->any())
diff --color -ruN vendor/magento/module-catalog/Test/Unit/Controller/Adminhtml/Category/MoveTest.php vendor/magento/module-catalog/Test/Unit/Controller/Adminhtml/Category/MoveTest.php
--- vendor/magento/module-catalog/Test/Unit/Controller/Adminhtml/Category/MoveTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog/Test/Unit/Controller/Adminhtml/Category/MoveTest.php 2025-11-24 17:34:31
@@ -132,7 +132,7 @@
$this->objectManager = $this->getMockForAbstractClass(ObjectManagerInterface::class);
$moveController = new \ReflectionClass($this->moveController);
$objectManagerProp = $moveController->getProperty('_objectManager');
- $objectManagerProp->setAccessible(true);
+ $objectManagerProp;
$objectManagerProp->setValue($this->moveController, $this->objectManager);
}
diff --color -ruN vendor/magento/module-catalog/Test/Unit/Controller/Adminhtml/Category/RefreshPathTest.php vendor/magento/module-catalog/Test/Unit/Controller/Adminhtml/Category/RefreshPathTest.php
--- vendor/magento/module-catalog/Test/Unit/Controller/Adminhtml/Category/RefreshPathTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog/Test/Unit/Controller/Adminhtml/Category/RefreshPathTest.php 2025-11-24 17:34:31
@@ -63,7 +63,7 @@
{
$reflectionClass = new \ReflectionClass($object);
$reflectionProperty = $reflectionClass->getProperty($propertyName);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($object, $value);
}
diff --color -ruN vendor/magento/module-catalog/Test/Unit/Controller/Adminhtml/Product/Initialization/HelperTest.php vendor/magento/module-catalog/Test/Unit/Controller/Adminhtml/Product/Initialization/HelperTest.php
--- vendor/magento/module-catalog/Test/Unit/Controller/Adminhtml/Product/Initialization/HelperTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog/Test/Unit/Controller/Adminhtml/Product/Initialization/HelperTest.php 2025-11-24 17:34:31
@@ -206,7 +206,7 @@
$this->linkResolverMock = $this->createMock(Resolver::class);
$helperReflection = new \ReflectionClass(get_class($this->helper));
$resolverProperty = $helperReflection->getProperty('linkResolver');
- $resolverProperty->setAccessible(true);
+ $resolverProperty;
$resolverProperty->setValue($this->helper, $this->linkResolverMock);
}
diff --color -ruN vendor/magento/module-catalog/Test/Unit/Model/CategoryLinkManagementTest.php vendor/magento/module-catalog/Test/Unit/Model/CategoryLinkManagementTest.php
--- vendor/magento/module-catalog/Test/Unit/Model/CategoryLinkManagementTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog/Test/Unit/Model/CategoryLinkManagementTest.php 2025-11-24 17:34:31
@@ -117,7 +117,7 @@
foreach ($properties as $key => $value) {
if ($reflectionClass->hasProperty($key)) {
$reflectionProperty = $reflectionClass->getProperty($key);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($object, $value);
}
}
diff --color -ruN vendor/magento/module-catalog/Test/Unit/Model/Indexer/Category/FlatTest.php vendor/magento/module-catalog/Test/Unit/Model/Indexer/Category/FlatTest.php
--- vendor/magento/module-catalog/Test/Unit/Model/Indexer/Category/FlatTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog/Test/Unit/Model/Indexer/Category/FlatTest.php 2025-11-24 17:34:31
@@ -94,7 +94,7 @@
Flat::class,
'cacheContext'
);
- $cacheContextProperty->setAccessible(true);
+ $cacheContextProperty;
$cacheContextProperty->setValue($this->model, $this->cacheContextMock);
}
diff --color -ruN vendor/magento/module-catalog/Test/Unit/Model/Indexer/Category/ProductTest.php vendor/magento/module-catalog/Test/Unit/Model/Indexer/Category/ProductTest.php
--- vendor/magento/module-catalog/Test/Unit/Model/Indexer/Category/ProductTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog/Test/Unit/Model/Indexer/Category/ProductTest.php 2025-11-24 17:34:31
@@ -105,7 +105,7 @@
Product::class,
'cacheContext'
);
- $cacheContextProperty->setAccessible(true);
+ $cacheContextProperty;
$cacheContextProperty->setValue($this->model, $this->cacheContextMock);
}
diff --color -ruN vendor/magento/module-catalog/Test/Unit/Model/Indexer/Product/CategoryTest.php vendor/magento/module-catalog/Test/Unit/Model/Indexer/Product/CategoryTest.php
--- vendor/magento/module-catalog/Test/Unit/Model/Indexer/Product/CategoryTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog/Test/Unit/Model/Indexer/Product/CategoryTest.php 2025-11-24 17:34:31
@@ -108,7 +108,7 @@
Product::class,
'cacheContext'
);
- $cacheContextProperty->setAccessible(true);
+ $cacheContextProperty;
$cacheContextProperty->setValue($this->model, $this->cacheContextMock);
}
diff --color -ruN vendor/magento/module-catalog/Test/Unit/Model/Indexer/Product/EavTest.php vendor/magento/module-catalog/Test/Unit/Model/Indexer/Product/EavTest.php
--- vendor/magento/module-catalog/Test/Unit/Model/Indexer/Product/EavTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog/Test/Unit/Model/Indexer/Product/EavTest.php 2025-11-24 17:34:31
@@ -75,7 +75,7 @@
Eav::class,
'cacheContext'
);
- $cacheContextProperty->setAccessible(true);
+ $cacheContextProperty;
$cacheContextProperty->setValue($this->model, $this->cacheContextMock);
}
diff --color -ruN vendor/magento/module-catalog/Test/Unit/Model/Indexer/Product/FlatTest.php vendor/magento/module-catalog/Test/Unit/Model/Indexer/Product/FlatTest.php
--- vendor/magento/module-catalog/Test/Unit/Model/Indexer/Product/FlatTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog/Test/Unit/Model/Indexer/Product/FlatTest.php 2025-11-24 17:34:31
@@ -81,7 +81,7 @@
Flat::class,
'cacheContext'
);
- $cacheContextProperty->setAccessible(true);
+ $cacheContextProperty;
$cacheContextProperty->setValue($this->model, $this->cacheContextMock);
}
diff --color -ruN vendor/magento/module-catalog/Test/Unit/Model/Product/TypeTest.php vendor/magento/module-catalog/Test/Unit/Model/Product/TypeTest.php
--- vendor/magento/module-catalog/Test/Unit/Model/Product/TypeTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog/Test/Unit/Model/Product/TypeTest.php 2025-11-24 17:34:31
@@ -60,7 +60,7 @@
public function testGetTypes(): void
{
$property = new \ReflectionProperty($this->_model, '_types');
- $property->setAccessible(true);
+ $property;
$this->assertNull($property->getValue($this->_model));
$this->assertEquals($this->_productTypes, $this->_model->getTypes());
}
@@ -125,7 +125,7 @@
public function testGetCompositeTypes(): void
{
$property = new \ReflectionProperty($this->_model, '_compositeTypes');
- $property->setAccessible(true);
+ $property;
$this->assertNull($property->getValue($this->_model));
$this->assertEquals(['type_id_3'], $this->_model->getCompositeTypes());
diff --color -ruN vendor/magento/module-catalog/Test/Unit/Model/ProductOptionProcessorTest.php vendor/magento/module-catalog/Test/Unit/Model/ProductOptionProcessorTest.php
--- vendor/magento/module-catalog/Test/Unit/Model/ProductOptionProcessorTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog/Test/Unit/Model/ProductOptionProcessorTest.php 2025-11-24 17:34:31
@@ -98,7 +98,7 @@
$reflection = new \ReflectionClass(get_class($this->processor));
$reflectionProperty = $reflection->getProperty('urlBuilder');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->processor, $urlBuilder);
}
diff --color -ruN vendor/magento/module-catalog/Test/Unit/Model/ProductTest.php vendor/magento/module-catalog/Test/Unit/Model/ProductTest.php
--- vendor/magento/module-catalog/Test/Unit/Model/ProductTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog/Test/Unit/Model/ProductTest.php 2025-11-24 17:34:31
@@ -1711,7 +1711,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($object, $value);
return $object;
}
@@ -1724,7 +1724,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
return $reflectionProperty->getValue($object);
}
diff --color -ruN vendor/magento/module-catalog/Test/Unit/Model/ResourceModel/Category/FlatTest.php vendor/magento/module-catalog/Test/Unit/Model/ResourceModel/Category/FlatTest.php
--- vendor/magento/module-catalog/Test/Unit/Model/ResourceModel/Category/FlatTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog/Test/Unit/Model/ResourceModel/Category/FlatTest.php 2025-11-24 17:34:31
@@ -202,7 +202,7 @@
$reflection = new \ReflectionClass(get_class($this->model));
$reflectionProperty = $reflection->getProperty('categoryFlatCollectionFactory');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->model, $this->categoryCollectionFactoryMock);
$this->assertEquals(
diff --color -ruN vendor/magento/module-catalog/Test/Unit/Ui/DataProvider/Product/Form/Modifier/CategoriesTest.php vendor/magento/module-catalog/Test/Unit/Ui/DataProvider/Product/Form/Modifier/CategoriesTest.php
--- vendor/magento/module-catalog/Test/Unit/Ui/DataProvider/Product/Form/Modifier/CategoriesTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog/Test/Unit/Ui/DataProvider/Product/Form/Modifier/CategoriesTest.php 2025-11-24 17:34:31
@@ -160,7 +160,7 @@
{
$class = new \ReflectionClass(Categories::class);
$method = $class->getMethod($method);
- $method->setAccessible(true);
+ $method;
return $method->invokeArgs($object, $args);
}
diff --color -ruN vendor/magento/module-catalog-import-export/Model/Import/Product/Option.php vendor/magento/module-catalog-import-export/Model/Import/Product/Option.php
--- vendor/magento/module-catalog-import-export/Model/Import/Product/Option.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog-import-export/Model/Import/Product/Option.php 2025-11-24 17:34:38
@@ -1806,7 +1806,7 @@
if ('%' == substr($data, -1)) {
$priceData['price_type'] = 'percent';
}
- $priceData['price'] = (double)rtrim($data, '%');
+ $priceData['price'] = (float)rtrim($data, '%');
return $priceData;
}
@@ -1829,7 +1829,7 @@
$priceData = [];
$customOptionRowPrice = $rowData[self::COLUMN_ROW_PRICE];
if (!empty($customOptionRowPrice) || $customOptionRowPrice === '0') {
- $priceData['price'] = (double)rtrim($rowData[self::COLUMN_ROW_PRICE], '%');
+ $priceData['price'] = (float)rtrim($rowData[self::COLUMN_ROW_PRICE], '%');
$priceData['price_type'] = ('%' == substr($rowData[self::COLUMN_ROW_PRICE], -1)) ? 'percent' : 'fixed';
}
if (!empty($rowData[self::COLUMN_ROW_TITLE]) && $defaultStore && empty($rowData[self::COLUMN_STORE])) {
diff --color -ruN vendor/magento/module-catalog-import-export/Model/Import/Product.php vendor/magento/module-catalog-import-export/Model/Import/Product.php
--- vendor/magento/module-catalog-import-export/Model/Import/Product.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog-import-export/Model/Import/Product.php 2025-11-24 17:34:38
@@ -375,7 +375,7 @@
* 'type_id' => (string) product type
* 'attr_set_id' => (int) product attribute set ID
* 'entity_id' => (int) product ID
- * 'supported_type' => (boolean) is product type supported by current version of import module
+ * 'supported_type' => (bool) is product type supported by current version of import module
* )
*
* @var array
diff --color -ruN vendor/magento/module-catalog-import-export/Test/Unit/Model/Export/ProductTest.php vendor/magento/module-catalog-import-export/Test/Unit/Model/Export/ProductTest.php
--- vendor/magento/module-catalog-import-export/Test/Unit/Model/Export/ProductTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog-import-export/Test/Unit/Model/Export/ProductTest.php 2025-11-24 17:34:38
@@ -414,7 +414,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
return $reflectionProperty->getValue($object);
}
@@ -430,7 +430,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($object, $value);
return $object;
diff --color -ruN vendor/magento/module-catalog-import-export/Test/Unit/Model/Import/Product/CategoryProcessorTest.php vendor/magento/module-catalog-import-export/Test/Unit/Model/Import/Product/CategoryProcessorTest.php
--- vendor/magento/module-catalog-import-export/Test/Unit/Model/Import/Product/CategoryProcessorTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog-import-export/Test/Unit/Model/Import/Product/CategoryProcessorTest.php 2025-11-24 17:34:38
@@ -196,7 +196,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($object, $value);
return $object;
}
@@ -212,7 +212,7 @@
$reflection = new \ReflectionClass($this->categoryProcessor);
$createCategoryReflection = $reflection->getMethod('createCategory');
- $createCategoryReflection->setAccessible(true);
+ $createCategoryReflection;
$createCategoryReflection->invokeArgs($this->categoryProcessor, ['testCategory', 2]);
}
}
diff --color -ruN vendor/magento/module-catalog-import-export/Test/Unit/Model/Import/Product/SkuProcessorTest.php vendor/magento/module-catalog-import-export/Test/Unit/Model/Import/Product/SkuProcessorTest.php
--- vendor/magento/module-catalog-import-export/Test/Unit/Model/Import/Product/SkuProcessorTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog-import-export/Test/Unit/Model/Import/Product/SkuProcessorTest.php 2025-11-24 17:34:38
@@ -87,7 +87,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($object, $value);
return $object;
@@ -103,7 +103,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
return $reflectionProperty->getValue($object);
}
diff --color -ruN vendor/magento/module-catalog-import-export/Test/Unit/Model/Import/Product/Type/AbstractTypeTest.php vendor/magento/module-catalog-import-export/Test/Unit/Model/Import/Product/Type/AbstractTypeTest.php
--- vendor/magento/module-catalog-import-export/Test/Unit/Model/Import/Product/Type/AbstractTypeTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog-import-export/Test/Unit/Model/Import/Product/Type/AbstractTypeTest.php 2025-11-24 17:34:38
@@ -410,7 +410,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
return $reflectionProperty->getValue($object);
}
@@ -424,7 +424,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($object, $value);
return $object;
}
diff --color -ruN vendor/magento/module-catalog-import-export/Test/Unit/Model/Import/Product/Type/OptionTest.php vendor/magento/module-catalog-import-export/Test/Unit/Model/Import/Product/Type/OptionTest.php
--- vendor/magento/module-catalog-import-export/Test/Unit/Model/Import/Product/Type/OptionTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog-import-export/Test/Unit/Model/Import/Product/Type/OptionTest.php 2025-11-24 17:34:38
@@ -321,7 +321,7 @@
->getMock();
$reflection = new \ReflectionClass(Option::class);
$reflectionProperty = $reflection->getProperty('metadataPool');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->modelMock, $this->metadataPoolMock);
}
@@ -444,7 +444,7 @@
$this->productEntity->method('getErrorAggregator')->willReturn($this->getErrorAggregatorObject());
$reflection = new \ReflectionClass(Product::class);
$reflectionProperty = $reflection->getProperty('metadataPool');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->productEntity, $this->metadataPoolMock);
$productModelMock = $this->getMockBuilder(\stdClass::class)->addMethods(['getProductEntitiesInfo'])
@@ -865,7 +865,7 @@
{
$reflection = new \ReflectionClass(Option::class);
$reflectionMethod = $reflection->getMethod('_parseCustomOptions');
- $reflectionMethod->setAccessible(true);
+ $reflectionMethod;
$result = $reflectionMethod->invoke($this->model, $rowData);
$this->assertEquals($responseData, $result);
}
@@ -1199,7 +1199,7 @@
$productEntityMock = $this->createMock(Product::class);
$reflection = new \ReflectionClass(Product::class);
$reflectionProperty = $reflection->getProperty('metadataPool');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($productEntityMock, $this->metadataPoolMock);
/** @var Option $model */
@@ -1220,7 +1220,7 @@
);
$reflection = new \ReflectionClass(Option::class);
$reflectionProperty = $reflection->getProperty('metadataPool');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($model, $this->metadataPoolMock);
$this->assertTrue($model->importData());
@@ -1253,7 +1253,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($object, $value);
return $object;
@@ -1270,7 +1270,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
return $reflectionProperty->getValue($object);
}
diff --color -ruN vendor/magento/module-catalog-import-export/Test/Unit/Model/Import/Product/Type/VirtualTest.php vendor/magento/module-catalog-import-export/Test/Unit/Model/Import/Product/Type/VirtualTest.php
--- vendor/magento/module-catalog-import-export/Test/Unit/Model/Import/Product/Type/VirtualTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog-import-export/Test/Unit/Model/Import/Product/Type/VirtualTest.php 2025-11-24 17:34:38
@@ -82,7 +82,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($object, $value);
return $object;
}
diff --color -ruN vendor/magento/module-catalog-import-export/Test/Unit/Model/Import/ProductTest.php vendor/magento/module-catalog-import-export/Test/Unit/Model/Import/ProductTest.php
--- vendor/magento/module-catalog-import-export/Test/Unit/Model/Import/ProductTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog-import-export/Test/Unit/Model/Import/ProductTest.php 2025-11-24 17:34:38
@@ -448,7 +448,7 @@
->getMock();
$reflection = new \ReflectionClass(SkuProcessor::class);
$reflectionProperty = $reflection->getProperty('metadataPool');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->skuProcessor, $metadataPoolMock);
$this->categoryProcessor =
@@ -551,7 +551,7 @@
);
$reflection = new \ReflectionClass(Product::class);
$reflectionProperty = $reflection->getProperty('metadataPool');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->importProduct, $metadataPoolMock);
}
@@ -2073,7 +2073,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$method = $reflection->getMethod($methodName);
- $method->setAccessible(true);
+ $method;
return $method->invokeArgs($object, $parameters);
}
@@ -2087,7 +2087,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($object, $value);
return $object;
}
@@ -2100,7 +2100,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
return $reflectionProperty->getValue($object);
}
@@ -2117,7 +2117,7 @@
$reflection = $reflection->getParentClass();
}
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($object, $value);
return $object;
}
@@ -2276,7 +2276,7 @@
{
$reflector = new \ReflectionClass($this->importProduct);
$property = $reflector->getMethod('getRemoteFileContent');
- $property->setAccessible(true);
+ $property;
$this->assertEquals(
'',
$property->invokeArgs($this->importProduct, ['php://filter'])
diff --color -ruN vendor/magento/module-catalog-inventory/Model/Quote/Item/QuantityValidator/QuoteItemQtyList.php vendor/magento/module-catalog-inventory/Model/Quote/Item/QuantityValidator/QuoteItemQtyList.php
--- vendor/magento/module-catalog-inventory/Model/Quote/Item/QuantityValidator/QuoteItemQtyList.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog-inventory/Model/Quote/Item/QuantityValidator/QuoteItemQtyList.php 2025-11-24 17:34:33
@@ -33,17 +33,17 @@
public function getQty($productId, $quoteItemId, $quoteId, $itemQty)
{
$qty = $itemQty;
- if (isset($this->_checkedQuoteItems[$quoteId][$productId]['qty']) && $quoteItemId !== null && !in_array(
+ if (isset($this->_checkedQuoteItems[(string)$quoteId][(string)$productId]['qty']) && $quoteItemId !== null && !in_array(
$quoteItemId,
- $this->_checkedQuoteItems[$quoteId][$productId]['items']
+ $this->_checkedQuoteItems[(string)$quoteId][(string)$productId]['items']
)
) {
- $qty += $this->_checkedQuoteItems[$quoteId][$productId]['qty'];
+ $qty += $this->_checkedQuoteItems[(string)$quoteId][(string)$productId]['qty'];
}
if ($quoteItemId !== null) {
- $this->_checkedQuoteItems[$quoteId][$productId]['qty'] = $qty;
- $this->_checkedQuoteItems[$quoteId][$productId]['items'][] = $quoteItemId;
+ $this->_checkedQuoteItems[(string)$quoteId][(string)$productId]['qty'] = $qty;
+ $this->_checkedQuoteItems[(string)$quoteId][(string)$productId]['items'][] = $quoteItemId;
}
return $qty;
diff --color -ruN vendor/magento/module-catalog-inventory/Model/ResourceModel/Indexer/Stock/DefaultStock.php vendor/magento/module-catalog-inventory/Model/ResourceModel/Indexer/Stock/DefaultStock.php
--- vendor/magento/module-catalog-inventory/Model/ResourceModel/Indexer/Stock/DefaultStock.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog-inventory/Model/ResourceModel/Indexer/Stock/DefaultStock.php 2025-11-24 17:34:33
@@ -333,7 +333,7 @@
'product_id' => (int)$row['entity_id'],
'website_id' => (int)$row['website_id'],
'stock_id' => Stock::DEFAULT_STOCK_ID,
- 'qty' => (double)$row['qty'],
+ 'qty' => (float)$row['qty'],
'stock_status' => (int)$row['status'],
];
$savedEntityIds[] = (int)$row['entity_id'];
diff --color -ruN vendor/magento/module-catalog-inventory/Test/Unit/Block/Stockqty/DefaultStockqtyTest.php vendor/magento/module-catalog-inventory/Test/Unit/Block/Stockqty/DefaultStockqtyTest.php
--- vendor/magento/module-catalog-inventory/Test/Unit/Block/Stockqty/DefaultStockqtyTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog-inventory/Test/Unit/Block/Stockqty/DefaultStockqtyTest.php 2025-11-24 17:34:33
@@ -208,7 +208,7 @@
protected function setDataArrayValue($key, $value)
{
$property = new \ReflectionProperty($this->block, '_data');
- $property->setAccessible(true);
+ $property;
$dataArray = $property->getValue($this->block);
$dataArray[$key] = $value;
$property->setValue($this->block, $dataArray);
diff --color -ruN vendor/magento/module-catalog-inventory/Test/Unit/Helper/StockTest.php vendor/magento/module-catalog-inventory/Test/Unit/Helper/StockTest.php
--- vendor/magento/module-catalog-inventory/Test/Unit/Helper/StockTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog-inventory/Test/Unit/Helper/StockTest.php 2025-11-24 17:34:33
@@ -88,7 +88,7 @@
// Todo: \Magento\Framework\TestFramework\Unit\Helper\ObjectManager to do this automatically (MAGETWO-49793)
$reflection = new \ReflectionClass(get_class($this->stock));
$reflectionProperty = $reflection->getProperty('stockConfiguration');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->stock, $this->stockConfiguration);
}
diff --color -ruN vendor/magento/module-catalog-inventory/Test/Unit/Model/Stock/ItemTest.php vendor/magento/module-catalog-inventory/Test/Unit/Model/Stock/ItemTest.php
--- vendor/magento/module-catalog-inventory/Test/Unit/Model/Stock/ItemTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog-inventory/Test/Unit/Model/Stock/ItemTest.php 2025-11-24 17:34:33
@@ -162,7 +162,7 @@
protected function setDataArrayValue($key, $value)
{
$property = new \ReflectionProperty($this->item, '_data');
- $property->setAccessible(true);
+ $property;
$dataArray = $property->getValue($this->item);
$dataArray[$key] = $value;
$property->setValue($this->item, $dataArray);
@@ -256,7 +256,7 @@
->willReturn($groupId);
$property = new \ReflectionProperty($this->item, 'customerGroupId');
- $property->setAccessible(true);
+ $property;
$this->assertNull($property->getValue($this->item));
$this->assertSame($groupId, $this->item->getCustomerGroupId());
@@ -283,7 +283,7 @@
$minSaleQty = $config['min_sale_qty'];
$property = new \ReflectionProperty($this->item, 'customerGroupId');
- $property->setAccessible(true);
+ $property;
$property->setValue($this->item, $groupId);
$this->setDataArrayValue('use_config_min_sale_qty', $useConfigMinSaleQty);
@@ -370,7 +370,7 @@
{
if ($storeId) {
$property = new \ReflectionProperty($this->item, 'storeId');
- $property->setAccessible(true);
+ $property;
$property->setValue($this->item, $storeId);
}
$this->assertSame($expected, $this->item->getStoreId());
diff --color -ruN vendor/magento/module-catalog-rule/Test/Unit/Model/Indexer/AbstractIndexerTest.php vendor/magento/module-catalog-rule/Test/Unit/Model/Indexer/AbstractIndexerTest.php
--- vendor/magento/module-catalog-rule/Test/Unit/Model/Indexer/AbstractIndexerTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog-rule/Test/Unit/Model/Indexer/AbstractIndexerTest.php 2025-11-24 17:34:32
@@ -53,7 +53,7 @@
$cacheMock = $this->getMockForAbstractClass(CacheInterface::class);
$reflection = new \ReflectionClass(AbstractIndexer::class);
$reflectionProperty = $reflection->getProperty('cacheManager');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->indexer, $cacheMock);
}
diff --color -ruN vendor/magento/module-catalog-rule/Test/Unit/Model/Indexer/IndexerTableSwapperTest.php vendor/magento/module-catalog-rule/Test/Unit/Model/Indexer/IndexerTableSwapperTest.php
--- vendor/magento/module-catalog-rule/Test/Unit/Model/Indexer/IndexerTableSwapperTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog-rule/Test/Unit/Model/Indexer/IndexerTableSwapperTest.php 2025-11-24 17:34:32
@@ -123,7 +123,7 @@
{
$reflectionClass = new \ReflectionClass($object);
$reflectionProperty = $reflectionClass->getProperty($propertyName);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($object, $value);
}
diff --color -ruN vendor/magento/module-catalog-rule/Test/Unit/Model/Indexer/Product/ProductRuleIndexerTest.php vendor/magento/module-catalog-rule/Test/Unit/Model/Indexer/Product/ProductRuleIndexerTest.php
--- vendor/magento/module-catalog-rule/Test/Unit/Model/Indexer/Product/ProductRuleIndexerTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog-rule/Test/Unit/Model/Indexer/Product/ProductRuleIndexerTest.php 2025-11-24 17:34:32
@@ -49,7 +49,7 @@
ProductRuleIndexer::class,
'cacheContext'
);
- $cacheContextProperty->setAccessible(true);
+ $cacheContextProperty;
$cacheContextProperty->setValue($this->indexer, $this->cacheContextMock);
}
diff --color -ruN vendor/magento/module-catalog-rule/Test/Unit/Model/Indexer/Rule/RuleProductIndexerTest.php vendor/magento/module-catalog-rule/Test/Unit/Model/Indexer/Rule/RuleProductIndexerTest.php
--- vendor/magento/module-catalog-rule/Test/Unit/Model/Indexer/Rule/RuleProductIndexerTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog-rule/Test/Unit/Model/Indexer/Rule/RuleProductIndexerTest.php 2025-11-24 17:34:32
@@ -72,7 +72,7 @@
RuleProductIndexer::class,
'cacheContext'
);
- $cacheContextProperty->setAccessible(true);
+ $cacheContextProperty;
$cacheContextProperty->setValue($this->indexer, $this->cacheContextMock);
}
diff --color -ruN vendor/magento/module-catalog-search/Model/Adapter/Options.php vendor/magento/module-catalog-search/Model/Adapter/Options.php
--- vendor/magento/module-catalog-search/Model/Adapter/Options.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog-search/Model/Adapter/Options.php 2025-11-24 17:34:30
@@ -44,7 +44,7 @@
self::XML_PATH_INTERVAL_DIVISION_LIMIT,
ScopeInterface::SCOPE_STORE
),
- 'range_step' => (double)$this->scopeConfig->getValue(
+ 'range_step' => (float)$this->scopeConfig->getValue(
self::XML_PATH_RANGE_STEP,
ScopeInterface::SCOPE_STORE
),
diff --color -ruN vendor/magento/module-catalog-search/Test/Unit/Model/ResourceModel/Fulltext/CollectionTest.php vendor/magento/module-catalog-search/Test/Unit/Model/ResourceModel/Fulltext/CollectionTest.php
--- vendor/magento/module-catalog-search/Test/Unit/Model/ResourceModel/Fulltext/CollectionTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog-search/Test/Unit/Model/ResourceModel/Fulltext/CollectionTest.php 2025-11-24 17:34:30
@@ -205,7 +205,7 @@
protected function tearDown(): void
{
$reflectionProperty = new ReflectionProperty(\Magento\Framework\App\ObjectManager::class, '_instance');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue(null, null);
}
diff --color -ruN vendor/magento/module-catalog-search/Test/Unit/Model/Search/Request/PartialSearchModifierTest.php vendor/magento/module-catalog-search/Test/Unit/Model/Search/Request/PartialSearchModifierTest.php
--- vendor/magento/module-catalog-search/Test/Unit/Model/Search/Request/PartialSearchModifierTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog-search/Test/Unit/Model/Search/Request/PartialSearchModifierTest.php 2025-11-24 17:34:30
@@ -69,7 +69,7 @@
$items[] = $item;
}
$reflectionProperty = new \ReflectionProperty($this->collection, '_items');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->collection, $items);
$this->assertEquals($expected, $this->model->modify($requests));
}
diff --color -ruN vendor/magento/module-catalog-url-rewrite/Test/Unit/Model/Category/Plugin/Store/ViewTest.php vendor/magento/module-catalog-url-rewrite/Test/Unit/Model/Category/Plugin/Store/ViewTest.php
--- vendor/magento/module-catalog-url-rewrite/Test/Unit/Model/Category/Plugin/Store/ViewTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog-url-rewrite/Test/Unit/Model/Category/Plugin/Store/ViewTest.php 2025-11-24 17:34:33
@@ -146,7 +146,7 @@
->getMock();
$reflectionStore = new \ReflectionClass($this->plugin);
$origStore = $reflectionStore->getProperty('origStore');
- $origStore->setAccessible(true);
+ $origStore;
$origStore->setValue($this->plugin, $origStoreMock);
$origStoreMock->expects($this->atLeastOnce())
@@ -211,7 +211,7 @@
->getMock();
$reflectionStore = new \ReflectionClass($this->plugin);
$origStore = $reflectionStore->getProperty('origStore');
- $origStore->setAccessible(true);
+ $origStore;
$origStore->setValue($this->plugin, $origStoreMock);
$origStoreMock->expects($this->atLeastOnce())
diff --color -ruN vendor/magento/module-catalog-url-rewrite/Test/Unit/Model/ProductUrlRewriteGeneratorTest.php vendor/magento/module-catalog-url-rewrite/Test/Unit/Model/ProductUrlRewriteGeneratorTest.php
--- vendor/magento/module-catalog-url-rewrite/Test/Unit/Model/ProductUrlRewriteGeneratorTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog-url-rewrite/Test/Unit/Model/ProductUrlRewriteGeneratorTest.php 2025-11-24 17:34:33
@@ -125,7 +125,7 @@
$reflection = new \ReflectionClass(get_class($this->productUrlRewriteGenerator));
$reflectionProperty = $reflection->getProperty('productScopeRewriteGenerator');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->productUrlRewriteGenerator, $this->productScopeRewriteGenerator);
}
diff --color -ruN vendor/magento/module-catalog-url-rewrite/Test/Unit/Model/Storage/DynamicStorageTest.php vendor/magento/module-catalog-url-rewrite/Test/Unit/Model/Storage/DynamicStorageTest.php
--- vendor/magento/module-catalog-url-rewrite/Test/Unit/Model/Storage/DynamicStorageTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog-url-rewrite/Test/Unit/Model/Storage/DynamicStorageTest.php 2025-11-24 17:34:33
@@ -191,7 +191,7 @@
->willReturn($canBeShownInCategory);
$method = new ReflectionMethod($this->object, 'findProductRewriteByRequestPath');
- $method->setAccessible(true);
+ $method;
$this->assertSame($expectedProductRewrite, $method->invoke($this->object, $data));
}
diff --color -ruN vendor/magento/module-catalog-url-rewrite/Test/Unit/Observer/AfterImportDataObserverTest.php vendor/magento/module-catalog-url-rewrite/Test/Unit/Observer/AfterImportDataObserverTest.php
--- vendor/magento/module-catalog-url-rewrite/Test/Unit/Observer/AfterImportDataObserverTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-catalog-url-rewrite/Test/Unit/Observer/AfterImportDataObserverTest.php 2025-11-24 17:34:33
@@ -444,7 +444,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($object, $value);
}
diff --color -ruN vendor/magento/module-checkout/Controller/Cart/UpdateItemQty.php vendor/magento/module-checkout/Controller/Cart/UpdateItemQty.php
--- vendor/magento/module-checkout/Controller/Cart/UpdateItemQty.php 2025-11-24 17:35:36
+++ vendor/magento/module-checkout/Controller/Cart/UpdateItemQty.php 2025-11-24 17:34:34
@@ -98,7 +98,7 @@
$response = [];
foreach ($cartData as $itemId => $itemInfo) {
$item = $quote->getItemById($itemId);
- $qty = isset($itemInfo['qty']) ? (double) $itemInfo['qty'] : 0;
+ $qty = isset($itemInfo['qty']) ? (float) $itemInfo['qty'] : 0;
if ($item) {
try {
$this->updateItemQuantity($item, $qty);
diff --color -ruN vendor/magento/module-checkout/Model/Cart.php vendor/magento/module-checkout/Model/Cart.php
--- vendor/magento/module-checkout/Model/Cart.php 2025-11-24 17:35:36
+++ vendor/magento/module-checkout/Model/Cart.php 2025-11-24 17:34:34
@@ -535,7 +535,7 @@
continue;
}
- $qty = isset($itemInfo['qty']) ? (double)$itemInfo['qty'] : false;
+ $qty = isset($itemInfo['qty']) ? (float)$itemInfo['qty'] : false;
if ($qty > 0) {
$item->clearMessage();
$item->setHasError(false);
diff --color -ruN vendor/magento/module-cms/Test/Unit/Block/PageTest.php vendor/magento/module-cms/Test/Unit/Block/PageTest.php
--- vendor/magento/module-cms/Test/Unit/Block/PageTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-cms/Test/Unit/Block/PageTest.php 2025-11-24 17:34:22
@@ -30,7 +30,7 @@
$this->page = $objectManager->getObject(\Magento\Cms\Model\Page::class);
$reflection = new \ReflectionClass($this->page);
$reflectionProperty = $reflection->getProperty('_idFieldName');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->page, 'page_id');
$this->page->setId(1);
}
diff --color -ruN vendor/magento/module-cms/Test/Unit/Block/Widget/Page/LinkTest.php vendor/magento/module-cms/Test/Unit/Block/Widget/Page/LinkTest.php
--- vendor/magento/module-cms/Test/Unit/Block/Widget/Page/LinkTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-cms/Test/Unit/Block/Widget/Page/LinkTest.php 2025-11-24 17:34:22
@@ -196,7 +196,7 @@
// $objectManagerMock->method('get')->willReturnMap($map);
//
// $reflectionProperty = new \ReflectionProperty(\Magento\Framework\App\ObjectManager::class, '_instance');
-// $reflectionProperty->setAccessible(true);
+// $reflectionProperty;
// $reflectionProperty->setValue($objectManagerMock);
// }
}
diff --color -ruN vendor/magento/module-config/Test/Unit/Block/System/Config/Form/Field/NotificationTest.php vendor/magento/module-config/Test/Unit/Block/System/Config/Form/Field/NotificationTest.php
--- vendor/magento/module-config/Test/Unit/Block/System/Config/Form/Field/NotificationTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-config/Test/Unit/Block/System/Config/Form/Field/NotificationTest.php 2025-11-24 17:34:27
@@ -34,7 +34,7 @@
$reflection = new \ReflectionClass(DateTimeFormatter::class);
$reflectionProperty = $reflection->getProperty('localeResolver');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($dateTimeFormatter, $localeResolver);
$formattedDate = $dateTimeFormatter->formatObject($testDatetime);
diff --color -ruN vendor/magento/module-configurable-import-export/Test/Unit/Model/Export/RowCustomizerTest.php vendor/magento/module-configurable-import-export/Test/Unit/Model/Export/RowCustomizerTest.php
--- vendor/magento/module-configurable-import-export/Test/Unit/Model/Export/RowCustomizerTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-configurable-import-export/Test/Unit/Model/Export/RowCustomizerTest.php 2025-11-24 17:34:34
@@ -296,7 +296,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
return $reflectionProperty->getValue($object);
}
diff --color -ruN vendor/magento/module-configurable-import-export/Test/Unit/Model/Import/Product/Type/ConfigurableTest.php vendor/magento/module-configurable-import-export/Test/Unit/Model/Import/Product/Type/ConfigurableTest.php
--- vendor/magento/module-configurable-import-export/Test/Unit/Model/Import/Product/Type/ConfigurableTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-configurable-import-export/Test/Unit/Model/Import/Product/Type/ConfigurableTest.php 2025-11-24 17:34:34
@@ -838,7 +838,7 @@
{
$reflection = new ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($object, $value);
return $object;
diff --color -ruN vendor/magento/module-configurable-product/Test/Unit/Model/Attribute/LockValidatorTest.php vendor/magento/module-configurable-product/Test/Unit/Model/Attribute/LockValidatorTest.php
--- vendor/magento/module-configurable-product/Test/Unit/Model/Attribute/LockValidatorTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-configurable-product/Test/Unit/Model/Attribute/LockValidatorTest.php 2025-11-24 17:34:35
@@ -83,7 +83,7 @@
);
$refClass = new \ReflectionClass(LockValidator::class);
$refProperty = $refClass->getProperty('metadataPool');
- $refProperty->setAccessible(true);
+ $refProperty;
$refProperty->setValue($this->model, $this->metadataPoolMock);
}
diff --color -ruN vendor/magento/module-configurable-product/Test/Unit/Model/LinkManagementTest.php vendor/magento/module-configurable-product/Test/Unit/Model/LinkManagementTest.php
--- vendor/magento/module-configurable-product/Test/Unit/Model/LinkManagementTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-configurable-product/Test/Unit/Model/LinkManagementTest.php 2025-11-24 17:34:35
@@ -208,7 +208,7 @@
->getMock();
$reflectionClass = new \ReflectionClass(LinkManagement::class);
$optionsFactoryReflectionProperty = $reflectionClass->getProperty('optionsFactory');
- $optionsFactoryReflectionProperty->setAccessible(true);
+ $optionsFactoryReflectionProperty;
$optionsFactoryReflectionProperty->setValue($this->object, $optionsFactoryMock);
$attributeFactoryMock = $this->getMockBuilder(AttributeFactory::class)
@@ -216,7 +216,7 @@
->onlyMethods(['create'])
->getMock();
$attributeFactoryReflectionProperty = $reflectionClass->getProperty('attributeFactory');
- $attributeFactoryReflectionProperty->setAccessible(true);
+ $attributeFactoryReflectionProperty;
$attributeFactoryReflectionProperty->setValue($this->object, $attributeFactoryMock);
$attributeMock = $this->getMockBuilder(Attribute::class)
diff --color -ruN vendor/magento/module-configurable-product/Test/Unit/Model/Product/Type/ConfigurableTest.php vendor/magento/module-configurable-product/Test/Unit/Model/Product/Type/ConfigurableTest.php
--- vendor/magento/module-configurable-product/Test/Unit/Model/Product/Type/ConfigurableTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-configurable-product/Test/Unit/Model/Product/Type/ConfigurableTest.php 2025-11-24 17:34:35
@@ -251,7 +251,7 @@
);
$refClass = new ReflectionClass(Configurable::class);
$refProperty = $refClass->getProperty('metadataPool');
- $refProperty->setAccessible(true);
+ $refProperty;
$refProperty->setValue($this->model, $this->metadataPool);
}
diff --color -ruN vendor/magento/module-configurable-product/Test/Unit/Pricing/Price/ConfigurablePriceResolverTest.php vendor/magento/module-configurable-product/Test/Unit/Pricing/Price/ConfigurablePriceResolverTest.php
--- vendor/magento/module-configurable-product/Test/Unit/Pricing/Price/ConfigurablePriceResolverTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-configurable-product/Test/Unit/Pricing/Price/ConfigurablePriceResolverTest.php 2025-11-24 17:34:35
@@ -106,7 +106,7 @@
],
$expectedPrice = 0.00,
],
- 'Single variant at price 5 (integer), should return 5.00 (float)' => [
+ 'Single variant at price 5 (int), should return 5.00 (float)' => [
$variantPrices = [
5,
],
diff --color -ruN vendor/magento/module-cookie/Block/RequireCookie.php vendor/magento/module-cookie/Block/RequireCookie.php
--- vendor/magento/module-cookie/Block/RequireCookie.php 2025-11-24 17:35:36
+++ vendor/magento/module-cookie/Block/RequireCookie.php 2025-11-24 17:34:34
@@ -29,7 +29,7 @@
*/
public function getScriptOptions()
{
- $isRedirectCmsPage = (boolean)$this->_scopeConfig->getValue('web/browser_capabilities/cookies');
+ $isRedirectCmsPage = (bool)$this->_scopeConfig->getValue('web/browser_capabilities/cookies');
$params = [
'noCookieUrl' => $this->escapeUrl($this->getUrl('cookie/index/noCookies/')),
'triggers' => $this->escapeHtml($this->getTriggers()),
diff --color -ruN vendor/magento/module-customer/Block/Adminhtml/Edit/Tab/Newsletter/Grid/Filter/Status.php vendor/magento/module-customer/Block/Adminhtml/Edit/Tab/Newsletter/Grid/Filter/Status.php
--- vendor/magento/module-customer/Block/Adminhtml/Edit/Tab/Newsletter/Grid/Filter/Status.php 2025-11-24 17:35:24
+++ vendor/magento/module-customer/Block/Adminhtml/Edit/Tab/Newsletter/Grid/Filter/Status.php 2025-11-24 17:34:30
@@ -23,7 +23,7 @@
protected function _construct()
{
self::$_statuses = [
- null => null,
+ '' => null,
Queue::STATUS_SENT => __('Sent'),
Queue::STATUS_CANCEL => __('Cancel'),
Queue::STATUS_NEVER => __('Not Sent'),
diff --color -ruN vendor/magento/module-customer/Model/AttributeMetadataConverter.php vendor/magento/module-customer/Model/AttributeMetadataConverter.php
--- vendor/magento/module-customer/Model/AttributeMetadataConverter.php 2025-11-24 17:35:36
+++ vendor/magento/module-customer/Model/AttributeMetadataConverter.php 2025-11-24 17:34:30
@@ -137,16 +137,16 @@
->setInputFilter((string)$attribute->getInputFilter())
->setStoreLabel($attribute->getStoreLabel())
->setValidationRules($validationRules)
- ->setIsVisible((boolean)$attribute->getIsVisible())
- ->setIsRequired((boolean)$attribute->getIsRequired())
+ ->setIsVisible((bool)$attribute->getIsVisible())
+ ->setIsRequired((bool)$attribute->getIsRequired())
->setMultilineCount((int)$attribute->getMultilineCount())
->setDataModel((string)$attribute->getDataModel())
->setOptions($options)
->setFrontendClass($attribute->getFrontend()->getClass())
->setFrontendLabel($attribute->getFrontendLabel())
->setNote((string)$attribute->getNote())
- ->setIsSystem((boolean)$attribute->getIsSystem())
- ->setIsUserDefined((boolean)$attribute->getIsUserDefined())
+ ->setIsSystem((bool)$attribute->getIsSystem())
+ ->setIsUserDefined((bool)$attribute->getIsUserDefined())
->setBackendType($attribute->getBackendType())
->setSortOrder((int)$attribute->getSortOrder())
->setIsUsedInGrid($attribute->getIsUsedInGrid())
diff --color -ruN vendor/magento/module-customer/Model/CustomerRegistry.php vendor/magento/module-customer/Model/CustomerRegistry.php
--- vendor/magento/module-customer/Model/CustomerRegistry.php 2025-11-24 17:35:36
+++ vendor/magento/module-customer/Model/CustomerRegistry.php 2025-11-24 17:34:30
@@ -78,8 +78,8 @@
*/
public function retrieve($customerId)
{
- if (isset($this->customerRegistryById[$customerId])) {
- return $this->customerRegistryById[$customerId];
+ if (isset($this->customerRegistryById[(string)$customerId])) {
+ return $this->customerRegistryById[(string)$customerId];
}
/** @var Customer $customer */
$customer = $this->customerFactory->create()->load($customerId);
diff --color -ruN vendor/magento/module-customer/Model/Visitor.php vendor/magento/module-customer/Model/Visitor.php
--- vendor/magento/module-customer/Model/Visitor.php 2025-11-24 17:35:36
+++ vendor/magento/module-customer/Model/Visitor.php 2025-11-24 17:34:30
@@ -270,7 +270,7 @@
{
if (is_array($this->ignores) && $observer) {
$curModule = $this->requestSafety->getRouteName();
- if (isset($this->ignores[$curModule])) {
+ if (isset($this->ignores[(string)$curModule])) {
return true;
}
}
diff --color -ruN vendor/magento/module-customer/Test/Unit/Controller/Account/LoginPostTest.php vendor/magento/module-customer/Test/Unit/Controller/Account/LoginPostTest.php
--- vendor/magento/module-customer/Test/Unit/Controller/Account/LoginPostTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-customer/Test/Unit/Controller/Account/LoginPostTest.php 2025-11-24 17:34:30
@@ -145,7 +145,7 @@
);
$reflection = new \ReflectionClass(get_class($this->controller));
$reflectionProperty = $reflection->getProperty('scopeConfig');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->controller, $this->scopeConfig);
}
@@ -326,7 +326,7 @@
->willReturn(false);
$refClass = new \ReflectionClass(LoginPost::class);
$refProperty = $refClass->getProperty('cookieMetadataManager');
- $refProperty->setAccessible(true);
+ $refProperty;
$refProperty->setValue($this->controller, $cookieMetadataManager);
$this->assertSame($this->resultRedirect, $this->controller->execute());
@@ -408,11 +408,11 @@
$refClass = new \ReflectionClass(LoginPost::class);
$cookieMetadataManagerProperty = $refClass->getProperty('cookieMetadataManager');
- $cookieMetadataManagerProperty->setAccessible(true);
+ $cookieMetadataManagerProperty;
$cookieMetadataManagerProperty->setValue($this->controller, $cookieMetadataManager);
$cookieMetadataFactoryProperty = $refClass->getProperty('cookieMetadataFactory');
- $cookieMetadataFactoryProperty->setAccessible(true);
+ $cookieMetadataFactoryProperty;
$cookieMetadataFactoryProperty->setValue($this->controller, $cookieMetadataFactory);
$this->assertSame($this->resultRedirect, $this->controller->execute());
diff --color -ruN vendor/magento/module-customer/Test/Unit/Controller/Account/LogoutTest.php vendor/magento/module-customer/Test/Unit/Controller/Account/LogoutTest.php
--- vendor/magento/module-customer/Test/Unit/Controller/Account/LogoutTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-customer/Test/Unit/Controller/Account/LogoutTest.php 2025-11-24 17:34:30
@@ -88,11 +88,11 @@
$refClass = new \ReflectionClass(Logout::class);
$cookieMetadataManagerProperty = $refClass->getProperty('cookieMetadataManager');
- $cookieMetadataManagerProperty->setAccessible(true);
+ $cookieMetadataManagerProperty;
$cookieMetadataManagerProperty->setValue($this->controller, $this->cookieManager);
$cookieMetadataFactoryProperty = $refClass->getProperty('cookieMetadataFactory');
- $cookieMetadataFactoryProperty->setAccessible(true);
+ $cookieMetadataFactoryProperty;
$cookieMetadataFactoryProperty->setValue($this->controller, $this->cookieMetadataFactory);
}
diff --color -ruN vendor/magento/module-customer/Test/Unit/Controller/Adminhtml/Index/InlineEditTest.php vendor/magento/module-customer/Test/Unit/Controller/Adminhtml/Index/InlineEditTest.php
--- vendor/magento/module-customer/Test/Unit/Controller/Adminhtml/Index/InlineEditTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-customer/Test/Unit/Controller/Adminhtml/Index/InlineEditTest.php 2025-11-24 17:34:30
@@ -241,7 +241,7 @@
);
$reflection = new \ReflectionClass(get_class($this->controller));
$reflectionProperty = $reflection->getProperty('emailNotification');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->controller, $this->emailNotification);
$this->items = [
diff --color -ruN vendor/magento/module-customer/Test/Unit/Model/Customer/DataProviderTest.php vendor/magento/module-customer/Test/Unit/Model/Customer/DataProviderTest.php
--- vendor/magento/module-customer/Test/Unit/Model/Customer/DataProviderTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-customer/Test/Unit/Model/Customer/DataProviderTest.php 2025-11-24 17:34:30
@@ -628,7 +628,7 @@
$reflection = new \ReflectionClass(get_class($dataProvider));
$reflectionProperty = $reflection->getProperty('session');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($dataProvider, $this->sessionMock);
$this->sessionMock->expects($this->once())
@@ -755,7 +755,7 @@
$reflection = new \ReflectionClass(get_class($dataProvider));
$reflectionProperty = $reflection->getProperty('session');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($dataProvider, $this->sessionMock);
$this->sessionMock->expects($this->once())
diff --color -ruN vendor/magento/module-customer/Test/Unit/Model/Renderer/RegionTest.php vendor/magento/module-customer/Test/Unit/Model/Renderer/RegionTest.php
--- vendor/magento/module-customer/Test/Unit/Model/Renderer/RegionTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-customer/Test/Unit/Model/Renderer/RegionTest.php 2025-11-24 17:34:30
@@ -108,7 +108,7 @@
$escaper = $objectManager->getObject(Escaper::class);
$reflection = new \ReflectionClass($elementMock);
$reflection_property = $reflection->getProperty('_escaper');
- $reflection_property->setAccessible(true);
+ $reflection_property;
$reflection_property->setValue($elementMock, $escaper);
$formMock->expects(
@@ -134,7 +134,7 @@
$model = new Region($countryFactoryMock, $directoryHelperMock, $escaperMock);
$static = new \ReflectionProperty(Region::class, '_regionCollections');
- $static->setAccessible(true);
+ $static;
$static->setValue(null, null);
$html = $model->render($elementMock);
diff --color -ruN vendor/magento/module-customer-import-export/Test/Unit/Model/Import/AbstractCustomerTest.php vendor/magento/module-customer-import-export/Test/Unit/Model/Import/AbstractCustomerTest.php
--- vendor/magento/module-customer-import-export/Test/Unit/Model/Import/AbstractCustomerTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-customer-import-export/Test/Unit/Model/Import/AbstractCustomerTest.php 2025-11-24 17:34:22
@@ -95,11 +95,11 @@
$modelMock->method('getErrorAggregator')->willReturn($this->getErrorAggregatorObject());
$property = new \ReflectionProperty($modelMock, '_websiteCodeToId');
- $property->setAccessible(true);
+ $property;
$property->setValue($modelMock, array_flip($this->_websites));
$property = new \ReflectionProperty($modelMock, '_availableBehaviors');
- $property->setAccessible(true);
+ $property;
$property->setValue($modelMock, $this->_availableBehaviors);
$modelMock->expects($this->any())
@@ -187,7 +187,7 @@
AbstractCustomer::class,
'_checkUniqueKey'
);
- $checkUniqueKey->setAccessible(true);
+ $checkUniqueKey;
if ($isValid) {
$this->assertTrue($checkUniqueKey->invoke($this->_model, $rowData, 0));
@@ -236,7 +236,7 @@
AbstractCustomer::class,
'_validatedRows'
);
- $validatedRows->setAccessible(true);
+ $validatedRows;
$validatedRows->setValue($this->_model, []);
$validatedRows->setAccessible(false);
@@ -245,7 +245,7 @@
AbstractCustomer::class,
'_processedEntitiesCount'
);
- $entitiesCount->setAccessible(true);
+ $entitiesCount;
$entitiesCount->setValue($this->_model, 0);
$entitiesCount->setAccessible(false);
}
diff --color -ruN vendor/magento/module-customer-import-export/Test/Unit/Model/Import/AddressTest.php vendor/magento/module-customer-import-export/Test/Unit/Model/Import/AddressTest.php
--- vendor/magento/module-customer-import-export/Test/Unit/Model/Import/AddressTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-customer-import-export/Test/Unit/Model/Import/AddressTest.php 2025-11-24 17:34:22
@@ -391,7 +391,7 @@
);
$property = new \ReflectionProperty($modelMock, '_availableBehaviors');
- $property->setAccessible(true);
+ $property;
$property->setValue($modelMock, $this->_availableBehaviors);
return $modelMock;
diff --color -ruN vendor/magento/module-data-exporter/Uuid/UuidManager.php vendor/magento/module-data-exporter/Uuid/UuidManager.php
--- vendor/magento/module-data-exporter/Uuid/UuidManager.php 2025-11-24 17:35:36
+++ vendor/magento/module-data-exporter/Uuid/UuidManager.php 2025-11-24 17:34:22
@@ -125,7 +125,7 @@
*/
public function isAssigned(int $entityId, string $type): bool
{
- return (boolean) $this->salesOrderResource->getAssignedIds([$entityId], $type);
+ return (bool) $this->salesOrderResource->getAssignedIds([$entityId], $type);
}
/**
diff --color -ruN vendor/magento/module-deploy/Test/Unit/Console/Command/ApplicationDumpCommandTest.php vendor/magento/module-deploy/Test/Unit/Console/Command/ApplicationDumpCommandTest.php
--- vendor/magento/module-deploy/Test/Unit/Console/Command/ApplicationDumpCommandTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-deploy/Test/Unit/Console/Command/ApplicationDumpCommandTest.php 2025-11-24 17:34:26
@@ -144,7 +144,7 @@
});
$method = new \ReflectionMethod(ApplicationDumpCommand::class, 'execute');
- $method->setAccessible(true);
+ $method;
$this->assertEquals(
Cli::RETURN_SUCCESS,
$method->invokeArgs(
diff --color -ruN vendor/magento/module-dhl/Test/Unit/Model/CarrierTest.php vendor/magento/module-dhl/Test/Unit/Model/CarrierTest.php
--- vendor/magento/module-dhl/Test/Unit/Model/CarrierTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-dhl/Test/Unit/Model/CarrierTest.php 2025-11-24 17:34:34
@@ -251,7 +251,7 @@
{
$model = $this->objectManager->getObject(Carrier::class);
$method = new \ReflectionMethod($model, '_prepareShippingLabelContent');
- $method->setAccessible(true);
+ $method;
return $method->invoke($model, $xml);
}
@@ -352,7 +352,7 @@
public function testBuildMessageReference($servicePrefix)
{
$method = new \ReflectionMethod($this->model, 'buildMessageReference');
- $method->setAccessible(true);
+ $method;
$messageReference = $method->invoke($this->model, $servicePrefix);
$this->assertGreaterThanOrEqual(28, strlen($messageReference));
@@ -381,7 +381,7 @@
$this->expectException('Magento\Framework\Exception\LocalizedException');
$this->expectExceptionMessage('Invalid service prefix');
$method = new \ReflectionMethod($this->model, 'buildMessageReference');
- $method->setAccessible(true);
+ $method;
$method->invoke($this->model, 'INVALID');
}
@@ -396,7 +396,7 @@
public function testBuildSoftwareName($productName)
{
$method = new \ReflectionMethod($this->model, 'buildSoftwareName');
- $method->setAccessible(true);
+ $method;
$this->productMetadataMock->method('getName')->willReturn($productName);
@@ -427,7 +427,7 @@
public function testBuildSoftwareVersion($productVersion)
{
$method = new \ReflectionMethod($this->model, 'buildSoftwareVersion');
- $method->setAccessible(true);
+ $method;
$this->productMetadataMock->method('getVersion')->willReturn($productVersion);
@@ -475,7 +475,7 @@
);
$method = new \ReflectionMethod($this->model, 'getGatewayURL');
- $method->setAccessible(true);
+ $method;
$this->assertEquals($expectedURL, $method->invoke($this->model));
}
diff --color -ruN vendor/magento/module-directory/Model/Currency/Import/CurrencyConverterApi.php vendor/magento/module-directory/Model/Currency/Import/CurrencyConverterApi.php
--- vendor/magento/module-directory/Model/Currency/Import/CurrencyConverterApi.php 2025-11-24 17:35:36
+++ vendor/magento/module-directory/Model/Currency/Import/CurrencyConverterApi.php 2025-11-24 17:34:34
@@ -120,7 +120,7 @@
$data[$currencyFrom][$to] = null;
} else {
$data[$currencyFrom][$to] = $this->_numberFormat(
- (double)$response[$currencyFrom . '_' . $to]
+ (float)$response[$currencyFrom . '_' . $to]
);
}
}
diff --color -ruN vendor/magento/module-directory/Model/Currency/Import/FixerIo.php vendor/magento/module-directory/Model/Currency/Import/FixerIo.php
--- vendor/magento/module-directory/Model/Currency/Import/FixerIo.php 2025-11-24 17:35:36
+++ vendor/magento/module-directory/Model/Currency/Import/FixerIo.php 2025-11-24 17:34:34
@@ -133,7 +133,7 @@
$data[$currencyFrom][$currencyTo] = null;
} else {
$data[$currencyFrom][$currencyTo] = $this->_numberFormat(
- (double)$response['rates'][$currencyTo]
+ (float)$response['rates'][$currencyTo]
);
}
}
diff --color -ruN vendor/magento/module-directory/Model/Currency/Import/FixerIoApiLayer.php vendor/magento/module-directory/Model/Currency/Import/FixerIoApiLayer.php
--- vendor/magento/module-directory/Model/Currency/Import/FixerIoApiLayer.php 2025-11-24 17:35:36
+++ vendor/magento/module-directory/Model/Currency/Import/FixerIoApiLayer.php 2025-11-24 17:34:34
@@ -147,7 +147,7 @@
$this->messages[] = __($message, self::CURRENCY_CONVERTER_HOST, $currencyTo);
$data[$currencyFrom][$currencyTo] = null;
} else {
- $data[$currencyFrom][$currencyTo] = (double)$response['rates'][$currencyTo];
+ $data[$currencyFrom][$currencyTo] = (float)$response['rates'][$currencyTo];
}
}
}
diff --color -ruN vendor/magento/module-directory/Test/Unit/Helper/DataTest.php vendor/magento/module-directory/Test/Unit/Helper/DataTest.php
--- vendor/magento/module-directory/Test/Unit/Helper/DataTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-directory/Test/Unit/Helper/DataTest.php 2025-11-24 17:34:34
@@ -380,7 +380,7 @@
$reflector = new \ReflectionClass($this->_object);
$method = $reflector->getMethod('getCurrentScope');
- $method->setAccessible(true);
+ $method;
$result = $method->invoke($this->_object);
$this->assertIsArray($result);
diff --color -ruN vendor/magento/module-downloadable/Model/ResourceModel/Link.php vendor/magento/module-downloadable/Model/ResourceModel/Link.php
--- vendor/magento/module-downloadable/Model/ResourceModel/Link.php 2025-11-24 17:35:36
+++ vendor/magento/module-downloadable/Model/ResourceModel/Link.php 2025-11-24 17:34:23
@@ -123,7 +123,7 @@
$dataToInsert[] = [
'link_id' => $linkObject->getId(),
'website_id' => (int)$linkObject->getWebsiteId(),
- 'price' => (double)$linkObject->getPrice(),
+ 'price' => (float)$linkObject->getPrice(),
];
if ($linkObject->getOrigData('link_id') != $linkObject->getLinkId()) {
$_isNew = true;
diff --color -ruN vendor/magento/module-downloadable/Test/Unit/Model/LinkRepositoryTest.php vendor/magento/module-downloadable/Test/Unit/Model/LinkRepositoryTest.php
--- vendor/magento/module-downloadable/Test/Unit/Model/LinkRepositoryTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-downloadable/Test/Unit/Model/LinkRepositoryTest.php 2025-11-24 17:34:23
@@ -142,7 +142,7 @@
MetadataPool::class
)->disableOriginalConstructor()
->getMock();
- $metadataPoolProperty->setAccessible(true);
+ $metadataPoolProperty;
$metadataPoolProperty->setValue(
$this->service,
$this->metadataPoolMock
@@ -152,7 +152,7 @@
Link::class
)->disableOriginalConstructor()
->getMock();
- $saveHandlerProperty->setAccessible(true);
+ $saveHandlerProperty;
$saveHandlerProperty->setValue(
$this->service,
$this->linkHandlerMock
diff --color -ruN vendor/magento/module-downloadable/Test/Unit/Model/Product/TypeHandler/LinkTest.php vendor/magento/module-downloadable/Test/Unit/Model/Product/TypeHandler/LinkTest.php
--- vendor/magento/module-downloadable/Test/Unit/Model/Product/TypeHandler/LinkTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-downloadable/Test/Unit/Model/Product/TypeHandler/LinkTest.php 2025-11-24 17:34:23
@@ -75,7 +75,7 @@
);
$refClass = new \ReflectionClass(Link::class);
$refProperty = $refClass->getProperty('metadataPool');
- $refProperty->setAccessible(true);
+ $refProperty;
$refProperty->setValue($this->target, $this->metadataPoolMock);
}
diff --color -ruN vendor/magento/module-downloadable/Test/Unit/Model/Product/TypeHandler/SampleTest.php vendor/magento/module-downloadable/Test/Unit/Model/Product/TypeHandler/SampleTest.php
--- vendor/magento/module-downloadable/Test/Unit/Model/Product/TypeHandler/SampleTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-downloadable/Test/Unit/Model/Product/TypeHandler/SampleTest.php 2025-11-24 17:34:23
@@ -84,7 +84,7 @@
);
$refClass = new \ReflectionClass(Sample::class);
$refProperty = $refClass->getProperty('metadataPool');
- $refProperty->setAccessible(true);
+ $refProperty;
$refProperty->setValue($this->target, $this->metadataPoolMock);
}
diff --color -ruN vendor/magento/module-downloadable/Test/Unit/Model/SampleRepositoryTest.php vendor/magento/module-downloadable/Test/Unit/Model/SampleRepositoryTest.php
--- vendor/magento/module-downloadable/Test/Unit/Model/SampleRepositoryTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-downloadable/Test/Unit/Model/SampleRepositoryTest.php 2025-11-24 17:34:23
@@ -136,7 +136,7 @@
MetadataPool::class
)->disableOriginalConstructor()
->getMock();
- $metadataPoolProperty->setAccessible(true);
+ $metadataPoolProperty;
$metadataPoolProperty->setValue(
$this->service,
$this->metadataPoolMock
@@ -146,7 +146,7 @@
Sample::class
)->disableOriginalConstructor()
->getMock();
- $saveHandlerProperty->setAccessible(true);
+ $saveHandlerProperty;
$saveHandlerProperty->setValue(
$this->service,
$this->sampleHandlerMock
diff --color -ruN vendor/magento/module-downloadable-import-export/Test/Unit/Model/Import/Product/Type/DownloadableTest.php vendor/magento/module-downloadable-import-export/Test/Unit/Model/Import/Product/Type/DownloadableTest.php
--- vendor/magento/module-downloadable-import-export/Test/Unit/Model/Import/Product/Type/DownloadableTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-downloadable-import-export/Test/Unit/Model/Import/Product/Type/DownloadableTest.php 2025-11-24 17:34:34
@@ -911,7 +911,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($object, $value);
return $object;
}
diff --color -ruN vendor/magento/module-eav/Model/Config.php vendor/magento/module-eav/Model/Config.php
--- vendor/magento/module-eav/Model/Config.php 2025-11-24 17:35:36
+++ vendor/magento/module-eav/Model/Config.php 2025-11-24 17:34:32
@@ -326,7 +326,7 @@
*/
protected function _addAttributeReference($id, $code, $entityTypeCode)
{
- $this->_references['attribute'][$entityTypeCode][$id] = $code;
+ $this->_references['attribute'][(string)$entityTypeCode][(string)$id] = $code;
return $this;
}
diff --color -ruN vendor/magento/module-eav/Test/Unit/Model/Entity/Attribute/AbstractAttributeTest.php vendor/magento/module-eav/Test/Unit/Model/Entity/Attribute/AbstractAttributeTest.php
--- vendor/magento/module-eav/Test/Unit/Model/Entity/Attribute/AbstractAttributeTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-eav/Test/Unit/Model/Entity/Attribute/AbstractAttributeTest.php 2025-11-24 17:34:32
@@ -163,7 +163,7 @@
$reflection = new \ReflectionClass($modelClassName);
$reflectionProperty = $reflection->getProperty('serializer');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($model, $serializerMock);
$model->setData(AttributeInterface::VALIDATE_RULES, $rule);
diff --color -ruN vendor/magento/module-elasticsearch-8/Test/Unit/Model/Client/ElasticsearchTest.php vendor/magento/module-elasticsearch-8/Test/Unit/Model/Client/ElasticsearchTest.php
--- vendor/magento/module-elasticsearch-8/Test/Unit/Model/Client/ElasticsearchTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-elasticsearch-8/Test/Unit/Model/Client/ElasticsearchTest.php 2025-11-24 17:34:35
@@ -183,7 +183,7 @@
{
$reflector = new \ReflectionClass(Elasticsearch::class);
$method = $reflector->getMethod('buildESConfig');
- $method->setAccessible(true);
+ $method;
return $method;
}
diff --color -ruN vendor/magento/module-email/Test/Unit/Model/Template/FilterTest.php vendor/magento/module-email/Test/Unit/Model/Template/FilterTest.php
--- vendor/magento/module-email/Test/Unit/Model/Template/FilterTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-email/Test/Unit/Model/Template/FilterTest.php 2025-11-24 17:34:35
@@ -314,7 +314,7 @@
->getMock();
$reflectionClass = new \ReflectionClass(Filter::class);
$reflectionProperty = $reflectionClass->getProperty('cssProcessor');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($filter, $cssProcessor);
$cssProcessor->expects($this->any())
->method('process')
@@ -425,7 +425,7 @@
->getMock();
$reflectionClass = new \ReflectionClass(Filter::class);
$reflectionProperty = $reflectionClass->getProperty('cssProcessor');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($filter, $cssProcessor);
$cssProcessor->expects($this->any())
->method('process')
diff --color -ruN vendor/magento/module-fedex/Model/Carrier.php vendor/magento/module-fedex/Model/Carrier.php
--- vendor/magento/module-fedex/Model/Carrier.php 2025-11-24 17:35:36
+++ vendor/magento/module-fedex/Model/Carrier.php 2025-11-24 17:34:22
@@ -426,12 +426,12 @@
'PACKAGE';
$ratesRequest['requestedShipment']['requestedPackageLineItems'][$packageNum]['groupPackageCount'] = 1;
$ratesRequest['requestedShipment']['requestedPackageLineItems'][$packageNum]['weight']['value']
- = (double) $package['weight'];
+ = (float) $package['weight'];
$ratesRequest['requestedShipment']['requestedPackageLineItems'][$packageNum]['weight']['units']
= $this->getConfigData('unit_of_measure');
if (isset($package['price'])) {
$ratesRequest['requestedShipment']['requestedPackageLineItems'][$packageNum]['declaredValue']['amount']
- = (double) $package['price'];
+ = (float) $package['price'];
$ratesRequest['requestedShipment']['requestedPackageLineItems'][$packageNum]['declaredValue']
['currency'] = $this->getCurrencyCode();
}
@@ -445,7 +445,7 @@
if ($purpose == self::RATE_REQUEST_SMARTPOST) {
$ratesRequest['requestedShipment']['serviceType'] = self::RATE_REQUEST_SMARTPOST;
$ratesRequest['requestedShipment']['smartPostInfoDetail'] = [
- 'indicia' => (double)$r->getWeight() >= 1 ? 'PARCEL_SELECT' : 'PRESORTED_STANDARD',
+ 'indicia' => (float)$r->getWeight() >= 1 ? 'PARCEL_SELECT' : 'PRESORTED_STANDARD',
'hubId' => $this->getConfigData('smartpost_hubid'),
];
}
@@ -1316,7 +1316,7 @@
if ($request->getShippingMethod() == self::RATE_REQUEST_SMARTPOST) {
$requestClient['requestedShipment']['smartPostInfoDetail'] = [
- 'indicia' => (double)$request->getPackageWeight() >= 1 ? 'PARCEL_SELECT' : 'PRESORTED_STANDARD',
+ 'indicia' => (float)$request->getPackageWeight() >= 1 ? 'PARCEL_SELECT' : 'PRESORTED_STANDARD',
'hubId' => $this->getConfigData('smartpost_hubid'),
];
}
diff --color -ruN vendor/magento/module-fedex/Test/Unit/Model/CarrierTest.php vendor/magento/module-fedex/Test/Unit/Model/CarrierTest.php
--- vendor/magento/module-fedex/Test/Unit/Model/CarrierTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-fedex/Test/Unit/Model/CarrierTest.php 2025-11-24 17:34:22
@@ -583,11 +583,11 @@
{
$refClass = new \ReflectionClass(Carrier::class);
$property = $refClass->getProperty('_debugReplacePrivateDataKeys');
- $property->setAccessible(true);
+ $property;
$property->setValue($this->carrier, $maskFields);
$refMethod = $refClass->getMethod('filterDebugData');
- $refMethod->setAccessible(true);
+ $refMethod;
$result = $refMethod->invoke($this->carrier, $data);
$this->assertEquals($expected, $result);
}
diff --color -ruN vendor/magento/module-google-adwords/Helper/Data.php vendor/magento/module-google-adwords/Helper/Data.php
--- vendor/magento/module-google-adwords/Helper/Data.php 2025-11-24 17:35:36
+++ vendor/magento/module-google-adwords/Helper/Data.php 2025-11-24 17:34:26
@@ -255,7 +255,7 @@
*/
public function getConversionValueConstant()
{
- return (double)$this->scopeConfig->getValue(
+ return (float)$this->scopeConfig->getValue(
self::XML_PATH_CONVERSION_VALUE,
\Magento\Store\Model\ScopeInterface::SCOPE_STORE
);
@@ -269,7 +269,7 @@
public function getConversionValue()
{
if ($this->isDynamicConversionValue()) {
- $conversionValue = (double)$this->_registry->registry(self::CONVERSION_VALUE_REGISTRY_NAME);
+ $conversionValue = (float)$this->_registry->registry(self::CONVERSION_VALUE_REGISTRY_NAME);
} else {
$conversionValue = $this->getConversionValueConstant();
}
diff --color -ruN vendor/magento/module-graph-ql-resolver-cache/App/Cache/Tag/Strategy/Locator.php vendor/magento/module-graph-ql-resolver-cache/App/Cache/Tag/Strategy/Locator.php
--- vendor/magento/module-graph-ql-resolver-cache/App/Cache/Tag/Strategy/Locator.php 2025-11-24 17:35:36
+++ vendor/magento/module-graph-ql-resolver-cache/App/Cache/Tag/Strategy/Locator.php 2025-11-24 17:34:33
@@ -51,6 +51,6 @@
$result = array_intersect(array_keys($this->customStrategies), $classHierarchy);
- return $this->customStrategies[array_shift($result)] ?? null;
+ return $this->customStrategies[(string)array_shift($result)] ?? null;
}
}
diff --color -ruN vendor/magento/module-grouped-import-export/Test/Unit/Model/Import/Product/Type/GroupedTest.php vendor/magento/module-grouped-import-export/Test/Unit/Model/Import/Product/Type/GroupedTest.php
--- vendor/magento/module-grouped-import-export/Test/Unit/Model/Import/Product/Type/GroupedTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-grouped-import-export/Test/Unit/Model/Import/Product/Type/GroupedTest.php 2025-11-24 17:34:27
@@ -210,7 +210,7 @@
->willReturn('entity_id');
$reflection = new \ReflectionClass(Grouped::class);
$reflectionProperty = $reflection->getProperty('metadataPool');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->grouped, $metadataPoolMock);
}
diff --color -ruN vendor/magento/module-grouped-product/Test/Unit/Model/ProductTest.php vendor/magento/module-grouped-product/Test/Unit/Model/ProductTest.php
--- vendor/magento/module-grouped-product/Test/Unit/Model/ProductTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-grouped-product/Test/Unit/Model/ProductTest.php 2025-11-24 17:34:28
@@ -379,7 +379,7 @@
$groupExtension = $this->objectManagerHelper->getObject(ProductLinkExtension::class);
$reflectionOfExtension = new \ReflectionClass(ProductLinkExtension::class);
$method = $reflectionOfExtension->getMethod('setData');
- $method->setAccessible(true);
+ $method;
$method->invokeArgs($groupExtension, ['qty', 1]);
$outputGroupLink = $this->objectManagerHelper->getObject(Link::class);
diff --color -ruN vendor/magento/module-import-export/Model/Import/AbstractEntity.php vendor/magento/module-import-export/Model/Import/AbstractEntity.php
--- vendor/magento/module-import-export/Model/Import/AbstractEntity.php 2025-11-24 17:35:36
+++ vendor/magento/module-import-export/Model/Import/AbstractEntity.php 2025-11-24 17:34:33
@@ -719,7 +719,7 @@
break;
case 'decimal':
$value = trim($rowData[$attributeCode]);
- $valid = (double)$value == $value && is_numeric($value);
+ $valid = (float)$value == $value && is_numeric($value);
$message = self::ERROR_INVALID_ATTRIBUTE_TYPE;
break;
case 'select':
diff --color -ruN vendor/magento/module-import-export/Model/Import/Entity/AbstractEntity.php vendor/magento/module-import-export/Model/Import/Entity/AbstractEntity.php
--- vendor/magento/module-import-export/Model/Import/Entity/AbstractEntity.php 2025-11-24 17:35:36
+++ vendor/magento/module-import-export/Model/Import/Entity/AbstractEntity.php 2025-11-24 17:34:33
@@ -660,7 +660,7 @@
break;
case 'decimal':
$val = trim($rowData[$attrCode] ?? '');
- $valid = (double)$val == $val;
+ $valid = (float)$val == $val;
break;
case 'select':
case 'multiselect':
diff --color -ruN vendor/magento/module-import-export/Test/Unit/Controller/Adminhtml/Import/ValidateTest.php vendor/magento/module-import-export/Test/Unit/Controller/Adminhtml/Import/ValidateTest.php
--- vendor/magento/module-import-export/Test/Unit/Controller/Adminhtml/Import/ValidateTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-import-export/Test/Unit/Controller/Adminhtml/Import/ValidateTest.php 2025-11-24 17:34:33
@@ -155,7 +155,7 @@
);
$reflection = new \ReflectionClass($this->validate);
$importProperty = $reflection->getProperty('import');
- $importProperty->setAccessible(true);
+ $importProperty;
$importProperty->setValue($this->validate, $this->importMock);
}
diff --color -ruN vendor/magento/module-import-export/Test/Unit/Model/Export/Entity/AbstractEavTest.php vendor/magento/module-import-export/Test/Unit/Model/Export/Entity/AbstractEavTest.php
--- vendor/magento/module-import-export/Test/Unit/Model/Export/Entity/AbstractEavTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-import-export/Test/Unit/Model/Export/Entity/AbstractEavTest.php 2025-11-24 17:34:33
@@ -64,7 +64,7 @@
public function testAddAttributesToCollection()
{
$method = new \ReflectionMethod($this->_model, '_addAttributesToCollection');
- $method->setAccessible(true);
+ $method;
$stubCollection = $this->createPartialMock(
AbstractCollection::class,
['addAttributeToSelect']
@@ -124,11 +124,11 @@
$item->expects($this->any())->method('getData')->willReturn($testAttributeValue);
$method = new \ReflectionMethod($this->_model, '_initAttributeValues');
- $method->setAccessible(true);
+ $method;
$method->invoke($this->_model);
$method = new \ReflectionMethod($this->_model, '_addAttributeValuesToRow');
- $method->setAccessible(true);
+ $method;
$row = $method->invoke($this->_model, $item);
/**
* Prepare expected data
diff --color -ruN vendor/magento/module-import-export/Test/Unit/Model/Import/EntityAbstractTest.php vendor/magento/module-import-export/Test/Unit/Model/Import/EntityAbstractTest.php
--- vendor/magento/module-import-export/Test/Unit/Model/Import/EntityAbstractTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-import-export/Test/Unit/Model/Import/EntityAbstractTest.php 2025-11-24 17:34:33
@@ -120,7 +120,7 @@
];
$method = new \ReflectionMethod($this->_model, '_prepareRowForDb');
- $method->setAccessible(true);
+ $method;
$actual = $method->invoke($this->_model, $expected);
$expected['test3'] = null;
@@ -159,7 +159,7 @@
$attributeCode = 'test';
$property = new \ReflectionProperty($this->_model, '_specialAttributes');
- $property->setAccessible(true);
+ $property;
$property->setValue($this->_model, [$attributeCode]);
$this->assertTrue($this->_model->isAttributeParticular($attributeCode));
@@ -188,7 +188,7 @@
$rows = 4;
$skippedRows = [2 => true, 4 => true];
$property = new \ReflectionProperty($this->_model, '_skippedRows');
- $property->setAccessible(true);
+ $property;
$property->setValue($this->_model, $skippedRows);
$modelForValidateRow = clone $this->_model;
@@ -218,7 +218,7 @@
public function testGetBehaviorWithoutRowData()
{
$property = new \ReflectionProperty($this->_model, '_availableBehaviors');
- $property->setAccessible(true);
+ $property;
$property->setValue($this->_model, $this->_availableBehaviors);
$default = AbstractEntity::getDefaultBehavior();
@@ -392,7 +392,7 @@
?array $availableBehaviors = null
) {
$property = new \ReflectionProperty($this->_model, '_availableBehaviors');
- $property->setAccessible(true);
+ $property;
if (isset($availableBehaviors)) {
$property->setValue($this->_model, $availableBehaviors);
@@ -538,7 +538,7 @@
$permanentAttributes = ['test2', 'test3'];
$property = new \ReflectionProperty($this->_model, '_permanentAttributes');
- $property->setAccessible(true);
+ $property;
$property->setValue($this->_model, $permanentAttributes);
$errorAggregator = $this->_model->validateData();
diff --color -ruN vendor/magento/module-import-export/Test/Unit/Model/ImportTest.php vendor/magento/module-import-export/Test/Unit/Model/ImportTest.php
--- vendor/magento/module-import-export/Test/Unit/Model/ImportTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-import-export/Test/Unit/Model/ImportTest.php 2025-11-24 17:34:33
@@ -1105,7 +1105,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($object, $value);
return $object;
}
@@ -1122,7 +1122,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$method = $reflection->getMethod($methodName);
- $method->setAccessible(true);
+ $method;
return $method->invokeArgs($object, $parameters);
}
diff --color -ruN vendor/magento/module-integration/Test/Unit/Controller/Adminhtml/IntegrationTestCase.php vendor/magento/module-integration/Test/Unit/Controller/Adminhtml/IntegrationTestCase.php
--- vendor/magento/module-integration/Test/Unit/Controller/Adminhtml/IntegrationTestCase.php 2025-11-24 17:35:36
+++ vendor/magento/module-integration/Test/Unit/Controller/Adminhtml/IntegrationTestCase.php 2025-11-24 17:34:27
@@ -362,7 +362,7 @@
if ($actionName == 'Save') {
$reflection = new \ReflectionClass(get_class($controller));
$reflectionProperty = $reflection->getProperty('securityCookie');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($controller, $this->securityCookieMock);
}
return $controller;
diff --color -ruN vendor/magento/module-integration/Test/Unit/Helper/Oauth/ConsumerTest.php vendor/magento/module-integration/Test/Unit/Helper/Oauth/ConsumerTest.php
--- vendor/magento/module-integration/Test/Unit/Helper/Oauth/ConsumerTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-integration/Test/Unit/Helper/Oauth/ConsumerTest.php 2025-11-24 17:34:27
@@ -190,7 +190,7 @@
$dateHelperMock->expects($this->any())->method('gmtDate');
$dateHelper = new \ReflectionProperty(OauthService::class, '_dateHelper');
- $dateHelper->setAccessible(true);
+ $dateHelper;
$dateHelper->setValue($this->_oauthService, $dateHelperMock);
$this->_consumerMock->expects($this->once())->method('getId')->willReturn($consumerId);
diff --color -ruN vendor/magento/module-integration/Test/Unit/Model/Oauth/ConsumerTest.php vendor/magento/module-integration/Test/Unit/Model/Oauth/ConsumerTest.php
--- vendor/magento/module-integration/Test/Unit/Model/Oauth/ConsumerTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-integration/Test/Unit/Model/Oauth/ConsumerTest.php 2025-11-24 17:34:27
@@ -233,7 +233,7 @@
->willReturnOnConsecutiveCalls(time(), time() - 100);
$dateHelper = new ReflectionProperty(Consumer::class, '_dateHelper');
- $dateHelper->setAccessible(true);
+ $dateHelper;
$dateHelper->setValue($this->consumerModel, $dateHelperMock);
$this->consumerModel->setUpdatedAt((string) time());
@@ -253,7 +253,7 @@
->willReturnOnConsecutiveCalls(time(), time() - 1000);
$dateHelper = new ReflectionProperty(Consumer::class, '_dateHelper');
- $dateHelper->setAccessible(true);
+ $dateHelper;
$dateHelper->setValue($this->consumerModel, $dateHelperMock);
$this->consumerModel->setUpdatedAt((string)time());
diff --color -ruN vendor/magento/module-inventory-shipping/Model/GetItemsToDeductFromShipment.php vendor/magento/module-inventory-shipping/Model/GetItemsToDeductFromShipment.php
--- vendor/magento/module-inventory-shipping/Model/GetItemsToDeductFromShipment.php 2025-11-24 17:35:36
+++ vendor/magento/module-inventory-shipping/Model/GetItemsToDeductFromShipment.php 2025-11-24 17:34:34
@@ -189,7 +189,7 @@
private function castQty(OrderItem $item, $qty)
{
if ($item->getIsQtyDecimal()) {
- $qty = (double)$qty;
+ $qty = (float)$qty;
} else {
$qty = (int)$qty;
}
diff --color -ruN vendor/magento/module-inventory-shipping-admin-ui/Ui/DataProvider/SourceSelectionDataProvider.php vendor/magento/module-inventory-shipping-admin-ui/Ui/DataProvider/SourceSelectionDataProvider.php
--- vendor/magento/module-inventory-shipping-admin-ui/Ui/DataProvider/SourceSelectionDataProvider.php 2025-11-24 17:35:36
+++ vendor/magento/module-inventory-shipping-admin-ui/Ui/DataProvider/SourceSelectionDataProvider.php 2025-11-24 17:34:23
@@ -233,7 +233,7 @@
private function castQty(Item $item, $qty)
{
if ($item->getIsQtyDecimal()) {
- $qty = (double)$qty;
+ $qty = (float)$qty;
} else {
$qty = (int)$qty;
}
diff --color -ruN vendor/magento/module-msrp/Model/Quote/Msrp.php vendor/magento/module-msrp/Model/Quote/Msrp.php
--- vendor/magento/module-msrp/Model/Quote/Msrp.php 2025-11-24 17:35:36
+++ vendor/magento/module-msrp/Model/Quote/Msrp.php 2025-11-24 17:34:26
@@ -22,7 +22,7 @@
*/
public function setCanApplyMsrp($quoteId, $canApply)
{
- $this->canApplyMsrpData[$quoteId] = (bool)$canApply;
+ $this->canApplyMsrpData[(string)$quoteId] = (bool)$canApply;
return $this;
}
@@ -33,8 +33,8 @@
*/
public function getCanApplyMsrp($quoteId)
{
- if (isset($this->canApplyMsrpData[$quoteId])) {
- return (bool)$this->canApplyMsrpData[$quoteId];
+ if (isset($this->canApplyMsrpData[(string)$quoteId])) {
+ return (bool)$this->canApplyMsrpData[(string)$quoteId];
}
return false;
}
diff --color -ruN vendor/magento/module-multishipping/Block/Checkout/Billing.php vendor/magento/module-multishipping/Block/Checkout/Billing.php
--- vendor/magento/module-multishipping/Block/Checkout/Billing.php 2025-11-24 17:35:36
+++ vendor/magento/module-multishipping/Block/Checkout/Billing.php 2025-11-24 17:34:27
@@ -131,7 +131,7 @@
*/
public function getQuoteBaseGrandTotal()
{
- return (double)$this->getQuote()->getBaseGrandTotal();
+ return (float)$this->getQuote()->getBaseGrandTotal();
}
/**
diff --color -ruN vendor/magento/module-multishipping/Controller/Checkout/CheckItems.php vendor/magento/module-multishipping/Controller/Checkout/CheckItems.php
--- vendor/magento/module-multishipping/Controller/Checkout/CheckItems.php 2025-11-24 17:35:36
+++ vendor/magento/module-multishipping/Controller/Checkout/CheckItems.php 2025-11-24 17:34:27
@@ -152,7 +152,7 @@
if (!isset($itemsInfo[$quoteItemId])) {
$itemsInfo[$quoteItemId] = 0;
}
- $itemsInfo[$quoteItemId] += (double)$data['qty'];
+ $itemsInfo[$quoteItemId] += (float)$data['qty'];
}
}
diff --color -ruN vendor/magento/module-multishipping/Test/Unit/Block/Checkout/OverviewTest.php vendor/magento/module-multishipping/Test/Unit/Block/Checkout/OverviewTest.php
--- vendor/magento/module-multishipping/Test/Unit/Block/Checkout/OverviewTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-multishipping/Test/Unit/Block/Checkout/OverviewTest.php 2025-11-24 17:34:27
@@ -227,7 +227,7 @@
];
$method = new \ReflectionMethod($this->model, 'sortTotals');
- $method->setAccessible(true);
+ $method;
$result = $method->invoke($this->model, $totalsNotSorted);
$this->assertEquals(
diff --color -ruN vendor/magento/module-newsletter/Controller/Manage/Save.php vendor/magento/module-newsletter/Controller/Manage/Save.php
--- vendor/magento/module-newsletter/Controller/Manage/Save.php 2025-11-24 17:35:36
+++ vendor/magento/module-newsletter/Controller/Manage/Save.php 2025-11-24 17:34:33
@@ -84,7 +84,7 @@
$storeId = (int)$this->storeManager->getStore()->getId();
$customer->setStoreId($storeId);
$isSubscribedState = $customer->getExtensionAttributes()->getIsSubscribed();
- $isSubscribedParam = (boolean)$this->getRequest()->getParam('is_subscribed', false);
+ $isSubscribedParam = (bool)$this->getRequest()->getParam('is_subscribed', false);
if ($isSubscribedParam !== $isSubscribedState) {
// No need to validate customer and customer address while saving subscription preferences
$this->setIgnoreValidationFlag($customer);
diff --color -ruN vendor/magento/module-newsletter/Model/Subscriber.php vendor/magento/module-newsletter/Model/Subscriber.php
--- vendor/magento/module-newsletter/Model/Subscriber.php 2025-11-24 17:35:36
+++ vendor/magento/module-newsletter/Model/Subscriber.php 2025-11-24 17:34:33
@@ -353,7 +353,7 @@
*/
public function setStatusChanged($value)
{
- $this->_isStatusChanged = (boolean) $value;
+ $this->_isStatusChanged = (bool) $value;
return $this;
}
diff --color -ruN vendor/magento/module-offline-shipping/Model/ResourceModel/Carrier/Tablerate/CSV/RowParser.php vendor/magento/module-offline-shipping/Model/ResourceModel/Carrier/Tablerate/CSV/RowParser.php
--- vendor/magento/module-offline-shipping/Model/ResourceModel/Carrier/Tablerate/CSV/RowParser.php 2025-11-24 17:35:36
+++ vendor/magento/module-offline-shipping/Model/ResourceModel/Carrier/Tablerate/CSV/RowParser.php 2025-11-24 17:34:25
@@ -244,7 +244,7 @@
{
$result = false;
if (is_numeric($value)) {
- $value = (double)sprintf('%.4F', $value);
+ $value = (float)sprintf('%.4F', $value);
if ($value >= 0.0000) {
$result = $value;
}
diff --color -ruN vendor/magento/module-payment/Model/Cart/SalesModel/Order.php vendor/magento/module-payment/Model/Cart/SalesModel/Order.php
--- vendor/magento/module-payment/Model/Cart/SalesModel/Order.php 2025-11-24 17:35:36
+++ vendor/magento/module-payment/Model/Cart/SalesModel/Order.php 2025-11-24 17:34:23
@@ -38,7 +38,7 @@
'parent_item' => $item->getParentItem(),
'name' => $item->getName(),
'qty' => (int)$item->getQtyOrdered(),
- 'price' => (double)$item->getBasePrice(),
+ 'price' => (float)$item->getBasePrice(),
'original_item' => $item,
]
);
diff --color -ruN vendor/magento/module-payment/Model/Cart/SalesModel/Quote.php vendor/magento/module-payment/Model/Cart/SalesModel/Quote.php
--- vendor/magento/module-payment/Model/Cart/SalesModel/Quote.php 2025-11-24 17:35:36
+++ vendor/magento/module-payment/Model/Cart/SalesModel/Quote.php 2025-11-24 17:34:23
@@ -50,7 +50,7 @@
'parent_item' => $item->getParentItem(),
'name' => $item->getName(),
'qty' => (int)$item->getTotalQty(),
- 'price' => (double)$item->getBaseCalculationPrice(),
+ 'price' => (float)$item->getBaseCalculationPrice(),
'original_item' => $item,
]
);
diff --color -ruN vendor/magento/module-payment/Model/Cart.php vendor/magento/module-payment/Model/Cart.php
--- vendor/magento/module-payment/Model/Cart.php 2025-11-24 17:35:36
+++ vendor/magento/module-payment/Model/Cart.php 2025-11-24 17:34:23
@@ -363,7 +363,7 @@
*/
protected function _setAmount($amountType, $amount)
{
- $this->_amounts[$amountType] = (double)$amount;
+ $this->_amounts[$amountType] = (float)$amount;
}
/**
@@ -375,7 +375,7 @@
*/
protected function _addAmount($amountType, $amount)
{
- $this->_amounts[$amountType] += (double)$amount;
+ $this->_amounts[$amountType] += (float)$amount;
}
/**
@@ -400,7 +400,7 @@
*/
protected function _createItemFromData($name, $qty, $amount, $identifier = null)
{
- $item = new DataObject(['name' => $name, 'qty' => $qty, 'amount' => (double)$amount]);
+ $item = new DataObject(['name' => $name, 'qty' => $qty, 'amount' => (float)$amount]);
if ($identifier) {
$item->setData('id', $identifier);
diff --color -ruN vendor/magento/module-paypal/Helper/Shortcut/Validator.php vendor/magento/module-paypal/Helper/Shortcut/Validator.php
--- vendor/magento/module-paypal/Helper/Shortcut/Validator.php 2025-11-24 17:35:36
+++ vendor/magento/module-paypal/Helper/Shortcut/Validator.php 2025-11-24 17:34:26
@@ -97,7 +97,7 @@
/** @var $currentProduct \Magento\Catalog\Model\Product */
$currentProduct = $this->_registry->registry('current_product');
if ($currentProduct !== null) {
- $productPrice = (double)$currentProduct->getFinalPrice();
+ $productPrice = (float)$currentProduct->getFinalPrice();
$typeInstance = $currentProduct->getTypeInstance();
if (empty($productPrice)
&& !$this->_productTypeConfig->isProductSet($currentProduct->getTypeId())
diff --color -ruN vendor/magento/module-paypal/Model/Cart.php vendor/magento/module-paypal/Model/Cart.php
--- vendor/magento/module-paypal/Model/Cart.php 2025-11-24 17:35:36
+++ vendor/magento/module-paypal/Model/Cart.php 2025-11-24 17:34:26
@@ -137,7 +137,7 @@
// aggregate item price if item qty * price does not match row total
$itemBaseRowTotal = $item->getOriginalItem()->getBaseRowTotal();
if ($amount * $qty != $itemBaseRowTotal) {
- $amount = (double)$itemBaseRowTotal;
+ $amount = (float)$itemBaseRowTotal;
$subAggregatedLabel = ' x' . $qty;
$qty = 1;
}
@@ -181,11 +181,11 @@
\Magento\Payment\Model\Cart\SalesModel\SalesModelInterface $salesEntity
) {
$dataContainer = $salesEntity->getTaxContainer();
- $this->addTax((double)$dataContainer->getBaseDiscountTaxCompensationAmount());
+ $this->addTax((float)$dataContainer->getBaseDiscountTaxCompensationAmount());
if ($dataContainer->getBaseShippingDiscountTaxCompensationAmnt() !== null) {
- $this->addTax((double)$dataContainer->getBaseShippingDiscountTaxCompensationAmnt());
+ $this->addTax((float)$dataContainer->getBaseShippingDiscountTaxCompensationAmnt());
} else {
- $this->addTax((double)$dataContainer->getBaseShippingDiscountTaxCompensationAmount());
+ $this->addTax((float)$dataContainer->getBaseShippingDiscountTaxCompensationAmount());
}
}
diff --color -ruN vendor/magento/module-paypal/Model/Express/Checkout.php vendor/magento/module-paypal/Model/Express/Checkout.php
--- vendor/magento/module-paypal/Model/Express/Checkout.php 2025-11-24 17:35:36
+++ vendor/magento/module-paypal/Model/Express/Checkout.php 2025-11-24 17:34:26
@@ -982,7 +982,7 @@
foreach ($address->getGroupedAllShippingRates() as $group) {
foreach ($group as $rate) {
- $amount = (double)$rate->getPrice();
+ $amount = (float)$rate->getPrice();
if ($rate->getErrorMessage()) {
continue;
}
diff --color -ruN vendor/magento/module-paypal/Model/PayLaterConfig.php vendor/magento/module-paypal/Model/PayLaterConfig.php
--- vendor/magento/module-paypal/Model/PayLaterConfig.php 2025-11-24 17:35:36
+++ vendor/magento/module-paypal/Model/PayLaterConfig.php 2025-11-24 17:34:26
@@ -56,8 +56,8 @@
{
$enabled = false;
if ($this->isPPCreditEnabled()) {
- $payLaterActive = (boolean)$this->config->getPayLaterConfigValue('experience_active');
- $isPayLaterEnabled = (boolean)$this->config->getPayLaterConfigValue('enabled');
+ $payLaterActive = (bool)$this->config->getPayLaterConfigValue('experience_active');
+ $isPayLaterEnabled = (bool)$this->config->getPayLaterConfigValue('enabled');
$enabled = $payLaterActive && $isPayLaterEnabled && $this->getSectionConfig($placement, 'display');
}
return $enabled;
@@ -94,7 +94,7 @@
? self::CHECKOUT_PAYMENT_PLACEMENT : "{$section}page";
$this->configData[$section] = [
- 'display' => (boolean)$this->config->getPayLaterConfigValue("{$sectionName}_display"),
+ 'display' => (bool)$this->config->getPayLaterConfigValue("{$sectionName}_display"),
'position' => $this->config->getPayLaterConfigValue("{$sectionName}_position"),
'style' => $this->getConfigStyles($sectionName)
];
diff --color -ruN vendor/magento/module-paypal/Model/Pro.php vendor/magento/module-paypal/Model/Pro.php
--- vendor/magento/module-paypal/Model/Pro.php 2025-11-24 17:35:36
+++ vendor/magento/module-paypal/Model/Pro.php 2025-11-24 17:34:26
@@ -300,7 +300,7 @@
);
$canRefundMore = $payment->getCreditmemo()->getInvoice()->canRefund();
$isFullRefund = !$canRefundMore &&
- 0 == (double)$order->getBaseTotalOnlineRefunded() + (double)$order->getBaseTotalOfflineRefunded();
+ 0 == (float)$order->getBaseTotalOnlineRefunded() + (float)$order->getBaseTotalOfflineRefunded();
$api->setRefundType(
$isFullRefund
? \Magento\Paypal\Model\Config::REFUND_TYPE_FULL
diff --color -ruN vendor/magento/module-paypal/Model/ResourceModel/Report/Settlement.php vendor/magento/module-paypal/Model/ResourceModel/Report/Settlement.php
--- vendor/magento/module-paypal/Model/ResourceModel/Report/Settlement.php 2025-11-24 17:35:36
+++ vendor/magento/module-paypal/Model/ResourceModel/Report/Settlement.php 2025-11-24 17:34:26
@@ -77,7 +77,7 @@
/*
* Converting numeric
*/
- $rows[$key]['fee_amount'] = (double)$rows[$key]['fee_amount'];
+ $rows[$key]['fee_amount'] = (float)$rows[$key]['fee_amount'];
/*
* Setting reportId
*/
diff --color -ruN vendor/magento/module-paypal/Model/SmartButtonConfig.php vendor/magento/module-paypal/Model/SmartButtonConfig.php
--- vendor/magento/module-paypal/Model/SmartButtonConfig.php 2025-11-24 17:35:36
+++ vendor/magento/module-paypal/Model/SmartButtonConfig.php 2025-11-24 17:34:26
@@ -106,7 +106,7 @@
private function getButtonStyles(string $page): array
{
$styles = $this->defaultStyles[$page];
- if ((boolean)$this->config->getValue("{$page}_page_button_customize")) {
+ if ((bool)$this->config->getValue("{$page}_page_button_customize")) {
$styles['layout'] = $this->config->getValue("{$page}_page_button_layout");
$styles['size'] = $this->config->getValue("{$page}_page_button_size");
$styles['color'] = $this->config->getValue("{$page}_page_button_color");
diff --color -ruN vendor/magento/module-paypal/Test/Unit/Block/Adminhtml/System/Config/Field/Enable/AbstractEnableTest.php vendor/magento/module-paypal/Test/Unit/Block/Adminhtml/System/Config/Field/Enable/AbstractEnableTest.php
--- vendor/magento/module-paypal/Test/Unit/Block/Adminhtml/System/Config/Field/Enable/AbstractEnableTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-paypal/Test/Unit/Block/Adminhtml/System/Config/Field/Enable/AbstractEnableTest.php 2025-11-24 17:34:25
@@ -88,7 +88,7 @@
$escaper = $objectManager->getObject(Escaper::class);
$reflection = new \ReflectionClass($this->elementMock);
$reflection_property = $reflection->getProperty('_escaper');
- $reflection_property->setAccessible(true);
+ $reflection_property;
$reflection_property->setValue($this->elementMock, $escaper);
$objects = [
diff --color -ruN vendor/magento/module-paypal/Test/Unit/Model/Api/NvpTest.php vendor/magento/module-paypal/Test/Unit/Model/Api/NvpTest.php
--- vendor/magento/module-paypal/Test/Unit/Model/Api/NvpTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-paypal/Test/Unit/Model/Api/NvpTest.php 2025-11-24 17:34:25
@@ -138,7 +138,7 @@
{
$object = new \ReflectionClass($nvpObject);
$property = $object->getProperty($property);
- $property->setAccessible(true);
+ $property;
return $property->getValue($nvpObject);
}
diff --color -ruN vendor/magento/module-paypal/Test/Unit/Model/Payflow/Service/GatewayTest.php vendor/magento/module-paypal/Test/Unit/Model/Payflow/Service/GatewayTest.php
--- vendor/magento/module-paypal/Test/Unit/Model/Payflow/Service/GatewayTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-paypal/Test/Unit/Model/Payflow/Service/GatewayTest.php 2025-11-24 17:34:25
@@ -210,7 +210,7 @@
$request = new DataObject($requestData);
$this->object->postRequest($request, $configInterfaceMock);
$method = new ReflectionMethod($this->httpClientMock, 'prepareBody');
- $method->setAccessible(true);
+ $method;
$this->assertEquals($requestBody, urldecode($method->invoke($this->httpClientMock)));
}
diff --color -ruN vendor/magento/module-quote/Model/Quote/Item/AbstractItem.php vendor/magento/module-quote/Model/Quote/Item/AbstractItem.php
--- vendor/magento/module-quote/Model/Quote/Item/AbstractItem.php 2025-11-24 17:35:36
+++ vendor/magento/module-quote/Model/Quote/Item/AbstractItem.php 2025-11-24 17:34:22
@@ -467,7 +467,7 @@
{
if (!$this->hasBaseCalculationPrice()) {
if ($this->hasCustomPrice()) {
- $price = (double)$this->getCustomPrice();
+ $price = (float)$this->getCustomPrice();
if ($price) {
$rate = $this->priceCurrency->convert($price, $this->getStore()) / $price;
$price = $price / $rate;
@@ -489,7 +489,7 @@
{
if (!$this->hasBaseCalculationPrice()) {
if ($this->hasOriginalCustomPrice()) {
- $price = (double)$this->getOriginalCustomPrice();
+ $price = (float)$this->getOriginalCustomPrice();
if ($price) {
$rate = $this->priceCurrency->convert($price, $this->getStore()) / $price;
$price = $price / $rate;
diff --color -ruN vendor/magento/module-quote/Model/QuoteManagement.php vendor/magento/module-quote/Model/QuoteManagement.php
--- vendor/magento/module-quote/Model/QuoteManagement.php 2025-11-24 17:35:36
+++ vendor/magento/module-quote/Model/QuoteManagement.php 2025-11-24 17:34:22
@@ -542,8 +542,8 @@
['parent_item' => null]
);
}
- $parentItem = isset($orderItems[$parentItemId]) ? $orderItems[$parentItemId] : null;
- $orderItems[$itemId] = $this->quoteItemToOrderItem->convert($quoteItem, ['parent_item' => $parentItem]);
+ $parentItem = isset($orderItems[(string)$parentItemId]) ? $orderItems[(string)$parentItemId] : null;
+ $orderItems[(string)$itemId] = $this->quoteItemToOrderItem->convert($quoteItem, ['parent_item' => $parentItem]);
}
return array_values($orderItems);
}
diff --color -ruN vendor/magento/module-quote/Test/Unit/Model/BillingAddressManagementTest.php vendor/magento/module-quote/Test/Unit/Model/BillingAddressManagementTest.php
--- vendor/magento/module-quote/Test/Unit/Model/BillingAddressManagementTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-quote/Test/Unit/Model/BillingAddressManagementTest.php 2025-11-24 17:34:22
@@ -183,7 +183,7 @@
);
$property = $this->reflectionClass->getMethod('assignBillingAddress');
- $property->setAccessible(true);
+ $property;
$property->invokeArgs($this->model, [$address, $quoteMock, false]);
}
@@ -230,7 +230,7 @@
$this->quoteRepositoryMock->expects($this->once())->method('save')->with($quoteMock);
$property = $this->reflectionClass->getMethod('assignBillingAddress');
- $property->setAccessible(true);
+ $property;
$this->assertEquals($addressId, $property->invokeArgs($this->model, [$address, $quoteMock, $useForShipping]));
}
diff --color -ruN vendor/magento/module-quote/Test/Unit/Model/GuestCart/GuestShippingMethodManagementTest.php vendor/magento/module-quote/Test/Unit/Model/GuestCart/GuestShippingMethodManagementTest.php
--- vendor/magento/module-quote/Test/Unit/Model/GuestCart/GuestShippingMethodManagementTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-quote/Test/Unit/Model/GuestCart/GuestShippingMethodManagementTest.php 2025-11-24 17:34:22
@@ -80,7 +80,7 @@
$refObject = new \ReflectionClass(GuestShippingMethodManagement::class);
$refProperty = $refObject->getProperty('shipmentEstimationManagement');
- $refProperty->setAccessible(true);
+ $refProperty;
$refProperty->setValue($this->model, $this->shipmentEstimationManagement);
}
diff --color -ruN vendor/magento/module-quote/Test/Unit/Model/Quote/Item/RepositoryTest.php vendor/magento/module-quote/Test/Unit/Model/Quote/Item/RepositoryTest.php
--- vendor/magento/module-quote/Test/Unit/Model/Quote/Item/RepositoryTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-quote/Test/Unit/Model/Quote/Item/RepositoryTest.php 2025-11-24 17:34:22
@@ -164,7 +164,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$method = $reflection->getMethod($methodName);
- $method->setAccessible(true);
+ $method;
return $method->invokeArgs($object, $parameters);
}
diff --color -ruN vendor/magento/module-quote/Test/Unit/Model/Quote/Item/UpdaterTest.php vendor/magento/module-quote/Test/Unit/Model/Quote/Item/UpdaterTest.php
--- vendor/magento/module-quote/Test/Unit/Model/Quote/Item/UpdaterTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-quote/Test/Unit/Model/Quote/Item/UpdaterTest.php 2025-11-24 17:34:22
@@ -142,7 +142,7 @@
->method('getProduct')
->willReturn($this->productMock);
- $result = $this->object->update($this->itemMock, ['qty' => (double) $qty]);
+ $result = $this->object->update($this->itemMock, ['qty' => (float) $qty]);
$this->assertEquals($result, $this->object);
}
@@ -211,7 +211,7 @@
->method('getProduct')
->willReturn($this->productMock);
- $object = $this->object->update($this->itemMock, ['qty' => (double) $qty]);
+ $object = $this->object->update($this->itemMock, ['qty' => (float) $qty]);
$this->assertEquals($this->object, $object);
}
diff --color -ruN vendor/magento/module-quote/Test/Unit/Model/QuoteManagementTest.php vendor/magento/module-quote/Test/Unit/Model/QuoteManagementTest.php
--- vendor/magento/module-quote/Test/Unit/Model/QuoteManagementTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-quote/Test/Unit/Model/QuoteManagementTest.php 2025-11-24 17:34:22
@@ -1298,7 +1298,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
return $reflectionProperty->getValue($object);
}
@@ -1314,7 +1314,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$reflectionProperty = $reflection->getProperty($property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($object, $value);
return $object;
@@ -1465,7 +1465,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$method = $reflection->getMethod($methodName);
- $method->setAccessible(true);
+ $method;
return $method->invokeArgs($object, $parameters);
}
diff --color -ruN vendor/magento/module-quote/Test/Unit/Model/QuoteRepositoryTest.php vendor/magento/module-quote/Test/Unit/Model/QuoteRepositoryTest.php
--- vendor/magento/module-quote/Test/Unit/Model/QuoteRepositoryTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-quote/Test/Unit/Model/QuoteRepositoryTest.php 2025-11-24 17:34:22
@@ -166,11 +166,11 @@
$reflection = new \ReflectionClass(get_class($this->model));
$reflectionProperty = $reflection->getProperty('loadHandler');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->model, $this->loadHandlerMock);
$reflectionProperty = $reflection->getProperty('saveHandler');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->model, $this->saveHandlerMock);
}
diff --color -ruN vendor/magento/module-reports/Test/Unit/Block/Adminhtml/Filter/FormTest.php vendor/magento/module-reports/Test/Unit/Block/Adminhtml/Filter/FormTest.php
--- vendor/magento/module-reports/Test/Unit/Block/Adminhtml/Filter/FormTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-reports/Test/Unit/Block/Adminhtml/Filter/FormTest.php 2025-11-24 17:34:22
@@ -80,13 +80,13 @@
$form->method('getElements')->willReturn(new Collection($form));
$reflection = new ReflectionClass($form);
$reflectionProp = $reflection->getProperty('_allElements');
- $reflectionProp->setAccessible(true);
+ $reflectionProp;
$reflectionProp->setValue($form, new Collection($form));
$form->addElement($element);
$this->model->setForm($form);
$reflection = new ReflectionClass($this->model);
$reflectionMethod = $reflection->getMethod('_initFormValues');
- $reflectionMethod->setAccessible(true);
+ $reflectionMethod;
$reflectionMethod->invoke($this->model);
$this->assertEquals(['5', '6'], $this->model->getForm()->getElement('multiselect')->getValue());
}
diff --color -ruN vendor/magento/module-reports/Test/Unit/Block/Product/ViewedTest.php vendor/magento/module-reports/Test/Unit/Block/Product/ViewedTest.php
--- vendor/magento/module-reports/Test/Unit/Block/Product/ViewedTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-reports/Test/Unit/Block/Product/ViewedTest.php 2025-11-24 17:34:22
@@ -38,7 +38,7 @@
$product->expects($this->once())->method('getIdentities')->willReturn($productTags);
$collection = new \ReflectionProperty(Viewed::class, '_collection');
- $collection->setAccessible(true);
+ $collection;
$collection->setValue($this->block, [$product]);
$this->assertEquals($productTags, $this->block->getIdentities());
diff --color -ruN vendor/magento/module-review/Test/Unit/Ui/DataProvider/Product/Form/Modifier/ReviewTest.php vendor/magento/module-review/Test/Unit/Ui/DataProvider/Product/Form/Modifier/ReviewTest.php
--- vendor/magento/module-review/Test/Unit/Ui/DataProvider/Product/Form/Modifier/ReviewTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-review/Test/Unit/Ui/DataProvider/Product/Form/Modifier/ReviewTest.php 2025-11-24 17:34:26
@@ -49,7 +49,7 @@
$reviewClass = new \ReflectionClass(Review::class);
$moduleManagerProperty = $reviewClass->getProperty('moduleManager');
- $moduleManagerProperty->setAccessible(true);
+ $moduleManagerProperty;
$moduleManagerProperty->setValue(
$model,
$this->moduleManagerMock
diff --color -ruN vendor/magento/module-rule/Test/Unit/Model/Condition/Product/AbstractProductTest.php vendor/magento/module-rule/Test/Unit/Model/Condition/Product/AbstractProductTest.php
--- vendor/magento/module-rule/Test/Unit/Model/Condition/Product/AbstractProductTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-rule/Test/Unit/Model/Condition/Product/AbstractProductTest.php 2025-11-24 17:34:34
@@ -76,19 +76,19 @@
AbstractProduct::class,
'productCategoryList'
);
- $this->productCategoryListProperty->setAccessible(true);
+ $this->productCategoryListProperty;
$this->_entityAttributeValuesProperty = new \ReflectionProperty(
AbstractProduct::class,
'_entityAttributeValues'
);
- $this->_entityAttributeValuesProperty->setAccessible(true);
+ $this->_entityAttributeValuesProperty;
$this->_configProperty = new \ReflectionProperty(
AbstractProduct::class,
'_config'
);
- $this->_configProperty->setAccessible(true);
+ $this->_configProperty;
}
/**
@@ -140,7 +140,7 @@
AbstractProduct::class,
'_entityAttributeValues'
);
- $configProperty->setAccessible(true);
+ $configProperty;
$configProperty->setValue($this->_condition, []);
$this->assertFalse($this->_condition->validate($product));
}
@@ -392,7 +392,7 @@
AbstractProduct::class,
'_config'
);
- $configProperty->setAccessible(true);
+ $configProperty;
$configProperty->setValue($this->_condition, $configValueMock);
$attrSetCollectionValueMock = $this
@@ -412,14 +412,14 @@
AbstractProduct::class,
'_attrSetCollection'
);
- $attrSetCollectionProperty->setAccessible(true);
+ $attrSetCollectionProperty;
$attrSetCollectionProperty->setValue($this->_condition, $attrSetCollectionValueMock);
$testedMethod = new \ReflectionMethod(
AbstractProduct::class,
'_prepareValueOptions'
);
- $testedMethod->setAccessible(true);
+ $testedMethod;
$testedMethod->invoke($this->_condition);
$this->assertEquals($expectedValueSelectOptions, $this->_condition->getData('value_select_options'));
diff --color -ruN vendor/magento/module-sales/Block/Adminhtml/Totals.php vendor/magento/module-sales/Block/Adminhtml/Totals.php
--- vendor/magento/module-sales/Block/Adminhtml/Totals.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales/Block/Adminhtml/Totals.php 2025-11-24 17:34:25
@@ -71,7 +71,7 @@
/**
* Add discount
*/
- if ((double)$order->getDiscountAmount() != 0) {
+ if ((float)$order->getDiscountAmount() != 0) {
if ($order->getDiscountDescription()) {
$discountLabel = __('Discount (%1)', $order->getDiscountDescription());
} else {
diff --color -ruN vendor/magento/module-sales/Block/Order/Creditmemo/Totals.php vendor/magento/module-sales/Block/Order/Creditmemo/Totals.php
--- vendor/magento/module-sales/Block/Order/Creditmemo/Totals.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales/Block/Order/Creditmemo/Totals.php 2025-11-24 17:34:25
@@ -79,7 +79,7 @@
{
parent::_initTotals();
$this->removeTotal('base_grandtotal');
- if ((double)$this->getSource()->getAdjustmentPositive()) {
+ if ((float)$this->getSource()->getAdjustmentPositive()) {
$total = new \Magento\Framework\DataObject(
[
'code' => 'adjustment_positive',
@@ -89,7 +89,7 @@
);
$this->addTotal($total);
}
- if ((double)$this->getSource()->getAdjustmentNegative()) {
+ if ((float)$this->getSource()->getAdjustmentNegative()) {
$total = new \Magento\Framework\DataObject(
[
'code' => 'adjustment_negative',
diff --color -ruN vendor/magento/module-sales/Block/Order/Totals.php vendor/magento/module-sales/Block/Order/Totals.php
--- vendor/magento/module-sales/Block/Order/Totals.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales/Block/Order/Totals.php 2025-11-24 17:34:25
@@ -126,7 +126,7 @@
/**
* Add discount
*/
- if ((double)$this->getSource()->getDiscountAmount() != 0) {
+ if ((float)$this->getSource()->getDiscountAmount() != 0) {
if ($this->getSource()->getDiscountDescription()) {
$discountLabel = __('Discount (%1)', $source->getDiscountDescription());
} else {
diff --color -ruN vendor/magento/module-sales/Model/AdminOrder/Create.php vendor/magento/module-sales/Model/AdminOrder/Create.php
--- vendor/magento/module-sales/Model/AdminOrder/Create.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales/Model/AdminOrder/Create.php 2025-11-24 17:34:25
@@ -1189,7 +1189,7 @@
public function addProducts(array $products)
{
foreach ($products as $productId => $config) {
- $config['qty'] = isset($config['qty']) ? (double)$config['qty'] : 1;
+ $config['qty'] = isset($config['qty']) ? (float)$config['qty'] : 1;
try {
$this->addProduct($productId, $config);
} catch (\Magento\Framework\Exception\LocalizedException $e) {
@@ -1219,13 +1219,13 @@
foreach ($items as $itemId => $info) {
if (!empty($info['configured'])) {
$item = $this->getQuote()->updateItem($itemId, $this->objectFactory->create($info));
- $info['qty'] = (double)$item->getQty();
+ $info['qty'] = (float)$item->getQty();
} else {
$item = $this->getQuote()->getItemById($itemId);
if (!$item) {
continue;
}
- $info['qty'] = (double)$info['qty'];
+ $info['qty'] = (float)$info['qty'];
}
$this->quoteItemUpdater->update($item, $info);
if ($item && !empty($info['action'])) {
diff --color -ruN vendor/magento/module-sales/Model/Order/Creditmemo/Item.php vendor/magento/module-sales/Model/Order/Creditmemo/Item.php
--- vendor/magento/module-sales/Model/Order/Creditmemo/Item.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales/Model/Order/Creditmemo/Item.php 2025-11-24 17:34:25
@@ -201,7 +201,7 @@
$orderItem = $this->getOrderItem();
$qty = $this->getQty();
if ($orderItem->getIsQtyDecimal()) {
- $qty = (double)$qty;
+ $qty = (float)$qty;
} else {
$qty = (int)$qty;
}
@@ -285,7 +285,7 @@
{
$orderItem = $this->getOrderItem();
$qty = $this->processQty();
- if ((string)(double)$qty == (string)(double)$orderItem->getQtyToRefund()) {
+ if ((string)(float)$qty == (string)(float)$orderItem->getQtyToRefund()) {
return true;
}
return false;
diff --color -ruN vendor/magento/module-sales/Model/Order/Creditmemo/Total/Discount.php vendor/magento/module-sales/Model/Order/Creditmemo/Total/Discount.php
--- vendor/magento/module-sales/Model/Order/Creditmemo/Total/Discount.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales/Model/Order/Creditmemo/Total/Discount.php 2025-11-24 17:34:25
@@ -84,8 +84,8 @@
continue;
}
- $orderItemDiscount = (double)$orderItem->getDiscountInvoiced();
- $baseOrderItemDiscount = (double)$orderItem->getBaseDiscountInvoiced();
+ $orderItemDiscount = (float)$orderItem->getDiscountInvoiced();
+ $baseOrderItemDiscount = (float)$orderItem->getBaseDiscountInvoiced();
$orderItemQty = $orderItem->getQtyInvoiced();
if ($orderItemDiscount && $orderItemQty) {
diff --color -ruN vendor/magento/module-sales/Model/Order/Creditmemo/Total/Tax.php vendor/magento/module-sales/Model/Order/Creditmemo/Total/Tax.php
--- vendor/magento/module-sales/Model/Order/Creditmemo/Total/Tax.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales/Model/Order/Creditmemo/Total/Tax.php 2025-11-24 17:34:25
@@ -65,9 +65,9 @@
continue;
}
- $orderItemTax = (double)$orderItem->getTaxInvoiced();
- $baseOrderItemTax = (double)$orderItem->getBaseTaxInvoiced();
- $orderItemQty = (double)$orderItem->getQtyInvoiced();
+ $orderItemTax = (float)$orderItem->getTaxInvoiced();
+ $baseOrderItemTax = (float)$orderItem->getBaseTaxInvoiced();
+ $orderItemQty = (float)$orderItem->getQtyInvoiced();
if ($orderItemQty) {
/** Check item tax amount */
diff --color -ruN vendor/magento/module-sales/Model/Order/Creditmemo.php vendor/magento/module-sales/Model/Order/Creditmemo.php
--- vendor/magento/module-sales/Model/Order/Creditmemo.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales/Model/Order/Creditmemo.php 2025-11-24 17:34:25
@@ -542,7 +542,7 @@
private function setAdjustmentAmount(string $amount, string $baseAdjustmentField, string $adjustmentField): self
{
if (substr($amount, -1) == '%') {
- $amount = (double) substr($amount, 0, -1);
+ $amount = (float) substr($amount, 0, -1);
$amount = $this->getOrder()->getGrandTotal() * $amount / 100;
}
diff --color -ruN vendor/magento/module-sales/Model/Order/Invoice/Item.php vendor/magento/module-sales/Model/Order/Invoice/Item.php
--- vendor/magento/module-sales/Model/Order/Invoice/Item.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales/Model/Order/Invoice/Item.php 2025-11-24 17:34:25
@@ -260,7 +260,7 @@
*/
public function isLast()
{
- if ((string)(double)$this->getQty() == (string)(double)$this->getOrderItem()->getQtyToInvoice()) {
+ if ((string)(float)$this->getQty() == (string)(float)$this->getOrderItem()->getQtyToInvoice()) {
return true;
}
return false;
diff --color -ruN vendor/magento/module-sales/Model/Order/Invoice/Total/Discount.php vendor/magento/module-sales/Model/Order/Invoice/Total/Discount.php
--- vendor/magento/module-sales/Model/Order/Invoice/Total/Discount.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales/Model/Order/Invoice/Total/Discount.php 2025-11-24 17:34:25
@@ -44,8 +44,8 @@
continue;
}
- $orderItemDiscount = (double)$orderItem->getDiscountAmount();
- $baseOrderItemDiscount = (double)$orderItem->getBaseDiscountAmount();
+ $orderItemDiscount = (float)$orderItem->getDiscountAmount();
+ $baseOrderItemDiscount = (float)$orderItem->getBaseDiscountAmount();
$orderItemQty = $orderItem->getQtyOrdered();
if ($orderItemDiscount && $orderItemQty) {
diff --color -ruN vendor/magento/module-sales/Model/Order/Item.php vendor/magento/module-sales/Model/Order/Item.php
--- vendor/magento/module-sales/Model/Order/Item.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales/Model/Order/Item.php 2025-11-24 17:34:25
@@ -315,15 +315,15 @@
*/
public function getStatusId()
{
- $backordered = (double)$this->getQtyBackordered();
+ $backordered = (float)$this->getQtyBackordered();
if (!$backordered && $this->getHasChildren()) {
- $backordered = (double)$this->_getQtyChildrenBackordered();
+ $backordered = (float)$this->_getQtyChildrenBackordered();
}
- $canceled = (double)$this->getQtyCanceled();
- $invoiced = (double)$this->getQtyInvoiced();
- $ordered = (double)$this->getQtyOrdered();
- $refunded = (double)$this->getQtyRefunded();
- $shipped = (double)$this->getQtyShipped();
+ $canceled = (float)$this->getQtyCanceled();
+ $invoiced = (float)$this->getQtyInvoiced();
+ $ordered = (float)$this->getQtyOrdered();
+ $refunded = (float)$this->getQtyRefunded();
+ $shipped = (float)$this->getQtyShipped();
$actuallyOrdered = $ordered - $canceled - $refunded;
@@ -366,7 +366,7 @@
{
$backordered = null;
foreach ($this->_children as $childItem) {
- $backordered += (double)$childItem->getQtyBackordered();
+ $backordered += (float)$childItem->getQtyBackordered();
}
return $backordered;
diff --color -ruN vendor/magento/module-sales/Model/Order/ItemRepository.php vendor/magento/module-sales/Model/Order/ItemRepository.php
--- vendor/magento/module-sales/Model/Order/ItemRepository.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales/Model/Order/ItemRepository.php 2025-11-24 17:34:25
@@ -180,8 +180,8 @@
}
$this->metadata->getMapper()->save($entity);
- $this->registry[$entity->getEntityId()] = $entity;
- return $this->registry[$entity->getEntityId()];
+ $this->registry[(string)$entity->getEntityId()] = $entity;
+ return $this->registry[(string)$entity->getEntityId()];
}
/**
diff --color -ruN vendor/magento/module-sales/Model/Order/Payment/Operations/ProcessInvoiceOperation.php vendor/magento/module-sales/Model/Order/Payment/Operations/ProcessInvoiceOperation.php
--- vendor/magento/module-sales/Model/Order/Payment/Operations/ProcessInvoiceOperation.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales/Model/Order/Payment/Operations/ProcessInvoiceOperation.php 2025-11-24 17:34:25
@@ -85,7 +85,7 @@
// prepare parent transaction and its amount
$paidWorkaround = 0;
if (!$invoice->wasPayCalled()) {
- $paidWorkaround = (double)$amountToCapture;
+ $paidWorkaround = (float)$amountToCapture;
}
if ($payment->isCaptureFinal($paidWorkaround)) {
$payment->setShouldCloseParentTransaction(true);
diff --color -ruN vendor/magento/module-sales/Model/Order/Payment/Operations/RegisterCaptureNotificationOperation.php vendor/magento/module-sales/Model/Order/Payment/Operations/RegisterCaptureNotificationOperation.php
--- vendor/magento/module-sales/Model/Order/Payment/Operations/RegisterCaptureNotificationOperation.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales/Model/Order/Payment/Operations/RegisterCaptureNotificationOperation.php 2025-11-24 17:34:25
@@ -34,7 +34,7 @@
);
$order = $payment->getOrder();
- $amount = (double)$amount;
+ $amount = (float)$amount;
$invoice = $this->getInvoiceForTransactionId($order, $payment->getTransactionId());
// register new capture
diff --color -ruN vendor/magento/module-sales/Model/Order/Payment.php vendor/magento/module-sales/Model/Order/Payment.php
--- vendor/magento/module-sales/Model/Order/Payment.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales/Model/Order/Payment.php 2025-11-24 17:34:25
@@ -1175,7 +1175,7 @@
0 == $this->getBaseAmountCanceled()
) {
if ($authTransaction->canVoidAuthorizationCompletely()) {
- $amount = (double)$order->getBaseGrandTotal();
+ $amount = (float)$order->getBaseGrandTotal();
}
}
diff --color -ruN vendor/magento/module-sales/Model/Order/ShipmentFactory.php vendor/magento/module-sales/Model/Order/ShipmentFactory.php
--- vendor/magento/module-sales/Model/Order/ShipmentFactory.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales/Model/Order/ShipmentFactory.php 2025-11-24 17:34:25
@@ -296,7 +296,7 @@
private function castQty(\Magento\Sales\Model\Order\Item $item, $qty)
{
if ($item->getIsQtyDecimal()) {
- $qty = (double)$qty;
+ $qty = (float)$qty;
} else {
$qty = (int)$qty;
}
diff --color -ruN vendor/magento/module-sales/Model/Order.php vendor/magento/module-sales/Model/Order.php
--- vendor/magento/module-sales/Model/Order.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales/Model/Order.php 2025-11-24 17:34:25
@@ -1439,14 +1439,14 @@
$collection = $this->_addressCollectionFactory->create()->setOrderFilter($this);
if ($this->getId()) {
foreach ($collection as $address) {
- if (isset($this->regionItems[$address->getCountryId()][$address->getRegion()])) {
- if ($this->regionItems[$address->getCountryId()][$address->getRegion()]) {
- $address->setRegion($this->regionItems[$address->getCountryId()][$address->getRegion()]);
+ if (isset($this->regionItems[(string)$address->getCountryId()][(string)$address->getRegion()])) {
+ if ($this->regionItems[(string)$address->getCountryId()][(string)$address->getRegion()]) {
+ $address->setRegion($this->regionItems[(string)$address->getCountryId()][(string)$address->getRegion()]);
}
} else {
$region = $this->regionFactory->create();
$this->regionResource->loadByName($region, $address->getRegion(), $address->getCountryId());
- $this->regionItems[$address->getCountryId()][$address->getRegion()] = $region->getName();
+ $this->regionItems[(string)$address->getCountryId()][(string)$address->getRegion()] = $region->getName();
if ($region->getName()) {
$address->setRegion($region->getName());
}
diff --color -ruN vendor/magento/module-sales/Model/Service/InvoiceService.php vendor/magento/module-sales/Model/Service/InvoiceService.php
--- vendor/magento/module-sales/Model/Service/InvoiceService.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales/Model/Service/InvoiceService.php 2025-11-24 17:34:25
@@ -287,7 +287,7 @@
*/
private function setInvoiceItemQuantity(InvoiceItemInterface $item, float $qty): InvoiceManagementInterface
{
- $qty = ($item->getOrderItem()->getIsQtyDecimal()) ? (double) $qty : (int) $qty;
+ $qty = ($item->getOrderItem()->getIsQtyDecimal()) ? (float) $qty : (int) $qty;
$qty = $qty > 0 ? $qty : 0;
/**
diff --color -ruN vendor/magento/module-sales/Test/Unit/Block/Adminhtml/Order/Creditmemo/Create/ItemsTest.php vendor/magento/module-sales/Test/Unit/Block/Adminhtml/Order/Creditmemo/Create/ItemsTest.php
--- vendor/magento/module-sales/Test/Unit/Block/Adminhtml/Order/Creditmemo/Create/ItemsTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales/Test/Unit/Block/Adminhtml/Order/Creditmemo/Create/ItemsTest.php 2025-11-24 17:34:25
@@ -103,7 +103,7 @@
{
$productId = 7;
$property = new \ReflectionProperty($this->items, '_canReturnToStock');
- $property->setAccessible(true);
+ $property;
$this->assertNull($property->getValue($this->items));
$this->stockConfiguration->expects($this->once())
->method('canSubtractQty')
diff --color -ruN vendor/magento/module-sales/Test/Unit/Block/Adminhtml/Order/Invoice/ViewTest.php vendor/magento/module-sales/Test/Unit/Block/Adminhtml/Order/Invoice/ViewTest.php
--- vendor/magento/module-sales/Test/Unit/Block/Adminhtml/Order/Invoice/ViewTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales/Test/Unit/Block/Adminhtml/Order/Invoice/ViewTest.php 2025-11-24 17:34:25
@@ -59,7 +59,7 @@
View::class,
'_isPaymentReview'
);
- $testMethod->setAccessible(true);
+ $testMethod;
$this->assertEquals($expectedResult, $testMethod->invoke($block));
}
diff --color -ruN vendor/magento/module-sales/Test/Unit/Model/Order/Creditmemo/Total/ShippingTest.php vendor/magento/module-sales/Test/Unit/Model/Order/Creditmemo/Total/ShippingTest.php
--- vendor/magento/module-sales/Test/Unit/Model/Order/Creditmemo/Total/ShippingTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales/Test/Unit/Model/Order/Creditmemo/Total/ShippingTest.php 2025-11-24 17:34:25
@@ -79,7 +79,7 @@
// needed until 'taxConfig' becomes part of the constructor for shippingCollector
$reflection = new \ReflectionClass(get_class($this->shippingCollector));
$reflectionProperty = $reflection->getProperty('taxConfig');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->shippingCollector, $this->taxConfig);
}
diff --color -ruN vendor/magento/module-sales/Test/Unit/Model/Order/InvoiceTest.php vendor/magento/module-sales/Test/Unit/Model/Order/InvoiceTest.php
--- vendor/magento/module-sales/Test/Unit/Model/Order/InvoiceTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales/Test/Unit/Model/Order/InvoiceTest.php 2025-11-24 17:34:25
@@ -417,7 +417,7 @@
$refObject = new \ReflectionClass($this->order);
$refProperty = $refObject->getProperty('_invoices');
- $refProperty->setAccessible(true);
+ $refProperty;
$refProperty->setValue($this->order, $collection);
return $collection;
diff --color -ruN vendor/magento/module-sales/Test/Unit/Model/Order/Pdf/AbstractTest.php vendor/magento/module-sales/Test/Unit/Model/Order/Pdf/AbstractTest.php
--- vendor/magento/module-sales/Test/Unit/Model/Order/Pdf/AbstractTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales/Test/Unit/Model/Order/Pdf/AbstractTest.php 2025-11-24 17:34:25
@@ -116,7 +116,7 @@
$model->expects($this->once())->method('drawLineBlocks')->willReturn($page);
$reflectionMethod = new \ReflectionMethod(AbstractPdf::class, 'insertTotals');
- $reflectionMethod->setAccessible(true);
+ $reflectionMethod;
$actual = $reflectionMethod->invoke($model, $page, $source);
$this->assertSame($page, $actual);
diff --color -ruN vendor/magento/module-sales/Test/Unit/Model/Order/Pdf/InvoiceTest.php vendor/magento/module-sales/Test/Unit/Model/Order/Pdf/InvoiceTest.php
--- vendor/magento/module-sales/Test/Unit/Model/Order/Pdf/InvoiceTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales/Test/Unit/Model/Order/Pdf/InvoiceTest.php 2025-11-24 17:34:25
@@ -138,7 +138,7 @@
$this->model->getPdf([]);
$renderers = new \ReflectionProperty($this->model, '_renderers');
- $renderers->setAccessible(true);
+ $renderers;
$this->assertSame(
[
'product_type_one' => ['model' => 'Renderer_Type_One_Product_One', 'renderer' => null],
diff --color -ruN vendor/magento/module-sales/Test/Unit/Model/Order/ShipmentTest.php vendor/magento/module-sales/Test/Unit/Model/Order/ShipmentTest.php
--- vendor/magento/module-sales/Test/Unit/Model/Order/ShipmentTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales/Test/Unit/Model/Order/ShipmentTest.php 2025-11-24 17:34:25
@@ -86,7 +86,7 @@
$reflection = new \ReflectionClass(Collection::class);
$reflectionProperty = $reflection->getProperty('_items');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->commentCollection, $collection);
$actual = $this->shipmentModel->getCommentsCollection();
@@ -121,7 +121,7 @@
$reflection = new \ReflectionClass(Collection::class);
$reflectionProperty = $reflection->getProperty('_items');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->commentCollection, $collection);
$this->commentCollection->expects(self::once())
diff --color -ruN vendor/magento/module-sales-rule/Model/Quote/Discount.php vendor/magento/module-sales-rule/Model/Quote/Discount.php
--- vendor/magento/module-sales-rule/Model/Quote/Discount.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales-rule/Model/Quote/Discount.php 2025-11-24 17:34:24
@@ -145,7 +145,7 @@
$itemsAggregate = [];
foreach ($shippingAssignment->getItems() as $item) {
$itemId = $item->getId();
- $itemsAggregate[$itemId] = $item;
+ $itemsAggregate[(string)$itemId] = $item;
}
$items = [];
foreach ($quote->getAllAddresses() as $quoteAddress) {
@@ -232,7 +232,7 @@
}
$this->calculator->initTotals($items, $address);
foreach ($items as $item) {
- if (!isset($itemsAggregate[$item->getId()])) {
+ if (!isset($itemsAggregate[(string)$item->getId()])) {
continue;
}
if ($item->getParentItem()) {
diff --color -ruN vendor/magento/module-sales-rule/Model/Rule.php vendor/magento/module-sales-rule/Model/Rule.php
--- vendor/magento/module-sales-rule/Model/Rule.php 2025-11-24 17:35:36
+++ vendor/magento/module-sales-rule/Model/Rule.php 2025-11-24 17:34:24
@@ -577,7 +577,7 @@
public function hasIsValidForAddress($address)
{
$addressId = $this->_getAddressId($address);
- return isset($this->_validatedAddresses[$addressId]) ? true : false;
+ return isset($this->_validatedAddresses[(string)$addressId]) ? true : false;
}
/**
@@ -590,7 +590,7 @@
public function setIsValidForAddress($address, $validationResult)
{
$addressId = $this->_getAddressId($address);
- $this->_validatedAddresses[$addressId] = $validationResult;
+ $this->_validatedAddresses[(string)$addressId] = $validationResult;
return $this;
}
@@ -604,7 +604,7 @@
public function getIsValidForAddress($address)
{
$addressId = $this->_getAddressId($address);
- return isset($this->_validatedAddresses[$addressId]) ? $this->_validatedAddresses[$addressId] : false;
+ return isset($this->_validatedAddresses[(string)$addressId]) ? $this->_validatedAddresses[(string)$addressId] : false;
}
/**
diff --color -ruN vendor/magento/module-security/Test/Unit/Model/ResourceModel/AdminSessionInfo/CollectionTest.php vendor/magento/module-security/Test/Unit/Model/ResourceModel/AdminSessionInfo/CollectionTest.php
--- vendor/magento/module-security/Test/Unit/Model/ResourceModel/AdminSessionInfo/CollectionTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-security/Test/Unit/Model/ResourceModel/AdminSessionInfo/CollectionTest.php 2025-11-24 17:34:26
@@ -94,7 +94,7 @@
$reflection = new \ReflectionClass(get_class($this->collectionMock));
$reflectionProperty = $reflection->getProperty('dateTime');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->collectionMock, $this->dateTimeMock);
$this->collectionMock->expects($this->any())
diff --color -ruN vendor/magento/module-security/Test/Unit/Model/ResourceModel/PasswordResetRequestEvent/CollectionTest.php vendor/magento/module-security/Test/Unit/Model/ResourceModel/PasswordResetRequestEvent/CollectionTest.php
--- vendor/magento/module-security/Test/Unit/Model/ResourceModel/PasswordResetRequestEvent/CollectionTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-security/Test/Unit/Model/ResourceModel/PasswordResetRequestEvent/CollectionTest.php 2025-11-24 17:34:26
@@ -91,7 +91,7 @@
$reflection = new \ReflectionClass(get_class($this->collectionMock));
$reflectionProperty = $reflection->getProperty('dateTime');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->collectionMock, $this->dateTimeMock);
$this->collectionMock->expects($this->any())
diff --color -ruN vendor/magento/module-send-friend/Test/Unit/Model/SendFriendTest.php vendor/magento/module-send-friend/Test/Unit/Model/SendFriendTest.php
--- vendor/magento/module-send-friend/Test/Unit/Model/SendFriendTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-send-friend/Test/Unit/Model/SendFriendTest.php 2025-11-24 17:34:26
@@ -104,7 +104,7 @@
->willReturn($sensitiveCookieMetadataMock);
$sendFriendClass = new \ReflectionClass(SendFriend::class);
$method = $sendFriendClass->getMethod('_sentCountByCookies');
- $method->setAccessible(true);
+ $method;
$method->invokeArgs($this->model, [true]);
}
}
diff --color -ruN vendor/magento/module-shipping/Model/Carrier/AbstractCarrierOnline.php vendor/magento/module-shipping/Model/Carrier/AbstractCarrierOnline.php
--- vendor/magento/module-shipping/Model/Carrier/AbstractCarrierOnline.php 2025-11-24 17:35:36
+++ vendor/magento/module-shipping/Model/Carrier/AbstractCarrierOnline.php 2025-11-24 17:34:28
@@ -318,7 +318,7 @@
return $this;
}
- $maxAllowedWeight = (double)$this->getConfigData('max_package_weight');
+ $maxAllowedWeight = (float)$this->getConfigData('max_package_weight');
$errorMsg = '';
$configErrorMsg = $this->getConfigData('specificerrmsg');
$defaultErrorMsg = __('The shipping module is not available.');
diff --color -ruN vendor/magento/module-shipping/Model/Shipping.php vendor/magento/module-shipping/Model/Shipping.php
--- vendor/magento/module-shipping/Model/Shipping.php 2025-11-24 17:35:36
+++ vendor/magento/module-shipping/Model/Shipping.php 2025-11-24 17:34:28
@@ -363,7 +363,7 @@
$fullItems = [];
$weightItems = [];
- $maxWeight = (double)$carrier->getConfigData('max_package_weight');
+ $maxWeight = (float)$carrier->getConfigData('max_package_weight');
/** @var $item \Magento\Quote\Model\Quote\Item */
foreach ($allItems as $item) {
diff --color -ruN vendor/magento/module-sitemap/Test/Unit/Model/SitemapTest.php vendor/magento/module-sitemap/Test/Unit/Model/SitemapTest.php
--- vendor/magento/module-sitemap/Test/Unit/Model/SitemapTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-sitemap/Test/Unit/Model/SitemapTest.php 2025-11-24 17:34:33
@@ -718,7 +718,7 @@
->getMock();
$method = new \ReflectionMethod($model, 'getDocumentRootFromBaseDir');
- $method->setAccessible(true);
+ $method;
$this->assertSame($documentRoot, $method->invoke($model));
}
@@ -764,7 +764,7 @@
if ($attribute->isPublic()) {
$object->$attributeName = $value;
} else {
- $attribute->setAccessible(true);
+ $attribute;
$attribute->setValue($object, $value);
$attribute->setAccessible(false);
}
diff --color -ruN vendor/magento/module-store/Test/Unit/App/FrontController/Plugin/RequestPreprocessorTest.php vendor/magento/module-store/Test/Unit/App/FrontController/Plugin/RequestPreprocessorTest.php
--- vendor/magento/module-store/Test/Unit/App/FrontController/Plugin/RequestPreprocessorTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-store/Test/Unit/App/FrontController/Plugin/RequestPreprocessorTest.php 2025-11-24 17:34:26
@@ -93,7 +93,7 @@
$modelProperty = (new \ReflectionClass(get_class($this->_model)))
->getProperty('baseUrlChecker');
- $modelProperty->setAccessible(true);
+ $modelProperty;
$modelProperty->setValue($this->_model, $this->baseUrlChecker);
}
diff --color -ruN vendor/magento/module-store/Test/Unit/Model/StoreRepositoryTest.php vendor/magento/module-store/Test/Unit/Model/StoreRepositoryTest.php
--- vendor/magento/module-store/Test/Unit/Model/StoreRepositoryTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-store/Test/Unit/Model/StoreRepositoryTest.php 2025-11-24 17:34:26
@@ -78,7 +78,7 @@
{
$repositoryReflection = new \ReflectionClass($this->storeRepository);
$deploymentProperty = $repositoryReflection->getProperty('appConfig');
- $deploymentProperty->setAccessible(true);
+ $deploymentProperty;
$deploymentProperty->setValue($this->storeRepository, $this->appConfigMock);
}
diff --color -ruN vendor/magento/module-store/Test/Unit/Model/StoreTest.php vendor/magento/module-store/Test/Unit/Model/StoreTest.php
--- vendor/magento/module-store/Test/Unit/Model/StoreTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-store/Test/Unit/Model/StoreTest.php 2025-11-24 17:34:26
@@ -822,7 +822,7 @@
$property = (new \ReflectionClass(get_class($model)))
->getProperty('urlModifier');
- $property->setAccessible(true);
+ $property;
$property->setValue($model, $this->urlModifierMock);
}
}
diff --color -ruN vendor/magento/module-store/Test/Unit/Model/WebsiteRepositoryTest.php vendor/magento/module-store/Test/Unit/Model/WebsiteRepositoryTest.php
--- vendor/magento/module-store/Test/Unit/Model/WebsiteRepositoryTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-store/Test/Unit/Model/WebsiteRepositoryTest.php 2025-11-24 17:34:26
@@ -76,7 +76,7 @@
{
$repositoryReflection = new ReflectionClass($this->model);
$deploymentProperty = $repositoryReflection->getProperty('appConfig');
- $deploymentProperty->setAccessible(true);
+ $deploymentProperty;
$deploymentProperty->setValue($this->model, $this->appConfigMock);
}
diff --color -ruN vendor/magento/module-store/Test/Unit/Ui/Component/Listing/Column/StoreTest.php vendor/magento/module-store/Test/Unit/Ui/Component/Listing/Column/StoreTest.php
--- vendor/magento/module-store/Test/Unit/Ui/Component/Listing/Column/StoreTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-store/Test/Unit/Ui/Component/Listing/Column/StoreTest.php 2025-11-24 17:34:26
@@ -105,7 +105,7 @@
{
$reflection = new \ReflectionClass(get_class($this->model));
$reflectionProperty = $reflection->getProperty($propertyName);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->model, $mockObject);
}
diff --color -ruN vendor/magento/module-swatches/Test/Unit/Model/Form/Element/AbstractSwatchTest.php vendor/magento/module-swatches/Test/Unit/Model/Form/Element/AbstractSwatchTest.php
--- vendor/magento/module-swatches/Test/Unit/Model/Form/Element/AbstractSwatchTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-swatches/Test/Unit/Model/Form/Element/AbstractSwatchTest.php 2025-11-24 17:34:32
@@ -53,7 +53,7 @@
->willReturn($this->attribute);
$method = new \ReflectionMethod(AbstractSwatch::class, 'getValues');
- $method->setAccessible(true);
+ $method;
$this->assertEquals($expected, $method->invoke($this->swatch));
}
@@ -65,7 +65,7 @@
->willReturn(null);
$method = new \ReflectionMethod(AbstractSwatch::class, 'getValues');
- $method->setAccessible(true);
+ $method;
$this->assertEmpty($method->invoke($this->swatch));
}
diff --color -ruN vendor/magento/module-tax/Block/Sales/Order/Tax.php vendor/magento/module-tax/Block/Sales/Order/Tax.php
--- vendor/magento/module-tax/Block/Sales/Order/Tax.php 2025-11-24 17:35:36
+++ vendor/magento/module-tax/Block/Sales/Order/Tax.php 2025-11-24 17:34:28
@@ -84,7 +84,7 @@
$store = $this->_order->getStore();
$allowTax = $this->_source->getTaxAmount() > 0 || $this->_config->displaySalesZeroTax($store);
- $grandTotal = (double)$this->_source->getGrandTotal();
+ $grandTotal = (float)$this->_source->getGrandTotal();
if (!$grandTotal || $allowTax && !$this->_config->displaySalesTaxWithGrandTotal($store)) {
$this->_addTax();
}
@@ -138,10 +138,10 @@
return $this;
}
if ($this->_config->displaySalesSubtotalBoth($store)) {
- $subtotal = (double)$this->_source->getSubtotal();
- $baseSubtotal = (double)$this->_source->getBaseSubtotal();
- $subtotalIncl = (double)$this->_source->getSubtotalInclTax();
- $baseSubtotalIncl = (double)$this->_source->getBaseSubtotalInclTax();
+ $subtotal = (float)$this->_source->getSubtotal();
+ $baseSubtotal = (float)$this->_source->getBaseSubtotal();
+ $subtotalIncl = (float)$this->_source->getSubtotalInclTax();
+ $baseSubtotalIncl = (float)$this->_source->getBaseSubtotalInclTax();
if (!$subtotalIncl || !$baseSubtotalIncl) {
// Calculate the subtotal if it is not set
@@ -183,8 +183,8 @@
$parent->addTotal($totalIncl, 'subtotal_excl');
$parent->removeTotal('subtotal');
} elseif ($this->_config->displaySalesSubtotalInclTax($store)) {
- $subtotalIncl = (double)$this->_source->getSubtotalInclTax();
- $baseSubtotalIncl = (double)$this->_source->getBaseSubtotalInclTax();
+ $subtotalIncl = (float)$this->_source->getSubtotalInclTax();
+ $baseSubtotalIncl = (float)$this->_source->getBaseSubtotalInclTax();
if (!$subtotalIncl) {
$subtotalIncl = $this->_source->getSubtotal() +
@@ -222,15 +222,15 @@
}
if ($this->_config->displaySalesShippingBoth($store)) {
- $shipping = (double)$this->_source->getShippingAmount();
- $baseShipping = (double)$this->_source->getBaseShippingAmount();
- $shippingIncl = (double)$this->_source->getShippingInclTax();
+ $shipping = (float)$this->_source->getShippingAmount();
+ $baseShipping = (float)$this->_source->getBaseShippingAmount();
+ $shippingIncl = (float)$this->_source->getShippingInclTax();
if (!$shippingIncl) {
- $shippingIncl = $shipping + (double)$this->_source->getShippingTaxAmount();
+ $shippingIncl = $shipping + (float)$this->_source->getShippingTaxAmount();
}
- $baseShippingIncl = (double)$this->_source->getBaseShippingInclTax();
+ $baseShippingIncl = (float)$this->_source->getBaseShippingInclTax();
if (!$baseShippingIncl) {
- $baseShippingIncl = $baseShipping + (double)$this->_source->getBaseShippingTaxAmount();
+ $baseShippingIncl = $baseShipping + (float)$this->_source->getBaseShippingTaxAmount();
}
$couponDescription = $this->getCouponDescription();
@@ -293,7 +293,7 @@
$store = $this->_order->getStore();
$parent = $this->getParentBlock();
$grandototal = $parent->getTotal('grand_total');
- if (!$grandototal || !(double)$this->_source->getGrandTotal()) {
+ if (!$grandototal || !(float)$this->_source->getGrandTotal()) {
return $this;
}
diff --color -ruN vendor/magento/module-tax/Model/Sales/Total/Quote/CommonTaxCollector.php vendor/magento/module-tax/Model/Sales/Total/Quote/CommonTaxCollector.php
--- vendor/magento/module-tax/Model/Sales/Total/Quote/CommonTaxCollector.php 2025-11-24 17:35:36
+++ vendor/magento/module-tax/Model/Sales/Total/Quote/CommonTaxCollector.php 2025-11-24 17:34:28
@@ -601,7 +601,7 @@
/** @var AbstractItem[] $keyedAddressItems */
$keyedAddressItems = [];
foreach ($shippingAssignment->getItems() as $addressItem) {
- $keyedAddressItems[$addressItem->getTaxCalculationItemId()] = $addressItem;
+ $keyedAddressItems[(string)$addressItem->getTaxCalculationItemId()] = $addressItem;
}
$subtotal = $baseSubtotal = 0;
@@ -675,7 +675,7 @@
/** @var AbstractItem[] $keyedAddressItems */
$keyedAddressItems = [];
foreach ($shippingAssignment->getItems() as $addressItem) {
- $keyedAddressItems[$addressItem->getTaxCalculationItemId()] = $addressItem;
+ $keyedAddressItems[(string)$addressItem->getTaxCalculationItemId()] = $addressItem;
}
foreach ($itemsByType as $itemType => $items) {
diff --color -ruN vendor/magento/module-tax/Test/Unit/Model/ResourceModel/CalculationTest.php vendor/magento/module-tax/Test/Unit/Model/ResourceModel/CalculationTest.php
--- vendor/magento/module-tax/Test/Unit/Model/ResourceModel/CalculationTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-tax/Test/Unit/Model/ResourceModel/CalculationTest.php 2025-11-24 17:34:28
@@ -50,7 +50,7 @@
Calculation::class,
'_createSearchPostCodeTemplates'
);
- $method->setAccessible(true);
+ $method;
// test & verify
$resultsArr = $method->invokeArgs($calcMock, [$postalCode, $exactPostalcode]);
diff --color -ruN vendor/magento/module-theme/Model/Indexer/Design/Config/FieldsProvider.php vendor/magento/module-theme/Model/Indexer/Design/Config/FieldsProvider.php
--- vendor/magento/module-theme/Model/Indexer/Design/Config/FieldsProvider.php 2025-11-24 17:35:36
+++ vendor/magento/module-theme/Model/Indexer/Design/Config/FieldsProvider.php 2025-11-24 17:34:29
@@ -48,7 +48,7 @@
{
$fields = [];
foreach ($metadata as $itemName => $itemData) {
- if (isset($itemData['use_in_grid']) && (boolean)$itemData['use_in_grid']) {
+ if (isset($itemData['use_in_grid']) && (bool)$itemData['use_in_grid']) {
$fields[$itemName] = [
'name' => $itemName,
'origin' => 'value',
diff --color -ruN vendor/magento/module-theme/Model/ResourceModel/Design/Config/Scope/Collection.php vendor/magento/module-theme/Model/ResourceModel/Design/Config/Scope/Collection.php
--- vendor/magento/module-theme/Model/ResourceModel/Design/Config/Scope/Collection.php 2025-11-24 17:35:36
+++ vendor/magento/module-theme/Model/ResourceModel/Design/Config/Scope/Collection.php 2025-11-24 17:34:29
@@ -98,7 +98,7 @@
{
$result = [];
foreach ($this->metadataProvider->get() as $itemName => $itemData) {
- if (isset($itemData['use_in_grid']) && (boolean)$itemData['use_in_grid']) {
+ if (isset($itemData['use_in_grid']) && (bool)$itemData['use_in_grid']) {
$result[$itemName] = $this->valueProcessor->process(
$this->appConfig->getValue($itemData['path'], $scope, $scopeId),
$scope,
diff --color -ruN vendor/magento/module-theme/Test/Unit/Block/Adminhtml/System/Design/Theme/Tab/CssTest.php vendor/magento/module-theme/Test/Unit/Block/Adminhtml/System/Design/Theme/Tab/CssTest.php
--- vendor/magento/module-theme/Test/Unit/Block/Adminhtml/System/Design/Theme/Tab/CssTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-theme/Test/Unit/Block/Adminhtml/System/Design/Theme/Tab/CssTest.php 2025-11-24 17:34:29
@@ -132,7 +132,7 @@
{
$class = new \ReflectionClass(Css::class);
$method = $class->getMethod($name);
- $method->setAccessible(true);
+ $method;
return $method;
}
diff --color -ruN vendor/magento/module-theme/Test/Unit/Block/Adminhtml/System/Design/Theme/Tab/JsTest.php vendor/magento/module-theme/Test/Unit/Block/Adminhtml/System/Design/Theme/Tab/JsTest.php
--- vendor/magento/module-theme/Test/Unit/Block/Adminhtml/System/Design/Theme/Tab/JsTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-theme/Test/Unit/Block/Adminhtml/System/Design/Theme/Tab/JsTest.php 2025-11-24 17:34:29
@@ -61,7 +61,7 @@
{
$class = new \ReflectionClass(Js::class);
$method = $class->getMethod($name);
- $method->setAccessible(true);
+ $method;
return $method;
}
diff --color -ruN vendor/magento/module-theme/Test/Unit/Block/Html/FooterTest.php vendor/magento/module-theme/Test/Unit/Block/Html/FooterTest.php
--- vendor/magento/module-theme/Test/Unit/Block/Html/FooterTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-theme/Test/Unit/Block/Html/FooterTest.php 2025-11-24 17:34:29
@@ -86,7 +86,7 @@
{
$reflection = new \ReflectionClass($this->block);
$method = $reflection->getMethod('getCacheLifetime');
- $method->setAccessible(true);
+ $method;
$this->assertEquals(3600, $method->invoke($this->block));
}
}
diff --color -ruN vendor/magento/module-theme/Test/Unit/Block/Html/PagerTest.php vendor/magento/module-theme/Test/Unit/Block/Html/PagerTest.php
--- vendor/magento/module-theme/Test/Unit/Block/Html/PagerTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-theme/Test/Unit/Block/Html/PagerTest.php 2025-11-24 17:34:29
@@ -154,7 +154,7 @@
{
$reflection = new \ReflectionClass($this->pager);
$reflection_property = $reflection->getProperty('_collection');
- $reflection_property->setAccessible(true);
+ $reflection_property;
$reflection_property->setValue($this->pager, $collection);
}
}
diff --color -ruN vendor/magento/module-theme/Test/Unit/Model/Design/Backend/FileTest.php vendor/magento/module-theme/Test/Unit/Model/Design/Backend/FileTest.php
--- vendor/magento/module-theme/Test/Unit/Model/Design/Backend/FileTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-theme/Test/Unit/Model/Design/Backend/FileTest.php 2025-11-24 17:34:29
@@ -342,7 +342,7 @@
{
$reflection = new \ReflectionClass($this->fileBackend);
$method = $reflection->getMethod('getRelativeMediaPath');
- $method->setAccessible(true);
+ $method;
$this->assertEquals(
$filename,
$method->invoke($this->fileBackend, $path . $filename)
diff --color -ruN vendor/magento/module-theme/Test/Unit/Model/Theme/Domain/VirtualTest.php vendor/magento/module-theme/Test/Unit/Model/Theme/Domain/VirtualTest.php
--- vendor/magento/module-theme/Test/Unit/Model/Theme/Domain/VirtualTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-theme/Test/Unit/Model/Theme/Domain/VirtualTest.php 2025-11-24 17:34:29
@@ -69,7 +69,7 @@
$appState = $this->createPartialMock(State::class, ['getAreaCode']);
$appState->expects($this->any())->method('getAreaCode')->willReturn('fixture_area');
$appStateProperty = new \ReflectionProperty(Theme::class, '_appState');
- $appStateProperty->setAccessible(true);
+ $appStateProperty;
/** @var DataObject $theme */
$theme->setData(
[
diff --color -ruN vendor/magento/module-theme/Test/Unit/Model/Wysiwyg/StorageTest.php vendor/magento/module-theme/Test/Unit/Model/Wysiwyg/StorageTest.php
--- vendor/magento/module-theme/Test/Unit/Model/Wysiwyg/StorageTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-theme/Test/Unit/Model/Wysiwyg/StorageTest.php 2025-11-24 17:34:29
@@ -131,7 +131,7 @@
$reflection = new ReflectionClass(HelperStorage::class);
$reflection_property = $reflection->getProperty('file');
- $reflection_property->setAccessible(true);
+ $reflection_property;
$reflection_property->setValue($this->helperStorage, $file);
$this->objectManager = $this->getMockForAbstractClass(ObjectManagerInterface::class);
diff --color -ruN vendor/magento/module-translation/Test/Unit/Model/Inline/ParserTest.php vendor/magento/module-translation/Test/Unit/Model/Inline/ParserTest.php
--- vendor/magento/module-translation/Test/Unit/Model/Inline/ParserTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-translation/Test/Unit/Model/Inline/ParserTest.php 2025-11-24 17:34:27
@@ -173,7 +173,7 @@
$escaper = new Escaper();
$reflection = new \ReflectionClass($escaper);
$reflectionProperty = $reflection->getProperty('escaper');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($escaper, new \Magento\Framework\ZendEscaper());
return $escaper;
}
diff --color -ruN vendor/magento/module-ui/Component/Form.php vendor/magento/module-ui/Component/Form.php
--- vendor/magento/module-ui/Component/Form.php 2025-11-24 17:35:25
+++ vendor/magento/module-ui/Component/Form.php 2025-11-24 17:34:23
@@ -70,9 +70,9 @@
$data = $this->getContext()->getDataProvider()->getData();
- if (isset($data[$id])) {
+ if (isset($data[(string)$id])) {
$dataSource = [
- 'data' => $data[$id]
+ 'data' => $data[(string)$id]
];
} elseif (isset($data['items'])) {
foreach ($data['items'] as $item) {
diff --color -ruN vendor/magento/module-ui/Test/Unit/Component/Listing/Columns/ColumnTest.php vendor/magento/module-ui/Test/Unit/Component/Listing/Columns/ColumnTest.php
--- vendor/magento/module-ui/Test/Unit/Component/Listing/Columns/ColumnTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-ui/Test/Unit/Component/Listing/Columns/ColumnTest.php 2025-11-24 17:34:23
@@ -241,7 +241,7 @@
Column::class,
'applySorting'
);
- $method->setAccessible(true);
+ $method;
$method->invokeArgs($column, []);
}
diff --color -ruN vendor/magento/module-ui/Test/Unit/Controller/Adminhtml/Bookmark/SaveTest.php vendor/magento/module-ui/Test/Unit/Controller/Adminhtml/Bookmark/SaveTest.php
--- vendor/magento/module-ui/Test/Unit/Controller/Adminhtml/Bookmark/SaveTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-ui/Test/Unit/Controller/Adminhtml/Bookmark/SaveTest.php 2025-11-24 17:34:23
@@ -154,7 +154,7 @@
['namespace'] => 'product_listing'
});
$reflectionProperty = new \ReflectionProperty($this->model, '_request');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->model, $request);
$current = $this->createBookmark();
@@ -211,7 +211,7 @@
['namespace'] => 'product_listing'
});
$reflectionProperty = new \ReflectionProperty($this->model, '_request');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->model, $request);
$this->serializer->expects($this->once())->method('unserialize')->with($currentConfig)
diff --color -ruN vendor/magento/module-ups/Model/Carrier.php vendor/magento/module-ups/Model/Carrier.php
--- vendor/magento/module-ups/Model/Carrier.php 2025-11-24 17:35:36
+++ vendor/magento/module-ups/Model/Carrier.php 2025-11-24 17:34:34
@@ -1030,7 +1030,7 @@
$successConversion = true;
if ($responseCurrencyCode) {
if (in_array($responseCurrencyCode, $allowedCurrencies)) {
- $cost = (double)$cost * $this->_getBaseCurrencyRate($responseCurrencyCode);
+ $cost = (float)$cost * $this->_getBaseCurrencyRate($responseCurrencyCode);
} else {
$errorTitle = __(
'We can\'t convert a rate from "%1-%2".',
@@ -1398,7 +1398,7 @@
$successConversion = true;
if ($responseCurrencyCode) {
if (in_array($responseCurrencyCode, $allowedCurrencies)) {
- $cost = (double)$cost * $this->_getBaseCurrencyRate($responseCurrencyCode);
+ $cost = (float)$cost * $this->_getBaseCurrencyRate($responseCurrencyCode);
} else {
$errorTitle = __(
'We can\'t convert a rate from "%1-%2".',
diff --color -ruN vendor/magento/module-ups/Test/Unit/Model/CarrierTest.php vendor/magento/module-ups/Test/Unit/Model/CarrierTest.php
--- vendor/magento/module-ups/Test/Unit/Model/CarrierTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-ups/Test/Unit/Model/CarrierTest.php 2025-11-24 17:34:34
@@ -284,7 +284,7 @@
$request->setData($requestData);
$this->model->setRequest($request);
$property = new \ReflectionProperty($this->model, '_rawRequest');
- $property->setAccessible(true);
+ $property;
$rawRequest = $property->getValue($this->model);
$this->assertEquals($rawRequestData, array_intersect_key($rawRequest->getData(), $rawRequestData));
}
diff --color -ruN vendor/magento/module-user/Test/Unit/Block/Role/EditTest.php vendor/magento/module-user/Test/Unit/Block/Role/EditTest.php
--- vendor/magento/module-user/Test/Unit/Block/Role/EditTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-user/Test/Unit/Block/Role/EditTest.php 2025-11-24 17:34:27
@@ -115,7 +115,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$method = $reflection->getMethod($methodName);
- $method->setAccessible(true);
+ $method;
return $method->invokeArgs($object, $parameters);
}
diff --color -ruN vendor/magento/module-user/Test/Unit/Model/ResourceModel/UserTest.php vendor/magento/module-user/Test/Unit/Model/ResourceModel/UserTest.php
--- vendor/magento/module-user/Test/Unit/Model/ResourceModel/UserTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-user/Test/Unit/Model/ResourceModel/UserTest.php 2025-11-24 17:34:27
@@ -524,7 +524,7 @@
{
$reflection = new \ReflectionClass(get_class($object));
$method = $reflection->getMethod($methodName);
- $method->setAccessible(true);
+ $method;
return $method->invokeArgs($object, $parameters);
}
diff --color -ruN vendor/magento/module-usps/Test/Unit/Model/CarrierTest.php vendor/magento/module-usps/Test/Unit/Model/CarrierTest.php
--- vendor/magento/module-usps/Test/Unit/Model/CarrierTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-usps/Test/Unit/Model/CarrierTest.php 2025-11-24 17:34:22
@@ -269,11 +269,11 @@
{
$refClass = new \ReflectionClass(Carrier::class);
$property = $refClass->getProperty('_debugReplacePrivateDataKeys');
- $property->setAccessible(true);
+ $property;
$property->setValue($this->carrier, $maskFields);
$refMethod = $refClass->getMethod('filterDebugData');
- $refMethod->setAccessible(true);
+ $refMethod;
$result = $refMethod->invoke($this->carrier, $data);
$expectedXml = new \SimpleXMLElement($expected);
$resultXml = new \SimpleXMLElement($result);
@@ -443,7 +443,7 @@
{
$reflection = new \ReflectionClass($this->carrier);
$method = $reflection->getMethod($method);
- $method->setAccessible(true);
+ $method;
return $method->invokeArgs($this->carrier, $parameters);
}
@@ -458,7 +458,7 @@
{
$reflection = new \ReflectionClass($this->carrier);
$property = $reflection->getProperty($property);
- $property->setAccessible(true);
+ $property;
$property->setValue($this->carrier, $value);
}
diff --color -ruN vendor/magento/module-webapi/Test/Unit/Model/Rest/Swagger/GeneratorTest.php vendor/magento/module-webapi/Test/Unit/Model/Rest/Swagger/GeneratorTest.php
--- vendor/magento/module-webapi/Test/Unit/Model/Rest/Swagger/GeneratorTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-webapi/Test/Unit/Model/Rest/Swagger/GeneratorTest.php 2025-11-24 17:34:22
@@ -424,11 +424,11 @@
public function testGetObjectSchema($typeName, $description, $result)
{
$property = new \ReflectionProperty($this->generator, 'definitions');
- $property->setAccessible(true);
+ $property;
$property->setValue($this->generator, ['customer-data-customer-interface' => []]);
$method = new \ReflectionMethod($this->generator, 'getObjectSchema');
- $method->setAccessible(true);
+ $method;
$actual = $method->invoke($this->generator, $typeName, $description);
$this->assertSame(json_encode($result), json_encode($actual));
@@ -487,7 +487,7 @@
->willReturnCallback($getTypeData);
$method = new \ReflectionMethod($this->generator, 'generateDefinition');
- $method->setAccessible(true);
+ $method;
$actual = $method->invoke($this->generator, key($typeData));
ksort($expected);
@@ -577,7 +577,7 @@
public function testGetDefinitionReference()
{
$method = new \ReflectionMethod($this->generator, 'getDefinitionReference');
- $method->setAccessible(true);
+ $method;
$actual = $method->invoke($this->generator, 'CustomerDataAddressInterface');
$this->assertEquals('#/definitions/customer-data-address-interface', $actual);
diff --color -ruN vendor/magento/module-widget/Test/Unit/Model/Widget/InstanceTest.php vendor/magento/module-widget/Test/Unit/Model/Widget/InstanceTest.php
--- vendor/magento/module-widget/Test/Unit/Model/Widget/InstanceTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-widget/Test/Unit/Model/Widget/InstanceTest.php 2025-11-24 17:34:33
@@ -443,7 +443,7 @@
];
$reflection = new ReflectionProperty(Instance::class, '_layoutHandles');
- $reflection->setAccessible(true);
+ $reflection;
$reflection->setValue($this->_model, $layoutHandles);
}
@@ -466,7 +466,7 @@
'grouped_products' => 'catalog_product_view_id_{{ID}}',
];
$reflection = new ReflectionProperty(Instance::class, '_specificEntitiesLayoutHandles');
- $reflection->setAccessible(true);
+ $reflection;
$reflection->setValue($this->_model, $specificEntitiesLayoutHandles);
}
diff --color -ruN vendor/magento/module-widget/Test/Unit/Model/WidgetTest.php vendor/magento/module-widget/Test/Unit/Model/WidgetTest.php
--- vendor/magento/module-widget/Test/Unit/Model/WidgetTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-widget/Test/Unit/Model/WidgetTest.php 2025-11-24 17:34:33
@@ -189,7 +189,7 @@
$mathRandomMock->expects($this->any())->method('getRandomString')->willReturn('asdf');
$reflection = new \ReflectionClass(get_class($this->widget));
$reflectionProperty = $reflection->getProperty('mathRandom');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->widget, $mathRandomMock);
$conditions = [
diff --color -ruN vendor/magento/module-wishlist/Test/Unit/Model/ResourceModel/Item/CollectionTest.php vendor/magento/module-wishlist/Test/Unit/Model/ResourceModel/Item/CollectionTest.php
--- vendor/magento/module-wishlist/Test/Unit/Model/ResourceModel/Item/CollectionTest.php 2025-11-24 17:35:36
+++ vendor/magento/module-wishlist/Test/Unit/Model/ResourceModel/Item/CollectionTest.php 2025-11-24 17:34:22
@@ -174,7 +174,7 @@
$reflection = new \ReflectionClass(get_class($this->collection));
$reflectionProperty = $reflection->getProperty('metadataPool');
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($this->collection, $this->metadataPool);
}
diff --color -ruN vendor/magento/php-compatibility-fork/PHPCompatibility/Sniffs/TypeCasts/RemovedTypeCastsSniff.php vendor/magento/php-compatibility-fork/PHPCompatibility/Sniffs/TypeCasts/RemovedTypeCastsSniff.php
--- vendor/magento/php-compatibility-fork/PHPCompatibility/Sniffs/TypeCasts/RemovedTypeCastsSniff.php 2025-11-24 17:35:36
+++ vendor/magento/php-compatibility-fork/PHPCompatibility/Sniffs/TypeCasts/RemovedTypeCastsSniff.php 2025-11-24 17:34:27
@@ -93,7 +93,7 @@
$tokens = $phpcsFile->getTokens();
$tokenType = $tokens[$stackPtr]['type'];
- // Special case `T_DOUBLE_CAST` as the same token is used for (float) and (double) casts.
+ // Special case `T_DOUBLE_CAST` as the same token is used for (float) and (float) casts.
if ($tokenType === 'T_DOUBLE_CAST' && \strpos($tokens[$stackPtr]['content'], 'real') === false) {
// Float/double casts, not (real) cast.
return;
diff --color -ruN vendor/magento/zend-cache/library/Zend/Cache/Backend/File.php vendor/magento/zend-cache/library/Zend/Cache/Backend/File.php
--- vendor/magento/zend-cache/library/Zend/Cache/Backend/File.php 2025-11-24 17:35:36
+++ vendor/magento/zend-cache/library/Zend/Cache/Backend/File.php 2025-11-24 17:34:26
@@ -45,12 +45,12 @@
* =====> (string) cache_dir :
* - Directory where to put the cache files
*
- * =====> (boolean) file_locking :
+ * =====> (bool) file_locking :
* - Enable / disable file_locking
* - Can avoid cache corruption under bad circumstances but it doesn't work on multithread
* webservers and on NFS filesystems for example
*
- * =====> (boolean) read_control :
+ * =====> (bool) read_control :
* - Enable / disable read control
* - If enabled, a control key is embeded in cache file and this key is compared with the one
* calculated after the reading.
diff --color -ruN vendor/magento/zend-cache/library/Zend/Cache/Backend/Memcached.php vendor/magento/zend-cache/library/Zend/Cache/Backend/Memcached.php
--- vendor/magento/zend-cache/library/Zend/Cache/Backend/Memcached.php 2025-11-24 17:35:36
+++ vendor/magento/zend-cache/library/Zend/Cache/Backend/Memcached.php 2025-11-24 17:34:26
@@ -80,10 +80,10 @@
* is attempted. The function takes two parameters, the hostname
* and port of the failed server.
*
- * =====> (boolean) compression :
+ * =====> (bool) compression :
* true if you want to use on-the-fly compression
*
- * =====> (boolean) compatibility :
+ * =====> (bool) compatibility :
* true if you use old memcache server or extension
*
* @var array available options
diff --color -ruN vendor/magento/zend-cache/library/Zend/Cache/Backend/TwoLevels.php vendor/magento/zend-cache/library/Zend/Cache/Backend/TwoLevels.php
--- vendor/magento/zend-cache/library/Zend/Cache/Backend/TwoLevels.php 2025-11-24 17:35:36
+++ vendor/magento/zend-cache/library/Zend/Cache/Backend/TwoLevels.php 2025-11-24 17:34:26
@@ -64,20 +64,20 @@
* - Disable / Tune the computation of the fast backend filling percentage
* - When saving a record into cache :
* 1 => systematic computation of the fast backend filling percentage
- * x (integer) > 1 => computation of the fast backend filling percentage randomly 1 times on x cache write
+ * x (int) > 1 => computation of the fast backend filling percentage randomly 1 times on x cache write
*
- * =====> (boolean) slow_backend_custom_naming :
- * =====> (boolean) fast_backend_custom_naming :
- * =====> (boolean) slow_backend_autoload :
- * =====> (boolean) fast_backend_autoload :
+ * =====> (bool) slow_backend_custom_naming :
+ * =====> (bool) fast_backend_custom_naming :
+ * =====> (bool) slow_backend_autoload :
+ * =====> (bool) fast_backend_autoload :
* - See Zend_Cache::factory() method
*
- * =====> (boolean) auto_fill_fast_cache
+ * =====> (bool) auto_fill_fast_cache
* - If true, automatically fill the fast cache when a cache record was not found in fast cache, but did
* exist in slow cache. This can be usefull when a non-persistent cache like APC or Memcached got
* purged for whatever reason.
*
- * =====> (boolean) auto_refresh_fast_cache
+ * =====> (bool) auto_refresh_fast_cache
* - If true, auto refresh the fast cache when a cache record is hit
*
* @var array available options
diff --color -ruN vendor/magento/zend-cache/library/Zend/Cache/Core.php vendor/magento/zend-cache/library/Zend/Cache/Core.php
--- vendor/magento/zend-cache/library/Zend/Cache/Core.php 2025-11-24 17:35:36
+++ vendor/magento/zend-cache/library/Zend/Cache/Core.php 2025-11-24 17:34:26
@@ -43,19 +43,19 @@
/**
* Available options
*
- * ====> (boolean) write_control :
+ * ====> (bool) write_control :
* - Enable / disable write control (the cache is read just after writing to detect corrupt entries)
* - Enable write control will lightly slow the cache writing but not the cache reading
* Write control can detect some corrupt cache files but maybe it's not a perfect control
*
- * ====> (boolean) caching :
+ * ====> (bool) caching :
* - Enable / disable caching
* (can be very useful for the debug of cached scripts)
*
* =====> (string) cache_id_prefix :
* - prefix for cache ids (namespace)
*
- * ====> (boolean) automatic_serialization :
+ * ====> (bool) automatic_serialization :
* - Enable / disable automatic serialization
* - It can be used to save directly datas which aren't strings (but it's slower)
*
@@ -65,16 +65,16 @@
* cache files when a new cache file is written :
* 0 => no automatic cache cleaning
* 1 => systematic cache cleaning
- * x (integer) > 1 => automatic cleaning randomly 1 times on x cache write
+ * x (int) > 1 => automatic cleaning randomly 1 times on x cache write
*
* ====> (int) lifetime :
* - Cache lifetime (in seconds)
* - If null, the cache is valid forever.
*
- * ====> (boolean) logging :
+ * ====> (bool) logging :
* - If set to true, logging is activated (but the system is slower)
*
- * ====> (boolean) ignore_user_abort
+ * ====> (bool) ignore_user_abort
* - If set to true, the core will set the ignore_user_abort PHP flag inside the
* save() method to avoid cache corruptions in some cases (default false)
*
diff --color -ruN vendor/magento/zend-cache/library/Zend/Cache/Frontend/Class.php vendor/magento/zend-cache/library/Zend/Cache/Frontend/Class.php
--- vendor/magento/zend-cache/library/Zend/Cache/Frontend/Class.php 2025-11-24 17:35:36
+++ vendor/magento/zend-cache/library/Zend/Cache/Frontend/Class.php 2025-11-24 17:34:26
@@ -41,7 +41,7 @@
* - if set to a class name, we will cache an abstract class and will use only static calls
* - if set to an object, we will cache this object methods
*
- * ====> (boolean) cache_by_default :
+ * ====> (bool) cache_by_default :
* - if true, method calls will be cached by default
*
* ====> (array) cached_methods :
diff --color -ruN vendor/magento/zend-cache/library/Zend/Cache/Frontend/File.php vendor/magento/zend-cache/library/Zend/Cache/Frontend/File.php
--- vendor/magento/zend-cache/library/Zend/Cache/Frontend/File.php 2025-11-24 17:35:36
+++ vendor/magento/zend-cache/library/Zend/Cache/Frontend/File.php 2025-11-24 17:34:26
@@ -58,7 +58,7 @@
* - if MODE_AND, then all master files have to be touched to get a cache invalidation
* - if MODE_OR (default), then a single touched master file is enough to get a cache invalidation
*
- * ====> (boolean) ignore_missing_master_files
+ * ====> (bool) ignore_missing_master_files
* - if set to true, missing master files are ignored silently
* - if set to false (default), an exception is thrown if there is a missing master file
* @var array available options
diff --color -ruN vendor/magento/zend-cache/library/Zend/Cache/Frontend/Function.php vendor/magento/zend-cache/library/Zend/Cache/Frontend/Function.php
--- vendor/magento/zend-cache/library/Zend/Cache/Frontend/Function.php 2025-11-24 17:35:36
+++ vendor/magento/zend-cache/library/Zend/Cache/Frontend/Function.php 2025-11-24 17:34:26
@@ -38,7 +38,7 @@
/**
* This frontend specific options
*
- * ====> (boolean) cache_by_default :
+ * ====> (bool) cache_by_default :
* - if true, function calls will be cached by default
*
* ====> (array) cached_functions :
diff --color -ruN vendor/magento/zend-cache/library/Zend/Cache/Frontend/Page.php vendor/magento/zend-cache/library/Zend/Cache/Frontend/Page.php
--- vendor/magento/zend-cache/library/Zend/Cache/Frontend/Page.php 2025-11-24 17:35:36
+++ vendor/magento/zend-cache/library/Zend/Cache/Frontend/Page.php 2025-11-24 17:34:26
@@ -38,14 +38,14 @@
/**
* This frontend specific options
*
- * ====> (boolean) http_conditional :
+ * ====> (bool) http_conditional :
* - if true, http conditional mode is on
* WARNING : http_conditional OPTION IS NOT IMPLEMENTED FOR THE MOMENT (TODO)
*
- * ====> (boolean) debug_header :
+ * ====> (bool) debug_header :
* - if true, a debug text is added before each cached pages
*
- * ====> (boolean) content_type_memorization :
+ * ====> (bool) content_type_memorization :
* - deprecated => use memorize_headers instead
* - if the Content-Type header is sent after the cache was started, the
* corresponding value can be memorized and replayed when the cache is hit
@@ -57,11 +57,11 @@
*
* ====> (array) default_options :
* - an associative array of default options :
- * - (boolean) cache : cache is on by default if true
- * - (boolean) cacheWithXXXVariables (XXXX = 'Get', 'Post', 'Session', 'Files' or 'Cookie') :
+ * - (bool) cache : cache is on by default if true
+ * - (bool) cacheWithXXXVariables (XXXX = 'Get', 'Post', 'Session', 'Files' or 'Cookie') :
* if true, cache is still on even if there are some variables in this superglobal array
* if false, cache is off if there are some variables in this superglobal array
- * - (boolean) makeIdWithXXXVariables (XXXX = 'Get', 'Post', 'Session', 'Files' or 'Cookie') :
+ * - (bool) makeIdWithXXXVariables (XXXX = 'Get', 'Post', 'Session', 'Files' or 'Cookie') :
* if true, we have to use the content of this superglobal array to make a cache id
* if false, the cache id won't be dependent of the content of this superglobal array
* - (int) specific_lifetime : cache specific lifetime
diff --color -ruN vendor/magento/zend-db/library/Zend/Db/Adapter/Abstract.php vendor/magento/zend-db/library/Zend/Db/Adapter/Abstract.php
--- vendor/magento/zend-db/library/Zend/Db/Adapter/Abstract.php 2025-11-24 17:35:36
+++ vendor/magento/zend-db/library/Zend/Db/Adapter/Abstract.php 2025-11-24 17:34:32
@@ -153,7 +153,7 @@
* Some options are used on a case-by-case basis by adapters:
*
* port => (string) The port of the database
- * persistent => (boolean) Whether to use a persistent connection or not, defaults to false
+ * persistent => (bool) Whether to use a persistent connection or not, defaults to false
* protocol => (string) The network protocol, defaults to TCPIP
* caseFolding => (int) style of case-alteration used for identifiers
* socket => (string) The socket or named pipe that should be used
diff --color -ruN vendor/magento/zend-db/library/Zend/Db/Adapter/Db2.php vendor/magento/zend-db/library/Zend/Db/Adapter/Db2.php
--- vendor/magento/zend-db/library/Zend/Db/Adapter/Db2.php 2025-11-24 17:35:36
+++ vendor/magento/zend-db/library/Zend/Db/Adapter/Db2.php 2025-11-24 17:34:32
@@ -55,8 +55,8 @@
* host => (string) What host to connect to (default 127.0.0.1)
* dbname => (string) The name of the database to user
* protocol => (string) Protocol to use, defaults to "TCPIP"
- * port => (integer) Port number to use for TCP/IP if protocol is "TCPIP"
- * persistent => (boolean) Set TRUE to use a persistent connection (db2_pconnect)
+ * port => (int) Port number to use for TCP/IP if protocol is "TCPIP"
+ * persistent => (bool) Set TRUE to use a persistent connection (db2_pconnect)
* os => (string) This should be set to 'i5' if the db is on an os400/i5
* schema => (string) The default schema the connection should use
*
diff --color -ruN vendor/magento/zend-db/library/Zend/Db/Adapter/Mysqli.php vendor/magento/zend-db/library/Zend/Db/Adapter/Mysqli.php
--- vendor/magento/zend-db/library/Zend/Db/Adapter/Mysqli.php 2025-11-24 17:35:36
+++ vendor/magento/zend-db/library/Zend/Db/Adapter/Mysqli.php 2025-11-24 17:34:32
@@ -292,7 +292,7 @@
}
if (isset($this->_config['port'])) {
- $port = (integer) $this->_config['port'];
+ $port = (int) $this->_config['port'];
} else {
$port = null;
}
diff --color -ruN vendor/magento/zend-db/library/Zend/Db/Adapter/Oracle.php vendor/magento/zend-db/library/Zend/Db/Adapter/Oracle.php
--- vendor/magento/zend-db/library/Zend/Db/Adapter/Oracle.php 2025-11-24 17:35:36
+++ vendor/magento/zend-db/library/Zend/Db/Adapter/Oracle.php 2025-11-24 17:34:32
@@ -48,7 +48,7 @@
* password => (string) Password associated with the username.
* dbname => Either the name of the local Oracle instance, or the
* name of the entry in tnsnames.ora to which you want to connect.
- * persistent => (boolean) Set TRUE to use a persistent connection
+ * persistent => (bool) Set TRUE to use a persistent connection
* @var array
*/
protected $_config = array(
diff --color -ruN vendor/magento/zend-db/library/Zend/Db/Adapter/Pdo/Sqlite.php vendor/magento/zend-db/library/Zend/Db/Adapter/Pdo/Sqlite.php
--- vendor/magento/zend-db/library/Zend/Db/Adapter/Pdo/Sqlite.php 2025-11-24 17:35:36
+++ vendor/magento/zend-db/library/Zend/Db/Adapter/Pdo/Sqlite.php 2025-11-24 17:34:32
@@ -76,7 +76,7 @@
* dbname => (string) The name of the database to user (required,
* use :memory: for memory-based database)
*
- * sqlite2 => (boolean) PDO_SQLITE defaults to SQLite 3. For compatibility
+ * sqlite2 => (bool) PDO_SQLITE defaults to SQLite 3. For compatibility
* with an older SQLite 2 database, set this to TRUE.
*
* @param array $config An array of configuration keys.
diff --color -ruN vendor/magento/zend-db/library/Zend/Db/Adapter/Sqlsrv.php vendor/magento/zend-db/library/Zend/Db/Adapter/Sqlsrv.php
--- vendor/magento/zend-db/library/Zend/Db/Adapter/Sqlsrv.php 2025-11-24 17:35:36
+++ vendor/magento/zend-db/library/Zend/Db/Adapter/Sqlsrv.php 2025-11-24 17:34:32
@@ -127,7 +127,7 @@
$serverName = $this->_config['host'];
if (isset($this->_config['port'])) {
- $port = (integer) $this->_config['port'];
+ $port = (int) $this->_config['port'];
$serverName .= ', ' . $port;
}
diff --color -ruN vendor/magento/zend-db/library/Zend/Db/Profiler.php vendor/magento/zend-db/library/Zend/Db/Profiler.php
--- vendor/magento/zend-db/library/Zend/Db/Profiler.php 2025-11-24 17:35:36
+++ vendor/magento/zend-db/library/Zend/Db/Profiler.php 2025-11-24 17:34:32
@@ -135,7 +135,7 @@
*/
public function setEnabled($enable)
{
- $this->_enabled = (boolean) $enable;
+ $this->_enabled = (bool) $enable;
return $this;
}
@@ -165,7 +165,7 @@
if (null === $minimumSeconds) {
$this->_filterElapsedSecs = null;
} else {
- $this->_filterElapsedSecs = (integer) $minimumSeconds;
+ $this->_filterElapsedSecs = (int) $minimumSeconds;
}
return $this;
diff --color -ruN vendor/magento/zend-memory/library/Zend/Memory/Manager.php vendor/magento/zend-memory/library/Zend/Memory/Manager.php
--- vendor/magento/zend-memory/library/Zend/Memory/Manager.php 2025-11-24 17:35:36
+++ vendor/magento/zend-memory/library/Zend/Memory/Manager.php 2025-11-24 17:34:23
@@ -169,7 +169,7 @@
$memoryLimitStr = trim(ini_get('memory_limit'));
if ($memoryLimitStr != '' && $memoryLimitStr != -1) {
- $this->_memoryLimit = (integer)$memoryLimitStr;
+ $this->_memoryLimit = (int)$memoryLimitStr;
switch (strtolower($memoryLimitStr[strlen($memoryLimitStr)-1])) {
case 'g':
$this->_memoryLimit *= 1024;
diff --color -ruN vendor/monolog/monolog/src/Monolog/Handler/Curl/Util.php vendor/monolog/monolog/src/Monolog/Handler/Curl/Util.php
--- vendor/monolog/monolog/src/Monolog/Handler/Curl/Util.php 2025-11-24 17:35:16
+++ vendor/monolog/monolog/src/Monolog/Handler/Curl/Util.php 2025-11-24 17:34:40
@@ -49,7 +49,6 @@
$curlError = curl_error($ch);
if ($closeAfterDone) {
- curl_close($ch);
}
throw new \RuntimeException(sprintf('Curl error (code %d): %s', $curlErrno, $curlError));
@@ -58,7 +57,6 @@
}
if ($closeAfterDone) {
- curl_close($ch);
}
return $curlResponse;
diff --color -ruN vendor/myclabs/deep-copy/src/DeepCopy/DeepCopy.php vendor/myclabs/deep-copy/src/DeepCopy/DeepCopy.php
--- vendor/myclabs/deep-copy/src/DeepCopy/DeepCopy.php 2025-11-24 17:35:36
+++ vendor/myclabs/deep-copy/src/DeepCopy/DeepCopy.php 2025-11-24 17:34:21
@@ -254,7 +254,7 @@
}
}
- $property->setAccessible(true);
+ $property;
// Ignore uninitialized properties (for PHP >7.4)
if (method_exists($property, 'isInitialized') && !$property->isInitialized($object)) {
diff --color -ruN vendor/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineCollectionFilter.php vendor/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineCollectionFilter.php
--- vendor/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineCollectionFilter.php 2025-11-24 17:35:36
+++ vendor/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineCollectionFilter.php 2025-11-24 17:34:21
@@ -19,7 +19,7 @@
{
$reflectionProperty = ReflectionHelper::getProperty($object, $property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$oldCollection = $reflectionProperty->getValue($object);
$newCollection = $oldCollection->map(
diff --color -ruN vendor/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineEmptyCollectionFilter.php vendor/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineEmptyCollectionFilter.php
--- vendor/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineEmptyCollectionFilter.php 2025-11-24 17:35:36
+++ vendor/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineEmptyCollectionFilter.php 2025-11-24 17:34:21
@@ -21,7 +21,7 @@
public function apply($object, $property, $objectCopier)
{
$reflectionProperty = ReflectionHelper::getProperty($object, $property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($object, new ArrayCollection());
}
diff --color -ruN vendor/myclabs/deep-copy/src/DeepCopy/Filter/ReplaceFilter.php vendor/myclabs/deep-copy/src/DeepCopy/Filter/ReplaceFilter.php
--- vendor/myclabs/deep-copy/src/DeepCopy/Filter/ReplaceFilter.php 2025-11-24 17:35:36
+++ vendor/myclabs/deep-copy/src/DeepCopy/Filter/ReplaceFilter.php 2025-11-24 17:34:21
@@ -30,7 +30,7 @@
public function apply($object, $property, $objectCopier)
{
$reflectionProperty = ReflectionHelper::getProperty($object, $property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$value = call_user_func($this->callback, $reflectionProperty->getValue($object));
diff --color -ruN vendor/myclabs/deep-copy/src/DeepCopy/Filter/SetNullFilter.php vendor/myclabs/deep-copy/src/DeepCopy/Filter/SetNullFilter.php
--- vendor/myclabs/deep-copy/src/DeepCopy/Filter/SetNullFilter.php 2025-11-24 17:35:36
+++ vendor/myclabs/deep-copy/src/DeepCopy/Filter/SetNullFilter.php 2025-11-24 17:34:21
@@ -18,7 +18,7 @@
{
$reflectionProperty = ReflectionHelper::getProperty($object, $property);
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
$reflectionProperty->setValue($object, null);
}
}
diff --color -ruN vendor/myclabs/deep-copy/src/DeepCopy/Matcher/PropertyTypeMatcher.php vendor/myclabs/deep-copy/src/DeepCopy/Matcher/PropertyTypeMatcher.php
--- vendor/myclabs/deep-copy/src/DeepCopy/Matcher/PropertyTypeMatcher.php 2025-11-24 17:35:36
+++ vendor/myclabs/deep-copy/src/DeepCopy/Matcher/PropertyTypeMatcher.php 2025-11-24 17:34:21
@@ -39,7 +39,7 @@
return false;
}
- $reflectionProperty->setAccessible(true);
+ $reflectionProperty;
// Uninitialized properties (for PHP >7.4)
if (method_exists($reflectionProperty, 'isInitialized') && !$reflectionProperty->isInitialized($object)) {
diff --color -ruN vendor/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php vendor/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php
--- vendor/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php 2025-11-24 17:35:36
+++ vendor/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php 2025-11-24 17:34:39
@@ -491,7 +491,7 @@
protected function pExpr_Cast_Double(Cast\Double $node, int $precedence, int $lhsPrecedence): string {
$kind = $node->getAttribute('kind', Cast\Double::KIND_DOUBLE);
if ($kind === Cast\Double::KIND_DOUBLE) {
- $cast = '(double)';
+ $cast = '(float)';
} elseif ($kind === Cast\Double::KIND_FLOAT) {
$cast = '(float)';
} else {
diff --color -ruN vendor/opensearch-project/opensearch-php/src/OpenSearch/Client.php vendor/opensearch-project/opensearch-php/src/OpenSearch/Client.php
--- vendor/opensearch-project/opensearch-php/src/OpenSearch/Client.php 2025-11-24 17:35:36
+++ vendor/opensearch-project/opensearch-php/src/OpenSearch/Client.php 2025-11-24 17:34:21
@@ -455,13 +455,13 @@
* $params['_source_includes'] = (any) A comma-separated list of source fields to include in the response.
* $params['pipeline'] = (string) ID of the pipeline to use to preprocess incoming documents.If the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.If a final pipeline is configured it will always run, regardless of the value of this parameter.
* $params['refresh'] = (any) If `true`, OpenSearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes.Valid values: `true`, `false`, `wait_for`.
- * $params['require_alias'] = (boolean) If `true`, the request's actions must target an index alias. (Default = false)
+ * $params['require_alias'] = (bool) If `true`, the request's actions must target an index alias. (Default = false)
* $params['routing'] = (string) A custom value used to route operations to a specific shard.
* $params['timeout'] = (string) Period each action waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.
* $params['wait_for_active_shards'] = (any) The number of shard copies that must be active before proceeding with the operation.Set to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The operation definition and data (action-data pairs), separated by newlines (Required)
@@ -490,16 +490,16 @@
* $params['_source_excludes'] = (any) A comma-separated list of source fields to exclude from the response.
* $params['_source_includes'] = (any) A comma-separated list of source fields to include in the response.
* $params['batch_interval'] = (string) Specifies for how long bulk operations should be accumulated into a batch before sending the batch to data nodes.
- * $params['batch_size'] = (integer) Specifies how many bulk operations should be accumulated into a batch before sending the batch to data nodes.
+ * $params['batch_size'] = (int) Specifies how many bulk operations should be accumulated into a batch before sending the batch to data nodes.
* $params['pipeline'] = (string) ID of the pipeline to use to preprocess incoming documents.If the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.If a final pipeline is configured it will always run, regardless of the value of this parameter.
* $params['refresh'] = (any) If `true`, OpenSearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes.Valid values: `true`, `false`, `wait_for`.
- * $params['require_alias'] = (boolean) If `true`, the request's actions must target an index alias. (Default = false)
+ * $params['require_alias'] = (bool) If `true`, the request's actions must target an index alias. (Default = false)
* $params['routing'] = (any) A custom value used to route operations to a specific shard.
* $params['timeout'] = (string) Period each action waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.
* $params['wait_for_active_shards'] = (any) The number of shard copies that must be active before proceeding with the operation.Set to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The operation definition and data (action-data pairs), separated by newlines (Required)
@@ -524,9 +524,9 @@
* Explicitly clears the search context for a scroll.
*
* $params['scroll_id'] = DEPRECATED (array) A comma-separated list of scroll IDs to clear. To clear all scroll IDs, use `_all`.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) A comma-separated list of scroll IDs to clear if none was specified using the `scroll_id` parameter
@@ -551,23 +551,23 @@
* Returns number of documents matching a query.
*
* $params['index'] = (array) A comma-separated list of data streams, indexes, and aliases to search. Supports wildcards (`*`). To search all data streams and indexes, omit this parameter or use `*` or `_all`.
- * $params['allow_no_indices'] = (boolean) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.
- * $params['analyze_wildcard'] = (boolean) If `true`, wildcard and prefix queries are analyzed.This parameter can only be used when the `q` query string parameter is specified. (Default = false)
+ * $params['allow_no_indices'] = (bool) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.
+ * $params['analyze_wildcard'] = (bool) If `true`, wildcard and prefix queries are analyzed.This parameter can only be used when the `q` query string parameter is specified. (Default = false)
* $params['analyzer'] = (string) Analyzer to use for the query string.This parameter can only be used when the `q` query string parameter is specified.
* $params['default_operator'] = (enum) The default operator for query string query: `AND` or `OR`.This parameter can only be used when the `q` query string parameter is specified. (Options = and,AND,or,OR)
* $params['df'] = (string) Field to use as default where no field prefix is given in the query string.This parameter can only be used when the `q` query string parameter is specified.
* $params['expand_wildcards'] = (any)
- * $params['ignore_throttled'] = (boolean) If `true`, concrete, expanded or aliased indexes are ignored when frozen.
- * $params['ignore_unavailable'] = (boolean) If `false`, the request returns an error if it targets a missing or closed index.
- * $params['lenient'] = (boolean) If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.
+ * $params['ignore_throttled'] = (bool) If `true`, concrete, expanded or aliased indexes are ignored when frozen.
+ * $params['ignore_unavailable'] = (bool) If `false`, the request returns an error if it targets a missing or closed index.
+ * $params['lenient'] = (bool) If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.
* $params['min_score'] = (number) Sets the minimum `_score` value that documents must have to be included in the result.
* $params['preference'] = (string) Specifies the node or shard the operation should be performed on.Random by default. (Default = random)
* $params['q'] = (string) Query in the Lucene query string syntax.
* $params['routing'] = (any) A custom value used to route operations to a specific shard.
- * $params['terminate_after'] = (integer) Maximum number of documents to collect for each shard.If a query reaches this limit, OpenSearch terminates the query early.OpenSearch collects documents before sorting.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['terminate_after'] = (int) Maximum number of documents to collect for each shard.If a query reaches this limit, OpenSearch terminates the query early.OpenSearch collects documents before sorting.
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) Query to restrict the results specified with the Query DSL (optional)
@@ -592,14 +592,14 @@
* Creates point in time context.
*
* $params['index'] = (array) A comma-separated list of indexes; use `_all` or empty string to perform the operation on all indexes. (Required)
- * $params['allow_partial_pit_creation'] = (boolean) Allow if point in time can be created with partial failures.
+ * $params['allow_partial_pit_creation'] = (bool) Allow if point in time can be created with partial failures.
* $params['expand_wildcards'] = (any) Whether to expand wildcard expression to concrete indexes that are open, closed or both.
* $params['keep_alive'] = (string) Specify the keep alive for point in time.
* $params['preference'] = (string) Specify the node or shard the operation should be performed on. (Default = random)
* $params['routing'] = (any) A comma-separated list of specific routing values.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -622,17 +622,17 @@
*
* $params['id'] = (string) The unique identifier for the document. (Required)
* $params['index'] = (string) Name of the target index. (Required)
- * $params['if_primary_term'] = (integer) Only perform the operation if the document has this primary term.
- * $params['if_seq_no'] = (integer) Only perform the operation if the document has this sequence number.
+ * $params['if_primary_term'] = (int) Only perform the operation if the document has this primary term.
+ * $params['if_seq_no'] = (int) Only perform the operation if the document has this sequence number.
* $params['refresh'] = (any) If `true`, OpenSearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes.Valid values: `true`, `false`, `wait_for`.
* $params['routing'] = (any) A custom value used to route operations to a specific shard.
* $params['timeout'] = (string) Period to wait for active shards.
- * $params['version'] = (integer) Explicit version number for concurrency control.The specified version must match the current version of the document for the request to succeed.
+ * $params['version'] = (int) Explicit version number for concurrency control.The specified version must match the current version of the document for the request to succeed.
* $params['version_type'] = (any) The specific version type: `external`, `external_gte`.
* $params['wait_for_active_shards'] = (any) The number of shard copies that must be active before proceeding with the operation.Set to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -655,9 +655,9 @@
/**
* Deletes all active point in time searches.
*
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -679,39 +679,39 @@
* $params['_source'] = (any) Set to `true` or `false` to return the `_source` field or not, or a list of fields to return.
* $params['_source_excludes'] = (array) List of fields to exclude from the returned `_source` field.
* $params['_source_includes'] = (array) List of fields to extract and return from the `_source` field.
- * $params['allow_no_indices'] = (boolean) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.
- * $params['analyze_wildcard'] = (boolean) If `true`, wildcard and prefix queries are analyzed. (Default = false)
+ * $params['allow_no_indices'] = (bool) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.
+ * $params['analyze_wildcard'] = (bool) If `true`, wildcard and prefix queries are analyzed. (Default = false)
* $params['analyzer'] = (string) Analyzer to use for the query string.
* $params['conflicts'] = (any) What to do if delete by query hits version conflicts: `abort` or `proceed`.
* $params['default_operator'] = (enum) The default operator for query string query: `AND` or `OR`. (Options = and,AND,or,OR)
* $params['df'] = (string) Field to use as default where no field prefix is given in the query string.
* $params['expand_wildcards'] = (any) Type of index that wildcard patterns can match.If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.Supports comma-separated values, such as `open,hidden`. Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
- * $params['from'] = (integer) Starting offset. (Default = 0)
- * $params['ignore_unavailable'] = (boolean) If `false`, the request returns an error if it targets a missing or closed index.
- * $params['lenient'] = (boolean) If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.
- * $params['max_docs'] = (integer) Maximum number of documents to process.Defaults to all documents.
+ * $params['from'] = (int) Starting offset. (Default = 0)
+ * $params['ignore_unavailable'] = (bool) If `false`, the request returns an error if it targets a missing or closed index.
+ * $params['lenient'] = (bool) If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.
+ * $params['max_docs'] = (int) Maximum number of documents to process.Defaults to all documents.
* $params['preference'] = (string) Specifies the node or shard the operation should be performed on.Random by default. (Default = random)
* $params['q'] = (string) Query in the Lucene query string syntax.
* $params['refresh'] = (any) If `true`, OpenSearch refreshes all shards involved in the delete by query after the request completes.
- * $params['request_cache'] = (boolean) If `true`, the request cache is used for this request.Defaults to the index-level setting.
+ * $params['request_cache'] = (bool) If `true`, the request cache is used for this request.Defaults to the index-level setting.
* $params['requests_per_second'] = (number) The throttle for this request in sub-requests per second. (Default = 0)
* $params['routing'] = (any) A custom value used to route operations to a specific shard.
* $params['scroll'] = (string) Period to retain the search context for scrolling.
- * $params['scroll_size'] = (integer) Size of the scroll request that powers the operation. (Default = 100)
+ * $params['scroll_size'] = (int) Size of the scroll request that powers the operation. (Default = 100)
* $params['search_timeout'] = (string) Explicit timeout for each search request.Defaults to no timeout.
* $params['search_type'] = (any) The type of the search operation.Available options: `query_then_fetch`, `dfs_query_then_fetch`.
- * $params['size'] = (integer) Deprecated, use `max_docs` instead.
+ * $params['size'] = (int) Deprecated, use `max_docs` instead.
* $params['slices'] = (any) The number of slices this task should be divided into.
* $params['sort'] = (array) A comma-separated list of <field>:<direction> pairs.
* $params['stats'] = (array) Specific `tag` of the request for logging and statistical purposes.
- * $params['terminate_after'] = (integer) Maximum number of documents to collect for each shard.If a query reaches this limit, OpenSearch terminates the query early.OpenSearch collects documents before sorting.Use with caution.OpenSearch applies this parameter to each shard handling the request.When possible, let OpenSearch perform early termination automatically.Avoid specifying this parameter for requests that target data streams with backing indexes across multiple data tiers.
+ * $params['terminate_after'] = (int) Maximum number of documents to collect for each shard.If a query reaches this limit, OpenSearch terminates the query early.OpenSearch collects documents before sorting.Use with caution.OpenSearch applies this parameter to each shard handling the request.When possible, let OpenSearch perform early termination automatically.Avoid specifying this parameter for requests that target data streams with backing indexes across multiple data tiers.
* $params['timeout'] = (string) Period each deletion request waits for active shards.
- * $params['version'] = (boolean) If `true`, returns the document version as part of a hit.
+ * $params['version'] = (bool) If `true`, returns the document version as part of a hit.
* $params['wait_for_active_shards'] = (any) The number of shard copies that must be active before proceeding with the operation.Set to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
- * $params['wait_for_completion'] = (boolean) If `true`, the request blocks until the operation is complete. (Default = true)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['wait_for_completion'] = (bool) If `true`, the request blocks until the operation is complete. (Default = true)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The search definition using the Query DSL (Required)
@@ -737,9 +737,9 @@
*
* $params['task_id'] = (string) The ID for the task. (Required)
* $params['requests_per_second'] = (number) The throttle for this request in sub-requests per second.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -760,9 +760,9 @@
/**
* Deletes one or more point in time searches based on the IDs passed.
*
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The point-in-time ids to be deleted
@@ -788,9 +788,9 @@
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
* $params['master_timeout'] = (string) Period to wait for a connection to the cluster-manager node.If no response is received before the timeout expires, the request fails and returns an error.
* $params['timeout'] = (string) Period to wait for a response.If no response is received before the timeout expires, the request fails and returns an error.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -817,15 +817,15 @@
* $params['_source_excludes'] = (any) A comma-separated list of source fields to exclude in the response.
* $params['_source_includes'] = (any) A comma-separated list of source fields to include in the response.
* $params['preference'] = (string) Specifies the node or shard the operation should be performed on.Random by default. (Default = random)
- * $params['realtime'] = (boolean) If `true`, the request is real time as opposed to near real time.
+ * $params['realtime'] = (bool) If `true`, the request is real time as opposed to near real time.
* $params['refresh'] = (any) If `true`, OpenSearch refreshes all shards involved in the delete by query after the request completes.
* $params['routing'] = (any) Target the specified primary shard.
* $params['stored_fields'] = (any) List of stored fields to return as part of a hit.If no fields are specified, no stored fields are included in the response.If this field is specified, the `_source` parameter defaults to false.
- * $params['version'] = (integer) Explicit version number for concurrency control.The specified version must match the current version of the document for the request to succeed.
+ * $params['version'] = (int) Explicit version number for concurrency control.The specified version must match the current version of the document for the request to succeed.
* $params['version_type'] = (any) The specific version type: `external`, `external_gte`.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -858,14 +858,14 @@
* $params['_source_excludes'] = (any) A comma-separated list of source fields to exclude in the response.
* $params['_source_includes'] = (any) A comma-separated list of source fields to include in the response.
* $params['preference'] = (string) Specifies the node or shard the operation should be performed on.Random by default. (Default = random)
- * $params['realtime'] = (boolean) If `true`, the request is real time as opposed to near real time.
+ * $params['realtime'] = (bool) If `true`, the request is real time as opposed to near real time.
* $params['refresh'] = (any) If `true`, OpenSearch refreshes all shards involved in the delete by query after the request completes.
* $params['routing'] = (any) Target the specified primary shard.
- * $params['version'] = (integer) Explicit version number for concurrency control.The specified version must match the current version of the document for the request to succeed.
+ * $params['version'] = (int) Explicit version number for concurrency control.The specified version must match the current version of the document for the request to succeed.
* $params['version_type'] = (any) The specific version type: `external`, `external_gte`.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -897,18 +897,18 @@
* $params['_source'] = (any) Set to `true` or `false` to return the `_source` field or not, or a list of fields to return.
* $params['_source_excludes'] = (any) A comma-separated list of source fields to exclude from the response.
* $params['_source_includes'] = (any) A comma-separated list of source fields to include in the response.
- * $params['analyze_wildcard'] = (boolean) If `true`, wildcard and prefix queries are analyzed. (Default = false)
+ * $params['analyze_wildcard'] = (bool) If `true`, wildcard and prefix queries are analyzed. (Default = false)
* $params['analyzer'] = (string) Analyzer to use for the query string.This parameter can only be used when the `q` query string parameter is specified.
* $params['default_operator'] = (enum) The default operator for query string query: `AND` or `OR`. (Options = and,AND,or,OR)
* $params['df'] = (string) Field to use as default where no field prefix is given in the query string. (Default = _all)
- * $params['lenient'] = (boolean) If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.
+ * $params['lenient'] = (bool) If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.
* $params['preference'] = (string) Specifies the node or shard the operation should be performed on.Random by default. (Default = random)
* $params['q'] = (string) Query in the Lucene query string syntax.
* $params['routing'] = (any) A custom value used to route operations to a specific shard.
* $params['stored_fields'] = (any) A comma-separated list of stored fields to return in the response.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The query definition using the Query DSL
@@ -935,14 +935,14 @@
* Returns the information about the capabilities of fields among multiple indexes.
*
* $params['index'] = (array) A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indexes, omit this parameter or use * or `_all`.
- * $params['allow_no_indices'] = (boolean) If `false`, the request returns an error if any wildcard expression, index alias,or `_all` value targets only missing or closed indexes. This behavior applies even if the request targets other open indexes. For example, a requesttargeting `foo*,bar*` returns an error if an index starts with foo but no index starts with bar.
+ * $params['allow_no_indices'] = (bool) If `false`, the request returns an error if any wildcard expression, index alias,or `_all` value targets only missing or closed indexes. This behavior applies even if the request targets other open indexes. For example, a requesttargeting `foo*,bar*` returns an error if an index starts with foo but no index starts with bar.
* $params['expand_wildcards'] = (any) The type of index that wildcard patterns can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams. Supports comma-separated values, such as `open,hidden`.
* $params['fields'] = (any) A comma-separated list of fields to retrieve capabilities for. Wildcard (`*`) expressions are supported.
- * $params['ignore_unavailable'] = (boolean) If `true`, missing or closed indexes are not included in the response.
- * $params['include_unmapped'] = (boolean) If `true`, unmapped fields are included in the response. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['ignore_unavailable'] = (bool) If `true`, missing or closed indexes are not included in the response.
+ * $params['include_unmapped'] = (bool) If `true`, unmapped fields are included in the response. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) An index filter specified with the Query DSL
@@ -972,15 +972,15 @@
* $params['_source_excludes'] = (any) A comma-separated list of source fields to exclude in the response.
* $params['_source_includes'] = (any) A comma-separated list of source fields to include in the response.
* $params['preference'] = (string) Specifies the node or shard the operation should be performed on. Random by default. (Default = random)
- * $params['realtime'] = (boolean) If `true`, the request is real time as opposed to near real time.
+ * $params['realtime'] = (bool) If `true`, the request is real time as opposed to near real time.
* $params['refresh'] = (any) If `true`, OpenSearch refreshes the affected shards to make this operation visible to search. If `false`, do nothing with refreshes.
* $params['routing'] = (any) Target the specified primary shard.
* $params['stored_fields'] = (any) List of stored fields to return as part of a hit.If no fields are specified, no stored fields are included in the response.If this field is specified, the `_source` parameter defaults to false.
- * $params['version'] = (integer) Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.
+ * $params['version'] = (int) Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.
* $params['version_type'] = (any) The specific version type: `internal`, `external`, `external_gte`.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -1003,9 +1003,9 @@
/**
* Lists all active point in time searches.
*
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -1026,9 +1026,9 @@
* $params['id'] = (string) Identifier for the stored script or search template. (Required)
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
* $params['master_timeout'] = (string) Specify timeout for connection to master
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -1049,9 +1049,9 @@
/**
* Returns all script contexts.
*
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -1069,9 +1069,9 @@
/**
* Returns available script types, languages and contexts.
*
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -1095,14 +1095,14 @@
* $params['_source_excludes'] = (any) A comma-separated list of source fields to exclude in the response.
* $params['_source_includes'] = (any) A comma-separated list of source fields to include in the response.
* $params['preference'] = (string) Specifies the node or shard the operation should be performed on. Random by default. (Default = random)
- * $params['realtime'] = (boolean) Boolean) If `true`, the request is real time as opposed to near real time.
+ * $params['realtime'] = (bool) Boolean) If `true`, the request is real time as opposed to near real time.
* $params['refresh'] = (any) If `true`, OpenSearch refreshes the affected shards to make this operation visible to search. If `false`, do nothing with refreshes.
* $params['routing'] = (any) Target the specified primary shard.
- * $params['version'] = (integer) Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.
+ * $params['version'] = (int) Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.
* $params['version_type'] = (any) The specific version type. One of `internal`, `external`, `external_gte`.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -1127,20 +1127,20 @@
*
* $params['index'] = (string) Name of the data stream or index to target. (Required)
* $params['id'] = (string) The unique identifier for the document.
- * $params['if_primary_term'] = (integer) Only perform the operation if the document has this primary term.
- * $params['if_seq_no'] = (integer) Only perform the operation if the document has this sequence number.
+ * $params['if_primary_term'] = (int) Only perform the operation if the document has this primary term.
+ * $params['if_seq_no'] = (int) Only perform the operation if the document has this sequence number.
* $params['op_type'] = (any) Set to create to only index the document if it does not already exist (put if absent).If a document with the specified `_id` already exists, the indexing operation will fail.Same as using the `<index>/_create` endpoint.Valid values: `index`, `create`.If document id is specified, it defaults to `index`.Otherwise, it defaults to `create`.
* $params['pipeline'] = (string) ID of the pipeline to use to preprocess incoming documents.If the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.If a final pipeline is configured it will always run, regardless of the value of this parameter.
* $params['refresh'] = (any) If `true`, OpenSearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes.Valid values: `true`, `false`, `wait_for`.
- * $params['require_alias'] = (boolean) If `true`, the destination must be an index alias. (Default = false)
+ * $params['require_alias'] = (bool) If `true`, the destination must be an index alias. (Default = false)
* $params['routing'] = (any) A custom value used to route operations to a specific shard.
* $params['timeout'] = (string) Period the request waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.
- * $params['version'] = (integer) Explicit version number for concurrency control.The specified version must match the current version of the document for the request to succeed.
+ * $params['version'] = (int) Explicit version number for concurrency control.The specified version must match the current version of the document for the request to succeed.
* $params['version_type'] = (any) The specific version type: `external`, `external_gte`.
* $params['wait_for_active_shards'] = (any) The number of shard copies that must be active before proceeding with the operation.Set to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The document (Required)
@@ -1166,9 +1166,9 @@
/**
* Returns basic information about the cluster.
*
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -1191,13 +1191,13 @@
* $params['_source_excludes'] = (any) A comma-separated list of source fields to exclude from the response.You can also use this parameter to exclude fields from the subset specified in `_source_includes` query parameter.
* $params['_source_includes'] = (any) A comma-separated list of source fields to include in the response.If this parameter is specified, only these source fields are returned. You can exclude fields from this subset using the `_source_excludes` query parameter.If the `_source` parameter is `false`, this parameter is ignored.
* $params['preference'] = (string) Specifies the node or shard the operation should be performed on. Random by default. (Default = random)
- * $params['realtime'] = (boolean) If `true`, the request is real time as opposed to near real time.
+ * $params['realtime'] = (bool) If `true`, the request is real time as opposed to near real time.
* $params['refresh'] = (any) If `true`, the request refreshes relevant shards before retrieving documents.
* $params['routing'] = (any) A custom value used to route operations to a specific shard.
* $params['stored_fields'] = (any) If `true`, retrieves the document fields stored in the index rather than the document `_source`.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) Document identifiers; can be either `docs` (containing full document information) or `ids` (when index is provided in the URL. (Required)
@@ -1222,16 +1222,16 @@
* Allows to execute several search operations in one request.
*
* $params['index'] = (array) A comma-separated list of data streams, indexes, and index aliases to search.
- * $params['ccs_minimize_roundtrips'] = (boolean) If `true`, network round-trips between the coordinating node and remote clusters are minimized for cross-cluster search requests. (Default = true)
- * $params['max_concurrent_searches'] = (integer) Maximum number of concurrent searches the multi search API can execute.
- * $params['max_concurrent_shard_requests'] = (integer) Maximum number of concurrent shard requests that each sub-search request executes per node. (Default = 5)
- * $params['pre_filter_shard_size'] = (integer) Defines a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold. This filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method i.e., if date filters are mandatory to match but the shard bounds and the query are disjoint.
- * $params['rest_total_hits_as_int'] = (boolean) If `true`, `hits.total` are returned as an integer in the response. Defaults to false, which returns an object. (Default = false)
+ * $params['ccs_minimize_roundtrips'] = (bool) If `true`, network round-trips between the coordinating node and remote clusters are minimized for cross-cluster search requests. (Default = true)
+ * $params['max_concurrent_searches'] = (int) Maximum number of concurrent searches the multi search API can execute.
+ * $params['max_concurrent_shard_requests'] = (int) Maximum number of concurrent shard requests that each sub-search request executes per node. (Default = 5)
+ * $params['pre_filter_shard_size'] = (int) Defines a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold. This filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method i.e., if date filters are mandatory to match but the shard bounds and the query are disjoint.
+ * $params['rest_total_hits_as_int'] = (bool) If `true`, `hits.total` are returned as an integer in the response. Defaults to false, which returns an object. (Default = false)
* $params['search_type'] = (any) Indicates whether global term and document frequencies should be used when scoring returned documents.
- * $params['typed_keys'] = (boolean) Specifies whether aggregation and suggester names should be prefixed by their respective types in the response.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['typed_keys'] = (bool) Specifies whether aggregation and suggester names should be prefixed by their respective types in the response.
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The request definitions (metadata-search request definition pairs), separated by newlines (Required)
@@ -1256,14 +1256,14 @@
* Allows to execute several search template operations in one request.
*
* $params['index'] = (array) A comma-separated list of data streams, indexes, and aliases to search. Supports wildcards (`*`). To search all data streams and indexes, omit this parameter or use `*`.
- * $params['ccs_minimize_roundtrips'] = (boolean) If `true`, network round-trips are minimized for cross-cluster search requests. (Default = true)
- * $params['max_concurrent_searches'] = (integer) Maximum number of concurrent searches the API can run.
- * $params['rest_total_hits_as_int'] = (boolean) If `true`, the response returns `hits.total` as an integer.If `false`, it returns `hits.total` as an object. (Default = false)
+ * $params['ccs_minimize_roundtrips'] = (bool) If `true`, network round-trips are minimized for cross-cluster search requests. (Default = true)
+ * $params['max_concurrent_searches'] = (int) Maximum number of concurrent searches the API can run.
+ * $params['rest_total_hits_as_int'] = (bool) If `true`, the response returns `hits.total` as an integer.If `false`, it returns `hits.total` as an object. (Default = false)
* $params['search_type'] = (any) The type of the search operation.Available options: `query_then_fetch`, `dfs_query_then_fetch`.
- * $params['typed_keys'] = (boolean) If `true`, the response prefixes aggregation and suggester names with their respective types.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['typed_keys'] = (bool) If `true`, the response prefixes aggregation and suggester names with their respective types.
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The request definitions (metadata-search request definition pairs), separated by newlines (Required)
@@ -1288,21 +1288,21 @@
* Returns multiple termvectors in one request.
*
* $params['index'] = (string) The name of the index that contains the document.
- * $params['field_statistics'] = (boolean) If `true`, the response includes the document count, sum of document frequencies, and sum of total term frequencies. (Default = true)
+ * $params['field_statistics'] = (bool) If `true`, the response includes the document count, sum of document frequencies, and sum of total term frequencies. (Default = true)
* $params['fields'] = (any)
* $params['ids'] = (array) A comma-separated list of documents IDs. You must provide either the `docs` field in the request body or specify `ids` as a query parameter or in the request body.
- * $params['offsets'] = (boolean) If `true`, the response includes term offsets. (Default = true)
- * $params['payloads'] = (boolean) If `true`, the response includes term payloads. (Default = true)
- * $params['positions'] = (boolean) If `true`, the response includes term positions. (Default = true)
+ * $params['offsets'] = (bool) If `true`, the response includes term offsets. (Default = true)
+ * $params['payloads'] = (bool) If `true`, the response includes term payloads. (Default = true)
+ * $params['positions'] = (bool) If `true`, the response includes term positions. (Default = true)
* $params['preference'] = (string) Specifies the node or shard on which the operation should be performed. See [preference query parameter]({{site.url}}{{site.baseurl}}/api-reference/search-apis/search/#the-preference-query-parameter) for a list of available options. By default the requests are routed randomly to available shard copies (primary or replica), with no guarantee of consistency across repeated queries.
- * $params['realtime'] = (boolean) If `true`, the request is real time as opposed to near real time. (Default = true)
+ * $params['realtime'] = (bool) If `true`, the request is real time as opposed to near real time. (Default = true)
* $params['routing'] = (any) A custom value used to route operations to a specific shard.
- * $params['term_statistics'] = (boolean) If `true`, the response includes term frequency and document frequency. (Default = false)
- * $params['version'] = (integer) If `true`, returns the document version as part of a hit.
+ * $params['term_statistics'] = (bool) If `true`, the response includes term frequency and document frequency. (Default = false)
+ * $params['version'] = (int) If `true`, returns the document version as part of a hit.
* $params['version_type'] = (any) The specific version type.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) Define ids, documents, parameters or a list of parameters per document here. You must at least provide a list of document ids. See documentation.
@@ -1326,9 +1326,9 @@
/**
* Returns whether the cluster is running.
*
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -1355,9 +1355,9 @@
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
* $params['master_timeout'] = (string) Period to wait for a connection to the cluster-manager node.If no response is received before the timeout expires, the request fails and returns an error.
* $params['timeout'] = (string) Period to wait for a response.If no response is received before the timeout expires, the request fails and returns an error.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The document (Required)
@@ -1384,13 +1384,13 @@
* Allows to evaluate the quality of ranked search results over a set of typical search queries.
*
* $params['index'] = (array) A comma-separated list of data streams, indexes, and index aliases used to limit the request. Wildcard (`*`) expressions are supported. To target all data streams and indexes in a cluster, omit this parameter or use `_all` or `*`.
- * $params['allow_no_indices'] = (boolean) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes. This behavior applies even if the request targets other open indexes. For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.
+ * $params['allow_no_indices'] = (bool) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes. This behavior applies even if the request targets other open indexes. For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.
* $params['expand_wildcards'] = (any) Whether to expand wildcard expression to concrete indexes that are open, closed or both.
- * $params['ignore_unavailable'] = (boolean) If `true`, missing or closed indexes are not included in the response.
+ * $params['ignore_unavailable'] = (bool) If `true`, missing or closed indexes are not included in the response.
* $params['search_type'] = (any) Search operation type
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The ranking evaluation search definition, including search requests, document ratings and ranking metric definition. (Required)
@@ -1414,18 +1414,18 @@
/**
* Allows to copy documents from one index to another, optionally filtering the sourcedocuments by a query, changing the destination index settings, or fetching thedocuments from a remote cluster.
*
- * $params['max_docs'] = (integer) Maximum number of documents to process. By default, all documents.
+ * $params['max_docs'] = (int) Maximum number of documents to process. By default, all documents.
* $params['refresh'] = (any) If `true`, the request refreshes affected shards to make this operation visible to search.
* $params['requests_per_second'] = (number) The throttle for this request in sub-requests per second.Defaults to no throttle. (Default = 0)
- * $params['require_alias'] = (boolean)
+ * $params['require_alias'] = (bool)
* $params['scroll'] = (string) Specifies how long a consistent view of the index should be maintained for scrolled search.
* $params['slices'] = (any) The number of slices this task should be divided into.Defaults to 1 slice, meaning the task isn't sliced into subtasks.
* $params['timeout'] = (string) Period each indexing waits for automatic index creation, dynamic mapping updates, and waiting for active shards.
* $params['wait_for_active_shards'] = (any) The number of shard copies that must be active before proceeding with the operation.Set to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
- * $params['wait_for_completion'] = (boolean) If `true`, the request blocks until the operation is complete. (Default = true)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['wait_for_completion'] = (bool) If `true`, the request blocks until the operation is complete. (Default = true)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The search definition using the Query DSL and the prototype for the index request. (Required)
@@ -1449,9 +1449,9 @@
*
* $params['task_id'] = (string) Identifier for the task. (Required)
* $params['requests_per_second'] = (number) The throttle for this request in sub-requests per second.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -1473,9 +1473,9 @@
* Allows to use the Mustache language to pre-render a search definition.
*
* $params['id'] = (string) ID of the search template to render. If no `source` is specified, this or the `id` request body parameter is required.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The search definition template and its parameters.
@@ -1499,9 +1499,9 @@
/**
* Allows an arbitrary script to be executed and a result to be returned.
*
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The script to execute
@@ -1524,11 +1524,11 @@
* Allows to retrieve a large numbers of results from a single search request.
*
* $params['scroll_id'] = DEPRECATED (string) The scroll ID
- * $params['rest_total_hits_as_int'] = (boolean) If `true`, the API response's `hit.total` property is returned as an integer. If `false`, the API response's `hit.total` property is returned as an object. (Default = false)
+ * $params['rest_total_hits_as_int'] = (bool) If `true`, the API response's `hit.total` property is returned as an integer. If `false`, the API response's `hit.total` property is returned as an object. (Default = false)
* $params['scroll'] = (string) Period to retain the search context for scrolling.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -1555,53 +1555,53 @@
* $params['_source'] = (any) Indicates which source fields are returned for matching documents.These fields are returned in the `hits._source` property of the search response.Valid values are:`true` to return the entire document source;`false` to not return the document source;`<string>` to return the source fields that are specified as a comma-separated list (supports wildcard (`*`) patterns).
* $params['_source_excludes'] = (any) A comma-separated list of source fields to exclude from the response.You can also use this parameter to exclude fields from the subset specified in `_source_includes` query parameter.If the `_source` parameter is `false`, this parameter is ignored.
* $params['_source_includes'] = (any) A comma-separated list of source fields to include in the response.If this parameter is specified, only these source fields are returned.You can exclude fields from this subset using the `_source_excludes` query parameter.If the `_source` parameter is `false`, this parameter is ignored.
- * $params['allow_no_indices'] = (boolean) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.
- * $params['allow_partial_search_results'] = (boolean) If `true`, returns partial results if there are shard request timeouts or shard failures. If `false`, returns an error with no partial results. (Default = true)
- * $params['analyze_wildcard'] = (boolean) If `true`, wildcard and prefix queries are analyzed.This parameter can only be used when the q query string parameter is specified. (Default = false)
+ * $params['allow_no_indices'] = (bool) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.
+ * $params['allow_partial_search_results'] = (bool) If `true`, returns partial results if there are shard request timeouts or shard failures. If `false`, returns an error with no partial results. (Default = true)
+ * $params['analyze_wildcard'] = (bool) If `true`, wildcard and prefix queries are analyzed.This parameter can only be used when the q query string parameter is specified. (Default = false)
* $params['analyzer'] = (string) Analyzer to use for the query string.This parameter can only be used when the q query string parameter is specified.
- * $params['batched_reduce_size'] = (integer) The number of shard results that should be reduced at once on the coordinating node.This value should be used as a protection mechanism to reduce the memory overhead per search request if the potential number of shards in the request can be large. (Default = 512)
+ * $params['batched_reduce_size'] = (int) The number of shard results that should be reduced at once on the coordinating node.This value should be used as a protection mechanism to reduce the memory overhead per search request if the potential number of shards in the request can be large. (Default = 512)
* $params['cancel_after_time_interval'] = (string) The time after which the search request will be canceled.Request-level parameter takes precedence over `cancel_after_time_interval` cluster setting.
- * $params['ccs_minimize_roundtrips'] = (boolean) If `true`, network round-trips between the coordinating node and the remote clusters are minimized when executing cross-cluster search (CCS) requests. (Default = true)
+ * $params['ccs_minimize_roundtrips'] = (bool) If `true`, network round-trips between the coordinating node and the remote clusters are minimized when executing cross-cluster search (CCS) requests. (Default = true)
* $params['default_operator'] = (enum) The default operator for query string query: AND or OR.This parameter can only be used when the `q` query string parameter is specified. (Options = and,AND,or,OR)
* $params['df'] = (string) Field to use as default where no field prefix is given in the query string.This parameter can only be used when the q query string parameter is specified.
* $params['docvalue_fields'] = (any) A comma-separated list of fields to return as the docvalue representation for each hit.
* $params['expand_wildcards'] = (any) Type of index that wildcard patterns can match.If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.Supports comma-separated values, such as `open,hidden`.
- * $params['explain'] = (boolean) If `true`, returns detailed information about score computation as part of a hit.
- * $params['from'] = (integer) Starting document offset.Needs to be non-negative.By default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.To page through more hits, use the `search_after` parameter. (Default = 0)
- * $params['ignore_throttled'] = (boolean) If `true`, concrete, expanded or aliased indexes will be ignored when frozen.
- * $params['ignore_unavailable'] = (boolean) If `false`, the request returns an error if it targets a missing or closed index.
- * $params['include_named_queries_score'] = (boolean) Indicates whether `hit.matched_queries` should be rendered as a map that includes the name of the matched query associated with its score (true) or as an array containing the name of the matched queries (false) (Default = false)
- * $params['lenient'] = (boolean) If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.This parameter can only be used when the `q` query string parameter is specified.
- * $params['max_concurrent_shard_requests'] = (integer) Defines the number of concurrent shard requests per node this search executes concurrently.This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests. (Default = 5)
- * $params['phase_took'] = (boolean) Indicates whether to return phase-level `took` time values in the response. (Default = false)
- * $params['pre_filter_shard_size'] = (integer) Defines a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold.This filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method (if date filters are mandatory to match but the shard bounds and the query are disjoint).When unspecified, the pre-filter phase is executed if any of these conditions is met:the request targets more than 128 shards;the request targets one or more read-only index;the primary sort of the query targets an indexed field.
+ * $params['explain'] = (bool) If `true`, returns detailed information about score computation as part of a hit.
+ * $params['from'] = (int) Starting document offset.Needs to be non-negative.By default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.To page through more hits, use the `search_after` parameter. (Default = 0)
+ * $params['ignore_throttled'] = (bool) If `true`, concrete, expanded or aliased indexes will be ignored when frozen.
+ * $params['ignore_unavailable'] = (bool) If `false`, the request returns an error if it targets a missing or closed index.
+ * $params['include_named_queries_score'] = (bool) Indicates whether `hit.matched_queries` should be rendered as a map that includes the name of the matched query associated with its score (true) or as an array containing the name of the matched queries (false) (Default = false)
+ * $params['lenient'] = (bool) If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.This parameter can only be used when the `q` query string parameter is specified.
+ * $params['max_concurrent_shard_requests'] = (int) Defines the number of concurrent shard requests per node this search executes concurrently.This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests. (Default = 5)
+ * $params['phase_took'] = (bool) Indicates whether to return phase-level `took` time values in the response. (Default = false)
+ * $params['pre_filter_shard_size'] = (int) Defines a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold.This filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method (if date filters are mandatory to match but the shard bounds and the query are disjoint).When unspecified, the pre-filter phase is executed if any of these conditions is met:the request targets more than 128 shards;the request targets one or more read-only index;the primary sort of the query targets an indexed field.
* $params['preference'] = (string) Nodes and shards used for the search.By default, OpenSearch selects from eligible nodes and shards using adaptive replica selection, accounting for allocation awareness. Valid values are:`_only_local` to run the search only on shards on the local node;`_local` to, if possible, run the search on shards on the local node, or if not, select shards using the default method;`_only_nodes:<node-id>,<node-id>` to run the search on only the specified nodes IDs, where, if suitable shards exist on more than one selected node, use shards on those nodes using the default method, or if none of the specified nodes are available, select shards from any available node using the default method;`_prefer_nodes:<node-id>,<node-id>` to if possible, run the search on the specified nodes IDs, or if not, select shards using the default method;`_shards:<shard>,<shard>` to run the search only on the specified shards;`<custom-string>` (any string that does not start with `_`) to route searches with the same `<custom-string>` to the same shards in the same order. (Default = random)
* $params['q'] = (string) Query in the Lucene query string syntax using query parameter search.Query parameter searches do not support the full OpenSearch Query DSL but are handy for testing.
- * $params['request_cache'] = (boolean) If `true`, the caching of search results is enabled for requests where `size` is `0`.Defaults to index level settings.
- * $params['rest_total_hits_as_int'] = (boolean) Indicates whether `hits.total` should be rendered as an integer or an object in the rest search response. (Default = false)
+ * $params['request_cache'] = (bool) If `true`, the caching of search results is enabled for requests where `size` is `0`.Defaults to index level settings.
+ * $params['rest_total_hits_as_int'] = (bool) Indicates whether `hits.total` should be rendered as an integer or an object in the rest search response. (Default = false)
* $params['routing'] = (any) A custom value used to route operations to a specific shard.
* $params['scroll'] = (string) Period to retain the search context for scrolling. See Scroll search results.By default, this value cannot exceed `1d` (24 hours).You can change this limit using the `search.max_keep_alive` cluster-level setting.
* $params['search_pipeline'] = (string) Customizable sequence of processing stages applied to search queries.
* $params['search_type'] = (any) How distributed term frequencies are calculated for relevance scoring.
- * $params['seq_no_primary_term'] = (boolean) If `true`, returns sequence number and primary term of the last modification of each hit.
- * $params['size'] = (integer) Defines the number of hits to return.By default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.To page through more hits, use the `search_after` parameter. (Default = 10)
+ * $params['seq_no_primary_term'] = (bool) If `true`, returns sequence number and primary term of the last modification of each hit.
+ * $params['size'] = (int) Defines the number of hits to return.By default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.To page through more hits, use the `search_after` parameter. (Default = 10)
* $params['sort'] = (any) A comma-separated list of <field>:<direction> pairs.
* $params['stats'] = (array) Specific `tag` of the request for logging and statistical purposes.
* $params['stored_fields'] = (any) A comma-separated list of stored fields to return as part of a hit.If no fields are specified, no stored fields are included in the response.If this field is specified, the `_source` parameter defaults to `false`.You can pass `_source: true` to return both source fields and stored fields in the search response.
* $params['suggest_field'] = (string) Specifies which field to use for suggestions.
* $params['suggest_mode'] = (enum) Specifies the suggest mode.This parameter can only be used when the `suggest_field` and `suggest_text` query string parameters are specified. (Options = always,missing,popular)
- * $params['suggest_size'] = (integer) Number of suggestions to return.This parameter can only be used when the `suggest_field` and `suggest_text` query string parameters are specified.
+ * $params['suggest_size'] = (int) Number of suggestions to return.This parameter can only be used when the `suggest_field` and `suggest_text` query string parameters are specified.
* $params['suggest_text'] = (string) The source text for which the suggestions should be returned.This parameter can only be used when the `suggest_field` and `suggest_text` query string parameters are specified.
- * $params['terminate_after'] = (integer) Maximum number of documents to collect for each shard.If a query reaches this limit, OpenSearch terminates the query early.OpenSearch collects documents before sorting.Use with caution.OpenSearch applies this parameter to each shard handling the request.When possible, let OpenSearch perform early termination automatically.Avoid specifying this parameter for requests that target data streams with backing indexes across multiple data tiers.If set to `0` (default), the query does not terminate early.
+ * $params['terminate_after'] = (int) Maximum number of documents to collect for each shard.If a query reaches this limit, OpenSearch terminates the query early.OpenSearch collects documents before sorting.Use with caution.OpenSearch applies this parameter to each shard handling the request.When possible, let OpenSearch perform early termination automatically.Avoid specifying this parameter for requests that target data streams with backing indexes across multiple data tiers.If set to `0` (default), the query does not terminate early.
* $params['timeout'] = (string) Specifies the period of time to wait for a response from each shard.If no response is received before the timeout expires, the request fails and returns an error.
- * $params['track_scores'] = (boolean) If `true`, calculate and return document scores, even if the scores are not used for sorting.
+ * $params['track_scores'] = (bool) If `true`, calculate and return document scores, even if the scores are not used for sorting.
* $params['track_total_hits'] = (any) Number of hits matching the query to count accurately.If `true`, the exact number of hits is returned at the cost of some performance.If `false`, the response does not include the total number of hits matching the query.
- * $params['typed_keys'] = (boolean) If `true`, aggregation and suggester names are be prefixed by their respective types in the response.
- * $params['verbose_pipeline'] = (boolean) Enables or disables verbose mode for the search pipeline.When verbose mode is enabled, detailed information about each processorin the search pipeline is included in the search response. This includesthe processor name, execution status, input, output, and time taken for processing.This parameter is primarily intended for debugging purposes, allowing usersto track how data flows and transforms through the search pipeline.
- * $params['version'] = (boolean) If `true`, returns document version as part of a hit.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['typed_keys'] = (bool) If `true`, aggregation and suggester names are be prefixed by their respective types in the response.
+ * $params['verbose_pipeline'] = (bool) Enables or disables verbose mode for the search pipeline.When verbose mode is enabled, detailed information about each processorin the search pipeline is included in the search response. This includesthe processor name, execution status, input, output, and time taken for processing.This parameter is primarily intended for debugging purposes, allowing usersto track how data flows and transforms through the search pipeline.
+ * $params['version'] = (bool) If `true`, returns document version as part of a hit.
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The search definition using the Query DSL
@@ -1626,15 +1626,15 @@
* Returns information about the indexes and shards that a search request would be executed against.
*
* $params['index'] = (array) Returns the indexes and shards that a search request would be executed against.
- * $params['allow_no_indices'] = (boolean) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.
+ * $params['allow_no_indices'] = (bool) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.
* $params['expand_wildcards'] = (any) Type of index that wildcard patterns can match.If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.Supports comma-separated values, such as `open,hidden`.Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
- * $params['ignore_unavailable'] = (boolean) If `false`, the request returns an error if it targets a missing or closed index.
- * $params['local'] = (boolean) If `true`, the request retrieves information from the local node only. (Default = false)
+ * $params['ignore_unavailable'] = (bool) If `false`, the request returns an error if it targets a missing or closed index.
+ * $params['local'] = (bool) If `true`, the request retrieves information from the local node only. (Default = false)
* $params['preference'] = (string) Specifies the node or shard the operation should be performed on.Random by default. (Default = random)
* $params['routing'] = (any) A custom value used to route operations to a specific shard.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -1658,24 +1658,24 @@
* Allows to use the Mustache language to pre-render a search definition.
*
* $params['index'] = (array) A comma-separated list of data streams, indexes, and aliases to search. Supports wildcards (*).
- * $params['allow_no_indices'] = (boolean) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.
- * $params['ccs_minimize_roundtrips'] = (boolean) If `true`, network round-trips are minimized for cross-cluster search requests. (Default = true)
+ * $params['allow_no_indices'] = (bool) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.
+ * $params['ccs_minimize_roundtrips'] = (bool) If `true`, network round-trips are minimized for cross-cluster search requests. (Default = true)
* $params['expand_wildcards'] = (any) Type of index that wildcard patterns can match.If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.Supports comma-separated values, such as `open,hidden`.Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
- * $params['explain'] = (boolean) If `true`, the response includes additional details about score computation as part of a hit.
- * $params['ignore_throttled'] = (boolean) If `true`, specified concrete, expanded, or aliased indexes are not included in the response when throttled.
- * $params['ignore_unavailable'] = (boolean) If `false`, the request returns an error if it targets a missing or closed index.
- * $params['phase_took'] = (boolean) Indicates whether to return phase-level `took` time values in the response. (Default = false)
+ * $params['explain'] = (bool) If `true`, the response includes additional details about score computation as part of a hit.
+ * $params['ignore_throttled'] = (bool) If `true`, specified concrete, expanded, or aliased indexes are not included in the response when throttled.
+ * $params['ignore_unavailable'] = (bool) If `false`, the request returns an error if it targets a missing or closed index.
+ * $params['phase_took'] = (bool) Indicates whether to return phase-level `took` time values in the response. (Default = false)
* $params['preference'] = (string) Specifies the node or shard the operation should be performed on.Random by default. (Default = random)
- * $params['profile'] = (boolean) If `true`, the query execution is profiled.
- * $params['rest_total_hits_as_int'] = (boolean) If `true`, `hits.total` are rendered as an integer in the response. (Default = false)
+ * $params['profile'] = (bool) If `true`, the query execution is profiled.
+ * $params['rest_total_hits_as_int'] = (bool) If `true`, `hits.total` are rendered as an integer in the response. (Default = false)
* $params['routing'] = (any) A custom value used to route operations to a specific shard.
* $params['scroll'] = (string) Specifies how long a consistent view of the indexshould be maintained for scrolled search.
* $params['search_pipeline'] = (string) Customizable sequence of processing stages applied to search queries.
* $params['search_type'] = (any) The type of the search operation.
- * $params['typed_keys'] = (boolean) If `true`, the response prefixes aggregation and suggester names with their respective types.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['typed_keys'] = (bool) If `true`, the response prefixes aggregation and suggester names with their respective types.
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The search definition template and its parameters. (Required)
@@ -1701,20 +1701,20 @@
*
* $params['index'] = (string) The name of the index containing the document. (Required)
* $params['id'] = (string) The unique identifier of the document.
- * $params['field_statistics'] = (boolean) If `true`, the response includes the document count, sum of document frequencies, and sum of total term frequencies. (Default = true)
+ * $params['field_statistics'] = (bool) If `true`, the response includes the document count, sum of document frequencies, and sum of total term frequencies. (Default = true)
* $params['fields'] = (any)
- * $params['offsets'] = (boolean) If `true`, the response includes term offsets. (Default = true)
- * $params['payloads'] = (boolean) If `true`, the response includes term payloads. (Default = true)
- * $params['positions'] = (boolean) If `true`, the response includes term positions. (Default = true)
+ * $params['offsets'] = (bool) If `true`, the response includes term offsets. (Default = true)
+ * $params['payloads'] = (bool) If `true`, the response includes term payloads. (Default = true)
+ * $params['positions'] = (bool) If `true`, the response includes term positions. (Default = true)
* $params['preference'] = (string) Specifies the node or shard on which the operation should be performed. See [preference query parameter]({{site.url}}{{site.baseurl}}/api-reference/search-apis/search/#the-preference-query-parameter) for a list of available options. By default the requests are routed randomly to available shard copies (primary or replica), with no guarantee of consistency across repeated queries.
- * $params['realtime'] = (boolean) If `true`, the request is real time as opposed to near real time. (Default = true)
+ * $params['realtime'] = (bool) If `true`, the request is real time as opposed to near real time. (Default = true)
* $params['routing'] = (any) A custom value used to route operations to a specific shard.
- * $params['term_statistics'] = (boolean) If `true`, the response includes term frequency and document frequency. (Default = false)
- * $params['version'] = (integer) If `true`, returns the document version as part of a hit.
+ * $params['term_statistics'] = (bool) If `true`, the response includes term frequency and document frequency. (Default = false)
+ * $params['version'] = (int) If `true`, returns the document version as part of a hit.
* $params['version_type'] = (any) The specific version type.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) Define parameters and or supply a document to get termvectors for. See documentation.
@@ -1745,18 +1745,18 @@
* $params['_source'] = (any) Set to `false` to disable source retrieval. You can also specify a comma-separatedlist of the fields you want to retrieve.
* $params['_source_excludes'] = (any) Specify the source fields you want to exclude.
* $params['_source_includes'] = (any) Specify the source fields you want to retrieve.
- * $params['if_primary_term'] = (integer) Only perform the operation if the document has this primary term.
- * $params['if_seq_no'] = (integer) Only perform the operation if the document has this sequence number.
+ * $params['if_primary_term'] = (int) Only perform the operation if the document has this primary term.
+ * $params['if_seq_no'] = (int) Only perform the operation if the document has this sequence number.
* $params['lang'] = (string) The script language. (Default = painless)
* $params['refresh'] = (any) If 'true', OpenSearch refreshes the affected shards to make this operationvisible to search, if `wait_for` then wait for a refresh to make this operationvisible to search, if `false` do nothing with refreshes.
- * $params['require_alias'] = (boolean) If `true`, the destination must be an index alias. (Default = false)
- * $params['retry_on_conflict'] = (integer) Specify how many times should the operation be retried when a conflict occurs. (Default = 0)
+ * $params['require_alias'] = (bool) If `true`, the destination must be an index alias. (Default = false)
+ * $params['retry_on_conflict'] = (int) Specify how many times should the operation be retried when a conflict occurs. (Default = 0)
* $params['routing'] = (any) A custom value used to route operations to a specific shard.
* $params['timeout'] = (string) Period to wait for dynamic mapping updates and active shards.This guarantees OpenSearch waits for at least the timeout before failing.The actual wait time could be longer, particularly when multiple waits occur.
* $params['wait_for_active_shards'] = (any) The number of shard copies that must be active before proceeding with the operations.Set to 'all' or any positive integer up to the total number of shards in the index(number_of_replicas+1). Defaults to 1 meaning the primary shard.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The request definition requires either `script` or partial `doc` (Required)
@@ -1786,40 +1786,40 @@
* $params['_source'] = (any) Set to `true` or `false` to return the `_source` field or not, or a list of fields to return.
* $params['_source_excludes'] = (array) List of fields to exclude from the returned `_source` field.
* $params['_source_includes'] = (array) List of fields to extract and return from the `_source` field.
- * $params['allow_no_indices'] = (boolean) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.
- * $params['analyze_wildcard'] = (boolean) If `true`, wildcard and prefix queries are analyzed. (Default = false)
+ * $params['allow_no_indices'] = (bool) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.
+ * $params['analyze_wildcard'] = (bool) If `true`, wildcard and prefix queries are analyzed. (Default = false)
* $params['analyzer'] = (string) Analyzer to use for the query string.
* $params['conflicts'] = (any) What to do if update by query hits version conflicts: `abort` or `proceed`.
* $params['default_operator'] = (enum) The default operator for query string query: `AND` or `OR`. (Options = and,AND,or,OR)
* $params['df'] = (string) Field to use as default where no field prefix is given in the query string.
* $params['expand_wildcards'] = (any) Type of index that wildcard patterns can match.If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.Supports comma-separated values, such as `open,hidden`.Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
- * $params['from'] = (integer) Starting offset. (Default = 0)
- * $params['ignore_unavailable'] = (boolean) If `false`, the request returns an error if it targets a missing or closed index.
- * $params['lenient'] = (boolean) If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.
- * $params['max_docs'] = (integer) Maximum number of documents to process.Defaults to all documents.
+ * $params['from'] = (int) Starting offset. (Default = 0)
+ * $params['ignore_unavailable'] = (bool) If `false`, the request returns an error if it targets a missing or closed index.
+ * $params['lenient'] = (bool) If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.
+ * $params['max_docs'] = (int) Maximum number of documents to process.Defaults to all documents.
* $params['pipeline'] = (string) ID of the pipeline to use to preprocess incoming documents.If the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.If a final pipeline is configured it will always run, regardless of the value of this parameter.
* $params['preference'] = (string) Specifies the node or shard the operation should be performed on.Random by default. (Default = random)
* $params['q'] = (string) Query in the Lucene query string syntax.
* $params['refresh'] = (any) If `true`, OpenSearch refreshes affected shards to make the operation visible to search.
- * $params['request_cache'] = (boolean) If `true`, the request cache is used for this request.
+ * $params['request_cache'] = (bool) If `true`, the request cache is used for this request.
* $params['requests_per_second'] = (number) The throttle for this request in sub-requests per second. (Default = 0)
* $params['routing'] = (any) A custom value used to route operations to a specific shard.
* $params['scroll'] = (string) Period to retain the search context for scrolling.
- * $params['scroll_size'] = (integer) Size of the scroll request that powers the operation. (Default = 100)
+ * $params['scroll_size'] = (int) Size of the scroll request that powers the operation. (Default = 100)
* $params['search_timeout'] = (string) Explicit timeout for each search request.
* $params['search_type'] = (any) The type of the search operation. Available options: `query_then_fetch`, `dfs_query_then_fetch`.
- * $params['size'] = (integer) Deprecated, use `max_docs` instead.
+ * $params['size'] = (int) Deprecated, use `max_docs` instead.
* $params['slices'] = (any) The number of slices this task should be divided into.
* $params['sort'] = (array) A comma-separated list of <field>:<direction> pairs.
* $params['stats'] = (array) Specific `tag` of the request for logging and statistical purposes.
- * $params['terminate_after'] = (integer) Maximum number of documents to collect for each shard.If a query reaches this limit, OpenSearch terminates the query early.OpenSearch collects documents before sorting.Use with caution.OpenSearch applies this parameter to each shard handling the request.When possible, let OpenSearch perform early termination automatically.Avoid specifying this parameter for requests that target data streams with backing indexes across multiple data tiers.
+ * $params['terminate_after'] = (int) Maximum number of documents to collect for each shard.If a query reaches this limit, OpenSearch terminates the query early.OpenSearch collects documents before sorting.Use with caution.OpenSearch applies this parameter to each shard handling the request.When possible, let OpenSearch perform early termination automatically.Avoid specifying this parameter for requests that target data streams with backing indexes across multiple data tiers.
* $params['timeout'] = (string) Period each update request waits for the following operations: dynamic mapping updates, waiting for active shards.
- * $params['version'] = (boolean) If `true`, returns the document version as part of a hit.
+ * $params['version'] = (bool) If `true`, returns the document version as part of a hit.
* $params['wait_for_active_shards'] = (any) The number of shard copies that must be active before proceeding with the operation.Set to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
- * $params['wait_for_completion'] = (boolean) If `true`, the request blocks until the operation is complete. (Default = true)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['wait_for_completion'] = (bool) If `true`, the request blocks until the operation is complete. (Default = true)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The search definition using the Query DSL
@@ -1845,9 +1845,9 @@
*
* $params['task_id'] = (string) The ID for the task. (Required)
* $params['requests_per_second'] = (number) The throttle for this request in sub-requests per second.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -1885,9 +1885,9 @@
* $params['version'] = (number) Explicit version number for concurrency control.The specified version must match the current version of the document for the request to succeed.
* $params['version_type'] = (enum) Specific version type: `external`, `external_gte`. (Options = internal,external,external_gte,force)
* $params['wait_for_active_shards'] = (any) The number of shard copies that must be active before proceeding with the operation.Set to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
- * $params['pretty'] = (boolean) Whether to pretty format the returned JSON response.
- * $params['human'] = (boolean) Whether to return human readable values for statistics.
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors.
+ * $params['pretty'] = (bool) Whether to pretty format the returned JSON response.
+ * $params['human'] = (bool) Whether to return human readable values for statistics.
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors.
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) Comma-separated list of filters used to reduce the response.
* $params['body'] = (array) The document (Required)
diff --color -ruN vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/AsynchronousSearchNamespace.php vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/AsynchronousSearchNamespace.php
--- vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/AsynchronousSearchNamespace.php 2025-11-24 17:35:36
+++ vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/AsynchronousSearchNamespace.php 2025-11-24 17:34:21
@@ -31,9 +31,9 @@
* Deletes any responses from an asynchronous search.
*
* $params['id'] = (string) (Required)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -55,9 +55,9 @@
* Gets partial responses from an asynchronous search.
*
* $params['id'] = (string) (Required)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -80,11 +80,11 @@
*
* $params['index'] = (string) The name of the index to be searched. Can be an individual name, a comma-separated list of indexes, or a wildcard expression of index names.
* $params['keep_alive'] = (string) The amount of time that the result is saved in the cluster. For example, `2d` means that the results are stored in the cluster for 48 hours. The saved search results are deleted after this period or if the search is canceled. Note that this includes the query execution time. If the query exceeds this amount of time, the process cancels this query automatically.
- * $params['keep_on_completion'] = (boolean) Whether to save the results in the cluster after the search is complete. You can examine the stored results at a later time.
+ * $params['keep_on_completion'] = (bool) Whether to save the results in the cluster after the search is complete. You can examine the stored results at a later time.
* $params['wait_for_completion_timeout'] = (string) The amount of time to wait for the results. You can poll the remaining results based on an ID. The maximum value is 300 seconds. Default is `1s`.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -105,9 +105,9 @@
/**
* Monitors any asynchronous searches that are `running`, `completed`, or `persisted`.
*
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
diff --color -ruN vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/CatNamespace.php vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/CatNamespace.php
--- vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/CatNamespace.php 2025-11-24 17:35:36
+++ vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/CatNamespace.php 2025-11-24 17:34:21
@@ -60,13 +60,13 @@
* $params['expand_wildcards'] = (any)
* $params['format'] = (string) A short version of the `Accept` header, such as `json` or `yaml`.
* $params['h'] = (array) A comma-separated list of column names to display.
- * $params['help'] = (boolean) Returns help information. (Default = false)
- * $params['local'] = (boolean) Whether to return information from the local node only instead of from the cluster manager node. (Default = false)
+ * $params['help'] = (bool) Returns help information. (Default = false)
+ * $params['local'] = (bool) Whether to return information from the local node only instead of from the cluster manager node. (Default = false)
* $params['s'] = (array) A comma-separated list of column names or column aliases to sort by.
- * $params['v'] = (boolean) Enables verbose mode, which displays column headers. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['v'] = (bool) Enables verbose mode, which displays column headers. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -90,12 +90,12 @@
* $params['bytes'] = (any) The units used to display byte values.
* $params['format'] = (string) A short version of the `Accept` header, such as `json` or `yaml`.
* $params['h'] = (array) A comma-separated list of column names to display.
- * $params['help'] = (boolean) Returns help information. (Default = false)
+ * $params['help'] = (bool) Returns help information. (Default = false)
* $params['s'] = (array) A comma-separated list of column names or column aliases to sort by.
- * $params['v'] = (boolean) Enables verbose mode, which displays column headers. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['v'] = (bool) Enables verbose mode, which displays column headers. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -118,14 +118,14 @@
* $params['cluster_manager_timeout'] = (string) A timeout for connection to the cluster manager node.
* $params['format'] = (string) A short version of the HTTP `Accept` header, such as `json` or `yaml`.
* $params['h'] = (array) A comma-separated list of column names to display.
- * $params['help'] = (boolean) Returns help information. (Default = false)
- * $params['local'] = (boolean) Returns local information but does not retrieve the state from cluster-manager node. (Default = false)
+ * $params['help'] = (bool) Returns help information. (Default = false)
+ * $params['local'] = (bool) Returns local information but does not retrieve the state from cluster-manager node. (Default = false)
* $params['master_timeout'] = (string) A timeout for connection to the cluster manager node.
* $params['s'] = (array) A comma-separated list of column names or column aliases to sort by.
- * $params['v'] = (boolean) Enables verbose mode, which displays column headers. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['v'] = (bool) Enables verbose mode, which displays column headers. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -149,14 +149,14 @@
* $params['cluster_manager_timeout'] = (string) A timeout for connection to the cluster manager node.
* $params['format'] = (string) A short version of the HTTP `Accept` header, such as `json` or `yaml`.
* $params['h'] = (array) A comma-separated list of column names to display.
- * $params['help'] = (boolean) Returns help information. (Default = false)
- * $params['local'] = (boolean) Returns local information but does not retrieve the state from the cluster manager node. (Default = false)
+ * $params['help'] = (bool) Returns help information. (Default = false)
+ * $params['local'] = (bool) Returns local information but does not retrieve the state from the cluster manager node. (Default = false)
* $params['master_timeout'] = (string) A timeout for connection to the cluster manager node.
* $params['s'] = (array) A comma-separated list of column names or column aliases to sort by.
- * $params['v'] = (boolean) Enables verbose mode, which displays column headers. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['v'] = (bool) Enables verbose mode, which displays column headers. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -177,12 +177,12 @@
* $params['index'] = (array) A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
* $params['format'] = (string) A short version of the `Accept` header, such as `json` or `yaml`.
* $params['h'] = (array) A comma-separated list of column names to display.
- * $params['help'] = (boolean) Returns help information. (Default = false)
+ * $params['help'] = (bool) Returns help information. (Default = false)
* $params['s'] = (array) A comma-separated list of column names or column aliases to sort by.
- * $params['v'] = (boolean) Enables verbose mode, which displays column headers. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['v'] = (bool) Enables verbose mode, which displays column headers. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -207,12 +207,12 @@
* $params['bytes'] = (any) The units used to display byte values.
* $params['format'] = (string) A short version of the `Accept` header, such as `json` or `yaml`.
* $params['h'] = (array) A comma-separated list of column names to display.
- * $params['help'] = (boolean) Returns help information. (Default = false)
+ * $params['help'] = (bool) Returns help information. (Default = false)
* $params['s'] = (array) A comma-separated list of column names or column aliases to sort by.
- * $params['v'] = (boolean) Enables verbose mode, which displays column headers. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['v'] = (bool) Enables verbose mode, which displays column headers. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -235,14 +235,14 @@
*
* $params['format'] = (string) A short version of the `Accept` header, such as `json` or `yaml`.
* $params['h'] = (array) A comma-separated list of column names to display.
- * $params['help'] = (boolean) Returns help information. (Default = false)
+ * $params['help'] = (bool) Returns help information. (Default = false)
* $params['s'] = (array) A comma-separated list of column names or column aliases to sort by.
* $params['time'] = (any) The unit used to display time values.
- * $params['ts'] = (boolean) When `true`, returns `HH:MM:SS` and Unix epoch timestamps. (Default = true)
- * $params['v'] = (boolean) Enables verbose mode, which displays column headers. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['ts'] = (bool) When `true`, returns `HH:MM:SS` and Unix epoch timestamps. (Default = true)
+ * $params['v'] = (bool) Enables verbose mode, which displays column headers. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -260,9 +260,9 @@
/**
* Returns help for the Cat APIs.
*
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -287,17 +287,17 @@
* $params['format'] = (string) A short version of the `Accept` header, such as `json` or `yaml`.
* $params['h'] = (array) A comma-separated list of column names to display.
* $params['health'] = (any) Limits indexes based on their health status. Supported values are `green`, `yellow`, and `red`.
- * $params['help'] = (boolean) Returns help information. (Default = false)
- * $params['include_unloaded_segments'] = (boolean) Whether to include information from segments not loaded into memory. (Default = false)
- * $params['local'] = (boolean) Returns local information but does not retrieve the state from the cluster manager node. (Default = false)
+ * $params['help'] = (bool) Returns help information. (Default = false)
+ * $params['include_unloaded_segments'] = (bool) Whether to include information from segments not loaded into memory. (Default = false)
+ * $params['local'] = (bool) Returns local information but does not retrieve the state from the cluster manager node. (Default = false)
* $params['master_timeout'] = (string) The amount of time allowed to establish a connection to the cluster manager node.
- * $params['pri'] = (boolean) When `true`, returns information only from the primary shards. (Default = false)
+ * $params['pri'] = (bool) When `true`, returns information only from the primary shards. (Default = false)
* $params['s'] = (array) A comma-separated list of column names or column aliases to sort by.
* $params['time'] = (any) Specifies the time units.
- * $params['v'] = (boolean) Enables verbose mode, which displays column headers. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['v'] = (bool) Enables verbose mode, which displays column headers. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -321,14 +321,14 @@
* $params['cluster_manager_timeout'] = (string) The amount of time allowed to establish a connection to the cluster manager node.
* $params['format'] = (string) A short version of the `Accept` header, such as `json` or `yaml`.
* $params['h'] = (array) A comma-separated list of column names to display.
- * $params['help'] = (boolean) Returns help information. (Default = false)
- * $params['local'] = (boolean) Returns local information but does not retrieve the state from the cluster manager node. (Default = false)
+ * $params['help'] = (bool) Returns help information. (Default = false)
+ * $params['local'] = (bool) Returns local information but does not retrieve the state from the cluster manager node. (Default = false)
* $params['master_timeout'] = (string) The amount of time allowed to establish a connection to the cluster manager node.
* $params['s'] = (array) A comma-separated list of column names or column aliases to sort by.
- * $params['v'] = (boolean) Enables verbose mode, which displays column headers. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['v'] = (bool) Enables verbose mode, which displays column headers. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -349,14 +349,14 @@
* $params['cluster_manager_timeout'] = (string) The amount of time allowed to establish a connection to the cluster manager node.
* $params['format'] = (string) A short version of the `Accept` header, such as `json` or `yaml`.
* $params['h'] = (array) A comma-separated list of column names to display.
- * $params['help'] = (boolean) Returns help information. (Default = false)
- * $params['local'] = (boolean) Returns local information but does not retrieve the state from the cluster manager node. (Default = false)
+ * $params['help'] = (bool) Returns help information. (Default = false)
+ * $params['local'] = (bool) Returns local information but does not retrieve the state from the cluster manager node. (Default = false)
* $params['master_timeout'] = (string) The amount of time allowed to establish a connection to the cluster manager node.
* $params['s'] = (array) A comma-separated list of column names or column aliases to sort by.
- * $params['v'] = (boolean) Enables verbose mode, which displays column headers. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['v'] = (bool) Enables verbose mode, which displays column headers. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -379,15 +379,15 @@
* $params['format'] = (string) A short version of the `Accept` header, such as `json` or `yaml`.
* $params['full_id'] = (any) When `true`, returns the full node ID. When `false`, returns the shortened node ID.
* $params['h'] = (array) A comma-separated list of column names to display.
- * $params['help'] = (boolean) Returns help information. (Default = false)
- * $params['local'] = (boolean) Returns local information but does not retrieve the state from the cluster manager node. (Default = false)
+ * $params['help'] = (bool) Returns help information. (Default = false)
+ * $params['local'] = (bool) Returns local information but does not retrieve the state from the cluster manager node. (Default = false)
* $params['master_timeout'] = (string) The amount of time allowed to establish a connection to the cluster manager node.
* $params['s'] = (array) A comma-separated list of column names or column aliases to sort by.
* $params['time'] = (any) Specifies the time units, for example, `5d` or `7h`. For more information, see [Supported units](https://opensearch.org/docs/latest/api-reference/units/).
- * $params['v'] = (boolean) Enables verbose mode, which displays column headers. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['v'] = (bool) Enables verbose mode, which displays column headers. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -408,15 +408,15 @@
* $params['cluster_manager_timeout'] = (string) The amount of time allowed to establish a connection to the cluster manager node.
* $params['format'] = (string) A short version of the `Accept` header, such as `json` or `yaml`.
* $params['h'] = (array) A comma-separated list of column names to display.
- * $params['help'] = (boolean) Returns help information. (Default = false)
- * $params['local'] = (boolean) Returns local information but does not retrieve the state from the cluster manager node. (Default = false)
+ * $params['help'] = (bool) Returns help information. (Default = false)
+ * $params['local'] = (bool) Returns local information but does not retrieve the state from the cluster manager node. (Default = false)
* $params['master_timeout'] = (string) The amount of time allowed to establish a connection to the cluster manager node.
* $params['s'] = (array) A comma-separated list of column names or column aliases to sort by.
* $params['time'] = (any) Specifies the time units, for example, `5d` or `7h`. For more information, see [Supported units](https://opensearch.org/docs/latest/api-reference/units/).
- * $params['v'] = (boolean) Enables verbose mode, which displays column headers. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['v'] = (bool) Enables verbose mode, which displays column headers. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -437,12 +437,12 @@
* $params['bytes'] = (any) The units used to display byte values.
* $params['format'] = (string) A short version of the `Accept` header, such as `json` or `yaml`.
* $params['h'] = (array) A comma-separated list of column names to display.
- * $params['help'] = (boolean) Returns help information. (Default = false)
+ * $params['help'] = (bool) Returns help information. (Default = false)
* $params['s'] = (array) A comma-separated list of column names or column aliases to sort by.
- * $params['v'] = (boolean) Enables verbose mode, which displays column headers. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['v'] = (bool) Enables verbose mode, which displays column headers. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -466,14 +466,14 @@
* $params['cluster_manager_timeout'] = (string) The amount of time allowed to establish a connection to the cluster manager node.
* $params['format'] = (string) A short version of the `Accept` header, such as `json` or `yaml`.
* $params['h'] = (array) A comma-separated list of column names to display.
- * $params['help'] = (boolean) Returns help information. (Default = false)
- * $params['local'] = (boolean) Returns local information but does not retrieve the state from the cluster manager node. (Default = false)
+ * $params['help'] = (bool) Returns help information. (Default = false)
+ * $params['local'] = (bool) Returns local information but does not retrieve the state from the cluster manager node. (Default = false)
* $params['master_timeout'] = (string) The amount of time allowed to establish a connection to the cluster manager node.
* $params['s'] = (array) A comma-separated list of column names or column aliases to sort by.
- * $params['v'] = (boolean) Enables verbose mode, which displays column headers. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['v'] = (bool) Enables verbose mode, which displays column headers. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -492,18 +492,18 @@
* Returns all completed and ongoing index and shard recoveries.
*
* $params['index'] = (array) A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
- * $params['active_only'] = (boolean) If `true`, the response only includes ongoing shard recoveries. (Default = false)
+ * $params['active_only'] = (bool) If `true`, the response only includes ongoing shard recoveries. (Default = false)
* $params['bytes'] = (any) The units used to display byte values.
- * $params['detailed'] = (boolean) When `true`, includes detailed information about shard recoveries. (Default = false)
+ * $params['detailed'] = (bool) When `true`, includes detailed information about shard recoveries. (Default = false)
* $params['format'] = (string) A short version of the `Accept` header, such as `json` or `yaml`.
* $params['h'] = (array) A comma-separated list of column names to display.
- * $params['help'] = (boolean) Returns help information. (Default = false)
+ * $params['help'] = (bool) Returns help information. (Default = false)
* $params['s'] = (array) A comma-separated list of column names or column aliases to sort by.
* $params['time'] = (any) Specifies the time units, for example, `5d` or `7h`. For more information, see [Supported units](https://opensearch.org/docs/latest/api-reference/units/).
- * $params['v'] = (boolean) Enables verbose mode, which displays column headers. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['v'] = (bool) Enables verbose mode, which displays column headers. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -527,14 +527,14 @@
* $params['cluster_manager_timeout'] = (string) The amount of time allowed to establish a connection to the cluster manager node.
* $params['format'] = (string) A short version of the `Accept` header, such as `json` or `yaml`.
* $params['h'] = (array) A comma-separated list of column names to display.
- * $params['help'] = (boolean) Returns help information. (Default = false)
- * $params['local'] = (boolean) Returns local information but does not retrieve the state from the cluster manager node. (Default = false)
+ * $params['help'] = (bool) Returns help information. (Default = false)
+ * $params['local'] = (bool) Returns local information but does not retrieve the state from the cluster manager node. (Default = false)
* $params['master_timeout'] = (string) The amount of time allowed to establish a connection to the cluster manager node.
* $params['s'] = (array) A comma-separated list of column names or column aliases to sort by.
- * $params['v'] = (boolean) Enables verbose mode, which displays column headers. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['v'] = (bool) Enables verbose mode, which displays column headers. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -553,25 +553,25 @@
* Returns information about active and last-completed segment replication events on each replica shard, including related shard-level metrics. These metrics provide information about how far behind the primary shard the replicas are lagging.
*
* $params['index'] = (array) A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
- * $params['active_only'] = (boolean) When `true`, the response only includes ongoing segment replication events. (Default = false)
- * $params['allow_no_indices'] = (boolean) Whether to ignore the index if a wildcard index expression resolves to no concrete indexes. This includes the `_all` string or when no indexes have been specified.
+ * $params['active_only'] = (bool) When `true`, the response only includes ongoing segment replication events. (Default = false)
+ * $params['allow_no_indices'] = (bool) Whether to ignore the index if a wildcard index expression resolves to no concrete indexes. This includes the `_all` string or when no indexes have been specified.
* $params['bytes'] = (any) The units used to display byte values.
- * $params['completed_only'] = (boolean) When `true`, the response only includes the last-completed segment replication events. (Default = false)
- * $params['detailed'] = (boolean) When `true`, the response includes additional metrics for each stage of a segment replication event. (Default = false)
+ * $params['completed_only'] = (bool) When `true`, the response only includes the last-completed segment replication events. (Default = false)
+ * $params['detailed'] = (bool) When `true`, the response includes additional metrics for each stage of a segment replication event. (Default = false)
* $params['expand_wildcards'] = (any)
* $params['format'] = (string) A short version of the `Accept` header, such as `json` or `yaml`.
* $params['h'] = (array) A comma-separated list of column names to display.
- * $params['help'] = (boolean) Returns help information. (Default = false)
- * $params['ignore_throttled'] = (boolean) Whether specified concrete, expanded, or aliased indexes should be ignored when throttled.
- * $params['ignore_unavailable'] = (boolean) Whether the specified concrete indexes should be ignored when missing or closed.
+ * $params['help'] = (bool) Returns help information. (Default = false)
+ * $params['ignore_throttled'] = (bool) Whether specified concrete, expanded, or aliased indexes should be ignored when throttled.
+ * $params['ignore_unavailable'] = (bool) Whether the specified concrete indexes should be ignored when missing or closed.
* $params['s'] = (array) A comma-separated list of column names or column aliases to sort by.
* $params['shards'] = (array) A comma-separated list of shards to display.
* $params['time'] = (any) Specifies the time units, for example, `5d` or `7h`. For more information, see [Supported units](https://opensearch.org/docs/latest/api-reference/units/).
* $params['timeout'] = (string) The operation timeout.
- * $params['v'] = (boolean) Enables verbose mode, which displays column headers. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['v'] = (bool) Enables verbose mode, which displays column headers. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -597,13 +597,13 @@
* $params['cluster_manager_timeout'] = (string) The amount of time allowed to establish a connection to the cluster manager node.
* $params['format'] = (string) A short version of the `Accept` header, such as `json` or `yaml`.
* $params['h'] = (array) A comma-separated list of column names to display.
- * $params['help'] = (boolean) Returns help information. (Default = false)
+ * $params['help'] = (bool) Returns help information. (Default = false)
* $params['master_timeout'] = (string) The amount of time allowed to establish a connection to the cluster manager node.
* $params['s'] = (array) A comma-separated list of column names or column aliases to sort by.
- * $params['v'] = (boolean) Enables verbose mode, which displays column headers. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['v'] = (bool) Enables verbose mode, which displays column headers. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -629,15 +629,15 @@
* $params['cluster_manager_timeout'] = (string) The amount of time allowed to establish a connection to the cluster manager node.
* $params['format'] = (string) A short version of the `Accept` header, such as `json` or `yaml`.
* $params['h'] = (array) A comma-separated list of column names to display.
- * $params['help'] = (boolean) Returns help information. (Default = false)
- * $params['local'] = (boolean) Returns local information but does not retrieve the state from the cluster manager node. (Default = false)
+ * $params['help'] = (bool) Returns help information. (Default = false)
+ * $params['local'] = (bool) Returns local information but does not retrieve the state from the cluster manager node. (Default = false)
* $params['master_timeout'] = (string) The amount of time allowed to establish a connection to the cluster manager node.
* $params['s'] = (array) A comma-separated list of column names or column aliases to sort by.
* $params['time'] = (any)
- * $params['v'] = (boolean) Enables verbose mode, which displays column headers. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['v'] = (bool) Enables verbose mode, which displays column headers. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -662,15 +662,15 @@
* $params['cluster_manager_timeout'] = (string) The amount of time allowed to establish a connection to the cluster manager node.
* $params['format'] = (string) A short version of the `Accept` header, such as `json` or `yaml`.
* $params['h'] = (array) A comma-separated list of column names to display.
- * $params['help'] = (boolean) Returns help information. (Default = false)
- * $params['ignore_unavailable'] = (boolean) When `true`, the response does not include information from unavailable snapshots. (Default = false)
+ * $params['help'] = (bool) Returns help information. (Default = false)
+ * $params['ignore_unavailable'] = (bool) When `true`, the response does not include information from unavailable snapshots. (Default = false)
* $params['master_timeout'] = (string) The amount of time allowed to establish a connection to the cluster manager node.
* $params['s'] = (array) A comma-separated list of column names or column aliases to sort by.
* $params['time'] = (any) Specifies the time units, for example, `5d` or `7h`. For more information, see [Supported units](https://opensearch.org/docs/latest/api-reference/units/).
- * $params['v'] = (boolean) Enables verbose mode, which displays column headers. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['v'] = (bool) Enables verbose mode, which displays column headers. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -692,16 +692,16 @@
* Lists the progress of all tasks currently running on the cluster.
*
* $params['actions'] = (array) The task action names used to limit the response.
- * $params['detailed'] = (boolean) If `true`, the response includes detailed information about shard recoveries. (Default = false)
+ * $params['detailed'] = (bool) If `true`, the response includes detailed information about shard recoveries. (Default = false)
* $params['format'] = (string) A short version of the `Accept` header, such as `json` or `yaml`.
* $params['h'] = (array) A comma-separated list of column names to display.
- * $params['help'] = (boolean) Returns help information. (Default = false)
+ * $params['help'] = (bool) Returns help information. (Default = false)
* $params['s'] = (array) A comma-separated list of column names or column aliases to sort by.
* $params['time'] = (any) Specifies the time units, for example, `5d` or `7h`. For more information, see [Supported units](https://opensearch.org/docs/latest/api-reference/units/).
- * $params['v'] = (boolean) Enables verbose mode, which displays column headers. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['v'] = (bool) Enables verbose mode, which displays column headers. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['node_id'] = (array) A comma-separated list of node IDs or names used to limit the returned information. Use `_local` to return information from the node to which you're connecting, specify a specific node from which to get information, or keep the parameter empty to get information from all nodes.
@@ -725,14 +725,14 @@
* $params['cluster_manager_timeout'] = (string) The amount of time allowed to establish a connection to the cluster manager node.
* $params['format'] = (string) A short version of the `Accept` header, such as `json` or `yaml`.
* $params['h'] = (array) A comma-separated list of column names to display.
- * $params['help'] = (boolean) Returns help information. (Default = false)
- * $params['local'] = (boolean) Returns local information but does not retrieve the state from the cluster manager node. (Default = false)
+ * $params['help'] = (bool) Returns help information. (Default = false)
+ * $params['local'] = (bool) Returns local information but does not retrieve the state from the cluster manager node. (Default = false)
* $params['master_timeout'] = (string) The amount of time allowed to establish a connection to the cluster manager node.
* $params['s'] = (array) A comma-separated list of column names or column aliases to sort by.
- * $params['v'] = (boolean) Enables verbose mode, which displays column headers. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['v'] = (bool) Enables verbose mode, which displays column headers. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -757,15 +757,15 @@
* $params['cluster_manager_timeout'] = (string) A timeout for connection to the cluster manager node.
* $params['format'] = (string) A short version of the `Accept` header, such as `json` or `yaml`.
* $params['h'] = (array) A comma-separated list of column names to display.
- * $params['help'] = (boolean) Returns help information. (Default = false)
- * $params['local'] = (boolean) Returns local information but does not retrieve the state from the cluster manager node. (Default = false)
+ * $params['help'] = (bool) Returns help information. (Default = false)
+ * $params['local'] = (bool) Returns local information but does not retrieve the state from the cluster manager node. (Default = false)
* $params['master_timeout'] = (string) The amount of time allowed to establish a connection to the cluster manager node.
* $params['s'] = (array) A comma-separated list of column names or column aliases to sort by.
- * $params['size'] = (integer) The multiplier in which to display values.
- * $params['v'] = (boolean) Enables verbose mode, which displays column headers. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['size'] = (int) The multiplier in which to display values.
+ * $params['v'] = (bool) Enables verbose mode, which displays column headers. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
diff --color -ruN vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/ClusterNamespace.php vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/ClusterNamespace.php
--- vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/ClusterNamespace.php 2025-11-24 17:35:36
+++ vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/ClusterNamespace.php 2025-11-24 17:34:21
@@ -53,11 +53,11 @@
/**
* Explains how shards are allocated in the current cluster and provides an explanation for why unassigned shards can't be allocated to a node.
*
- * $params['include_disk_info'] = (boolean) When `true`, returns information about disk usage and shard sizes. (Default = false)
- * $params['include_yes_decisions'] = (boolean) When `true`, returns any `YES` decisions in the allocation explanation. `YES` decisions indicate when a particular shard allocation attempt was successful for the given node. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['include_disk_info'] = (bool) When `true`, returns information about disk usage and shard sizes. (Default = false)
+ * $params['include_yes_decisions'] = (bool) When `true`, returns any `YES` decisions in the allocation explanation. `YES` decisions indicate when a particular shard allocation attempt was successful for the given node. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The index, shard, and primary flag for which to generate an explanation. Leave this empty to generate an explanation for the first unassigned shard.
@@ -83,9 +83,9 @@
* $params['cluster_manager_timeout'] = (string) The amount of time to wait for a response from the cluster manager node. For more information about supported time units, see [Common parameters](https://opensearch.org/docs/latest/api-reference/common-parameters/#time-units).
* $params['master_timeout'] = (string)
* $params['timeout'] = (string)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -106,9 +106,9 @@
/**
* Recommissions a decommissioned zone.
*
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -126,10 +126,10 @@
/**
* Clears any cluster voting configuration exclusions.
*
- * $params['wait_for_removal'] = (boolean) Specifies whether to wait for all excluded nodes to be removed from thecluster before clearing the voting configuration exclusions list.When `true`, all excluded nodes are removed fromthe cluster before this API takes any action. When `false`, thevoting configuration exclusions list is cleared even if some excludednodes are still in the cluster. (Default = true)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['wait_for_removal'] = (bool) Specifies whether to wait for all excluded nodes to be removed from thecluster before clearing the voting configuration exclusions list.When `true`, all excluded nodes are removed fromthe cluster before this API takes any action. When `false`, thevoting configuration exclusions list is cleared even if some excludednodes are still in the cluster. (Default = true)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -147,9 +147,9 @@
/**
* Delete weighted shard routing weights.
*
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -172,11 +172,11 @@
*
* $params['name'] = (string) The name of the component template. Wildcard (*) expressions are supported.
* $params['cluster_manager_timeout'] = (string) The amount of time to wait for a response from the cluster manager node. For more information about supported time units, see [Common parameters](https://opensearch.org/docs/latest/api-reference/common-parameters/#time-units).
- * $params['local'] = (boolean) When `true`, the request retrieves information from the local node only.When `false`, information is retrieved from the cluster manager node. (Default = false)
+ * $params['local'] = (bool) When `true`, the request retrieves information from the local node only.When `false`, information is retrieved from the cluster manager node. (Default = false)
* $params['master_timeout'] = (string)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -203,12 +203,12 @@
*
* $params['name'] = (array) The name of the component template to retrieve. Wildcard (`*`) expressions are supported.
* $params['cluster_manager_timeout'] = (string) The amount of time to wait for a response from the cluster manager node. For more information about supported time units, see [Common parameters](https://opensearch.org/docs/latest/api-reference/common-parameters/#time-units).
- * $params['flat_settings'] = (boolean) Whether to return settings in the flat form, which can improve readability, especially for heavily nested settings.For example, the flat form of `"cluster": { "max_shards_per_node": 500 }` is `"cluster.max_shards_per_node": "500"`. (Default = false)
- * $params['local'] = (boolean) When `true`, the request retrieves information from the local node only.When `false`, information is retrieved from the cluster manager node. (Default = false)
+ * $params['flat_settings'] = (bool) Whether to return settings in the flat form, which can improve readability, especially for heavily nested settings.For example, the flat form of `"cluster": { "max_shards_per_node": 500 }` is `"cluster.max_shards_per_node": "500"`. (Default = false)
+ * $params['local'] = (bool) When `true`, the request retrieves information from the local node only.When `false`, information is retrieved from the cluster manager node. (Default = false)
* $params['master_timeout'] = (string)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -230,9 +230,9 @@
* Retrieves the decommission status for all zones.
*
* $params['awareness_attribute_name'] = (string) The name of the awareness attribute.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -254,13 +254,13 @@
* Returns cluster settings.
*
* $params['cluster_manager_timeout'] = (string) The amount of time to wait for a response from the cluster manager node. For more information about supported time units, see [Common parameters](https://opensearch.org/docs/latest/api-reference/common-parameters/#time-units).
- * $params['flat_settings'] = (boolean) Whether to return settings in the flat form, which can improve readability, especially for heavily nested settings.For example, the flat form of `"cluster": { "max_shards_per_node": 500 }` is `"cluster.max_shards_per_node": "500"`. (Default = false)
- * $params['include_defaults'] = (boolean) When `true`, returns default cluster settings from the local node. (Default = false)
+ * $params['flat_settings'] = (bool) Whether to return settings in the flat form, which can improve readability, especially for heavily nested settings.For example, the flat form of `"cluster": { "max_shards_per_node": 500 }` is `"cluster.max_shards_per_node": "500"`. (Default = false)
+ * $params['include_defaults'] = (bool) When `true`, returns default cluster settings from the local node. (Default = false)
* $params['master_timeout'] = (string)
* $params['timeout'] = (string)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -279,9 +279,9 @@
* Fetches weighted shard routing weights.
*
* $params['attribute'] = (string) The name of the awareness attribute.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -307,18 +307,18 @@
* $params['cluster_manager_timeout'] = (string) The amount of time to wait for a response from the cluster manager node. For more information about supported time units, see [Common parameters](https://opensearch.org/docs/latest/api-reference/common-parameters/#time-units).
* $params['expand_wildcards'] = (any)
* $params['level'] = (enum) (Options = awareness_attributes,cluster,indices,shards)
- * $params['local'] = (boolean) Whether to return information from the local node only instead of from the cluster manager node. (Default = false)
+ * $params['local'] = (bool) Whether to return information from the local node only instead of from the cluster manager node. (Default = false)
* $params['master_timeout'] = (string)
* $params['timeout'] = (string) The amount of time to wait for a response from the cluster manager node. For more information about supported time units, see [Common parameters](https://opensearch.org/docs/latest/api-reference/common-parameters/#time-units).
* $params['wait_for_active_shards'] = (any)
* $params['wait_for_events'] = (any)
- * $params['wait_for_no_initializing_shards'] = (boolean) Whether to wait until there are no initializing shards in the cluster. (Default = false)
- * $params['wait_for_no_relocating_shards'] = (boolean) Whether to wait until there are no relocating shards in the cluster. (Default = false)
+ * $params['wait_for_no_initializing_shards'] = (bool) Whether to wait until there are no initializing shards in the cluster. (Default = false)
+ * $params['wait_for_no_relocating_shards'] = (bool) Whether to wait until there are no relocating shards in the cluster. (Default = false)
* $params['wait_for_nodes'] = (any) Waits until the specified number of nodes (`N`) is available. Accepts `>=N`, `<=N`, `>N`, and `<N`. You can also use `ge(N)`, `le(N)`, `gt(N)`, and `lt(N)` notation.
* $params['wait_for_status'] = (any) Waits until the cluster health reaches the specified status or better.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -340,11 +340,11 @@
* Returns a list of pending cluster-level tasks, such as index creation, mapping updates,or new allocations.
*
* $params['cluster_manager_timeout'] = (string) The amount of time to wait for a response from the cluster manager node. For more information about supported time units, see [Common parameters](https://opensearch.org/docs/latest/api-reference/common-parameters/#time-units).
- * $params['local'] = (boolean) When `true`, the request retrieves information from the local node only.When `false`, information is retrieved from the cluster manager node. (Default = false)
+ * $params['local'] = (bool) When `true`, the request retrieves information from the local node only.When `false`, information is retrieved from the cluster manager node. (Default = false)
* $params['master_timeout'] = (string)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -365,9 +365,9 @@
* $params['node_ids'] = (any) A comma-separated list of node IDs to excludefrom the voting configuration. When using this setting, you cannot also specify `node_names`. Either `node_ids` or `node_names` are required to receive a valid response.
* $params['node_names'] = (any) A comma-separated list of node names to exclude from thevoting configuration. When using this setting, you cannot also specify `node_ids`. Either `node_ids` or `node_names` are required to receive a valid response.
* $params['timeout'] = (string) When adding a voting configuration exclusion, the API waits for thespecified nodes to be excluded from the voting configuration beforereturning a response. If the timeout expires before the appropriate conditionis satisfied, the request fails and returns an error.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -387,12 +387,12 @@
*
* $params['name'] = (string) The name of the component template to create. OpenSearch includes the following built-in component templates: `logs-mappings`, `logs-settings`, `metrics-mappings`, `metrics-settings`, `synthetics-mapping`, and `synthetics-settings`. OpenSearch uses these templates to configure backing indexes for its data streams. If you want to overwrite one of these templates, set the replacement template `version` to a higher value than the current version. If you want to disable all built-in component and index templates, set `stack.templates.enabled` to `false` using the [Cluster Update Settings API](https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-settings/).
* $params['cluster_manager_timeout'] = (string) The amount of time to wait for a response from the cluster manager node. For more information about supported time units, see [Common parameters](https://opensearch.org/docs/latest/api-reference/common-parameters/#time-units).
- * $params['create'] = (boolean) When `true`, this request cannot replace or update existing component templates. (Default = false)
+ * $params['create'] = (bool) When `true`, this request cannot replace or update existing component templates. (Default = false)
* $params['master_timeout'] = (string)
* $params['timeout'] = (string)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The template definition. (Required)
@@ -418,9 +418,9 @@
*
* $params['awareness_attribute_name'] = (string) The name of the awareness attribute.
* $params['awareness_attribute_value'] = (string) The value of the awareness attribute. For example, if you have shards allocated in two different zones, you can give each zone a value of `zone-a` or `zoneb`. The cluster decommission operation decommissions the zone listed in the method.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -444,12 +444,12 @@
* Updates the cluster settings.
*
* $params['cluster_manager_timeout'] = (string) The amount of time to wait for a response from the cluster manager node. For more information about supported time units, see [Common parameters](https://opensearch.org/docs/latest/api-reference/common-parameters/#time-units).
- * $params['flat_settings'] = (boolean) Whether to return settings in the flat form, which can improve readability, especially for heavily nested settings.For example, the flat form of `"cluster": { "max_shards_per_node": 500 }` is `"cluster.max_shards_per_node": "500"`. (Default = false)
+ * $params['flat_settings'] = (bool) Whether to return settings in the flat form, which can improve readability, especially for heavily nested settings.For example, the flat form of `"cluster": { "max_shards_per_node": 500 }` is `"cluster.max_shards_per_node": "500"`. (Default = false)
* $params['master_timeout'] = (string)
* $params['timeout'] = (string)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The cluster settings to update. (Required)
@@ -472,9 +472,9 @@
* Updates weighted shard routing weights.
*
* $params['attribute'] = (string) The name of awareness attribute, usually `zone`.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -497,9 +497,9 @@
/**
* Returns the information about configured remote clusters.
*
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -518,15 +518,15 @@
* Allows to manually change the allocation of individual shards in the cluster.
*
* $params['cluster_manager_timeout'] = (string) The amount of time to wait for a response from the cluster manager node. For more information about supported time units, see [Common parameters](https://opensearch.org/docs/latest/api-reference/common-parameters/#time-units).
- * $params['dry_run'] = (boolean) When `true`, the request simulates the operation and returns the resulting state.
- * $params['explain'] = (boolean) When `true`, the response contains an explanation of why reroute certain commands can or cannot be executed.
+ * $params['dry_run'] = (bool) When `true`, the request simulates the operation and returns the resulting state.
+ * $params['explain'] = (bool) When `true`, the response contains an explanation of why reroute certain commands can or cannot be executed.
* $params['master_timeout'] = (string)
* $params['metric'] = (any) Limits the information returned to the specified metrics.
- * $params['retry_failed'] = (boolean) When `true`, retries shard allocation if it was blocked because of too many subsequent failures.
+ * $params['retry_failed'] = (bool) When `true`, retries shard allocation if it was blocked because of too many subsequent failures.
* $params['timeout'] = (string)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The definition of `commands` to perform (`move`, `cancel`, `allocate`)
@@ -550,18 +550,18 @@
*
* $params['metric'] = (array) Limits the information returned to only the [specified metric groups](https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-stats/#metric-groups).
* $params['index'] = (array)
- * $params['allow_no_indices'] = (boolean) Whether to ignore a wildcard index expression that resolves into no concrete indexes. This includes the `_all` string or when no indexes have been specified.
+ * $params['allow_no_indices'] = (bool) Whether to ignore a wildcard index expression that resolves into no concrete indexes. This includes the `_all` string or when no indexes have been specified.
* $params['cluster_manager_timeout'] = (string) The amount of time to wait for a response from the cluster manager node. For more information about supported time units, see [Common parameters](https://opensearch.org/docs/latest/api-reference/common-parameters/#time-units).
* $params['expand_wildcards'] = (any)
- * $params['flat_settings'] = (boolean) Whether to return settings in the flat form, which can improve readability, especially for heavily nested settings.For example, the flat form of `"cluster": { "max_shards_per_node": 500 }` is `"cluster.max_shards_per_node": "500"`. (Default = false)
- * $params['ignore_unavailable'] = (boolean) Whether the specified concrete indexes should be ignored when unavailable (missing or closed).
- * $params['local'] = (boolean) Whether to return information from the local node only instead of from the cluster manager node. (Default = false)
+ * $params['flat_settings'] = (bool) Whether to return settings in the flat form, which can improve readability, especially for heavily nested settings.For example, the flat form of `"cluster": { "max_shards_per_node": 500 }` is `"cluster.max_shards_per_node": "500"`. (Default = false)
+ * $params['ignore_unavailable'] = (bool) Whether the specified concrete indexes should be ignored when unavailable (missing or closed).
+ * $params['local'] = (bool) Whether to return information from the local node only instead of from the cluster manager node. (Default = false)
* $params['master_timeout'] = (string)
- * $params['wait_for_metadata_version'] = (integer) Wait for the metadata version to be equal or greater than the specified metadata version.
+ * $params['wait_for_metadata_version'] = (int) Wait for the metadata version to be equal or greater than the specified metadata version.
* $params['wait_for_timeout'] = (string) The maximum time to wait for `wait_for_metadata_version` before timing out.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -587,11 +587,11 @@
* $params['index_metric'] = (array) A comma-separated list of [index metric groups](https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-stats/#index-metric-groups), for example, `docs,store`.
* $params['metric'] = (array) Limit the information returned to the specified metrics.
* $params['node_id'] = (array)
- * $params['flat_settings'] = (boolean) Whether to return settings in the flat form, which can improve readability, especially for heavily nested settings.For example, the flat form of `"cluster": { "max_shards_per_node": 500 }` is `"cluster.max_shards_per_node": "500"`. (Default = false)
+ * $params['flat_settings'] = (bool) Whether to return settings in the flat form, which can improve readability, especially for heavily nested settings.For example, the flat form of `"cluster": { "max_shards_per_node": 500 }` is `"cluster.max_shards_per_node": "500"`. (Default = false)
* $params['timeout'] = (string) The amount of time to wait for each node to respond.If a node does not respond before its timeout expires, the response does not include its stats.However, timed out nodes are included in the response's `_nodes.failed` property. Defaults to no timeout.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
diff --color -ruN vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/DanglingIndicesNamespace.php vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/DanglingIndicesNamespace.php
--- vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/DanglingIndicesNamespace.php 2025-11-24 17:35:36
+++ vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/DanglingIndicesNamespace.php 2025-11-24 17:34:21
@@ -36,13 +36,13 @@
* Deletes the specified dangling index.
*
* $params['index_uuid'] = (string) The UUID of the dangling index.
- * $params['accept_data_loss'] = (boolean) Must be set to true in order to delete the dangling index.
+ * $params['accept_data_loss'] = (bool) Must be set to true in order to delete the dangling index.
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
* $params['master_timeout'] = (string) Specify timeout for connection to cluster manager.
* $params['timeout'] = (string) Explicit operation timeout.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -64,13 +64,13 @@
* Imports the specified dangling index.
*
* $params['index_uuid'] = (string) The UUID of the dangling index.
- * $params['accept_data_loss'] = (boolean) Must be set to true in order to import the dangling index.
+ * $params['accept_data_loss'] = (bool) Must be set to true in order to import the dangling index.
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
* $params['master_timeout'] = (string) Specify timeout for connection to cluster manager.
* $params['timeout'] = (string) Explicit operation timeout.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -91,9 +91,9 @@
/**
* Returns all dangling indexes.
*
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
diff --color -ruN vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/DataFrameTransformDeprecatedNamespace.php vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/DataFrameTransformDeprecatedNamespace.php
--- vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/DataFrameTransformDeprecatedNamespace.php 2025-11-24 17:35:36
+++ vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/DataFrameTransformDeprecatedNamespace.php 2025-11-24 17:34:21
@@ -30,7 +30,7 @@
{
/**
* $params['transform_id'] = (string) The id of the transform to delete
- * $params['force'] = (boolean) When `true`, the transform is deleted regardless of its current state. The default value is `false`, meaning that the transform must be `stopped` before it can be deleted.
+ * $params['force'] = (bool) When `true`, the transform is deleted regardless of its current state. The default value is `false`, meaning that the transform must be `stopped` before it can be deleted.
*
* @param array $params Associative array of parameters
* @return array
@@ -54,7 +54,7 @@
* $params['transform_id'] = (string) The id or comma delimited list of id expressions of the transforms to get, '_all' or '*' implies get all transforms
* $params['from'] = (int) skips a number of transform configs, defaults to 0
* $params['size'] = (int) specifies a max number of transforms to get, defaults to 100
- * $params['allow_no_match'] = (boolean) Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified)
+ * $params['allow_no_match'] = (bool) Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified)
*
* @param array $params Associative array of parameters
* @return array
@@ -78,7 +78,7 @@
* $params['transform_id'] = (string) The id of the transform for which to get stats. '_all' or '*' implies all transforms
* $params['from'] = (number) skips a number of transform stats, defaults to 0
* $params['size'] = (number) specifies a max number of transform stats to get, defaults to 100
- * $params['allow_no_match'] = (boolean) Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified)
+ * $params['allow_no_match'] = (bool) Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified)
*
* @param array $params Associative array of parameters
* @return array
@@ -111,7 +111,7 @@
}
/**
* $params['transform_id'] = (string) The id of the new transform.
- * $params['defer_validation'] = (boolean) If validations should be deferred until transform starts, defaults to false.
+ * $params['defer_validation'] = (bool) If validations should be deferred until transform starts, defaults to false.
* $params['body'] = (array) The transform definition (Required)
*
* @param array $params Associative array of parameters
@@ -158,9 +158,9 @@
}
/**
* $params['transform_id'] = (string) The id of the transform to stop
- * $params['wait_for_completion'] = (boolean) Whether to wait for the transform to fully stop before returning or not. Default to false
+ * $params['wait_for_completion'] = (bool) Whether to wait for the transform to fully stop before returning or not. Default to false
* $params['timeout'] = (time) Controls the time to wait until the transform has stopped. Default to 30 seconds
- * $params['allow_no_match'] = (boolean) Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified)
+ * $params['allow_no_match'] = (bool) Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified)
*
* @param array $params Associative array of parameters
* @return array
@@ -182,7 +182,7 @@
}
/**
* $params['transform_id'] = (string) The id of the transform.
- * $params['defer_validation'] = (boolean) If validations should be deferred until transform starts, defaults to false.
+ * $params['defer_validation'] = (bool) If validations should be deferred until transform starts, defaults to false.
* $params['body'] = (array) The update transform definition (Required)
*
* @param array $params Associative array of parameters
diff --color -ruN vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/FlowFrameworkNamespace.php vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/FlowFrameworkNamespace.php
--- vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/FlowFrameworkNamespace.php 2025-11-24 17:35:36
+++ vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/FlowFrameworkNamespace.php 2025-11-24 17:34:21
@@ -36,14 +36,14 @@
/**
* Creates a new workflow template.
*
- * $params['provision'] = (boolean) (Default = false)
- * $params['reprovision'] = (boolean) (Default = false)
- * $params['update_fields'] = (boolean) (Default = false)
+ * $params['provision'] = (bool) (Default = false)
+ * $params['reprovision'] = (bool) (Default = false)
+ * $params['update_fields'] = (bool) (Default = false)
* $params['use_case'] = (string) Specifies the workflow template to use.
* $params['validation'] = (string) (Default = all)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -65,10 +65,10 @@
* Deletes a workflow template.
*
* $params['workflow_id'] = (string)
- * $params['clear_status'] = (boolean) (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['clear_status'] = (bool) (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -91,9 +91,9 @@
*
* $params['workflow_id'] = (string)
* $params['allow_delete'] = (string)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -115,9 +115,9 @@
* Retrieves a workflow template.
*
* $params['workflow_id'] = (string)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -139,10 +139,10 @@
* Retrieves the current workflow provisioning status.
*
* $params['workflow_id'] = (string)
- * $params['all'] = (boolean) Whether to return all fields in the response. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['all'] = (bool) Whether to return all fields in the response. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -164,9 +164,9 @@
* Retrieves available workflow steps.
*
* $params['workflow_step'] = (string)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -185,9 +185,9 @@
* Provisioning a workflow. This API is also executed when the Create or Update Workflow API is called with the provision parameter set to true.
*
* $params['workflow_id'] = (string)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -210,9 +210,9 @@
/**
* Search for workflows by using a query matching a field.
*
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -233,9 +233,9 @@
/**
* Search for workflows by using a query matching a field.
*
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -257,14 +257,14 @@
* Updates a workflow template that has not been provisioned.
*
* $params['workflow_id'] = (string)
- * $params['provision'] = (boolean) (Default = false)
- * $params['reprovision'] = (boolean) (Default = false)
- * $params['update_fields'] = (boolean) (Default = false)
+ * $params['provision'] = (bool) (Default = false)
+ * $params['reprovision'] = (bool) (Default = false)
+ * $params['update_fields'] = (bool) (Default = false)
* $params['use_case'] = (string) Specifies the workflow template to use.
* $params['validation'] = (string) (Default = all)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
diff --color -ruN vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/GeospatialNamespace.php vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/GeospatialNamespace.php
--- vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/GeospatialNamespace.php 2025-11-24 17:35:36
+++ vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/GeospatialNamespace.php 2025-11-24 17:34:21
@@ -34,9 +34,9 @@
* Delete a specific IP2Geo data source.
*
* $params['name'] = (string)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -57,9 +57,9 @@
/**
* Use an OpenSearch query to upload `GeoJSON`, operation will fail if index exists.- When type is `geo_point`, only Point geometry is allowed- When type is `geo_shape`, all geometry types are allowed (Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, GeometryCollection, Envelope).
*
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -80,9 +80,9 @@
/**
* Use an OpenSearch query to upload `GeoJSON` regardless if index exists.- When type is `geo_point`, only Point geometry is allowed- When type is `geo_shape`, all geometry types are allowed (Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, GeometryCollection, Envelope).
*
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -104,9 +104,9 @@
* Get one or more IP2Geo data sources, defaulting to returning all if no names specified.
*
* $params['name'] = (array)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -127,9 +127,9 @@
/**
* Retrieves statistics for all geospatial uploads.
*
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -148,9 +148,9 @@
* Create a specific IP2Geo data source.Default values: - `endpoint`: `"https://geoip.maps.opensearch.org/v1/geolite2-city/manifest.json"` - `update_interval_in_days`: 3.
*
* $params['name'] = (string)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -174,9 +174,9 @@
* Update a specific IP2Geo data source.
*
* $params['name'] = (string)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
diff --color -ruN vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/IndicesNamespace.php vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/IndicesNamespace.php
--- vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/IndicesNamespace.php 2025-11-24 17:35:36
+++ vendor/opensearch-project/opensearch-php/src/OpenSearch/Namespaces/IndicesNamespace.php 2025-11-24 17:34:21
@@ -83,15 +83,15 @@
*
* $params['block'] = (string) The block to add (one of `read`, `write`, `read_only` or `metadata`).
* $params['index'] = (array) A comma separated list of indexes to add a block to.
- * $params['allow_no_indices'] = (boolean) Whether to ignore if a wildcard indexes expression resolves into no concrete indexes. (This includes `_all` string or when no indexes have been specified).
+ * $params['allow_no_indices'] = (bool) Whether to ignore if a wildcard indexes expression resolves into no concrete indexes. (This includes `_all` string or when no indexes have been specified).
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
* $params['expand_wildcards'] = (any) Whether to expand wildcard expression to concrete indexes that are open, closed or both.
- * $params['ignore_unavailable'] = (boolean) Whether specified concrete indexes should be ignored when unavailable (missing or closed).
+ * $params['ignore_unavailable'] = (bool) Whether specified concrete indexes should be ignored when unavailable (missing or closed).
* $params['master_timeout'] = (string) Specify timeout for connection to cluster manager.
* $params['timeout'] = (string) Explicit operation timeout
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -115,9 +115,9 @@
* Performs the analysis process on a text and return the tokens breakdown of the text.
*
* $params['index'] = (string) Index used to derive the analyzer. If specified, the `analyzer` or field parameter overrides this value. If no index is specified or the index does not have a default analyzer, the analyze API uses the standard analyzer.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) Define analyzer/tokenizer parameters and the text on which the analysis should be performed
@@ -142,17 +142,17 @@
* Clears all or specific caches for one or more indexes.
*
* $params['index'] = (array) A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
- * $params['allow_no_indices'] = (boolean) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.
+ * $params['allow_no_indices'] = (bool) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.
* $params['expand_wildcards'] = (any) Type of index that wildcard patterns can match.If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.Supports comma-separated values, such as `open,hidden`.Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
- * $params['fielddata'] = (boolean) If `true`, clears the fields cache.Use the `fields` parameter to clear the cache of specific fields only.
+ * $params['fielddata'] = (bool) If `true`, clears the fields cache.Use the `fields` parameter to clear the cache of specific fields only.
* $params['fields'] = (any) A comma-separated list of field names used to limit the `fielddata` parameter.
- * $params['file'] = (boolean) If `true`, clears the unused entries from the file cache on nodes with the Search role. (Default = false)
- * $params['ignore_unavailable'] = (boolean) If `false`, the request returns an error if it targets a missing or closed index.
- * $params['query'] = (boolean) If `true`, clears the query cache.
- * $params['request'] = (boolean) If `true`, clears the request cache.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['file'] = (bool) If `true`, clears the unused entries from the file cache on nodes with the Search role. (Default = false)
+ * $params['ignore_unavailable'] = (bool) If `false`, the request returns an error if it targets a missing or closed index.
+ * $params['query'] = (bool) If `true`, clears the query cache.
+ * $params['request'] = (bool) If `true`, clears the request cache.
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -180,10 +180,10 @@
* $params['task_execution_timeout'] = (string) Explicit task execution timeout, only useful when `wait_for_completion` is false, defaults to `1h`.
* $params['timeout'] = (string) Period to wait for a response.If no response is received before the timeout expires, the request fails and returns an error.
* $params['wait_for_active_shards'] = (any) The number of shard copies that must be active before proceeding with the operation.Set to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
- * $params['wait_for_completion'] = (boolean) Should this request wait until the operation has completed before returning. (Default = true)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['wait_for_completion'] = (bool) Should this request wait until the operation has completed before returning. (Default = true)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The configuration for the target index (`settings` and `aliases`)
@@ -210,16 +210,16 @@
* Closes an index.
*
* $params['index'] = (array) A comma-separated list or wildcard expression of index names used to limit the request.
- * $params['allow_no_indices'] = (boolean) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.
+ * $params['allow_no_indices'] = (bool) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
* $params['expand_wildcards'] = (any) Type of index that wildcard patterns can match.If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.Supports comma-separated values, such as `open,hidden`.Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
- * $params['ignore_unavailable'] = (boolean) If `false`, the request returns an error if it targets a missing or closed index.
+ * $params['ignore_unavailable'] = (bool) If `false`, the request returns an error if it targets a missing or closed index.
* $params['master_timeout'] = (string) Period to wait for a connection to the cluster-manager node.If no response is received before the timeout expires, the request fails and returns an error.
* $params['timeout'] = (string) Period to wait for a response.If no response is received before the timeout expires, the request fails and returns an error.
* $params['wait_for_active_shards'] = (any) The number of shard copies that must be active before proceeding with the operation.Set to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -245,9 +245,9 @@
* $params['master_timeout'] = (string) Period to wait for a connection to the cluster-manager node.If no response is received before the timeout expires, the request fails and returns an error.
* $params['timeout'] = (string) Period to wait for a response.If no response is received before the timeout expires, the request fails and returns an error.
* $params['wait_for_active_shards'] = (any) The number of shard copies that must be active before proceeding with the operation. Set to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The configuration for the index (`settings` and `mappings`)
@@ -272,9 +272,9 @@
* Creates or updates a data stream.
*
* $params['name'] = (string) Name of the data stream, which must meet the following criteria: Lowercase only; Cannot include `\`, `/`, `*`, `?`, `"`, `<`, `>`, `|`, `,`, `#`, `:`, or a space character; Cannot start with `-`, `_`, `+`, or `.ds-`; Cannot be `.` or `..`; Cannot be longer than 255 bytes. Multi-byte characters count towards this limit faster.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The data stream definition
@@ -299,9 +299,9 @@
* Provides statistics on operations happening in a data stream.
*
* $params['name'] = (array) A comma-separated list of data streams used to limit the request. Wildcard expressions (`*`) are supported. To target all data streams in a cluster, omit this parameter or use `*`.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -323,15 +323,15 @@
* Deletes an index.
*
* $params['index'] = (array) A comma-separated list of indexes to delete. You cannot specify index aliases. By default, this parameter does not support wildcards (`*`) or `_all`. To use wildcards or `_all`, set the `action.destructive_requires_name` cluster setting to `false`.
- * $params['allow_no_indices'] = (boolean) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes. (Default = false)
+ * $params['allow_no_indices'] = (bool) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes. (Default = false)
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
* $params['expand_wildcards'] = (any) Type of index that wildcard patterns can match.If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.Supports comma-separated values, such as `open,hidden`.Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
- * $params['ignore_unavailable'] = (boolean) If `false`, the request returns an error if it targets a missing or closed index. (Default = false)
+ * $params['ignore_unavailable'] = (bool) If `false`, the request returns an error if it targets a missing or closed index. (Default = false)
* $params['master_timeout'] = (string) Period to wait for a connection to the cluster-manager node.If no response is received before the timeout expires, the request fails and returns an error.
* $params['timeout'] = (string) Period to wait for a response.If no response is received before the timeout expires, the request fails and returns an error.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -357,9 +357,9 @@
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
* $params['master_timeout'] = (string) Period to wait for a connection to the cluster-manager node.If no response is received before the timeout expires, the request fails and returns an error.
* $params['timeout'] = (string) Period to wait for a response.If no response is received before the timeout expires, the request fails and returns an error.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -383,9 +383,9 @@
* Deletes a data stream.
*
* $params['name'] = (array) A comma-separated list of data streams to delete. Wildcard (`*`) expressions are supported.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -410,9 +410,9 @@
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
* $params['master_timeout'] = (string) Period to wait for a connection to the cluster-manager node. If no response is received before the timeout expires, the request fails and returns an error.
* $params['timeout'] = (string) Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -437,9 +437,9 @@
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
* $params['master_timeout'] = (string) Period to wait for a connection to the cluster-manager node.If no response is received before the timeout expires, the request fails and returns an error.
* $params['timeout'] = (string) Period to wait for a response.If no response is received before the timeout expires, the request fails and returns an error.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -461,16 +461,16 @@
* Returns information about whether a particular index exists.
*
* $params['index'] = (array) A comma-separated list of data streams, indexes, and aliases. Supports wildcards (`*`).
- * $params['allow_no_indices'] = (boolean) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes. (Default = false)
+ * $params['allow_no_indices'] = (bool) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes. (Default = false)
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
* $params['expand_wildcards'] = (any) Type of index that wildcard patterns can match.If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.Supports comma-separated values, such as `open,hidden`.Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
- * $params['flat_settings'] = (boolean) If `true`, returns settings in flat format. (Default = false)
- * $params['ignore_unavailable'] = (boolean) If `false`, the request returns an error if it targets a missing or closed index. (Default = false)
- * $params['include_defaults'] = (boolean) If `true`, return all default settings in the response. (Default = false)
- * $params['local'] = (boolean) If `true`, the request retrieves information from the local node only. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['flat_settings'] = (bool) If `true`, returns settings in flat format. (Default = false)
+ * $params['ignore_unavailable'] = (bool) If `false`, the request returns an error if it targets a missing or closed index. (Default = false)
+ * $params['include_defaults'] = (bool) If `true`, return all default settings in the response. (Default = false)
+ * $params['local'] = (bool) If `true`, the request retrieves information from the local node only. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -497,13 +497,13 @@
*
* $params['name'] = (array) A comma-separated list of aliases to check. Supports wildcards (`*`). (Required)
* $params['index'] = (array) A comma-separated list of data streams or indexes used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
- * $params['allow_no_indices'] = (boolean) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.
+ * $params['allow_no_indices'] = (bool) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.
* $params['expand_wildcards'] = (any) Type of index that wildcard patterns can match.If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.Supports comma-separated values, such as `open,hidden`.Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
- * $params['ignore_unavailable'] = (boolean) If `false`, requests that include a missing data stream or index in the target indexes or data streams return an error.
- * $params['local'] = (boolean) If `true`, the request retrieves information from the local node only. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['ignore_unavailable'] = (bool) If `false`, requests that include a missing data stream or index in the target indexes or data streams return an error.
+ * $params['local'] = (bool) If `true`, the request retrieves information from the local node only. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -532,12 +532,12 @@
*
* $params['name'] = (string) The name of the index template to check existence of. Wildcard (*) expressions are supported.
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
- * $params['flat_settings'] = (boolean) Return settings in flat format. (Default = false)
- * $params['local'] = (boolean) Return local information, do not retrieve the state from cluster-manager node. (Default = false)
+ * $params['flat_settings'] = (bool) Return settings in flat format. (Default = false)
+ * $params['local'] = (bool) Return local information, do not retrieve the state from cluster-manager node. (Default = false)
* $params['master_timeout'] = (string) Period to wait for a connection to the cluster-manager node. If no response is received before the timeout expires, the request fails and returns an error.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -564,12 +564,12 @@
*
* $params['name'] = (array) The comma separated names of the index templates
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
- * $params['flat_settings'] = (boolean) Return settings in flat format. (Default = false)
- * $params['local'] = (boolean) Return local information, do not retrieve the state from cluster-manager node. (Default = false)
+ * $params['flat_settings'] = (bool) Return settings in flat format. (Default = false)
+ * $params['local'] = (bool) Return local information, do not retrieve the state from cluster-manager node. (Default = false)
* $params['master_timeout'] = (string) Explicit operation timeout for connection to cluster-manager node
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -595,14 +595,14 @@
* Performs the flush operation on one or more indexes.
*
* $params['index'] = (array) A comma-separated list of data streams, indexes, and aliases to flush. Supports wildcards (`*`). To flush all data streams and indexes, omit this parameter or use `*` or `_all`.
- * $params['allow_no_indices'] = (boolean) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.
+ * $params['allow_no_indices'] = (bool) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.
* $params['expand_wildcards'] = (any) Type of index that wildcard patterns can match.If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.Supports comma-separated values, such as `open,hidden`.Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
- * $params['force'] = (boolean) If `true`, the request forces a flush even if there are no changes to commit to the index.
- * $params['ignore_unavailable'] = (boolean) If `false`, the request returns an error if it targets a missing or closed index.
- * $params['wait_if_ongoing'] = (boolean) If `true`, the flush operation blocks until execution when another flush operation is running.If `false`, OpenSearch returns an error if you request a flush when another flush operation is running. (Default = true)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['force'] = (bool) If `true`, the request forces a flush even if there are no changes to commit to the index.
+ * $params['ignore_unavailable'] = (bool) If `false`, the request returns an error if it targets a missing or closed index.
+ * $params['wait_if_ongoing'] = (bool) If `true`, the flush operation blocks until execution when another flush operation is running.If `false`, OpenSearch returns an error if you request a flush when another flush operation is running. (Default = true)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -624,17 +624,17 @@
* Performs the force merge operation on one or more indexes.
*
* $params['index'] = (array) A comma-separated list of index names; use `_all` or empty string to perform the operation on all indexes
- * $params['allow_no_indices'] = (boolean) Whether to ignore if a wildcard indexes expression resolves into no concrete indexes. (This includes `_all` string or when no indexes have been specified)
+ * $params['allow_no_indices'] = (bool) Whether to ignore if a wildcard indexes expression resolves into no concrete indexes. (This includes `_all` string or when no indexes have been specified)
* $params['expand_wildcards'] = (any) Whether to expand wildcard expression to concrete indexes that are open, closed or both.
- * $params['flush'] = (boolean) Specify whether the index should be flushed after performing the operation. (Default = true)
- * $params['ignore_unavailable'] = (boolean) Whether specified concrete indexes should be ignored when unavailable (missing or closed)
- * $params['max_num_segments'] = (integer) The number of larger segments into which smaller segments are merged.Set this parameter to 1 to merge all segments into one segment.The default behavior is to perform the merge as necessary.
- * $params['only_expunge_deletes'] = (boolean) Specify whether the operation should only expunge deleted documents
- * $params['primary_only'] = (boolean) Specify whether the operation should only perform on primary shards. Defaults to false. (Default = false)
- * $params['wait_for_completion'] = (boolean) Should the request wait until the force merge is completed. (Default = true)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['flush'] = (bool) Specify whether the index should be flushed after performing the operation. (Default = true)
+ * $params['ignore_unavailable'] = (bool) Whether specified concrete indexes should be ignored when unavailable (missing or closed)
+ * $params['max_num_segments'] = (int) The number of larger segments into which smaller segments are merged.Set this parameter to 1 to merge all segments into one segment.The default behavior is to perform the merge as necessary.
+ * $params['only_expunge_deletes'] = (bool) Specify whether the operation should only expunge deleted documents
+ * $params['primary_only'] = (bool) Specify whether the operation should only perform on primary shards. Defaults to false. (Default = false)
+ * $params['wait_for_completion'] = (bool) Should the request wait until the force merge is completed. (Default = true)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -656,17 +656,17 @@
* Returns information about one or more indexes.
*
* $params['index'] = (array) A comma-separated list of data streams, indexes, and index aliases used to limit the request. Wildcard expressions (*) are supported.
- * $params['allow_no_indices'] = (boolean) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets onlymissing or closed indexes. This behavior applies even if the request targets other open indexes. For example,a request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar. (Default = false)
+ * $params['allow_no_indices'] = (bool) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets onlymissing or closed indexes. This behavior applies even if the request targets other open indexes. For example,a request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar. (Default = false)
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
* $params['expand_wildcards'] = (any) Type of index that wildcard expressions can match. If the request can target data streams, this argumentdetermines whether wildcard expressions match hidden data streams. Supports comma-separated values,such as `open,hidden`.
- * $params['flat_settings'] = (boolean) If `true`, returns settings in flat format. (Default = false)
- * $params['ignore_unavailable'] = (boolean) If `false`, requests that target a missing index return an error. (Default = false)
- * $params['include_defaults'] = (boolean) If `true`, return all default settings in the response. (Default = false)
- * $params['local'] = (boolean) If `true`, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the cluster-manager node. (Default = false)
+ * $params['flat_settings'] = (bool) If `true`, returns settings in flat format. (Default = false)
+ * $params['ignore_unavailable'] = (bool) If `false`, requests that target a missing index return an error. (Default = false)
+ * $params['include_defaults'] = (bool) If `true`, return all default settings in the response. (Default = false)
+ * $params['local'] = (bool) If `true`, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the cluster-manager node. (Default = false)
* $params['master_timeout'] = (string) Period to wait for a connection to the cluster-manager node. If no response is received before the timeout expires, the request fails and returns an error.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -689,13 +689,13 @@
*
* $params['name'] = (array) A comma-separated list of aliases to retrieve. Supports wildcards (`*`). To retrieve all aliases, omit this parameter or use `*` or `_all`.
* $params['index'] = (array) A comma-separated list of data streams or indexes used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
- * $params['allow_no_indices'] = (boolean) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.
+ * $params['allow_no_indices'] = (bool) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.
* $params['expand_wildcards'] = (any) Type of index that wildcard patterns can match.If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.Supports comma-separated values, such as `open,hidden`.Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
- * $params['ignore_unavailable'] = (boolean) If `false`, the request returns an error if it targets a missing or closed index.
- * $params['local'] = (boolean) If `true`, the request retrieves information from the local node only. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['ignore_unavailable'] = (bool) If `false`, the request returns an error if it targets a missing or closed index.
+ * $params['local'] = (bool) If `true`, the request retrieves information from the local node only. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -719,9 +719,9 @@
* Returns data streams.
*
* $params['name'] = (array) A comma-separated list of data stream names used to limit the request. Wildcard (`*`) expressions are supported. If omitted, all data streams are returned.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -744,14 +744,14 @@
*
* $params['fields'] = (array) A comma-separated list or wildcard expression of fields used to limit returned information. (Required)
* $params['index'] = (array) A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
- * $params['allow_no_indices'] = (boolean) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.
+ * $params['allow_no_indices'] = (bool) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.
* $params['expand_wildcards'] = (any) Type of index that wildcard patterns can match.If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.Supports comma-separated values, such as `open,hidden`.Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
- * $params['ignore_unavailable'] = (boolean) If `false`, the request returns an error if it targets a missing or closed index.
- * $params['include_defaults'] = (boolean) If `true`, return all default settings in the response.
- * $params['local'] = (boolean) If `true`, the request retrieves information from the local node only. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['ignore_unavailable'] = (bool) If `false`, the request returns an error if it targets a missing or closed index.
+ * $params['include_defaults'] = (bool) If `true`, return all default settings in the response.
+ * $params['local'] = (bool) If `true`, the request retrieves information from the local node only. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -776,12 +776,12 @@
*
* $params['name'] = (array) The name of the index template to retrieve. Wildcard (*) expressions are supported.
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
- * $params['flat_settings'] = (boolean) If `true`, returns settings in flat format. (Default = false)
- * $params['local'] = (boolean) If `true`, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the cluster-manager node. (Default = false)
+ * $params['flat_settings'] = (bool) If `true`, returns settings in flat format. (Default = false)
+ * $params['local'] = (bool) If `true`, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the cluster-manager node. (Default = false)
* $params['master_timeout'] = (string) Period to wait for a connection to the cluster-manager node. If no response is received before the timeout expires, the request fails and returns an error.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -803,15 +803,15 @@
* Returns mappings for one or more indexes.
*
* $params['index'] = (array) A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
- * $params['allow_no_indices'] = (boolean) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.
+ * $params['allow_no_indices'] = (bool) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
* $params['expand_wildcards'] = (any) Type of index that wildcard patterns can match.If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.Supports comma-separated values, such as `open,hidden`.Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
- * $params['ignore_unavailable'] = (boolean) If `false`, the request returns an error if it targets a missing or closed index.
- * $params['local'] = (boolean) If `true`, the request retrieves information from the local node only. (Default = false)
+ * $params['ignore_unavailable'] = (bool) If `false`, the request returns an error if it targets a missing or closed index.
+ * $params['local'] = (bool) If `true`, the request retrieves information from the local node only. (Default = false)
* $params['master_timeout'] = (string) Period to wait for a connection to the cluster-manager node.If no response is received before the timeout expires, the request fails and returns an error.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -834,17 +834,17 @@
*
* $params['name'] = (array) A comma-separated list or wildcard expression of settings to retrieve.
* $params['index'] = (array) A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
- * $params['allow_no_indices'] = (boolean) If `false`, the request returns an error if any wildcard expression, indexalias, or `_all` value targets only missing or closed indexes. Thisbehavior applies even if the request targets other open indexes. Forexample, a request targeting `foo*,bar*` returns an error if an indexstarts with foo but no index starts with `bar`.
+ * $params['allow_no_indices'] = (bool) If `false`, the request returns an error if any wildcard expression, indexalias, or `_all` value targets only missing or closed indexes. Thisbehavior applies even if the request targets other open indexes. Forexample, a request targeting `foo*,bar*` returns an error if an indexstarts with foo but no index starts with `bar`.
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
* $params['expand_wildcards'] = (any) Type of index that wildcard patterns can match.If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.Supports comma-separated values, such as `open,hidden`.
- * $params['flat_settings'] = (boolean) If `true`, returns settings in flat format. (Default = false)
- * $params['ignore_unavailable'] = (boolean) If `false`, the request returns an error if it targets a missing or closed index.
- * $params['include_defaults'] = (boolean) If `true`, return all default settings in the response. (Default = false)
- * $params['local'] = (boolean) If `true`, the request retrieves information from the local node only. If`false`, information is retrieved from the cluster-manager node. (Default = false)
+ * $params['flat_settings'] = (bool) If `true`, returns settings in flat format. (Default = false)
+ * $params['ignore_unavailable'] = (bool) If `false`, the request returns an error if it targets a missing or closed index.
+ * $params['include_defaults'] = (bool) If `true`, return all default settings in the response. (Default = false)
+ * $params['local'] = (bool) If `true`, the request retrieves information from the local node only. If`false`, information is retrieved from the cluster-manager node. (Default = false)
* $params['master_timeout'] = (string) Period to wait for a connection to the cluster-manager node. If no response isreceived before the timeout expires, the request fails and returns anerror.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -869,12 +869,12 @@
*
* $params['name'] = (array) A comma-separated list of index template names used to limit the request. Wildcard (`*`) expressions are supported. To return all index templates, omit this parameter or use a value of `_all` or `*`.
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
- * $params['flat_settings'] = (boolean) If `true`, returns settings in flat format. (Default = false)
- * $params['local'] = (boolean) If `true`, the request retrieves information from the local node only. (Default = false)
+ * $params['flat_settings'] = (bool) If `true`, returns settings in flat format. (Default = false)
+ * $params['local'] = (bool) If `true`, the request retrieves information from the local node only. (Default = false)
* $params['master_timeout'] = (string) Period to wait for a connection to the cluster-manager node.If no response is received before the timeout expires, the request fails and returns an error.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -896,12 +896,12 @@
* The `_upgrade` API is no longer useful and will be removed.
*
* $params['index'] = (array) A comma-separated list of indexes; use `_all` or empty string to perform the operation on all indexes.
- * $params['allow_no_indices'] = (boolean) Whether to ignore if a wildcard indexes expression resolves into no concrete indexes. (This includes `_all` string or when no indexes have been specified).
+ * $params['allow_no_indices'] = (bool) Whether to ignore if a wildcard indexes expression resolves into no concrete indexes. (This includes `_all` string or when no indexes have been specified).
* $params['expand_wildcards'] = (any) Whether to expand wildcard expression to concrete indexes that are open, closed or both.
- * $params['ignore_unavailable'] = (boolean) Whether specified concrete indexes should be ignored when unavailable (missing or closed).
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['ignore_unavailable'] = (bool) Whether specified concrete indexes should be ignored when unavailable (missing or closed).
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -923,18 +923,18 @@
* Opens an index.
*
* $params['index'] = (array) A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). By default, you must explicitly name the indexes you using to limit the request. To limit a request using `_all`, `*`, or other wildcard expressions, change the `action.destructive_requires_name` setting to false. You can update this setting in the `opensearch.yml` file or using the cluster update settings API.
- * $params['allow_no_indices'] = (boolean) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.
+ * $params['allow_no_indices'] = (bool) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
* $params['expand_wildcards'] = (any) Type of index that wildcard patterns can match.If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.Supports comma-separated values, such as `open,hidden`.Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
- * $params['ignore_unavailable'] = (boolean) If `false`, the request returns an error if it targets a missing or closed index.
+ * $params['ignore_unavailable'] = (bool) If `false`, the request returns an error if it targets a missing or closed index.
* $params['master_timeout'] = (string) Period to wait for a connection to the cluster-manager node.If no response is received before the timeout expires, the request fails and returns an error.
* $params['task_execution_timeout'] = (string) Explicit task execution timeout, only useful when `wait_for_completion` is false, defaults to `1h`.
* $params['timeout'] = (string) Period to wait for a response.If no response is received before the timeout expires, the request fails and returns an error.
* $params['wait_for_active_shards'] = (any) The number of shard copies that must be active before proceeding with the operation.Set to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
- * $params['wait_for_completion'] = (boolean) Should this request wait until the operation has completed before returning. (Default = true)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['wait_for_completion'] = (bool) Should this request wait until the operation has completed before returning. (Default = true)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -960,9 +960,9 @@
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
* $params['master_timeout'] = (string) Period to wait for a connection to the cluster-manager node.If no response is received before the timeout expires, the request fails and returns an error.
* $params['timeout'] = (string) Period to wait for a response.If no response is received before the timeout expires, the request fails and returns an error.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The settings for the alias, such as `routing` or `filter`
@@ -991,11 +991,11 @@
* $params['name'] = (string) Index or template name
* $params['cause'] = (string) User defined reason for creating/updating the index template. (Default = false)
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
- * $params['create'] = (boolean) If `true`, this request cannot replace or update existing index templates. (Default = false)
+ * $params['create'] = (bool) If `true`, this request cannot replace or update existing index templates. (Default = false)
* $params['master_timeout'] = (string) Operation timeout for connection to cluster-manager node.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The template definition (Required)
@@ -1020,16 +1020,16 @@
* Updates the index mappings.
*
* $params['index'] = (array) A comma-separated list of index names the mapping should be added to (supports wildcards); use `_all` or omit to add the mapping on all indexes.
- * $params['allow_no_indices'] = (boolean) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.
+ * $params['allow_no_indices'] = (bool) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
* $params['expand_wildcards'] = (any) Type of index that wildcard patterns can match.If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.Supports comma-separated values, such as `open,hidden`.Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
- * $params['ignore_unavailable'] = (boolean) If `false`, the request returns an error if it targets a missing or closed index.
+ * $params['ignore_unavailable'] = (bool) If `false`, the request returns an error if it targets a missing or closed index.
* $params['master_timeout'] = (string) Period to wait for a connection to the cluster-manager node.If no response is received before the timeout expires, the request fails and returns an error.
* $params['timeout'] = (string) Period to wait for a response.If no response is received before the timeout expires, the request fails and returns an error.
- * $params['write_index_only'] = (boolean) If `true`, the mappings are applied only to the current write index for the target. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['write_index_only'] = (bool) If `true`, the mappings are applied only to the current write index for the target. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The mapping definition (Required)
@@ -1054,17 +1054,17 @@
* Updates the index settings.
*
* $params['index'] = (array) A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
- * $params['allow_no_indices'] = (boolean) If `false`, the request returns an error if any wildcard expression, indexalias, or `_all` value targets only missing or closed indexes. Thisbehavior applies even if the request targets other open indexes. Forexample, a request targeting `foo*,bar*` returns an error if an indexstarts with `foo` but no index starts with `bar`.
+ * $params['allow_no_indices'] = (bool) If `false`, the request returns an error if any wildcard expression, indexalias, or `_all` value targets only missing or closed indexes. Thisbehavior applies even if the request targets other open indexes. Forexample, a request targeting `foo*,bar*` returns an error if an indexstarts with `foo` but no index starts with `bar`.
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
* $params['expand_wildcards'] = (any) Type of index that wildcard patterns can match. If the request can targetdata streams, this argument determines whether wildcard expressions matchhidden data streams. Supports comma-separated values, such as`open,hidden`.
- * $params['flat_settings'] = (boolean) If `true`, returns settings in flat format. (Default = false)
- * $params['ignore_unavailable'] = (boolean) Whether specified concrete indexes should be ignored when unavailable (missing or closed).
+ * $params['flat_settings'] = (bool) If `true`, returns settings in flat format. (Default = false)
+ * $params['ignore_unavailable'] = (bool) Whether specified concrete indexes should be ignored when unavailable (missing or closed).
* $params['master_timeout'] = (string) Period to wait for a connection to the cluster-manager node. If no response isreceived before the timeout expires, the request fails and returns anerror.
- * $params['preserve_existing'] = (boolean) If `true`, existing index settings remain unchanged. (Default = false)
+ * $params['preserve_existing'] = (bool) If `true`, existing index settings remain unchanged. (Default = false)
* $params['timeout'] = (string) Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -1089,12 +1089,12 @@
*
* $params['name'] = (string) The name of the template
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
- * $params['create'] = (boolean) If `true`, this request cannot replace or update existing index templates. (Default = false)
+ * $params['create'] = (bool) If `true`, this request cannot replace or update existing index templates. (Default = false)
* $params['master_timeout'] = (string) Period to wait for a connection to the cluster-manager node. If no response isreceived before the timeout expires, the request fails and returns an error.
- * $params['order'] = (integer) Order in which OpenSearch applies this template if indexmatches multiple templates.Templates with lower 'order' values are merged first. Templates with higher'order' values are merged later, overriding templates with lower values.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['order'] = (int) Order in which OpenSearch applies this template if indexmatches multiple templates.Templates with lower 'order' values are merged first. Templates with higher'order' values are merged later, overriding templates with lower values.
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The template definition (Required)
@@ -1119,11 +1119,11 @@
* Returns information about ongoing index shard recoveries.
*
* $params['index'] = (array) A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
- * $params['active_only'] = (boolean) If `true`, the response only includes ongoing shard recoveries. (Default = false)
- * $params['detailed'] = (boolean) If `true`, the response includes detailed information about shard recoveries. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['active_only'] = (bool) If `true`, the response only includes ongoing shard recoveries. (Default = false)
+ * $params['detailed'] = (bool) If `true`, the response includes detailed information about shard recoveries. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -1145,12 +1145,12 @@
* Performs the refresh operation in one or more indexes.
*
* $params['index'] = (array) A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
- * $params['allow_no_indices'] = (boolean) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.
+ * $params['allow_no_indices'] = (bool) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.
* $params['expand_wildcards'] = (any) Type of index that wildcard patterns can match.If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.Supports comma-separated values, such as `open,hidden`.Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
- * $params['ignore_unavailable'] = (boolean) If `false`, the request returns an error if it targets a missing or closed index.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['ignore_unavailable'] = (bool) If `false`, the request returns an error if it targets a missing or closed index.
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -1173,9 +1173,9 @@
*
* $params['name'] = (array) Comma-separated name(s) or index pattern(s) of the indexes, aliases, and data streams to resolve. Resources on remote clusters can be specified using the `<cluster>`:`<name>` syntax.
* $params['expand_wildcards'] = (any) Type of index that wildcard patterns can match.If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.Supports comma-separated values, such as `open,hidden`.Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -1199,13 +1199,13 @@
* $params['alias'] = (string) Name of the data stream or index alias to roll over. (Required)
* $params['new_index'] = (string) The name of the index to create. Supports date math. Data streams do not support this parameter.
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
- * $params['dry_run'] = (boolean) If `true`, checks whether the current index satisfies the specified conditions but does not perform a rollover. (Default = false)
+ * $params['dry_run'] = (bool) If `true`, checks whether the current index satisfies the specified conditions but does not perform a rollover. (Default = false)
* $params['master_timeout'] = (string) Period to wait for a connection to the cluster-manager node.If no response is received before the timeout expires, the request fails and returns an error.
* $params['timeout'] = (string) Period to wait for a response.If no response is received before the timeout expires, the request fails and returns an error.
* $params['wait_for_active_shards'] = (any) The number of shard copies that must be active before proceeding with the operation.Set to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The conditions that needs to be met for executing rollover
@@ -1232,13 +1232,13 @@
* Provides low-level information about segments in a Lucene index.
*
* $params['index'] = (array) A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
- * $params['allow_no_indices'] = (boolean) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.
+ * $params['allow_no_indices'] = (bool) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.
* $params['expand_wildcards'] = (any) Type of index that wildcard patterns can match.If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.Supports comma-separated values, such as `open,hidden`.Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
- * $params['ignore_unavailable'] = (boolean) If `false`, the request returns an error if it targets a missing or closed index.
- * $params['verbose'] = (boolean) If `true`, the request returns a verbose response. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['ignore_unavailable'] = (bool) If `false`, the request returns an error if it targets a missing or closed index.
+ * $params['verbose'] = (bool) If `true`, the request returns a verbose response. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -1260,13 +1260,13 @@
* Provides store information for shard copies of indexes.
*
* $params['index'] = (array) Limits health reporting to a specific source. Can be a single source or a comma-separated list of sources (comprised of data streams, indexes, and aliases).
- * $params['allow_no_indices'] = (boolean) If `false`, the request returns an error if any wildcard expression, index alias, or `_all`value targets only missing or closed indexes. This behavior applies even if the requesttargets other open indexes. (Default = false)
+ * $params['allow_no_indices'] = (bool) If `false`, the request returns an error if any wildcard expression, index alias, or `_all`value targets only missing or closed indexes. This behavior applies even if the requesttargets other open indexes. (Default = false)
* $params['expand_wildcards'] = (any) Type of index that wildcard patterns can match. If the request can target data streams,this argument determines whether wildcard expressions match hidden data streams.
- * $params['ignore_unavailable'] = (boolean) If `true`, missing or closed indexes are not included in the response. (Default = false)
+ * $params['ignore_unavailable'] = (bool) If `true`, missing or closed indexes are not included in the response. (Default = false)
* $params['status'] = (any) A list of shard health statuses used to limit the request. (Default = yellow,red)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -1290,15 +1290,15 @@
* $params['index'] = (string) Name of the source index to shrink.
* $params['target'] = (string) Name of the target index to create.
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
- * $params['copy_settings'] = (boolean) whether or not to copy settings from the source index. (Default = false)
+ * $params['copy_settings'] = (bool) whether or not to copy settings from the source index. (Default = false)
* $params['master_timeout'] = (string) Period to wait for a connection to the cluster-manager node.If no response is received before the timeout expires, the request fails and returns an error.
* $params['task_execution_timeout'] = (string) Explicit task execution timeout, only useful when `wait_for_completion` is false, defaults to `1h`.
* $params['timeout'] = (string) Period to wait for a response.If no response is received before the timeout expires, the request fails and returns an error.
* $params['wait_for_active_shards'] = (any) The number of shard copies that must be active before proceeding with the operation.Set to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
- * $params['wait_for_completion'] = (boolean) Should this request wait until the operation has completed before returning. (Default = true)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['wait_for_completion'] = (bool) Should this request wait until the operation has completed before returning. (Default = true)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The configuration for the target index (`settings` and `aliases`)
@@ -1327,9 +1327,9 @@
* $params['name'] = (string) Index or template name to simulate
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
* $params['master_timeout'] = (string) Period to wait for a connection to the cluster-manager node. If no response is receivedbefore the timeout expires, the request fails and returns an error.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) New index template definition, which will be included in the simulation, as if it already exists in the system
@@ -1356,11 +1356,11 @@
* $params['name'] = (string) The name of the index template to simulate. To test a template configuration before you add it to the cluster, omit this parameter and specify the template configuration in the request body.
* $params['cause'] = (string) User defined reason for dry-run creating the new template for simulation purposes. (Default = false)
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
- * $params['create'] = (boolean) If `true`, the template passed in the body is only used if no existing templates match the same index patterns. If `false`, the simulation uses the template with the highest priority. Note that the template is not permanently added or updated in either case; it is only used for the simulation. (Default = false)
+ * $params['create'] = (bool) If `true`, the template passed in the body is only used if no existing templates match the same index patterns. If `false`, the simulation uses the template with the highest priority. Note that the template is not permanently added or updated in either case; it is only used for the simulation. (Default = false)
* $params['master_timeout'] = (string) Period to wait for a connection to the cluster-manager node. If no response is received before the timeout expires, the request fails and returns an error.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -1386,15 +1386,15 @@
* $params['index'] = (string) Name of the source index to split.
* $params['target'] = (string) Name of the target index to create.
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
- * $params['copy_settings'] = (boolean) whether or not to copy settings from the source index. (Default = false)
+ * $params['copy_settings'] = (bool) whether or not to copy settings from the source index. (Default = false)
* $params['master_timeout'] = (string) Period to wait for a connection to the cluster-manager node.If no response is received before the timeout expires, the request fails and returns an error.
* $params['task_execution_timeout'] = (string) Explicit task execution timeout, only useful when `wait_for_completion` is false, defaults to `1h`.
* $params['timeout'] = (string) Period to wait for a response.If no response is received before the timeout expires, the request fails and returns an error.
* $params['wait_for_active_shards'] = (any) The number of shard copies that must be active before proceeding with the operation.Set to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
- * $params['wait_for_completion'] = (boolean) Should this request wait until the operation has completed before returning. (Default = true)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['wait_for_completion'] = (bool) Should this request wait until the operation has completed before returning. (Default = true)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The configuration for the target index (`settings` and `aliases`)
@@ -1426,14 +1426,14 @@
* $params['expand_wildcards'] = (any) Type of index that wildcard patterns can match. If the request can target data streams, this argumentdetermines whether wildcard expressions match hidden data streams. Supports comma-separated values,such as `open,hidden`.
* $params['fielddata_fields'] = (any) A comma-separated list or wildcard expressions of fields to include in field data statistics.
* $params['fields'] = (any) A comma-separated list or wildcard expressions of fields to include in the statistics.
- * $params['forbid_closed_indices'] = (boolean) If `true`, statistics are not collected from closed indexes. (Default = true)
+ * $params['forbid_closed_indices'] = (bool) If `true`, statistics are not collected from closed indexes. (Default = true)
* $params['groups'] = (any) A comma-separated list of search groups to include in the search statistics.
- * $params['include_segment_file_sizes'] = (boolean) If `true`, the call reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested). (Default = false)
- * $params['include_unloaded_segments'] = (boolean) If `true`, the response includes information from segments that are not loaded into memory. (Default = false)
+ * $params['include_segment_file_sizes'] = (bool) If `true`, the call reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested). (Default = false)
+ * $params['include_unloaded_segments'] = (bool) If `true`, the response includes information from segments that are not loaded into memory. (Default = false)
* $params['level'] = (enum) Indicates whether statistics are aggregated at the cluster, index, or shard level. (Options = cluster,indices,shards)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -1459,9 +1459,9 @@
* $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
* $params['master_timeout'] = (string) Period to wait for a connection to the cluster-manager node.If no response is received before the timeout expires, the request fails and returns an error.
* $params['timeout'] = (string) Period to wait for a response.If no response is received before the timeout expires, the request fails and returns an error.
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
* $params['body'] = (array) The definition of `actions` to perform (Required)
@@ -1484,14 +1484,14 @@
* The `_upgrade` API is no longer useful and will be removed.
*
* $params['index'] = (array) A comma-separated list of indexes; use `_all` or empty string to perform the operation on all indexes.
- * $params['allow_no_indices'] = (boolean) Whether to ignore if a wildcard indexes expression resolves into no concrete indexes. (This includes `_all` string or when no indexes have been specified).
+ * $params['allow_no_indices'] = (bool) Whether to ignore if a wildcard indexes expression resolves into no concrete indexes. (This includes `_all` string or when no indexes have been specified).
* $params['expand_wildcards'] = (any) Whether to expand wildcard expression to concrete indexes that are open, closed or both.
- * $params['ignore_unavailable'] = (boolean) Whether specified concrete indexes should be ignored when unavailable (missing or closed).
- * $params['only_ancient_segments'] = (boolean) If `true`, only ancient (an older Lucene major release) segments will be upgraded.
- * $params['wait_for_completion'] = (boolean) Should this request wait until the operation has completed before returning. (Default = false)
- * $params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
- * $params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
- * $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
+ * $params['ignore_unavailable'] = (bool) Whether specified concrete indexes should be ignored when unavailable (missing or closed).
+ * $params['only_ancient_segments'] = (bool) If `true`, only ancient (an older Lucene major release) segments will be upgraded.
+ * $params['wait_for_completion'] = (bool) Should this request wait until the operation has completed before returning. (Default = false)
+ * $params['pretty'] = (bool) Whether to pretty-format the returned JSON response. (Default = false)
+ * $params['human'] = (bool) Whether to return human-readable values for statistics. (Default = false)
+ * $params['error_trace'] = (bool) Whether to include the stack trace of returned errors. (Default = false)
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
* $params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
*
@@ -1513,21 +1513,21 @@
* Allows a user to validate a potentially expensive query without executing it.
*
* $params['index'] = (array) A comma-separated list of data streams, indexes, and aliases to search. Supports wildcards (`*`). To search all data streams or indexes, omit this parameter or use `*` or `_all`.
- * $params['all_shards'] = (boolean) If `true`, the validation is executed on all shards instead of one random shard per index.
- * $params['allow_no_indices'] = (boolean) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.
- * $params['analyze_wildcard'] = (boolean) If `true`, wildcard and prefix queries are analyzed. (Default = false)
+ * $params['all_shards'] = (bool) If `true`, the validation is executed on all shards instead of one random shard per index.
+ * $params['allow_no_indices'] = (bool) If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes.This behavior applies even if the request targets other open indexes.
+ * $params['analyze_wildcard'] = (bool) If `true`, wildcard and prefix queries are analyzed. (Default = false)
* $params['analyzer'] = (string) Analyzer to use for the query string.This parameter can only be used when the `q` query string parameter is specified.
* $params['default_operator'] = (enum) The default operator for query string query: `AND` or `OR`. (Options = and,AND,or,OR)
* $params['df'] = (string) Field to use as default where no field prefix is given in the query string.This parameter can only be used when the `q` query string parameter is specified.
* $params['expand_wildcards'] = (any) Type of index that wildcard patterns can match.If the request can target data streams, this argument determines whether wildcard expressions match hidden data s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment