Skip to content
#

phpcs

Here are 214 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

staabm
staabm commented Feb 10, 2020

when cs2pr completes and no errors/warnings have to be emitted, the screen stays empty.

as a user I dont know whether everything worked well and nothing had to be reported or there was a error and I dont see it.

at best we could emit a processed x errors and y warnings or similar status message at the very end into STDERR, so we dont destory possible consumers of our gihtub-api checks

enhancement good first issue
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 phpcs 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 phpcs topic, visit your repo's landing page and select "manage topics."

Learn more