-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release PHPCSExtra 1.0.3 #221
Commits on Mar 20, 2023
-
Modernize.FunctionCalls.Dirname: prevent false positives on PHP 8.0+ …
…attributes `T_STRING` tokens in PHP 8.0+ attributes are either class names or possibly constant names (as a parameter for the class instantiation). They are never function calls. This commit ensures that `T_STRING` tokens in attributes are not confused with function calls. Includes unit test.
Configuration menu - View commit details
-
Copy full SHA for 0317f8d - Browse repository at this point
Copy the full SHA 0317f8dView commit details -
Merge pull request #211 from PHPCSStandards/feature/modernize-dirname…
…-prevent-false-positive-on-attributes Modernize.FunctionCalls.Dirname: prevent false positives on PHP 8.0+ attributes
Configuration menu - View commit details
-
Copy full SHA for 643b294 - Browse repository at this point
Copy the full SHA 643b294View commit details -
GH Actions: used a named branch for coverallsapp
The `coverallsapp/github-action` action runner has (finally) created a named branch for the 1.x (and the 2.x) series, so let's use that. Ref: coverallsapp/github-action#100
Configuration menu - View commit details
-
Copy full SHA for d883bc1 - Browse repository at this point
Copy the full SHA d883bc1View commit details -
Grrr.... When PHPUnit has been installed on a high PHP version, some of the dependencies of PHPUnit may now be installed in versions not compatible with PHP 7.4, which would block the install of the Coveralls package. While this is not (yet) a problem in this repo as the max PHPUnit version is set to PHPUnit 7.x, the issue should still be prevented. Installing PHP Coveralls globally instead should fix it. I just wish PHP Coveralls would finally release a version compatible with PHP > 8.0....
Configuration menu - View commit details
-
Copy full SHA for 54faa03 - Browse repository at this point
Copy the full SHA 54faa03View commit details -
Merge pull request #212 from PHPCSStandards/feature/ghactions-various…
…-minor-tweaks GH Actions: various minor tweaks
Configuration menu - View commit details
-
Copy full SHA for 852240b - Browse repository at this point
Copy the full SHA 852240bView commit details
Commits on Mar 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 52eb4cd - Browse repository at this point
Copy the full SHA 52eb4cdView commit details -
Merge pull request #213 from PHPCSStandards/feature/modernize-dirname…
…-simplify-attributes-fix Modernize.FunctionCalls.Dirname: use PHPCSUtils for attributes fix
Configuration menu - View commit details
-
Copy full SHA for 87e5c0a - Browse repository at this point
Copy the full SHA 87e5c0aView commit details
Commits on Mar 24, 2023
-
To go to the local version of the license instead of an external website.
Configuration menu - View commit details
-
Copy full SHA for 1ff6b42 - Browse repository at this point
Copy the full SHA 1ff6b42View commit details -
Merge pull request #215 from PHPCSStandards/feature/readme-fix-licens…
…e-link README: fix license link
Configuration menu - View commit details
-
Copy full SHA for 59818ac - Browse repository at this point
Copy the full SHA 59818acView commit details -
GH Actions: minor tweak to composer install
Since Composer 2.2, we can be more specific about which platform requirements should be ignored. This change ensures that only the "high" end of a PHP requirement will be ignored and no other platform requirements are ignored. Ref: https://blog.packagist.com/composer-2-2/#-ignore-platform-req-improvements
Configuration menu - View commit details
-
Copy full SHA for 2a1c569 - Browse repository at this point
Copy the full SHA 2a1c569View commit details -
GH Actions: tweak the way the PHPCS versions are set
As things were, whenever the minimum PHPCS version would be changed, the branch protection settings for both the `stable` and the `develop` branch would need to be updated and all "required builds" referencing the old PHPCS version would need to be removed, while new "required builds" would need to be added referencing the new minimum PHPCS version. This was a fiddly process and time-consuming. The change proposed in this commit takes advantage of the Composer `--prefer-lowest` setting to achieve the same without a hard-coded PHPCS version in the build name, which means that once the branch protection settings have been updated for this PR, they shouldn't need updating anymore for future PHPCS version bumps.
Configuration menu - View commit details
-
Copy full SHA for 6dedf63 - Browse repository at this point
Copy the full SHA 6dedf63View commit details -
Merge pull request #214 from PHPCSStandards/feature/ghactions-various…
…-tweaks GH Actions: various tweaks
Configuration menu - View commit details
-
Copy full SHA for 398cb7a - Browse repository at this point
Copy the full SHA 398cb7aView commit details
Commits on Mar 25, 2023
-
Universal/DisallowInlineTabs: improve sniff performance
This seemingly small change makes a huge difference in performance for this sniff. On a run of 300+ files, the sniff was more than 7x faster with these tweaks in place. Before: ``` *** START SNIFF PROCESSING REPORT *** PHPCSExtra\Universal\Sniffs\WhiteSpace\DisallowInlineTabsSniff: 0.0022 secs *** END SNIFF PROCESSING REPORT *** ``` After: ``` *** START SNIFF PROCESSING REPORT *** PHPCSExtra\Universal\Sniffs\WhiteSpace\DisallowInlineTabsSniff: 0.0003 secs *** END SNIFF PROCESSING REPORT *** ```
Configuration menu - View commit details
-
Copy full SHA for 7d15218 - Browse repository at this point
Copy the full SHA 7d15218View commit details -
Merge pull request #216 from PHPCSStandards/universal/disallowinlinet…
…abs-improve-performance Universal/DisallowInlineTabs: improve sniff performance
Configuration menu - View commit details
-
Copy full SHA for 5226c51 - Browse repository at this point
Copy the full SHA 5226c51View commit details
Commits on Mar 26, 2023
-
Universal/DisallowInlineTabs: add extra tests + fix test tab handling
* Add a space-based test case file which shouldn't yield any errors or warnings at all. * Make sure that the "tabwidth" set for test files is correctly respected. * Fix the `DisallowInlineTabsUnitTest.5.inc` fixed file.
Configuration menu - View commit details
-
Copy full SHA for 19bc003 - Browse repository at this point
Copy the full SHA 19bc003View commit details -
Universal/DisallowInlineTabs: remove some redundant code
The `'orig_content'` key only gets set when there are tabs in the token content, so no need for the extra check.
Configuration menu - View commit details
-
Copy full SHA for de1e487 - Browse repository at this point
Copy the full SHA de1e487View commit details -
Merge pull request #217 from PHPCSStandards/universal/disallowinlinet…
…abs-add-extra-tests Universal/DisallowInlineTabs: add extra tests + remove redundancy
Configuration menu - View commit details
-
Copy full SHA for 75c6ef9 - Browse repository at this point
Copy the full SHA 75c6ef9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3491d9 - Browse repository at this point
Copy the full SHA d3491d9View commit details -
Merge pull request #218 from PHPCSStandards/feature/ghactions-minor-t…
…weaks GH Actions: improve some step descriptions
Configuration menu - View commit details
-
Copy full SHA for 1f438a4 - Browse repository at this point
Copy the full SHA 1f438a4View commit details
Commits on Mar 27, 2023
-
Univeral/[Disallow|Require]AnonClassParentheses: add tests with anon …
…classes with attributes
Configuration menu - View commit details
-
Copy full SHA for f7ad0f3 - Browse repository at this point
Copy the full SHA f7ad0f3View commit details -
Merge pull request #219 from PHPCSStandards/universal/disallow-requir…
…eanonclassparentheses-add-tests-with-attributes Univeral/[Disallow|Require]AnonClassParentheses: add tests with anon classes with attributes
Configuration menu - View commit details
-
Copy full SHA for d2adbf9 - Browse repository at this point
Copy the full SHA d2adbf9View commit details
Commits on Mar 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d7e490b - Browse repository at this point
Copy the full SHA d7e490bView commit details -
Merge pull request #220 from PHPCSStandards/feature/changelog-1.0.3
Changelog for PHPCSExtra 1.0.3
Configuration menu - View commit details
-
Copy full SHA for cdf5de5 - Browse repository at this point
Copy the full SHA cdf5de5View commit details