AMP options + fetchpriority #35
coding-style.yml
on: pull_request
Php-Cs-Fixer
40s
PHPStan
33s
Annotations
10 errors and 2 warnings
PHPStan:
src/Expression/ExpressionParser.php#L36
Offset 'VALUE' on array{0: string, INTERVAL_FROM: ''|numeric-string, 1: ''|numeric-string, INTERVAL_TO: ''|numeric-string, 2: ''|numeric-string, EQ: ''|numeric-string, 3: ''|numeric-string, LT: ''|numeric-string, ...} on left side of ?? always exists and is not nullable.
|
PHPStan:
src/Expression/ExpressionParser.php#L38
Strict comparison using === between null and non-empty-string will always evaluate to false.
|
PHPStan:
src/Expression/ExpressionParser.php#L43
Offset 'INTERVAL_FROM' on array{0: string, INTERVAL_FROM: ''|numeric-string, 1: ''|numeric-string, INTERVAL_TO: ''|numeric-string, 2: ''|numeric-string, EQ: ''|numeric-string, 3: ''|numeric-string, LT: ''|numeric-string, ...} on left side of ?? always exists and is not nullable.
|
PHPStan:
src/Expression/ExpressionParser.php#L43
Offset 'INTERVAL_TO' on array{0: string, INTERVAL_FROM: numeric-string, 1: ''|numeric-string, INTERVAL_TO: ''|numeric-string, 2: ''|numeric-string, EQ: ''|numeric-string, 3: ''|numeric-string, LT: ''|numeric-string, ...} on left side of ?? always exists and is not nullable.
|
PHPStan:
src/Expression/ExpressionParser.php#L51
Offset 'EQ' on array{0: string, INTERVAL_FROM: ''|numeric-string, 1: ''|numeric-string, INTERVAL_TO: ''|numeric-string, 2: ''|numeric-string, EQ: ''|numeric-string, 3: ''|numeric-string, LT: ''|numeric-string, ...} on left side of ?? always exists and is not nullable.
|
PHPStan:
src/Expression/ExpressionParser.php#L58
Offset 'LT' on array{0: string, INTERVAL_FROM: ''|numeric-string, 1: ''|numeric-string, INTERVAL_TO: ''|numeric-string, 2: ''|numeric-string, EQ: ''|numeric-string, 3: ''|numeric-string, LT: ''|numeric-string, ...} on left side of ?? always exists and is not nullable.
|
PHPStan:
src/Expression/ExpressionParser.php#L65
Offset 'LTE' on array{0: string, INTERVAL_FROM: ''|numeric-string, 1: ''|numeric-string, INTERVAL_TO: ''|numeric-string, 2: ''|numeric-string, EQ: ''|numeric-string, 3: ''|numeric-string, LT: ''|numeric-string, ...} on left side of ?? always exists and is not nullable.
|
PHPStan:
src/Expression/ExpressionParser.php#L72
Offset 'GT' on array{0: string, INTERVAL_FROM: ''|numeric-string, 1: ''|numeric-string, INTERVAL_TO: ''|numeric-string, 2: ''|numeric-string, EQ: ''|numeric-string, 3: ''|numeric-string, LT: ''|numeric-string, ...} on left side of ?? always exists and is not nullable.
|
PHPStan:
src/Expression/ExpressionParser.php#L79
Offset 'GTE' on array{0: string, INTERVAL_FROM: ''|numeric-string, 1: ''|numeric-string, INTERVAL_TO: ''|numeric-string, 2: ''|numeric-string, EQ: ''|numeric-string, 3: ''|numeric-string, LT: ''|numeric-string, ...} on left side of ?? always exists and is not nullable.
|
PHPStan:
src/Http/Cache/CacheControlHeader.php#L30
Offset 2 does not exist on array{0: string, 1: non-empty-string, 2?: non-empty-string, 3?: non-empty-string}.
|
PHPStan
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Php-Cs-Fixer
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|