Skip to content

Commit

Permalink
fix php 7.2 compat (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed Mar 21, 2024
1 parent a9d9ee2 commit 10982f8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,26 @@ os:
dist: "bionic"

php:
- "8.1"
- "8.0"
- "7.4"
- "7.3"
- "7.2"

jobs:
include:
-
php: "8.1"
script:
- "composer run test:cs"
-
dist: "jammy"
addons:
apt:
packages:
- "libonig5"
php: "8.2"
script:
- "composer run test:cs"
-
name: "Validate ruleset XML file"
addons:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ final class MeaningfulVariableNameSniff extends AbstractVariableSniff
*
* @var array<string, string>
*/
public array $forbiddenNames = [];
public $forbiddenNames = [];

/**
* Processes this test, when one of its tokens is encountered.
Expand Down

0 comments on commit 10982f8

Please sign in to comment.