-
TL;DR: _PHPCompatibility_ thinks my `Foo::mysql_bar()` is one of [Original MySQL API](http://php.net/manual/en/book.mysql.php)'s [`mysql_*` functions](http://php.net/manual/en/ref.mysql.php).
Conside…
C-Duv updated
4 years ago
-
I cannot get the local version of PHPCS to work unless I delete the `phpcs.xml.dist` file in tangent, and my editor will constantly show this error:
I tried a bunch of things but I'm not 100% s…
-
## Bug Description
The following sniffs pick up method names in addition to function names, causing an error where it shouldn't:
- `eregDeprecatedRemoved`
- `eregiDeprecatedRemoved`
- `ereg_rep…
-
README has these lines for the scripts:
```
"scripts": {
"post-install-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility",
"post-update-c…
-
Using the `config-repos` branch and without changing anything, I tried to run the following from the root of this repository:
```bash
$ php ./bin/phpcsdocs generate
```
And got the following err…
jrfnl updated
3 years ago
-
The `setAccessible()` methods are, since PHP 8.1 no-op. That implies that, since Moodle 4.4.0 (that requires PHP 8.1), there shouldn't be any use in core.
This issue is about to check if PHPCompati…
-
I tried to use an int with ob_implicit_flush, and it did not cause an error in any version ([3v4l](https://3v4l.org/3srpX)):
```php
ob_implicit_flush(1);
```
However, the sniff marks it as an er…
-
Steps to reproduce
phpcs -p -s -v --standard=PHPCompatibility vendor/webmozart/ --runtime-set testVersion 7.3 --report-full=PHP_7_3_Compatibility_vendor_webmozart.log --extensions=php,module,inc -d m…
-
These lines contain a $this reference in a static context:
https://github.com/MaharaProject/moodle-assignsubmission_mahara/blob/87aa4d84d586d97080777bc059e16098f35928ce/classes/observers.php#L121-L…
-
Hi,
I noticed that the latest official release/tag of this package is now almost two years old. Looking at the commits on the `develop` branch, I saw that a incredible amount of work has been done …