Skip to content

Commit

Permalink
Reduce minimum php to 7.2 for UnitTests.
Browse files Browse the repository at this point in the history
  • Loading branch information
landy2005 committed Nov 2, 2023
1 parent 55184ed commit e76538b
Showing 18 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
*/
abstract class AbstractPhysicalQuantityTestCase extends TestCase
{
protected array $supportedUnitsWithAliases = [];
protected $supportedUnitsWithAliases = [];

/**
* Verify that the object instantiates without error.
2 changes: 1 addition & 1 deletion tests/PhysicalQuantity/AccelerationTest.php
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

class AccelerationTest extends AbstractPhysicalQuantityTestCase
{
protected array $supportedUnitsWithAliases = [
protected $supportedUnitsWithAliases = [
'm/s^2',
'm/s²',
'meter per second squared',
2 changes: 1 addition & 1 deletion tests/PhysicalQuantity/AngleTest.php
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

class AngleTest extends AbstractPhysicalQuantityTestCase
{
protected array $supportedUnitsWithAliases = [
protected $supportedUnitsWithAliases = [
'rad',
'radian',
'radians',
2 changes: 1 addition & 1 deletion tests/PhysicalQuantity/AreaTest.php
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

class AreaTest extends AbstractPhysicalQuantityTestCase
{
protected array $supportedUnitsWithAliases = [
protected $supportedUnitsWithAliases = [
'm^2',
'',
'meter squared',
2 changes: 1 addition & 1 deletion tests/PhysicalQuantity/ElectricCurrentTest.php
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

class ElectricCurrentTest extends AbstractPhysicalQuantityTestCase
{
protected array $supportedUnitsWithAliases = [
protected $supportedUnitsWithAliases = [
'A',
'amp',
'amps',
2 changes: 1 addition & 1 deletion tests/PhysicalQuantity/EnergyTest.php
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

class EnergyTest extends AbstractPhysicalQuantityTestCase
{
protected array $supportedUnitsWithAliases = [
protected $supportedUnitsWithAliases = [
'Wh',
'watt hour',
'watt hours',
2 changes: 1 addition & 1 deletion tests/PhysicalQuantity/LengthTest.php
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

class LengthTest extends AbstractPhysicalQuantityTestCase
{
protected array $supportedUnitsWithAliases = [
protected $supportedUnitsWithAliases = [
'm',
'meter',
'meters',
2 changes: 1 addition & 1 deletion tests/PhysicalQuantity/LuminousIntensityTest.php
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

class LuminousIntensityTest extends AbstractPhysicalQuantityTestCase
{
protected array $supportedUnitsWithAliases = [
protected $supportedUnitsWithAliases = [
'cd',
'candela',
'Ycd',
2 changes: 1 addition & 1 deletion tests/PhysicalQuantity/MassTest.php
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

class MassTest extends AbstractPhysicalQuantityTestCase
{
protected array $supportedUnitsWithAliases = [
protected $supportedUnitsWithAliases = [
'kg',
'kilogram',
'kilograms',
2 changes: 1 addition & 1 deletion tests/PhysicalQuantity/PowerTest.php
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

class PowerTest extends AbstractPhysicalQuantityTestCase
{
protected array $supportedUnitsWithAliases = [
protected $supportedUnitsWithAliases = [
'W',
'watt',
'watts',
2 changes: 1 addition & 1 deletion tests/PhysicalQuantity/PressureTest.php
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

class PressureTest extends AbstractPhysicalQuantityTestCase
{
protected array $supportedUnitsWithAliases = [
protected $supportedUnitsWithAliases = [
'Pa',
'pascal',
'YPa',
2 changes: 1 addition & 1 deletion tests/PhysicalQuantity/QuantityTest.php
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

class QuantityTest extends AbstractPhysicalQuantityTestCase
{
protected array $supportedUnitsWithAliases = [
protected $supportedUnitsWithAliases = [
'mol',
'mole',
'moles',
2 changes: 1 addition & 1 deletion tests/PhysicalQuantity/SolidAngleTest.php
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

class SolidAngleTest extends AbstractPhysicalQuantityTestCase
{
protected array $supportedUnitsWithAliases = [
protected $supportedUnitsWithAliases = [
'sr',
'steradian',
'steradians',
2 changes: 1 addition & 1 deletion tests/PhysicalQuantity/TemperatureTest.php
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

class TemperatureTest extends AbstractPhysicalQuantityTestCase
{
protected array $supportedUnitsWithAliases = [
protected $supportedUnitsWithAliases = [
'K',
'°K',
'kelvin',
2 changes: 1 addition & 1 deletion tests/PhysicalQuantity/TimeTest.php
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

class TimeTest extends AbstractPhysicalQuantityTestCase
{
protected array $supportedUnitsWithAliases = [
protected $supportedUnitsWithAliases = [
's',
'sec',
'secs',
2 changes: 1 addition & 1 deletion tests/PhysicalQuantity/VelocityTest.php
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

class VelocityTest extends AbstractPhysicalQuantityTestCase
{
protected array $supportedUnitsWithAliases = [
protected $supportedUnitsWithAliases = [
'm/s',
'meters/sec',
'meters per second',
2 changes: 1 addition & 1 deletion tests/PhysicalQuantity/VolumeFlowTest.php
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

class VolumeFlowTest extends AbstractPhysicalQuantityTestCase
{
protected array $supportedUnitsWithAliases = [
protected $supportedUnitsWithAliases = [
'm^3/s',
'm³/s',
'cubic meter per second',
2 changes: 1 addition & 1 deletion tests/PhysicalQuantity/VolumeTest.php
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

class VolumeTest extends AbstractPhysicalQuantityTestCase
{
protected array $supportedUnitsWithAliases = [
protected $supportedUnitsWithAliases = [
'm^3',
'',
'cubic meter',

0 comments on commit e76538b

Please sign in to comment.