Skip to content

Commit

Permalink
[thermostat-device-addon] Splitting virtual connector part to addon (…
Browse files Browse the repository at this point in the history
…#237)
  • Loading branch information
actions-user committed Jan 13, 2024
1 parent 40771e1 commit 604c693
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -592,9 +592,9 @@ final class Constants
// phpcs:ignore SlevomatCodingStandard.Files.LineLength.LineTooLong
public const VALUE_FORMAT_NUMBER_RANGE = '/^(?:(?:(?:i8|u8|i16|u16|i32|u32|f){1}\|)?(?:(?:\-)?(?:\d)*(?:.(?:\d)+)?))?(?:\:(?:(?:(?:i8|u8|i16|u16|i32|u32|f){1}\|)?(?:\d)*(?:.(?:\d)+)?)){1}$/';
// phpcs:ignore SlevomatCodingStandard.Files.LineLength.LineTooLong
public const VALUE_FORMAT_STRING_ENUM = '/^(?:[a-zA-Z0-9](?:[a-zA-Z0-9-?_?:?.?\+?\/?])*)(?:\,(?:[a-zA-Z0-9](?:[a-zA-Z0-9-?_?:?.?\+?\/?])*))*(?:,)?$/';
public const VALUE_FORMAT_STRING_ENUM = '/^(?:[a-zA-Z0-9°](?:[a-zA-Z0-9-?_?:?.+\+\/°])*)(?:,(?:[a-zA-Z0-9°](?:[a-zA-Z0-9-?_?:?.+\+\/°])*))*(?:,)?$/u';
// phpcs:ignore SlevomatCodingStandard.Files.LineLength.LineTooLong
public const VALUE_FORMAT_COMBINED_ENUM = '/^(?:(?:(?:i8|u8|i16|u16|i32|u32|f|b|s|btn|sw){1}\|)?(?:[a-zA-Z0-9]-?_?\.?)*)(?:\:(?:(?:i8|u8|i16|u16|i32|u32|f|b|s|btn|sw){1}\|)?(?:[a-zA-Z0-9]-?_?\.?)*){2}(?:,(?:(?:(?:i8|u8|i16|u16|i32|u32|f|b|s|btn|sw){1}\|)?(?:[a-zA-Z0-9]-?_?\.?)*)(?:\:(?:(?:i8|u8|i16|u16|i32|u32|f|b|s|btn|sw){1}\|)?(?:[a-zA-Z0-9]-?_?\.?)*){2})*$/';
public const VALUE_FORMAT_COMBINED_ENUM = '/^(?:(?:(?:i8|u8|i16|u16|i32|u32|f|b|s|btn|sw){1}\|)?(?:[a-zA-Z0-9°]-?_?\.?)*)(?:\:(?:(?:i8|u8|i16|u16|i32|u32|f|b|s|btn|sw){1}\|)?(?:[a-zA-Z0-9°]-?_?\.?)*){2}(?:,(?:(?:(?:i8|u8|i16|u16|i32|u32|f|b|s|btn|sw){1}\|)?(?:[a-zA-Z0-9°]-?_?\.?)*)(?:\:(?:(?:i8|u8|i16|u16|i32|u32|f|b|s|btn|sw){1}\|)?(?:[a-zA-Z0-9°]-?_?\.?)*){2})*$/u';
// phpcs:ignore SlevomatCodingStandard.Files.LineLength.LineTooLong
public const VALUE_FORMAT_EQUATION = '/^equation:(?:(?:x=)(?<equation_x>(?:(?:[\dy]?)*(?:[\+\-\^\*\/\(\)])*(?:\s)*)*)){1}(?::(?:(?:y=)(?<equation_y>(?:(?:[\dx]?)*(?:[\+\-\^\*\/\(\)])*(?:\s)*)*))){0,1}$/';

Expand Down

0 comments on commit 604c693

Please sign in to comment.