Skip to content
#

php-codesniffer

Here are 98 public repositories matching this topic...

jrfnl
jrfnl commented Apr 13, 2021

Project description

Behind the scenes, a side-project has started to create a (GitHub Pages) website for this project with helpful information about the things PHPCompatibility detects and how to fix them.

@afilina has done amazing work creating a documentation generation engine which will create a page with the basic information about each sniff from the docblocks in the sniff code itsel

VIP-Coding-Standards
ross-mulcahy
ross-mulcahy commented Mar 1, 2022

What problem would the enhancement address for VIP?

The PDO_MYSQL module is not enabled on VIP. Plugins reliant on PDO like MailPoet are therefore currently not compatible with VIP.

Describe the solution you'd like

An error should be thrown on an attempt to create a PDO connection.

What code should be reported as a violation?

$db = new PDO();

What code should not be

dd32
dd32 commented Jun 20, 2019

Issue Overview

When requesting a report for a specific version of a plugin, if Tide doesn't yet have a report for it it'll start to generate one and return a <p>pending</p> response.

That response then gets cached, and will return the <p>pending</p> response until it expires.
Suffixing a ?1 to the URL to bypass the URL caching then results in being able to access it.

Steps to R

Improve this page

Add a description, image, and links to the php-codesniffer topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the php-codesniffer topic, visit your repo's landing page and select "manage topics."

Learn more