Ran
|
Jobs
3
|
Files
97
|
Run time
6min
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/PHPCompatibility/PHPCompatibility/commit/<a class=hub.com/PHPCompatibility/PHPCompatibility/commit/<a class="double-link" href="https://git"><a class=hub.com/PHPCompatibility/PHPCompatibility/commit/9b4f9356ff75ed3a265d016918d5719b5d03e1a4">9b4f9356f<a href="https://github.com/PHPCompatibility/PHPCompatibility/commit/9b4f9356ff75ed3a265d016918d5719b5d03e1a4"><a href="https://github.com/PHPCompatibility/PHPCompatibility/commit/9b4f9356ff75ed3a265d016918d5719b5d03e1a4">&quot;&gt;:sparkles: PHP 7.4/8.0: new ChangedConcatOperatorPrecedence sniff As of PHP 8.0, the operator precedence of concatenation will be lowered, with deprecation notices being thrown as of PHP 7.4 for unparenthesized expressions containing an &#39;.&#39; before a &#39;+&#39; or &#39;-&#39;. Refs: * https://wiki.php.net/rfc/concatenation_precedence * https://github.com/php/php-src/commit/</a><a class="double-link" href="https://github.com/PHPCompatibility/PHPCompatibility/commit/<a class="double-link" href="https://github.com/PHPCompatibility/PHPCompatibility/commit/3b23694aac62ad9c2dfdb60cafb304f9fc0b7c04">3b23694aa</a>">3b23694aa</a><a href="https://github.com/PHPCompatibility/PHPCompatibility/commit/9b4f9356ff75ed3a265d016918d5719b5d03e1a4"> (PHP 7.4 deprecation) * https://github.com/php/php-src/commit/</a><a class="double-link" href="https://github.com/PHPCompatibility/PHPCompatibility/commit/<a class="double-link" href="https://github.com/PHPCompatibility/PHPCompatibility/commit/61ee86992120c6c160fa7637316e59397497be0d">61ee86992</a>">61ee86992</a><a href="https://github.com/PHPCompatibility/PHPCompatibility/commit/9b4f9356ff75ed3a265d016918d5719b5d03e1a4"> (PHP 8.0 precedence change) Notes: - I've not been able to come up with a valid unit test which would involve `&` as a reference, but I suspect this should be accounted for all the same, so the sniff does account for it. **NOTE**: the name of the sniff does not comply with the "normal" naming pattern, but I'm not sure what would be a more appropriate name `ForbiddenConcatBeforePlusMinusWithoutParenthesis` seems a bit overly long, just as `RemovedConcatPrecedenceSameAsPlusMinus`. Ideas welcome.
4437 of 4806 relevant lines covered (92.32%)
18.84 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
26 | 2301.26 (PHPCS_VERSION="dev-master" COVERALLS_VERSION="^1.0") | 97 |
91.49 |
Travis Job 2301.26 | |
27 | 2301.27 (PHPCS_VERSION=">=2.0,<3.0" LINT=1 COVERALLS_VERSION="^1.0") | 97 |
91.9 |
Travis Job 2301.27 | |
28 | 2301.28 (PHPCS_VERSION="2.3.0" COVERALLS_VERSION="^1.0") | 97 |
91.17 |
Travis Job 2301.28 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|