diff --git a/.php_cs.dist b/.php_cs.dist index 179aead2..52404089 100644 --- a/.php_cs.dist +++ b/.php_cs.dist @@ -17,6 +17,9 @@ return PhpCsFixer\Config::create() 'array_indentation' => true, 'array_syntax' => ['syntax' => 'long'], 'concat_space' => ['spacing' => 'one'], + 'echo_tag_syntax' => ['format' => 'short'], + 'no_alias_language_construct_call' => false, + 'no_alternative_syntax' => false, 'no_useless_else' => true, 'no_useless_return' => true, 'phpdoc_align' => true, diff --git a/README.md b/README.md index 8160231c..3878b7fb 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ Available functions: - [`getLanguagesFolder(): string`](src/HighlightUtilities/Functions.php#L136-L144) - [`getLanguageDefinitionPath(string $name): string`](src/HighlightUtilities/Functions.php#L150-L160) - [`getThemeBackgroundColor(string $name): float[]`](src/HighlightUtilities/Functions.php#L80-L93) -- [`splitCodeIntoArray(string $html): false|string[]`](src/HighlightUtilities/Functions.php#L197-L210) +- [`splitCodeIntoArray(string $html): false|string[]`](src/HighlightUtilities/Functions.php#L199-L210) ## Versioning diff --git a/composer.json b/composer.json index bee9ba24..d2b4ae69 100644 --- a/composer.json +++ b/composer.json @@ -53,9 +53,6 @@ "symfony/finder": "^2.8|^3.4", "symfony/var-dumper": "^2.8|^3.4" }, - "suggest": { - "ext-dom": "Needed to make use of the features in the utilities namespace" - }, "extra": { "branch-alias": { "dev-master": "10.0-dev" diff --git a/demo/example.php b/demo/example.php index ec278ffc..580dd466 100644 --- a/demo/example.php +++ b/demo/example.php @@ -41,6 +41,6 @@
-=$r->value; ?>
+ = $r->value; ?>