coding-standard icon indicating copy to clipboard operation
coding-standard copied to clipboard

Consistence - Coding Standard - PHP Code Sniffer rules

Results 12 coding-standard issues
Sort by recently updated
recently updated
newest added

```php use Throwable; class InvalidResponseException extends Exception { public function __construct(Validator $validator, ?Throwable $previous = null) { // ... } ``` This reports `Exception is not chainable. It must have...

Any plans to update this lib to support PHP8? It could be as simple as adding `^7.0|^8.0` to the `composer.json` config.

When using closure with multiple parameters each on new line, sniffer requires every variable in `use` to be each on new line too. **Example:** ```php $foo = 1; $bar =...

Currently the negation formatting is not explicitly specified in the standard. It can be written either: - with no spaces `if (!is_array($foo))` - with space after `if (! is_array($foo))` -...

Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 1.2.4 to 2.2.0. Release notes Sourced from coverallsapp/github-action's releases. v2.2.0 No release notes provided. v2.1.2 No release notes provided. v2.1.1 No release notes provided. v2.1.0 No release...

maintenance

Bumps [actions/checkout](https://github.com/actions/checkout) from 3.3.0 to 3.5.3. Release notes Sourced from actions/checkout's releases. v3.5.3 What's Changed Fix: Checkout Issue in self hosted runner due to faulty submodule check-ins by @​megamanics in...

maintenance

Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.24.0 to 2.25.3. Release notes Sourced from shivammathur/setup-php's releases. 2.25.3 Changelog Added support for zts intl builds for all supported ICU versions. #739, https://github.com/shivammathur/icu-intl/commit/d6ee42cd39943b532979d8f8ad6223042347b5cc. Added docker to...

maintenance

- [x] stop calling static methods in tests as non-static - [x] use assertSame() where assertEquals() is not explicitly needed - [x] use assertCount() after assertContains() for array comparison -...

maintenance

Bump PHP 7.x and use current 8.0, 8.1, 8.2 Fix #67

Bumps [ramsey/composer-install](https://github.com/ramsey/composer-install) from 3.0.0 to 3.1.0. Release notes Sourced from ramsey/composer-install's releases. 3.1.0 What's Changed ✨ Add new composer-filename option by @​badasukerubin in ramsey/composer-install#261 Add instructions on how to use...

maintenance