1
I Use This!
Inactive

Commits : Listings

Analyzed 1 day ago. based on code collected 1 day ago.
Jan 17, 2025 — Jan 17, 2026
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
I've moved the check for T_NAMESPACE_SEPARATOR out of NewKeywordsSniff and into NewLanguageConstructsSniff as this is a more appropriate location (now that this separate file exists). More... over 10 years ago
Merge pull request #87 from MarkMaldaba/bug_60_pow_operators More... over 10 years ago
Fixing unit tests, which failed due to wrong strings being expected for the errors that should occur. More... over 10 years ago
I've added tests for the use of pow (**) and pow-assignment (**=) operators on PHP < 5.6. More... over 10 years ago
Merge pull request #85 from MarkMaldaba/skip_untestable_tests More... over 10 years ago
As per @wimg's suggestion, I have updated the tests to use the built-in PHPUnit @requires annotation, rather than a custom requirePHPVersion() function. More... over 10 years ago
Merge pull request #86 from MarkMaldaba/bug82_fix_preg_replace More... over 10 years ago
Merge branch 'master' of github.com:wimg/PHPCompatibility into bug82_fix_preg_replace More... over 10 years ago
I've added a helper function for unit-testing, called requiresPHPVersion() to the BaseSniffTest class, and updated code to use it. More... over 10 years ago
Some minor improvements to the unit tests for the PregReplaceEModifierSniff: More... over 10 years ago
Merge pull request #84 from MarkMaldaba/bug82_fix_preg_replace More... over 10 years ago
The PregReplaceEModifierSniff code didn't handle mult-line regular expressions. More... over 10 years ago
Merge pull request #74 from declank/master More... over 10 years ago
Merge pull request #57 from MarkMaldaba/patch-1 More... over 10 years ago
Merge pull request #70 from nickpack/nickpack-patch-1 More... over 10 years ago
Merge pull request #81 from MarkMaldaba/issue71_preg_replace More... over 10 years ago
Added a new sniff to check for /e modifier in calls to preg_replace(), which is deprecated as of PHP 5.5. More... over 10 years ago
Merge pull request #80 from MarkMaldaba/instanceof_version_fix More... over 10 years ago
Merge pull request #78 from MarkMaldaba/gitignore More... over 10 years ago
Merge pull request #77 from MarkMaldaba/remove_duplicated_code More... over 10 years ago
The instanceof operator was introduced in PHP 5.0. Most tests list this correctly, but one test had it incorrectly pegged at 5.4, which I have fixed. More... over 10 years ago
Removing T_STATIC from NewKeywordsSniff.php More... over 10 years ago
I've updated the recent checks I added to NewKeywordsSniff.php so that they take white-space into account when checking the next/previous token. More... over 10 years ago
Following-on from 06e6010, I've fixed another test that was failing due to false-positives introduced by the new checks added in 8444db0. More... over 10 years ago
Fixed false positives from being reported by NewKeywordsSniff.php. More... over 10 years ago
I've added a .gitignore file to ignore Composer's 'vendor' directory, and also the .idea directory created by the IDE, PHPStorm, so these don't get accidentally committed to the repo. More... over 10 years ago
Encapsulated a load of duplicated code into a base class, which the individual sniffs extend. More... over 10 years ago
Update composer.json More... over 10 years ago
Added a sniff for shadowed superglobals in function parameters More... almost 11 years ago
$forbiddenFunctions declared public More... almost 11 years ago