Skip to content

Commit 56bf41b

Browse files
authored
update phploc (#630)
* update phploc * format imports * do not fail fast
1 parent 1118d79 commit 56bf41b

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/frameworks.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
symfony:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
13-
fail-fast: true
13+
fail-fast: false
1414
matrix:
1515
os: [ubuntu-latest]
1616
version: ['^5.4', '@stable', '@dev'] # Test current LTS, current release, and future release

.github/workflows/standalone.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
ci:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
13-
fail-fast: true
13+
fail-fast: false
1414
matrix:
1515
os: [ubuntu-latest, macos-latest, windows-latest]
1616
php: ['7.4', '8.0', '8.1']

.github/workflows/test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
ci:
1010
runs-on: ubuntu-latest
1111
strategy:
12-
fail-fast: true
12+
fail-fast: false
1313
matrix:
1414
php: ['7.4', '8.0', '8.1']
1515
dependency-version: [prefer-lowest, prefer-stable]

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
"ext-json": "*",
2323
"ext-mbstring": "*",
2424
"ext-tokenizer": "*",
25+
"cmgmyr/phploc": "^8.0",
2526
"composer/semver": "^3.3",
2627
"friendsofphp/php-cs-fixer": "^3.0.0",
2728
"justinrainbow/json-schema": "^5.1",
2829
"league/container": "^3.2|^4.2",
2930
"php-parallel-lint/php-parallel-lint": "^1.3",
30-
"phploc/phploc": "^5.0|^6.0|^7.0",
3131
"psr/container": "^1.0|^2.0",
3232
"psr/simple-cache": "^1.0|^2.0|^3.0",
3333
"sebastian/diff": "^4.0",

src/Domain/Analyser.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
namespace NunoMaduro\PhpInsights\Domain;
66

7+
use Cmgmyr\PHPLOC\Analyser as BaseAnalyser;
78
use ReflectionMethod;
8-
use SebastianBergmann\PHPLOC\Analyser as BaseAnalyser;
99

1010
/**
11-
* Code originally taken from {SebastianBergmann\PHPLOC\Analyser}.
11+
* Code originally taken from {Cmgmyr\PHPLOC\Analyser}.
1212
*
1313
* @method string|false getNamespaceName(array $tokens, int $i)
1414
* @method bool isClassDeclaration(array $tokens, int $i)

0 commit comments

Comments
 (0)