Skip to content

Commit c66f695

Browse files
committed
baseline
1 parent 276e410 commit c66f695

File tree

1 file changed

+2
-80
lines changed

1 file changed

+2
-80
lines changed

.phpstan.dist.baseline.neon

Lines changed: 2 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -2778,54 +2778,6 @@ parameters:
27782778
count: 1
27792779
path: app/code/core/Mage/Tax/Model/Resource/Setup.php
27802780

2781-
-
2782-
rawMessage: 'Call to method toUnit() on an unknown class PhpUnitsOfMeasure\PhysicalQuantity\Length.'
2783-
identifier: class.notFound
2784-
count: 1
2785-
path: app/code/core/Mage/Usa/Helper/Data.php
2786-
2787-
-
2788-
rawMessage: 'Call to method toUnit() on an unknown class PhpUnitsOfMeasure\PhysicalQuantity\Mass.'
2789-
identifier: class.notFound
2790-
count: 1
2791-
path: app/code/core/Mage/Usa/Helper/Data.php
2792-
2793-
-
2794-
rawMessage: 'Call to static method getUnit() on an unknown class PhpUnitsOfMeasure\PhysicalQuantity\Length.'
2795-
identifier: class.notFound
2796-
count: 1
2797-
path: app/code/core/Mage/Usa/Helper/Data.php
2798-
2799-
-
2800-
rawMessage: 'Call to static method getUnit() on an unknown class PhpUnitsOfMeasure\PhysicalQuantity\Mass.'
2801-
identifier: class.notFound
2802-
count: 1
2803-
path: app/code/core/Mage/Usa/Helper/Data.php
2804-
2805-
-
2806-
rawMessage: Instantiated class PhpUnitsOfMeasure\PhysicalQuantity\Length not found.
2807-
identifier: class.notFound
2808-
count: 1
2809-
path: app/code/core/Mage/Usa/Helper/Data.php
2810-
2811-
-
2812-
rawMessage: Instantiated class PhpUnitsOfMeasure\PhysicalQuantity\Mass not found.
2813-
identifier: class.notFound
2814-
count: 1
2815-
path: app/code/core/Mage/Usa/Helper/Data.php
2816-
2817-
-
2818-
rawMessage: PHPDoc tag @throws with type PhpUnitsOfMeasure\Exception\NonNumericValue|PhpUnitsOfMeasure\Exception\NonStringUnitName is not subtype of Throwable
2819-
identifier: throws.notThrowable
2820-
count: 2
2821-
path: app/code/core/Mage/Usa/Helper/Data.php
2822-
2823-
-
2824-
rawMessage: PHPDoc tag @throws with type PhpUnitsOfMeasure\Exception\UnknownUnitOfMeasure is not subtype of Throwable
2825-
identifier: throws.notThrowable
2826-
count: 2
2827-
path: app/code/core/Mage/Usa/Helper/Data.php
2828-
28292781
-
28302782
rawMessage: 'Property Mage_Usa_Model_Shipping_Carrier_Dhl::$_result (Mage_Shipping_Model_Rate_Result|null) does not accept Mage_Shipping_Model_Tracking_Result.'
28312783
identifier: assign.propertyType
@@ -3529,37 +3481,7 @@ parameters:
35293481
path: lib/Varien/Simplexml/Element.php
35303482

35313483
-
3532-
rawMessage: 'Call to method getMessage() on an unknown class PhpUnitsOfMeasure\Exception\NonNumericValue.'
3533-
identifier: class.notFound
3534-
count: 2
3535-
path: tests/unit/Mage/Usa/Helper/DataTest.php
3536-
3537-
-
3538-
rawMessage: 'Call to method getMessage() on an unknown class PhpUnitsOfMeasure\Exception\NonStringUnitName.'
3539-
identifier: class.notFound
3540-
count: 2
3541-
path: tests/unit/Mage/Usa/Helper/DataTest.php
3542-
3543-
-
3544-
rawMessage: 'Call to method getMessage() on an unknown class PhpUnitsOfMeasure\Exception\UnknownUnitOfMeasure.'
3545-
identifier: class.notFound
3546-
count: 4
3547-
path: tests/unit/Mage/Usa/Helper/DataTest.php
3548-
3549-
-
3550-
rawMessage: Caught class PhpUnitsOfMeasure\Exception\NonNumericValue not found.
3551-
identifier: class.notFound
3552-
count: 2
3553-
path: tests/unit/Mage/Usa/Helper/DataTest.php
3554-
3555-
-
3556-
rawMessage: Caught class PhpUnitsOfMeasure\Exception\NonStringUnitName not found.
3557-
identifier: class.notFound
3484+
rawMessage: Dead catch - PhpUnitsOfMeasure\Exception\UnknownUnitOfMeasure is never thrown in the try block.
3485+
identifier: catch.neverThrown
35583486
count: 2
35593487
path: tests/unit/Mage/Usa/Helper/DataTest.php
3560-
3561-
-
3562-
rawMessage: Caught class PhpUnitsOfMeasure\Exception\UnknownUnitOfMeasure not found.
3563-
identifier: class.notFound
3564-
count: 4
3565-
path: tests/unit/Mage/Usa/Helper/DataTest.php

0 commit comments

Comments
 (0)