summaryrefslogtreecommitdiff
path: root/tests/functional/test_tagname
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2020-09-13 21:44:30 +0200
committerLaria Carolin Chabowski <laria@laria.me>2020-09-13 21:44:30 +0200
commit11932a471b4ef10faf76b6fcfe30a35f946eb7ab (patch)
treecde92c5eceef8991033fe7773ab60da51e289af4 /tests/functional/test_tagname
parentd7d74d0a714f29515da85078cc826ba49d2913b9 (diff)
downloadste-11932a471b4ef10faf76b6fcfe30a35f946eb7ab.tar.gz
ste-11932a471b4ef10faf76b6fcfe30a35f946eb7ab.tar.bz2
ste-11932a471b4ef10faf76b6fcfe30a35f946eb7ab.zip
Use short array syntax
We can use it now that we switched to PHP 7.3
Diffstat (limited to 'tests/functional/test_tagname')
-rw-r--r--tests/functional/test_tagname/Test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/test_tagname/Test.php b/tests/functional/test_tagname/Test.php
index 8e3d8f6..38f26c2 100644
--- a/tests/functional/test_tagname/Test.php
+++ b/tests/functional/test_tagname/Test.php
@@ -14,12 +14,12 @@ class Test extends BaseTest
protected function setUpSte(STECore $ste): void
{
- $names = array(
+ $names = [
"foo",
"ab_cd",
"foo123baz",
"x0123",
- );
+ ];
foreach ($names as $name) {
$ste->register_tag(